]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
Updated version number
[wxWidgets.git] / wxPython / src / msw / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #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_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl 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_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info *swig_types[85];
294
295 /* -------- TYPES TABLE (END) -------- */
296
297
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
302
303 #define SWIG_name "_controls"
304
305 /* Auxiliar swig macros */
306
307 #ifdef __cplusplus
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
315
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
318 #else
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
320 #endif
321
322 #else /* C case */
323
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
332
333 #endif /* __cplusplus */
334
335
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346
347
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
350
351 static const wxString wxPyPanelNameStr(wxPanelNameStr);
352 static const wxString wxPyEmptyString(wxEmptyString);
353 static const wxString wxPyControlNameStr(wxControlNameStr);
354
355 const wxArrayString wxPyEmptyStringArray;
356
357 static const wxString wxPyButtonNameStr(wxButtonNameStr);
358
359 #include <limits.h>
360
361
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365 {
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383 }
384
385
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject * obj)
388 {
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390 }
391
392
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject *obj)
396 {
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj),
399 "int", INT_MIN, INT_MAX));
400 }
401 #else
402 #define SWIG_AsInt SWIG_AsLong
403 #endif
404
405
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject* obj)
408 {
409 SWIG_AsInt(obj);
410 if (PyErr_Occurred()) {
411 PyErr_Clear();
412 return 0;
413 } else {
414 return 1;
415 }
416 }
417
418
419 SWIGSTATICINLINE(int)
420 SWIG_CheckLong(PyObject* obj)
421 {
422 SWIG_AsLong(obj);
423 if (PyErr_Occurred()) {
424 PyErr_Clear();
425 return 0;
426 } else {
427 return 1;
428 }
429 }
430
431 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
432
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject *obj)
435 {
436 return PyObject_IsTrue(obj) ? true : false;
437 }
438
439
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject* obj)
442 {
443 SWIG_AsBool(obj);
444 if (PyErr_Occurred()) {
445 PyErr_Clear();
446 return 0;
447 } else {
448 return 1;
449 }
450 }
451
452 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
453 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
454 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
455 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
456 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
457 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
458
459 #include <wx/checklst.h>
460
461
462 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
463 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
464 if (clientData) {
465 wxPyClientData* data = new wxPyClientData(clientData);
466 self->Insert(item, pos, data);
467 } else
468 self->Insert(item, pos);
469 }
470 PyObject *wxListBox_GetSelections(wxListBox *self){
471 wxArrayInt lst;
472 self->GetSelections(lst);
473 PyObject *tup = PyTuple_New(lst.GetCount());
474 for(size_t i=0; i<lst.GetCount(); i++) {
475 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
476 }
477 return tup;
478 }
479 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
480 #ifdef __WXMSW__
481 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
482 self->GetItem(item)->SetTextColour(c);
483 #endif
484 }
485 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
486 #ifdef __WXMSW__
487 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
488 self->GetItem(item)->SetBackgroundColour(c);
489 #endif
490 }
491 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
492 #ifdef __WXMSW__
493 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
494 self->GetItem(item)->SetFont(f);
495 #endif
496 }
497 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
498
499 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
500 PyObject* o2;
501 PyObject* o3;
502
503 if (!target) {
504 target = o;
505 } else if (target == Py_None) {
506 Py_DECREF(Py_None);
507 target = o;
508 } else {
509 if (!PyTuple_Check(target)) {
510 o2 = target;
511 target = PyTuple_New(1);
512 PyTuple_SetItem(target, 0, o2);
513 }
514 o3 = PyTuple_New(1);
515 PyTuple_SetItem(o3, 0, o);
516
517 o2 = target;
518 target = PySequence_Concat(o2, o3);
519 Py_DECREF(o2);
520 Py_DECREF(o3);
521 }
522 return target;
523 }
524
525
526 SWIGSTATICINLINE(unsigned long)
527 SWIG_AsUnsignedLong(PyObject * obj)
528 {
529 if (PyLong_Check(obj)) {
530 return PyLong_AsUnsignedLong(obj);
531 } else {
532 long i = PyInt_AsLong(obj);
533 if ( !PyErr_Occurred() && (i < 0)) {
534 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
535 }
536 return i;
537 }
538 }
539
540
541 SWIGSTATICINLINE(int)
542 SWIG_CheckUnsignedLong(PyObject* obj)
543 {
544 SWIG_AsUnsignedLong(obj);
545 if (PyErr_Occurred()) {
546 PyErr_Clear();
547 return 0;
548 } else {
549 return 1;
550 }
551 }
552
553 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
554 self->AppendText(text);
555 }
556 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
557 return self->GetValue().Mid(from, to - from);
558 }
559 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
560 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
561 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
562 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
563 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
564
565 #include <wx/slider.h>
566
567
568 static const wxString wxPySliderNameStr(wxSliderNameStr);
569 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
570
571 #if !wxUSE_TOGGLEBTN
572 // implement dummy items for platforms that don't have this class
573
574 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
575
576 class wxToggleButton : public wxControl
577 {
578 public:
579 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
580 const wxPoint&, const wxSize&, long,
581 const wxValidator&, const wxString&)
582 { wxPyRaiseNotImplemented(); }
583
584 wxToggleButton()
585 { wxPyRaiseNotImplemented(); }
586 };
587 #endif
588
589 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
590
591 SWIGSTATICINLINE(PyObject* )
592 SWIG_FromUnsignedLong(unsigned long value)
593 {
594 return (value > LONG_MAX) ?
595 PyLong_FromUnsignedLong(value)
596 : PyInt_FromLong(swig_numeric_cast(long,value));
597 }
598
599 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
600 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
601 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
602 if (udata) {
603 Py_INCREF(udata->m_obj);
604 return udata->m_obj;
605 } else {
606 Py_INCREF(Py_None);
607 return Py_None;
608 }
609 }
610 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
611 self->SetClientData(new wxPyUserData(clientData));
612 }
613 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){
614 wxPyUserData* udata = NULL;
615 if (clientData && clientData != Py_None)
616 udata = new wxPyUserData(clientData);
617 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
618 shortHelp, longHelp, udata);
619 }
620 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){
621 wxPyUserData* udata = NULL;
622 if (clientData && clientData != Py_None)
623 udata = new wxPyUserData(clientData);
624 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
625 shortHelp, longHelp, udata);
626 }
627 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
628 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
629 if (udata) {
630 Py_INCREF(udata->m_obj);
631 return udata->m_obj;
632 } else {
633 Py_INCREF(Py_None);
634 return Py_None;
635 }
636 }
637 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
638 self->SetToolClientData(id, new wxPyUserData(clientData));
639 }
640
641 #include <wx/listctrl.h>
642
643
644 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
645 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
646 // Python aware sorting function for wxPyListCtrl
647 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
648 int retval = 0;
649 PyObject* func = (PyObject*)funcPtr;
650 bool blocked = wxPyBeginBlockThreads();
651
652 PyObject* args = Py_BuildValue("(ii)", item1, item2);
653 PyObject* result = PyEval_CallObject(func, args);
654 Py_DECREF(args);
655 if (result) {
656 retval = PyInt_AsLong(result);
657 Py_DECREF(result);
658 }
659
660 wxPyEndBlockThreads(blocked);
661 return retval;
662 }
663
664 // C++ Version of a Python aware class
665 class wxPyListCtrl : public wxListCtrl {
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
667 public:
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow* parent, wxWindowID id,
670 const wxPoint& pos,
671 const wxSize& size,
672 long style,
673 const wxValidator& validator,
674 const wxString& name) :
675 wxListCtrl(parent, id, pos, size, style, validator, name) {}
676
677 bool Create(wxWindow* parent, wxWindowID id,
678 const wxPoint& pos,
679 const wxSize& size,
680 long style,
681 const wxValidator& validator,
682 const wxString& name) {
683 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
684 }
685
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
689
690 PYPRIVATE;
691 };
692
693 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
694
695 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
696 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
697 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
698
699 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
700 wxListItem item;
701 item.SetMask( wxLIST_MASK_STATE |
702 wxLIST_MASK_TEXT |
703 wxLIST_MASK_IMAGE |
704 wxLIST_MASK_DATA |
705 wxLIST_SET_ITEM |
706 wxLIST_MASK_WIDTH |
707 wxLIST_MASK_FORMAT
708 );
709 if (self->GetColumn(col, item))
710 return new wxListItem(item);
711 else
712 return NULL;
713 }
714 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
715 wxListItem* info = new wxListItem;
716 info->m_itemId = itemId;
717 info->m_col = col;
718 info->m_mask = 0xFFFF;
719 self->GetItem(*info);
720 return info;
721 }
722 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
723 wxPoint pos;
724 self->GetItemPosition(item, pos);
725 return pos;
726 }
727 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
728 wxRect rect;
729 self->GetItemRect(item, rect, code);
730 return rect;
731 }
732 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
733 if (!PyCallable_Check(func))
734 return False;
735 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
736 }
737 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
738
739 return self;
740
741
742
743 }
744
745 #include <wx/treectrl.h>
746 #include "wx/wxPython/pytree.h"
747
748 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
749 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
750 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
751 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
752 // C++ version of Python aware wxTreeCtrl
753 class wxPyTreeCtrl : public wxTreeCtrl {
754 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
755 public:
756 wxPyTreeCtrl() : wxTreeCtrl() {}
757 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
758 const wxPoint& pos,
759 const wxSize& size,
760 long style,
761 const wxValidator& validator,
762 const wxString& name) :
763 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
764
765 bool Create(wxWindow *parent, wxWindowID id,
766 const wxPoint& pos,
767 const wxSize& size,
768 long style,
769 const wxValidator& validator,
770 const wxString& name) {
771 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
772 }
773
774
775 int OnCompareItems(const wxTreeItemId& item1,
776 const wxTreeItemId& item2) {
777 int rval = 0;
778 bool found;
779 bool blocked = wxPyBeginBlockThreads();
780 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
781 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
782 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
783 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
784 Py_DECREF(o1);
785 Py_DECREF(o2);
786 }
787 wxPyEndBlockThreads(blocked);
788 if (! found)
789 rval = wxTreeCtrl::OnCompareItems(item1, item2);
790 return rval;
791 }
792 PYPRIVATE;
793 };
794
795 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
796
797
798
799 #if UINT_MAX < LONG_MAX
800 #define SWIG_FromUnsignedInt SWIG_FromLong
801 #else
802 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
803 #endif
804
805
806 SWIGSTATICINLINE(unsigned long)
807 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
808 unsigned long max_value)
809 {
810 if (!PyErr_Occurred()) {
811 if (value > max_value) {
812 PyObject *err =
813 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
814 value, type, max_value);
815 PyErr_SetObject(PyExc_OverflowError, err);
816 Py_DECREF(err);
817 }
818 }
819 return value;
820 }
821
822
823 #if UINT_MAX != ULONG_MAX
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsUnsignedInt(PyObject *obj)
826 {
827 return swig_numeric_cast(unsigned int,
828 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
829 "unsigned int", UINT_MAX));
830 }
831 #else
832 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
833 #endif
834
835
836 SWIGSTATICINLINE(int)
837 SWIG_CheckUnsignedInt(PyObject* obj)
838 {
839 SWIG_AsUnsignedInt(obj);
840 if (PyErr_Occurred()) {
841 PyErr_Clear();
842 return 0;
843 } else {
844 return 1;
845 }
846 }
847
848 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
849 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
850 if (data == NULL) {
851 data = new wxPyTreeItemData();
852 data->SetId(item); // set the id
853 self->SetItemData(item, data);
854 }
855 return data;
856 }
857 PyObject *wxPyTreeCtrl_GetItemPyData(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->GetData();
865 }
866 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
867 data->SetId(item); // set the id
868 self->SetItemData(item, data);
869 }
870 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
871 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
872 if (data == NULL) {
873 data = new wxPyTreeItemData(obj);
874 data->SetId(item); // set the id
875 self->SetItemData(item, data);
876 } else
877 data->SetData(obj);
878 }
879 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
880 bool blocked = wxPyBeginBlockThreads();
881 PyObject* rval = PyList_New(0);
882 wxArrayTreeItemIds array;
883 size_t num, x;
884 num = self->GetSelections(array);
885 for (x=0; x < num; x++) {
886 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
887 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
888 PyList_Append(rval, item);
889 }
890 wxPyEndBlockThreads(blocked);
891 return rval;
892 }
893 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
894 void* cookie = 0;
895 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
896 bool blocked = wxPyBeginBlockThreads();
897 PyObject* tup = PyTuple_New(2);
898 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
899 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
900 wxPyEndBlockThreads(blocked);
901 return tup;
902 }
903 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(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_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
913 wxRect rect;
914 if (self->GetBoundingRect(item, rect, textOnly)) {
915 bool blocked = wxPyBeginBlockThreads();
916 wxRect* r = new wxRect(rect);
917 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
918 wxPyEndBlockThreads(blocked);
919 return val;
920 }
921 else
922 RETURN_NONE();
923 }
924 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
925 // C++ version of Python aware wxControl
926 class wxPyControl : public wxControl
927 {
928 DECLARE_DYNAMIC_CLASS(wxPyControl)
929 public:
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow* parent, const wxWindowID id,
932 const wxPoint& pos = wxDefaultPosition,
933 const wxSize& size = wxDefaultSize,
934 long style = 0,
935 const wxValidator& validator=wxDefaultValidator,
936 const wxString& name = wxPyControlNameStr)
937 : wxControl(parent, id, pos, size, style, validator, name) {}
938
939
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
944
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
948
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
951
952 DEC_PYCALLBACK__(InitDialog);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
955 DEC_PYCALLBACK_BOOL_(Validate);
956
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
960
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
963
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
965 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
966
967 PYPRIVATE;
968 };
969
970 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
971
972 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
973 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
975 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
976
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
980
981 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
982 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
983
984 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
985 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
986 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
987 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
988
989 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
990 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
992
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
994 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
995
996 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
997 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
998
999
1000
1001 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1002
1003 #include <wx/generic/dragimgg.h>
1004
1005 #ifdef __cplusplus
1006 extern "C" {
1007 #endif
1008 static int _wrap_ButtonNameStr_set(PyObject *_val) {
1009 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1010 return 1;
1011 }
1012
1013
1014 static PyObject *_wrap_ButtonNameStr_get() {
1015 PyObject *pyobj;
1016
1017 {
1018 #if wxUSE_UNICODE
1019 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1020 #else
1021 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1022 #endif
1023 }
1024 return pyobj;
1025 }
1026
1027
1028 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1029 PyObject *resultobj;
1030 wxWindow *arg1 = (wxWindow *) 0 ;
1031 int arg2 ;
1032 wxString *arg3 = 0 ;
1033 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1034 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1035 wxSize const &arg5_defvalue = wxDefaultSize ;
1036 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1037 long arg6 = (long) 0 ;
1038 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1039 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1040 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1041 wxString *arg8 = (wxString *) &arg8_defvalue ;
1042 wxButton *result;
1043 bool temp3 = False ;
1044 wxPoint temp4 ;
1045 wxSize temp5 ;
1046 bool temp8 = False ;
1047 PyObject * obj0 = 0 ;
1048 PyObject * obj1 = 0 ;
1049 PyObject * obj2 = 0 ;
1050 PyObject * obj3 = 0 ;
1051 PyObject * obj4 = 0 ;
1052 PyObject * obj5 = 0 ;
1053 PyObject * obj6 = 0 ;
1054 PyObject * obj7 = 0 ;
1055 char *kwnames[] = {
1056 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1057 };
1058
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1062 arg2 = (int) SWIG_AsInt(obj1);
1063 if (PyErr_Occurred()) SWIG_fail;
1064 {
1065 arg3 = wxString_in_helper(obj2);
1066 if (arg3 == NULL) SWIG_fail;
1067 temp3 = True;
1068 }
1069 if (obj3) {
1070 {
1071 arg4 = &temp4;
1072 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1073 }
1074 }
1075 if (obj4) {
1076 {
1077 arg5 = &temp5;
1078 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1079 }
1080 }
1081 if (obj5) {
1082 arg6 = (long) SWIG_AsLong(obj5);
1083 if (PyErr_Occurred()) SWIG_fail;
1084 }
1085 if (obj6) {
1086 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1087 SWIG_POINTER_EXCEPTION | 0)) == -1)
1088 SWIG_fail;
1089 if (arg7 == NULL) {
1090 PyErr_SetString(PyExc_TypeError,"null reference");
1091 SWIG_fail;
1092 }
1093 }
1094 if (obj7) {
1095 {
1096 arg8 = wxString_in_helper(obj7);
1097 if (arg8 == NULL) SWIG_fail;
1098 temp8 = True;
1099 }
1100 }
1101 {
1102 PyThreadState* __tstate = wxPyBeginAllowThreads();
1103 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1104
1105 wxPyEndAllowThreads(__tstate);
1106 if (PyErr_Occurred()) SWIG_fail;
1107 }
1108 {
1109 resultobj = wxPyMake_wxObject(result);
1110 }
1111 {
1112 if (temp3)
1113 delete arg3;
1114 }
1115 {
1116 if (temp8)
1117 delete arg8;
1118 }
1119 return resultobj;
1120 fail:
1121 {
1122 if (temp3)
1123 delete arg3;
1124 }
1125 {
1126 if (temp8)
1127 delete arg8;
1128 }
1129 return NULL;
1130 }
1131
1132
1133 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1134 PyObject *resultobj;
1135 wxButton *result;
1136 char *kwnames[] = {
1137 NULL
1138 };
1139
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1141 {
1142 PyThreadState* __tstate = wxPyBeginAllowThreads();
1143 result = (wxButton *)new wxButton();
1144
1145 wxPyEndAllowThreads(__tstate);
1146 if (PyErr_Occurred()) SWIG_fail;
1147 }
1148 {
1149 resultobj = wxPyMake_wxObject(result);
1150 }
1151 return resultobj;
1152 fail:
1153 return NULL;
1154 }
1155
1156
1157 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1158 PyObject *resultobj;
1159 wxButton *arg1 = (wxButton *) 0 ;
1160 wxWindow *arg2 = (wxWindow *) 0 ;
1161 int arg3 ;
1162 wxString *arg4 = 0 ;
1163 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1164 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1165 wxSize const &arg6_defvalue = wxDefaultSize ;
1166 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1167 long arg7 = (long) 0 ;
1168 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1169 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1170 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1171 wxString *arg9 = (wxString *) &arg9_defvalue ;
1172 bool result;
1173 bool temp4 = False ;
1174 wxPoint temp5 ;
1175 wxSize temp6 ;
1176 bool temp9 = False ;
1177 PyObject * obj0 = 0 ;
1178 PyObject * obj1 = 0 ;
1179 PyObject * obj2 = 0 ;
1180 PyObject * obj3 = 0 ;
1181 PyObject * obj4 = 0 ;
1182 PyObject * obj5 = 0 ;
1183 PyObject * obj6 = 0 ;
1184 PyObject * obj7 = 0 ;
1185 PyObject * obj8 = 0 ;
1186 char *kwnames[] = {
1187 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1188 };
1189
1190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1193 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1195 arg3 = (int) SWIG_AsInt(obj2);
1196 if (PyErr_Occurred()) SWIG_fail;
1197 {
1198 arg4 = wxString_in_helper(obj3);
1199 if (arg4 == NULL) SWIG_fail;
1200 temp4 = True;
1201 }
1202 if (obj4) {
1203 {
1204 arg5 = &temp5;
1205 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1206 }
1207 }
1208 if (obj5) {
1209 {
1210 arg6 = &temp6;
1211 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1212 }
1213 }
1214 if (obj6) {
1215 arg7 = (long) SWIG_AsLong(obj6);
1216 if (PyErr_Occurred()) SWIG_fail;
1217 }
1218 if (obj7) {
1219 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1220 SWIG_POINTER_EXCEPTION | 0)) == -1)
1221 SWIG_fail;
1222 if (arg8 == NULL) {
1223 PyErr_SetString(PyExc_TypeError,"null reference");
1224 SWIG_fail;
1225 }
1226 }
1227 if (obj8) {
1228 {
1229 arg9 = wxString_in_helper(obj8);
1230 if (arg9 == NULL) SWIG_fail;
1231 temp9 = True;
1232 }
1233 }
1234 {
1235 PyThreadState* __tstate = wxPyBeginAllowThreads();
1236 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1237
1238 wxPyEndAllowThreads(__tstate);
1239 if (PyErr_Occurred()) SWIG_fail;
1240 }
1241 {
1242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1243 }
1244 {
1245 if (temp4)
1246 delete arg4;
1247 }
1248 {
1249 if (temp9)
1250 delete arg9;
1251 }
1252 return resultobj;
1253 fail:
1254 {
1255 if (temp4)
1256 delete arg4;
1257 }
1258 {
1259 if (temp9)
1260 delete arg9;
1261 }
1262 return NULL;
1263 }
1264
1265
1266 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1267 PyObject *resultobj;
1268 wxButton *arg1 = (wxButton *) 0 ;
1269 PyObject * obj0 = 0 ;
1270 char *kwnames[] = {
1271 (char *) "self", NULL
1272 };
1273
1274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1277 {
1278 PyThreadState* __tstate = wxPyBeginAllowThreads();
1279 (arg1)->SetDefault();
1280
1281 wxPyEndAllowThreads(__tstate);
1282 if (PyErr_Occurred()) SWIG_fail;
1283 }
1284 Py_INCREF(Py_None); resultobj = Py_None;
1285 return resultobj;
1286 fail:
1287 return NULL;
1288 }
1289
1290
1291 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1292 PyObject *resultobj;
1293 wxSize result;
1294 char *kwnames[] = {
1295 NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1299 {
1300 PyThreadState* __tstate = wxPyBeginAllowThreads();
1301 result = wxButton::GetDefaultSize();
1302
1303 wxPyEndAllowThreads(__tstate);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 }
1306 {
1307 wxSize * resultptr;
1308 resultptr = new wxSize((wxSize &) result);
1309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1310 }
1311 return resultobj;
1312 fail:
1313 return NULL;
1314 }
1315
1316
1317 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1318 PyObject *obj;
1319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1320 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1321 Py_INCREF(obj);
1322 return Py_BuildValue((char *)"");
1323 }
1324 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject *resultobj;
1326 wxWindow *arg1 = (wxWindow *) 0 ;
1327 int arg2 ;
1328 wxBitmap *arg3 = 0 ;
1329 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1330 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1331 wxSize const &arg5_defvalue = wxDefaultSize ;
1332 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1333 long arg6 = (long) wxBU_AUTODRAW ;
1334 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1335 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1336 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1337 wxString *arg8 = (wxString *) &arg8_defvalue ;
1338 wxBitmapButton *result;
1339 wxPoint temp4 ;
1340 wxSize temp5 ;
1341 bool temp8 = False ;
1342 PyObject * obj0 = 0 ;
1343 PyObject * obj1 = 0 ;
1344 PyObject * obj2 = 0 ;
1345 PyObject * obj3 = 0 ;
1346 PyObject * obj4 = 0 ;
1347 PyObject * obj5 = 0 ;
1348 PyObject * obj6 = 0 ;
1349 PyObject * obj7 = 0 ;
1350 char *kwnames[] = {
1351 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1352 };
1353
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1357 arg2 = (int) SWIG_AsInt(obj1);
1358 if (PyErr_Occurred()) SWIG_fail;
1359 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1360 SWIG_POINTER_EXCEPTION | 0)) == -1)
1361 SWIG_fail;
1362 if (arg3 == NULL) {
1363 PyErr_SetString(PyExc_TypeError,"null reference");
1364 SWIG_fail;
1365 }
1366 if (obj3) {
1367 {
1368 arg4 = &temp4;
1369 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1370 }
1371 }
1372 if (obj4) {
1373 {
1374 arg5 = &temp5;
1375 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1376 }
1377 }
1378 if (obj5) {
1379 arg6 = (long) SWIG_AsLong(obj5);
1380 if (PyErr_Occurred()) SWIG_fail;
1381 }
1382 if (obj6) {
1383 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1384 SWIG_POINTER_EXCEPTION | 0)) == -1)
1385 SWIG_fail;
1386 if (arg7 == NULL) {
1387 PyErr_SetString(PyExc_TypeError,"null reference");
1388 SWIG_fail;
1389 }
1390 }
1391 if (obj7) {
1392 {
1393 arg8 = wxString_in_helper(obj7);
1394 if (arg8 == NULL) SWIG_fail;
1395 temp8 = True;
1396 }
1397 }
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
1405 {
1406 resultobj = wxPyMake_wxObject(result);
1407 }
1408 {
1409 if (temp8)
1410 delete arg8;
1411 }
1412 return resultobj;
1413 fail:
1414 {
1415 if (temp8)
1416 delete arg8;
1417 }
1418 return NULL;
1419 }
1420
1421
1422 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject *resultobj;
1424 wxBitmapButton *result;
1425 char *kwnames[] = {
1426 NULL
1427 };
1428
1429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1430 {
1431 PyThreadState* __tstate = wxPyBeginAllowThreads();
1432 result = (wxBitmapButton *)new wxBitmapButton();
1433
1434 wxPyEndAllowThreads(__tstate);
1435 if (PyErr_Occurred()) SWIG_fail;
1436 }
1437 {
1438 resultobj = wxPyMake_wxObject(result);
1439 }
1440 return resultobj;
1441 fail:
1442 return NULL;
1443 }
1444
1445
1446 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1447 PyObject *resultobj;
1448 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1449 wxWindow *arg2 = (wxWindow *) 0 ;
1450 int arg3 ;
1451 wxBitmap *arg4 = 0 ;
1452 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1453 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1454 wxSize const &arg6_defvalue = wxDefaultSize ;
1455 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1456 long arg7 = (long) wxBU_AUTODRAW ;
1457 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1458 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1459 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1460 wxString *arg9 = (wxString *) &arg9_defvalue ;
1461 bool result;
1462 wxPoint temp5 ;
1463 wxSize temp6 ;
1464 bool temp9 = False ;
1465 PyObject * obj0 = 0 ;
1466 PyObject * obj1 = 0 ;
1467 PyObject * obj2 = 0 ;
1468 PyObject * obj3 = 0 ;
1469 PyObject * obj4 = 0 ;
1470 PyObject * obj5 = 0 ;
1471 PyObject * obj6 = 0 ;
1472 PyObject * obj7 = 0 ;
1473 PyObject * obj8 = 0 ;
1474 char *kwnames[] = {
1475 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1476 };
1477
1478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1483 arg3 = (int) SWIG_AsInt(obj2);
1484 if (PyErr_Occurred()) SWIG_fail;
1485 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1486 SWIG_POINTER_EXCEPTION | 0)) == -1)
1487 SWIG_fail;
1488 if (arg4 == NULL) {
1489 PyErr_SetString(PyExc_TypeError,"null reference");
1490 SWIG_fail;
1491 }
1492 if (obj4) {
1493 {
1494 arg5 = &temp5;
1495 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1496 }
1497 }
1498 if (obj5) {
1499 {
1500 arg6 = &temp6;
1501 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1502 }
1503 }
1504 if (obj6) {
1505 arg7 = (long) SWIG_AsLong(obj6);
1506 if (PyErr_Occurred()) SWIG_fail;
1507 }
1508 if (obj7) {
1509 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1510 SWIG_POINTER_EXCEPTION | 0)) == -1)
1511 SWIG_fail;
1512 if (arg8 == NULL) {
1513 PyErr_SetString(PyExc_TypeError,"null reference");
1514 SWIG_fail;
1515 }
1516 }
1517 if (obj8) {
1518 {
1519 arg9 = wxString_in_helper(obj8);
1520 if (arg9 == NULL) SWIG_fail;
1521 temp9 = True;
1522 }
1523 }
1524 {
1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
1526 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1527
1528 wxPyEndAllowThreads(__tstate);
1529 if (PyErr_Occurred()) SWIG_fail;
1530 }
1531 {
1532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1533 }
1534 {
1535 if (temp9)
1536 delete arg9;
1537 }
1538 return resultobj;
1539 fail:
1540 {
1541 if (temp9)
1542 delete arg9;
1543 }
1544 return NULL;
1545 }
1546
1547
1548 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject *resultobj;
1550 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1551 wxBitmap result;
1552 PyObject * obj0 = 0 ;
1553 char *kwnames[] = {
1554 (char *) "self", NULL
1555 };
1556
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1560 {
1561 PyThreadState* __tstate = wxPyBeginAllowThreads();
1562 result = (arg1)->GetBitmapLabel();
1563
1564 wxPyEndAllowThreads(__tstate);
1565 if (PyErr_Occurred()) SWIG_fail;
1566 }
1567 {
1568 wxBitmap * resultptr;
1569 resultptr = new wxBitmap((wxBitmap &) result);
1570 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1571 }
1572 return resultobj;
1573 fail:
1574 return NULL;
1575 }
1576
1577
1578 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1579 PyObject *resultobj;
1580 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1581 wxBitmap result;
1582 PyObject * obj0 = 0 ;
1583 char *kwnames[] = {
1584 (char *) "self", NULL
1585 };
1586
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 result = (arg1)->GetBitmapDisabled();
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 {
1598 wxBitmap * resultptr;
1599 resultptr = new wxBitmap((wxBitmap &) result);
1600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1601 }
1602 return resultobj;
1603 fail:
1604 return NULL;
1605 }
1606
1607
1608 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1609 PyObject *resultobj;
1610 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1611 wxBitmap result;
1612 PyObject * obj0 = 0 ;
1613 char *kwnames[] = {
1614 (char *) "self", NULL
1615 };
1616
1617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1620 {
1621 PyThreadState* __tstate = wxPyBeginAllowThreads();
1622 result = (arg1)->GetBitmapFocus();
1623
1624 wxPyEndAllowThreads(__tstate);
1625 if (PyErr_Occurred()) SWIG_fail;
1626 }
1627 {
1628 wxBitmap * resultptr;
1629 resultptr = new wxBitmap((wxBitmap &) result);
1630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1631 }
1632 return resultobj;
1633 fail:
1634 return NULL;
1635 }
1636
1637
1638 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1639 PyObject *resultobj;
1640 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1641 wxBitmap result;
1642 PyObject * obj0 = 0 ;
1643 char *kwnames[] = {
1644 (char *) "self", NULL
1645 };
1646
1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1650 {
1651 PyThreadState* __tstate = wxPyBeginAllowThreads();
1652 result = (arg1)->GetBitmapSelected();
1653
1654 wxPyEndAllowThreads(__tstate);
1655 if (PyErr_Occurred()) SWIG_fail;
1656 }
1657 {
1658 wxBitmap * resultptr;
1659 resultptr = new wxBitmap((wxBitmap &) result);
1660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1661 }
1662 return resultobj;
1663 fail:
1664 return NULL;
1665 }
1666
1667
1668 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1669 PyObject *resultobj;
1670 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1671 wxBitmap *arg2 = 0 ;
1672 PyObject * obj0 = 0 ;
1673 PyObject * obj1 = 0 ;
1674 char *kwnames[] = {
1675 (char *) "self",(char *) "bitmap", NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1682 SWIG_POINTER_EXCEPTION | 0)) == -1)
1683 SWIG_fail;
1684 if (arg2 == NULL) {
1685 PyErr_SetString(PyExc_TypeError,"null reference");
1686 SWIG_fail;
1687 }
1688 {
1689 PyThreadState* __tstate = wxPyBeginAllowThreads();
1690 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1691
1692 wxPyEndAllowThreads(__tstate);
1693 if (PyErr_Occurred()) SWIG_fail;
1694 }
1695 Py_INCREF(Py_None); resultobj = Py_None;
1696 return resultobj;
1697 fail:
1698 return NULL;
1699 }
1700
1701
1702 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1703 PyObject *resultobj;
1704 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1705 wxBitmap *arg2 = 0 ;
1706 PyObject * obj0 = 0 ;
1707 PyObject * obj1 = 0 ;
1708 char *kwnames[] = {
1709 (char *) "self",(char *) "bitmap", NULL
1710 };
1711
1712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1716 SWIG_POINTER_EXCEPTION | 0)) == -1)
1717 SWIG_fail;
1718 if (arg2 == NULL) {
1719 PyErr_SetString(PyExc_TypeError,"null reference");
1720 SWIG_fail;
1721 }
1722 {
1723 PyThreadState* __tstate = wxPyBeginAllowThreads();
1724 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1725
1726 wxPyEndAllowThreads(__tstate);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 }
1729 Py_INCREF(Py_None); resultobj = Py_None;
1730 return resultobj;
1731 fail:
1732 return NULL;
1733 }
1734
1735
1736 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject *resultobj;
1738 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1739 wxBitmap *arg2 = 0 ;
1740 PyObject * obj0 = 0 ;
1741 PyObject * obj1 = 0 ;
1742 char *kwnames[] = {
1743 (char *) "self",(char *) "bitmap", NULL
1744 };
1745
1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1750 SWIG_POINTER_EXCEPTION | 0)) == -1)
1751 SWIG_fail;
1752 if (arg2 == NULL) {
1753 PyErr_SetString(PyExc_TypeError,"null reference");
1754 SWIG_fail;
1755 }
1756 {
1757 PyThreadState* __tstate = wxPyBeginAllowThreads();
1758 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1759
1760 wxPyEndAllowThreads(__tstate);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 Py_INCREF(Py_None); resultobj = Py_None;
1764 return resultobj;
1765 fail:
1766 return NULL;
1767 }
1768
1769
1770 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1771 PyObject *resultobj;
1772 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1773 wxBitmap *arg2 = 0 ;
1774 PyObject * obj0 = 0 ;
1775 PyObject * obj1 = 0 ;
1776 char *kwnames[] = {
1777 (char *) "self",(char *) "bitmap", NULL
1778 };
1779
1780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1784 SWIG_POINTER_EXCEPTION | 0)) == -1)
1785 SWIG_fail;
1786 if (arg2 == NULL) {
1787 PyErr_SetString(PyExc_TypeError,"null reference");
1788 SWIG_fail;
1789 }
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) SWIG_fail;
1796 }
1797 Py_INCREF(Py_None); resultobj = Py_None;
1798 return resultobj;
1799 fail:
1800 return NULL;
1801 }
1802
1803
1804 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject *resultobj;
1806 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1807 int arg2 ;
1808 int arg3 ;
1809 PyObject * obj0 = 0 ;
1810 PyObject * obj1 = 0 ;
1811 PyObject * obj2 = 0 ;
1812 char *kwnames[] = {
1813 (char *) "self",(char *) "x",(char *) "y", NULL
1814 };
1815
1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1819 arg2 = (int) SWIG_AsInt(obj1);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 arg3 = (int) SWIG_AsInt(obj2);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 {
1824 PyThreadState* __tstate = wxPyBeginAllowThreads();
1825 (arg1)->SetMargins(arg2,arg3);
1826
1827 wxPyEndAllowThreads(__tstate);
1828 if (PyErr_Occurred()) SWIG_fail;
1829 }
1830 Py_INCREF(Py_None); resultobj = Py_None;
1831 return resultobj;
1832 fail:
1833 return NULL;
1834 }
1835
1836
1837 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1838 PyObject *resultobj;
1839 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1840 int result;
1841 PyObject * obj0 = 0 ;
1842 char *kwnames[] = {
1843 (char *) "self", NULL
1844 };
1845
1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1849 {
1850 PyThreadState* __tstate = wxPyBeginAllowThreads();
1851 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1852
1853 wxPyEndAllowThreads(__tstate);
1854 if (PyErr_Occurred()) SWIG_fail;
1855 }
1856 resultobj = SWIG_FromInt((int)result);
1857 return resultobj;
1858 fail:
1859 return NULL;
1860 }
1861
1862
1863 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1864 PyObject *resultobj;
1865 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1866 int result;
1867 PyObject * obj0 = 0 ;
1868 char *kwnames[] = {
1869 (char *) "self", NULL
1870 };
1871
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1875 {
1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
1877 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1878
1879 wxPyEndAllowThreads(__tstate);
1880 if (PyErr_Occurred()) SWIG_fail;
1881 }
1882 resultobj = SWIG_FromInt((int)result);
1883 return resultobj;
1884 fail:
1885 return NULL;
1886 }
1887
1888
1889 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1890 PyObject *obj;
1891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1892 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1893 Py_INCREF(obj);
1894 return Py_BuildValue((char *)"");
1895 }
1896 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1897 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1898 return 1;
1899 }
1900
1901
1902 static PyObject *_wrap_CheckBoxNameStr_get() {
1903 PyObject *pyobj;
1904
1905 {
1906 #if wxUSE_UNICODE
1907 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1908 #else
1909 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1910 #endif
1911 }
1912 return pyobj;
1913 }
1914
1915
1916 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1917 PyObject *resultobj;
1918 wxWindow *arg1 = (wxWindow *) 0 ;
1919 int arg2 ;
1920 wxString *arg3 = 0 ;
1921 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1922 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1923 wxSize const &arg5_defvalue = wxDefaultSize ;
1924 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1925 long arg6 = (long) 0 ;
1926 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1927 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1928 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1929 wxString *arg8 = (wxString *) &arg8_defvalue ;
1930 wxCheckBox *result;
1931 bool temp3 = False ;
1932 wxPoint temp4 ;
1933 wxSize temp5 ;
1934 bool temp8 = False ;
1935 PyObject * obj0 = 0 ;
1936 PyObject * obj1 = 0 ;
1937 PyObject * obj2 = 0 ;
1938 PyObject * obj3 = 0 ;
1939 PyObject * obj4 = 0 ;
1940 PyObject * obj5 = 0 ;
1941 PyObject * obj6 = 0 ;
1942 PyObject * obj7 = 0 ;
1943 char *kwnames[] = {
1944 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1945 };
1946
1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1950 arg2 = (int) SWIG_AsInt(obj1);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 {
1953 arg3 = wxString_in_helper(obj2);
1954 if (arg3 == NULL) SWIG_fail;
1955 temp3 = True;
1956 }
1957 if (obj3) {
1958 {
1959 arg4 = &temp4;
1960 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1961 }
1962 }
1963 if (obj4) {
1964 {
1965 arg5 = &temp5;
1966 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1967 }
1968 }
1969 if (obj5) {
1970 arg6 = (long) SWIG_AsLong(obj5);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 }
1973 if (obj6) {
1974 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1975 SWIG_POINTER_EXCEPTION | 0)) == -1)
1976 SWIG_fail;
1977 if (arg7 == NULL) {
1978 PyErr_SetString(PyExc_TypeError,"null reference");
1979 SWIG_fail;
1980 }
1981 }
1982 if (obj7) {
1983 {
1984 arg8 = wxString_in_helper(obj7);
1985 if (arg8 == NULL) SWIG_fail;
1986 temp8 = True;
1987 }
1988 }
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
1997 {
1998 if (temp3)
1999 delete arg3;
2000 }
2001 {
2002 if (temp8)
2003 delete arg8;
2004 }
2005 return resultobj;
2006 fail:
2007 {
2008 if (temp3)
2009 delete arg3;
2010 }
2011 {
2012 if (temp8)
2013 delete arg8;
2014 }
2015 return NULL;
2016 }
2017
2018
2019 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2020 PyObject *resultobj;
2021 wxCheckBox *result;
2022 char *kwnames[] = {
2023 NULL
2024 };
2025
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 result = (wxCheckBox *)new wxCheckBox();
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 }
2034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2035 return resultobj;
2036 fail:
2037 return NULL;
2038 }
2039
2040
2041 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2042 PyObject *resultobj;
2043 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2044 wxWindow *arg2 = (wxWindow *) 0 ;
2045 int arg3 ;
2046 wxString *arg4 = 0 ;
2047 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2048 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2049 wxSize const &arg6_defvalue = wxDefaultSize ;
2050 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2051 long arg7 = (long) 0 ;
2052 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2053 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2054 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2055 wxString *arg9 = (wxString *) &arg9_defvalue ;
2056 bool result;
2057 bool temp4 = False ;
2058 wxPoint temp5 ;
2059 wxSize temp6 ;
2060 bool temp9 = False ;
2061 PyObject * obj0 = 0 ;
2062 PyObject * obj1 = 0 ;
2063 PyObject * obj2 = 0 ;
2064 PyObject * obj3 = 0 ;
2065 PyObject * obj4 = 0 ;
2066 PyObject * obj5 = 0 ;
2067 PyObject * obj6 = 0 ;
2068 PyObject * obj7 = 0 ;
2069 PyObject * obj8 = 0 ;
2070 char *kwnames[] = {
2071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2077 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2079 arg3 = (int) SWIG_AsInt(obj2);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 {
2082 arg4 = wxString_in_helper(obj3);
2083 if (arg4 == NULL) SWIG_fail;
2084 temp4 = True;
2085 }
2086 if (obj4) {
2087 {
2088 arg5 = &temp5;
2089 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2090 }
2091 }
2092 if (obj5) {
2093 {
2094 arg6 = &temp6;
2095 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2096 }
2097 }
2098 if (obj6) {
2099 arg7 = (long) SWIG_AsLong(obj6);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 }
2102 if (obj7) {
2103 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2104 SWIG_POINTER_EXCEPTION | 0)) == -1)
2105 SWIG_fail;
2106 if (arg8 == NULL) {
2107 PyErr_SetString(PyExc_TypeError,"null reference");
2108 SWIG_fail;
2109 }
2110 }
2111 if (obj8) {
2112 {
2113 arg9 = wxString_in_helper(obj8);
2114 if (arg9 == NULL) SWIG_fail;
2115 temp9 = True;
2116 }
2117 }
2118 {
2119 PyThreadState* __tstate = wxPyBeginAllowThreads();
2120 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2121
2122 wxPyEndAllowThreads(__tstate);
2123 if (PyErr_Occurred()) SWIG_fail;
2124 }
2125 {
2126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2127 }
2128 {
2129 if (temp4)
2130 delete arg4;
2131 }
2132 {
2133 if (temp9)
2134 delete arg9;
2135 }
2136 return resultobj;
2137 fail:
2138 {
2139 if (temp4)
2140 delete arg4;
2141 }
2142 {
2143 if (temp9)
2144 delete arg9;
2145 }
2146 return NULL;
2147 }
2148
2149
2150 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2151 PyObject *resultobj;
2152 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2153 bool result;
2154 PyObject * obj0 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "self", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
2164 result = (bool)(arg1)->GetValue();
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2169 {
2170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2171 }
2172 return resultobj;
2173 fail:
2174 return NULL;
2175 }
2176
2177
2178 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2179 PyObject *resultobj;
2180 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2181 bool result;
2182 PyObject * obj0 = 0 ;
2183 char *kwnames[] = {
2184 (char *) "self", NULL
2185 };
2186
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2190 {
2191 PyThreadState* __tstate = wxPyBeginAllowThreads();
2192 result = (bool)(arg1)->IsChecked();
2193
2194 wxPyEndAllowThreads(__tstate);
2195 if (PyErr_Occurred()) SWIG_fail;
2196 }
2197 {
2198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2199 }
2200 return resultobj;
2201 fail:
2202 return NULL;
2203 }
2204
2205
2206 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2207 PyObject *resultobj;
2208 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2209 bool arg2 ;
2210 PyObject * obj0 = 0 ;
2211 PyObject * obj1 = 0 ;
2212 char *kwnames[] = {
2213 (char *) "self",(char *) "state", NULL
2214 };
2215
2216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2219 arg2 = (bool const) SWIG_AsBool(obj1);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
2223 (arg1)->SetValue(arg2);
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 Py_INCREF(Py_None); resultobj = Py_None;
2229 return resultobj;
2230 fail:
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2236 PyObject *resultobj;
2237 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2238 int result;
2239 PyObject * obj0 = 0 ;
2240 char *kwnames[] = {
2241 (char *) "self", NULL
2242 };
2243
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2247 {
2248 PyThreadState* __tstate = wxPyBeginAllowThreads();
2249 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2250
2251 wxPyEndAllowThreads(__tstate);
2252 if (PyErr_Occurred()) SWIG_fail;
2253 }
2254 resultobj = SWIG_FromInt((int)result);
2255 return resultobj;
2256 fail:
2257 return NULL;
2258 }
2259
2260
2261 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2262 PyObject *resultobj;
2263 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2264 int arg2 ;
2265 PyObject * obj0 = 0 ;
2266 PyObject * obj1 = 0 ;
2267 char *kwnames[] = {
2268 (char *) "self",(char *) "state", NULL
2269 };
2270
2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2274 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 {
2277 PyThreadState* __tstate = wxPyBeginAllowThreads();
2278 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2279
2280 wxPyEndAllowThreads(__tstate);
2281 if (PyErr_Occurred()) SWIG_fail;
2282 }
2283 Py_INCREF(Py_None); resultobj = Py_None;
2284 return resultobj;
2285 fail:
2286 return NULL;
2287 }
2288
2289
2290 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2291 PyObject *resultobj;
2292 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2293 bool result;
2294 PyObject * obj0 = 0 ;
2295 char *kwnames[] = {
2296 (char *) "self", NULL
2297 };
2298
2299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 {
2310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2311 }
2312 return resultobj;
2313 fail:
2314 return NULL;
2315 }
2316
2317
2318 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2319 PyObject *resultobj;
2320 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2321 bool result;
2322 PyObject * obj0 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 {
2338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2339 }
2340 return resultobj;
2341 fail:
2342 return NULL;
2343 }
2344
2345
2346 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2347 PyObject *obj;
2348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2349 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2350 Py_INCREF(obj);
2351 return Py_BuildValue((char *)"");
2352 }
2353 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2354 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2355 return 1;
2356 }
2357
2358
2359 static PyObject *_wrap_ChoiceNameStr_get() {
2360 PyObject *pyobj;
2361
2362 {
2363 #if wxUSE_UNICODE
2364 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2365 #else
2366 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2367 #endif
2368 }
2369 return pyobj;
2370 }
2371
2372
2373 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2374 PyObject *resultobj;
2375 wxWindow *arg1 = (wxWindow *) 0 ;
2376 int arg2 ;
2377 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2378 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2379 wxSize const &arg4_defvalue = wxDefaultSize ;
2380 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2381 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2382 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2383 long arg6 = (long) 0 ;
2384 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2385 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2386 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2387 wxString *arg8 = (wxString *) &arg8_defvalue ;
2388 wxChoice *result;
2389 wxPoint temp3 ;
2390 wxSize temp4 ;
2391 bool temp5 = False ;
2392 bool temp8 = False ;
2393 PyObject * obj0 = 0 ;
2394 PyObject * obj1 = 0 ;
2395 PyObject * obj2 = 0 ;
2396 PyObject * obj3 = 0 ;
2397 PyObject * obj4 = 0 ;
2398 PyObject * obj5 = 0 ;
2399 PyObject * obj6 = 0 ;
2400 PyObject * obj7 = 0 ;
2401 char *kwnames[] = {
2402 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2403 };
2404
2405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2408 arg2 = (int) SWIG_AsInt(obj1);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 if (obj2) {
2411 {
2412 arg3 = &temp3;
2413 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2414 }
2415 }
2416 if (obj3) {
2417 {
2418 arg4 = &temp4;
2419 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2420 }
2421 }
2422 if (obj4) {
2423 {
2424 if (! PySequence_Check(obj4)) {
2425 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2426 SWIG_fail;
2427 }
2428 arg5 = new wxArrayString;
2429 temp5 = True;
2430 int i, len=PySequence_Length(obj4);
2431 for (i=0; i<len; i++) {
2432 PyObject* item = PySequence_GetItem(obj4, i);
2433 #if wxUSE_UNICODE
2434 PyObject* str = PyObject_Unicode(item);
2435 #else
2436 PyObject* str = PyObject_Str(item);
2437 #endif
2438 arg5->Add(Py2wxString(str));
2439 Py_DECREF(item);
2440 Py_DECREF(str);
2441 }
2442 }
2443 }
2444 if (obj5) {
2445 arg6 = (long) SWIG_AsLong(obj5);
2446 if (PyErr_Occurred()) SWIG_fail;
2447 }
2448 if (obj6) {
2449 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2450 SWIG_POINTER_EXCEPTION | 0)) == -1)
2451 SWIG_fail;
2452 if (arg7 == NULL) {
2453 PyErr_SetString(PyExc_TypeError,"null reference");
2454 SWIG_fail;
2455 }
2456 }
2457 if (obj7) {
2458 {
2459 arg8 = wxString_in_helper(obj7);
2460 if (arg8 == NULL) SWIG_fail;
2461 temp8 = True;
2462 }
2463 }
2464 {
2465 PyThreadState* __tstate = wxPyBeginAllowThreads();
2466 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2467
2468 wxPyEndAllowThreads(__tstate);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 }
2471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2472 {
2473 if (temp5) delete arg5;
2474 }
2475 {
2476 if (temp8)
2477 delete arg8;
2478 }
2479 return resultobj;
2480 fail:
2481 {
2482 if (temp5) delete arg5;
2483 }
2484 {
2485 if (temp8)
2486 delete arg8;
2487 }
2488 return NULL;
2489 }
2490
2491
2492 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2493 PyObject *resultobj;
2494 wxChoice *result;
2495 char *kwnames[] = {
2496 NULL
2497 };
2498
2499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2500 {
2501 PyThreadState* __tstate = wxPyBeginAllowThreads();
2502 result = (wxChoice *)new wxChoice();
2503
2504 wxPyEndAllowThreads(__tstate);
2505 if (PyErr_Occurred()) SWIG_fail;
2506 }
2507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2508 return resultobj;
2509 fail:
2510 return NULL;
2511 }
2512
2513
2514 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2515 PyObject *resultobj;
2516 wxChoice *arg1 = (wxChoice *) 0 ;
2517 wxWindow *arg2 = (wxWindow *) 0 ;
2518 int arg3 ;
2519 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2520 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2521 wxSize const &arg5_defvalue = wxDefaultSize ;
2522 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2523 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2524 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2525 long arg7 = (long) 0 ;
2526 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2527 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2528 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2529 wxString *arg9 = (wxString *) &arg9_defvalue ;
2530 bool result;
2531 wxPoint temp4 ;
2532 wxSize temp5 ;
2533 bool temp6 = False ;
2534 bool temp9 = False ;
2535 PyObject * obj0 = 0 ;
2536 PyObject * obj1 = 0 ;
2537 PyObject * obj2 = 0 ;
2538 PyObject * obj3 = 0 ;
2539 PyObject * obj4 = 0 ;
2540 PyObject * obj5 = 0 ;
2541 PyObject * obj6 = 0 ;
2542 PyObject * obj7 = 0 ;
2543 PyObject * obj8 = 0 ;
2544 char *kwnames[] = {
2545 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2546 };
2547
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2553 arg3 = (int) SWIG_AsInt(obj2);
2554 if (PyErr_Occurred()) SWIG_fail;
2555 if (obj3) {
2556 {
2557 arg4 = &temp4;
2558 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2559 }
2560 }
2561 if (obj4) {
2562 {
2563 arg5 = &temp5;
2564 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2565 }
2566 }
2567 if (obj5) {
2568 {
2569 if (! PySequence_Check(obj5)) {
2570 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2571 SWIG_fail;
2572 }
2573 arg6 = new wxArrayString;
2574 temp6 = True;
2575 int i, len=PySequence_Length(obj5);
2576 for (i=0; i<len; i++) {
2577 PyObject* item = PySequence_GetItem(obj5, i);
2578 #if wxUSE_UNICODE
2579 PyObject* str = PyObject_Unicode(item);
2580 #else
2581 PyObject* str = PyObject_Str(item);
2582 #endif
2583 arg6->Add(Py2wxString(str));
2584 Py_DECREF(item);
2585 Py_DECREF(str);
2586 }
2587 }
2588 }
2589 if (obj6) {
2590 arg7 = (long) SWIG_AsLong(obj6);
2591 if (PyErr_Occurred()) SWIG_fail;
2592 }
2593 if (obj7) {
2594 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2595 SWIG_POINTER_EXCEPTION | 0)) == -1)
2596 SWIG_fail;
2597 if (arg8 == NULL) {
2598 PyErr_SetString(PyExc_TypeError,"null reference");
2599 SWIG_fail;
2600 }
2601 }
2602 if (obj8) {
2603 {
2604 arg9 = wxString_in_helper(obj8);
2605 if (arg9 == NULL) SWIG_fail;
2606 temp9 = True;
2607 }
2608 }
2609 {
2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
2611 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2612
2613 wxPyEndAllowThreads(__tstate);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 }
2616 {
2617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2618 }
2619 {
2620 if (temp6) delete arg6;
2621 }
2622 {
2623 if (temp9)
2624 delete arg9;
2625 }
2626 return resultobj;
2627 fail:
2628 {
2629 if (temp6) delete arg6;
2630 }
2631 {
2632 if (temp9)
2633 delete arg9;
2634 }
2635 return NULL;
2636 }
2637
2638
2639 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2640 PyObject *resultobj;
2641 wxChoice *arg1 = (wxChoice *) 0 ;
2642 int arg2 ;
2643 PyObject * obj0 = 0 ;
2644 PyObject * obj1 = 0 ;
2645 char *kwnames[] = {
2646 (char *) "self",(char *) "n", NULL
2647 };
2648
2649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2652 arg2 = (int const) SWIG_AsInt(obj1);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 {
2655 PyThreadState* __tstate = wxPyBeginAllowThreads();
2656 (arg1)->SetSelection(arg2);
2657
2658 wxPyEndAllowThreads(__tstate);
2659 if (PyErr_Occurred()) SWIG_fail;
2660 }
2661 Py_INCREF(Py_None); resultobj = Py_None;
2662 return resultobj;
2663 fail:
2664 return NULL;
2665 }
2666
2667
2668 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2669 PyObject *resultobj;
2670 wxChoice *arg1 = (wxChoice *) 0 ;
2671 wxString *arg2 = 0 ;
2672 bool temp2 = False ;
2673 PyObject * obj0 = 0 ;
2674 PyObject * obj1 = 0 ;
2675 char *kwnames[] = {
2676 (char *) "self",(char *) "string", NULL
2677 };
2678
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2682 {
2683 arg2 = wxString_in_helper(obj1);
2684 if (arg2 == NULL) SWIG_fail;
2685 temp2 = True;
2686 }
2687 {
2688 PyThreadState* __tstate = wxPyBeginAllowThreads();
2689 (arg1)->SetStringSelection((wxString const &)*arg2);
2690
2691 wxPyEndAllowThreads(__tstate);
2692 if (PyErr_Occurred()) SWIG_fail;
2693 }
2694 Py_INCREF(Py_None); resultobj = Py_None;
2695 {
2696 if (temp2)
2697 delete arg2;
2698 }
2699 return resultobj;
2700 fail:
2701 {
2702 if (temp2)
2703 delete arg2;
2704 }
2705 return NULL;
2706 }
2707
2708
2709 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2710 PyObject *resultobj;
2711 wxChoice *arg1 = (wxChoice *) 0 ;
2712 int arg2 ;
2713 wxString *arg3 = 0 ;
2714 bool temp3 = False ;
2715 PyObject * obj0 = 0 ;
2716 PyObject * obj1 = 0 ;
2717 PyObject * obj2 = 0 ;
2718 char *kwnames[] = {
2719 (char *) "self",(char *) "n",(char *) "string", NULL
2720 };
2721
2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2725 arg2 = (int) SWIG_AsInt(obj1);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 {
2728 arg3 = wxString_in_helper(obj2);
2729 if (arg3 == NULL) SWIG_fail;
2730 temp3 = True;
2731 }
2732 {
2733 PyThreadState* __tstate = wxPyBeginAllowThreads();
2734 (arg1)->SetString(arg2,(wxString const &)*arg3);
2735
2736 wxPyEndAllowThreads(__tstate);
2737 if (PyErr_Occurred()) SWIG_fail;
2738 }
2739 Py_INCREF(Py_None); resultobj = Py_None;
2740 {
2741 if (temp3)
2742 delete arg3;
2743 }
2744 return resultobj;
2745 fail:
2746 {
2747 if (temp3)
2748 delete arg3;
2749 }
2750 return NULL;
2751 }
2752
2753
2754 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2755 PyObject *obj;
2756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2757 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2758 Py_INCREF(obj);
2759 return Py_BuildValue((char *)"");
2760 }
2761 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2762 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2763 return 1;
2764 }
2765
2766
2767 static PyObject *_wrap_ComboBoxNameStr_get() {
2768 PyObject *pyobj;
2769
2770 {
2771 #if wxUSE_UNICODE
2772 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2773 #else
2774 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2775 #endif
2776 }
2777 return pyobj;
2778 }
2779
2780
2781 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject *resultobj;
2783 wxWindow *arg1 = (wxWindow *) 0 ;
2784 int arg2 ;
2785 wxString const &arg3_defvalue = wxPyEmptyString ;
2786 wxString *arg3 = (wxString *) &arg3_defvalue ;
2787 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2788 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2789 wxSize const &arg5_defvalue = wxDefaultSize ;
2790 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2791 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2792 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2793 long arg7 = (long) 0 ;
2794 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2795 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2796 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2797 wxString *arg9 = (wxString *) &arg9_defvalue ;
2798 wxComboBox *result;
2799 bool temp3 = False ;
2800 wxPoint temp4 ;
2801 wxSize temp5 ;
2802 bool temp6 = False ;
2803 bool temp9 = False ;
2804 PyObject * obj0 = 0 ;
2805 PyObject * obj1 = 0 ;
2806 PyObject * obj2 = 0 ;
2807 PyObject * obj3 = 0 ;
2808 PyObject * obj4 = 0 ;
2809 PyObject * obj5 = 0 ;
2810 PyObject * obj6 = 0 ;
2811 PyObject * obj7 = 0 ;
2812 PyObject * obj8 = 0 ;
2813 char *kwnames[] = {
2814 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2815 };
2816
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2820 arg2 = (int) SWIG_AsInt(obj1);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 if (obj2) {
2823 {
2824 arg3 = wxString_in_helper(obj2);
2825 if (arg3 == NULL) SWIG_fail;
2826 temp3 = True;
2827 }
2828 }
2829 if (obj3) {
2830 {
2831 arg4 = &temp4;
2832 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2833 }
2834 }
2835 if (obj4) {
2836 {
2837 arg5 = &temp5;
2838 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2839 }
2840 }
2841 if (obj5) {
2842 {
2843 if (! PySequence_Check(obj5)) {
2844 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2845 SWIG_fail;
2846 }
2847 arg6 = new wxArrayString;
2848 temp6 = True;
2849 int i, len=PySequence_Length(obj5);
2850 for (i=0; i<len; i++) {
2851 PyObject* item = PySequence_GetItem(obj5, i);
2852 #if wxUSE_UNICODE
2853 PyObject* str = PyObject_Unicode(item);
2854 #else
2855 PyObject* str = PyObject_Str(item);
2856 #endif
2857 arg6->Add(Py2wxString(str));
2858 Py_DECREF(item);
2859 Py_DECREF(str);
2860 }
2861 }
2862 }
2863 if (obj6) {
2864 arg7 = (long) SWIG_AsLong(obj6);
2865 if (PyErr_Occurred()) SWIG_fail;
2866 }
2867 if (obj7) {
2868 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2869 SWIG_POINTER_EXCEPTION | 0)) == -1)
2870 SWIG_fail;
2871 if (arg8 == NULL) {
2872 PyErr_SetString(PyExc_TypeError,"null reference");
2873 SWIG_fail;
2874 }
2875 }
2876 if (obj8) {
2877 {
2878 arg9 = wxString_in_helper(obj8);
2879 if (arg9 == NULL) SWIG_fail;
2880 temp9 = True;
2881 }
2882 }
2883 {
2884 PyThreadState* __tstate = wxPyBeginAllowThreads();
2885 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);
2886
2887 wxPyEndAllowThreads(__tstate);
2888 if (PyErr_Occurred()) SWIG_fail;
2889 }
2890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2891 {
2892 if (temp3)
2893 delete arg3;
2894 }
2895 {
2896 if (temp6) delete arg6;
2897 }
2898 {
2899 if (temp9)
2900 delete arg9;
2901 }
2902 return resultobj;
2903 fail:
2904 {
2905 if (temp3)
2906 delete arg3;
2907 }
2908 {
2909 if (temp6) delete arg6;
2910 }
2911 {
2912 if (temp9)
2913 delete arg9;
2914 }
2915 return NULL;
2916 }
2917
2918
2919 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2920 PyObject *resultobj;
2921 wxComboBox *result;
2922 char *kwnames[] = {
2923 NULL
2924 };
2925
2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 result = (wxComboBox *)new wxComboBox();
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
2934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2935 return resultobj;
2936 fail:
2937 return NULL;
2938 }
2939
2940
2941 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxComboBox *arg1 = (wxComboBox *) 0 ;
2944 wxWindow *arg2 = (wxWindow *) 0 ;
2945 int arg3 ;
2946 wxString const &arg4_defvalue = wxPyEmptyString ;
2947 wxString *arg4 = (wxString *) &arg4_defvalue ;
2948 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2949 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2950 wxSize const &arg6_defvalue = wxDefaultSize ;
2951 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2952 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2953 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2954 long arg8 = (long) 0 ;
2955 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2956 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2957 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2958 wxString *arg10 = (wxString *) &arg10_defvalue ;
2959 bool result;
2960 bool temp4 = False ;
2961 wxPoint temp5 ;
2962 wxSize temp6 ;
2963 bool temp7 = False ;
2964 bool temp10 = False ;
2965 PyObject * obj0 = 0 ;
2966 PyObject * obj1 = 0 ;
2967 PyObject * obj2 = 0 ;
2968 PyObject * obj3 = 0 ;
2969 PyObject * obj4 = 0 ;
2970 PyObject * obj5 = 0 ;
2971 PyObject * obj6 = 0 ;
2972 PyObject * obj7 = 0 ;
2973 PyObject * obj8 = 0 ;
2974 PyObject * obj9 = 0 ;
2975 char *kwnames[] = {
2976 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2977 };
2978
2979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2982 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2984 arg3 = (int) SWIG_AsInt(obj2);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 if (obj3) {
2987 {
2988 arg4 = wxString_in_helper(obj3);
2989 if (arg4 == NULL) SWIG_fail;
2990 temp4 = True;
2991 }
2992 }
2993 if (obj4) {
2994 {
2995 arg5 = &temp5;
2996 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2997 }
2998 }
2999 if (obj5) {
3000 {
3001 arg6 = &temp6;
3002 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3003 }
3004 }
3005 if (obj6) {
3006 {
3007 if (! PySequence_Check(obj6)) {
3008 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3009 SWIG_fail;
3010 }
3011 arg7 = new wxArrayString;
3012 temp7 = True;
3013 int i, len=PySequence_Length(obj6);
3014 for (i=0; i<len; i++) {
3015 PyObject* item = PySequence_GetItem(obj6, i);
3016 #if wxUSE_UNICODE
3017 PyObject* str = PyObject_Unicode(item);
3018 #else
3019 PyObject* str = PyObject_Str(item);
3020 #endif
3021 arg7->Add(Py2wxString(str));
3022 Py_DECREF(item);
3023 Py_DECREF(str);
3024 }
3025 }
3026 }
3027 if (obj7) {
3028 arg8 = (long) SWIG_AsLong(obj7);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 if (obj8) {
3032 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3033 SWIG_POINTER_EXCEPTION | 0)) == -1)
3034 SWIG_fail;
3035 if (arg9 == NULL) {
3036 PyErr_SetString(PyExc_TypeError,"null reference");
3037 SWIG_fail;
3038 }
3039 }
3040 if (obj9) {
3041 {
3042 arg10 = wxString_in_helper(obj9);
3043 if (arg10 == NULL) SWIG_fail;
3044 temp10 = True;
3045 }
3046 }
3047 {
3048 PyThreadState* __tstate = wxPyBeginAllowThreads();
3049 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);
3050
3051 wxPyEndAllowThreads(__tstate);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
3054 {
3055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3056 }
3057 {
3058 if (temp4)
3059 delete arg4;
3060 }
3061 {
3062 if (temp7) delete arg7;
3063 }
3064 {
3065 if (temp10)
3066 delete arg10;
3067 }
3068 return resultobj;
3069 fail:
3070 {
3071 if (temp4)
3072 delete arg4;
3073 }
3074 {
3075 if (temp7) delete arg7;
3076 }
3077 {
3078 if (temp10)
3079 delete arg10;
3080 }
3081 return NULL;
3082 }
3083
3084
3085 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj;
3087 wxComboBox *arg1 = (wxComboBox *) 0 ;
3088 wxString result;
3089 PyObject * obj0 = 0 ;
3090 char *kwnames[] = {
3091 (char *) "self", NULL
3092 };
3093
3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3097 {
3098 PyThreadState* __tstate = wxPyBeginAllowThreads();
3099 result = ((wxComboBox const *)arg1)->GetValue();
3100
3101 wxPyEndAllowThreads(__tstate);
3102 if (PyErr_Occurred()) SWIG_fail;
3103 }
3104 {
3105 #if wxUSE_UNICODE
3106 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3107 #else
3108 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3109 #endif
3110 }
3111 return resultobj;
3112 fail:
3113 return NULL;
3114 }
3115
3116
3117 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3118 PyObject *resultobj;
3119 wxComboBox *arg1 = (wxComboBox *) 0 ;
3120 wxString *arg2 = 0 ;
3121 bool temp2 = False ;
3122 PyObject * obj0 = 0 ;
3123 PyObject * obj1 = 0 ;
3124 char *kwnames[] = {
3125 (char *) "self",(char *) "value", NULL
3126 };
3127
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3131 {
3132 arg2 = wxString_in_helper(obj1);
3133 if (arg2 == NULL) SWIG_fail;
3134 temp2 = True;
3135 }
3136 {
3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
3138 (arg1)->SetValue((wxString const &)*arg2);
3139
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 Py_INCREF(Py_None); resultobj = Py_None;
3144 {
3145 if (temp2)
3146 delete arg2;
3147 }
3148 return resultobj;
3149 fail:
3150 {
3151 if (temp2)
3152 delete arg2;
3153 }
3154 return NULL;
3155 }
3156
3157
3158 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3159 PyObject *resultobj;
3160 wxComboBox *arg1 = (wxComboBox *) 0 ;
3161 PyObject * obj0 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 (arg1)->Copy();
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 Py_INCREF(Py_None); resultobj = Py_None;
3177 return resultobj;
3178 fail:
3179 return NULL;
3180 }
3181
3182
3183 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3184 PyObject *resultobj;
3185 wxComboBox *arg1 = (wxComboBox *) 0 ;
3186 PyObject * obj0 = 0 ;
3187 char *kwnames[] = {
3188 (char *) "self", NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3194 {
3195 PyThreadState* __tstate = wxPyBeginAllowThreads();
3196 (arg1)->Cut();
3197
3198 wxPyEndAllowThreads(__tstate);
3199 if (PyErr_Occurred()) SWIG_fail;
3200 }
3201 Py_INCREF(Py_None); resultobj = Py_None;
3202 return resultobj;
3203 fail:
3204 return NULL;
3205 }
3206
3207
3208 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3209 PyObject *resultobj;
3210 wxComboBox *arg1 = (wxComboBox *) 0 ;
3211 PyObject * obj0 = 0 ;
3212 char *kwnames[] = {
3213 (char *) "self", NULL
3214 };
3215
3216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3219 {
3220 PyThreadState* __tstate = wxPyBeginAllowThreads();
3221 (arg1)->Paste();
3222
3223 wxPyEndAllowThreads(__tstate);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 Py_INCREF(Py_None); resultobj = Py_None;
3227 return resultobj;
3228 fail:
3229 return NULL;
3230 }
3231
3232
3233 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3234 PyObject *resultobj;
3235 wxComboBox *arg1 = (wxComboBox *) 0 ;
3236 long arg2 ;
3237 PyObject * obj0 = 0 ;
3238 PyObject * obj1 = 0 ;
3239 char *kwnames[] = {
3240 (char *) "self",(char *) "pos", NULL
3241 };
3242
3243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3246 arg2 = (long) SWIG_AsLong(obj1);
3247 if (PyErr_Occurred()) SWIG_fail;
3248 {
3249 PyThreadState* __tstate = wxPyBeginAllowThreads();
3250 (arg1)->SetInsertionPoint(arg2);
3251
3252 wxPyEndAllowThreads(__tstate);
3253 if (PyErr_Occurred()) SWIG_fail;
3254 }
3255 Py_INCREF(Py_None); resultobj = Py_None;
3256 return resultobj;
3257 fail:
3258 return NULL;
3259 }
3260
3261
3262 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3263 PyObject *resultobj;
3264 wxComboBox *arg1 = (wxComboBox *) 0 ;
3265 long result;
3266 PyObject * obj0 = 0 ;
3267 char *kwnames[] = {
3268 (char *) "self", NULL
3269 };
3270
3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3274 {
3275 PyThreadState* __tstate = wxPyBeginAllowThreads();
3276 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3277
3278 wxPyEndAllowThreads(__tstate);
3279 if (PyErr_Occurred()) SWIG_fail;
3280 }
3281 resultobj = SWIG_FromLong((long)result);
3282 return resultobj;
3283 fail:
3284 return NULL;
3285 }
3286
3287
3288 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3289 PyObject *resultobj;
3290 wxComboBox *arg1 = (wxComboBox *) 0 ;
3291 long result;
3292 PyObject * obj0 = 0 ;
3293 char *kwnames[] = {
3294 (char *) "self", NULL
3295 };
3296
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3300 {
3301 PyThreadState* __tstate = wxPyBeginAllowThreads();
3302 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3303
3304 wxPyEndAllowThreads(__tstate);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 resultobj = SWIG_FromLong((long)result);
3308 return resultobj;
3309 fail:
3310 return NULL;
3311 }
3312
3313
3314 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3315 PyObject *resultobj;
3316 wxComboBox *arg1 = (wxComboBox *) 0 ;
3317 long arg2 ;
3318 long arg3 ;
3319 wxString *arg4 = 0 ;
3320 bool temp4 = False ;
3321 PyObject * obj0 = 0 ;
3322 PyObject * obj1 = 0 ;
3323 PyObject * obj2 = 0 ;
3324 PyObject * obj3 = 0 ;
3325 char *kwnames[] = {
3326 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3327 };
3328
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3332 arg2 = (long) SWIG_AsLong(obj1);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 arg3 = (long) SWIG_AsLong(obj2);
3335 if (PyErr_Occurred()) SWIG_fail;
3336 {
3337 arg4 = wxString_in_helper(obj3);
3338 if (arg4 == NULL) SWIG_fail;
3339 temp4 = True;
3340 }
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 Py_INCREF(Py_None); resultobj = Py_None;
3349 {
3350 if (temp4)
3351 delete arg4;
3352 }
3353 return resultobj;
3354 fail:
3355 {
3356 if (temp4)
3357 delete arg4;
3358 }
3359 return NULL;
3360 }
3361
3362
3363 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject *resultobj;
3365 wxComboBox *arg1 = (wxComboBox *) 0 ;
3366 int arg2 ;
3367 PyObject * obj0 = 0 ;
3368 PyObject * obj1 = 0 ;
3369 char *kwnames[] = {
3370 (char *) "self",(char *) "n", NULL
3371 };
3372
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3376 arg2 = (int) SWIG_AsInt(obj1);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 {
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
3380 (arg1)->SetSelection(arg2);
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
3385 Py_INCREF(Py_None); resultobj = Py_None;
3386 return resultobj;
3387 fail:
3388 return NULL;
3389 }
3390
3391
3392 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3393 PyObject *resultobj;
3394 wxComboBox *arg1 = (wxComboBox *) 0 ;
3395 long arg2 ;
3396 long arg3 ;
3397 PyObject * obj0 = 0 ;
3398 PyObject * obj1 = 0 ;
3399 PyObject * obj2 = 0 ;
3400 char *kwnames[] = {
3401 (char *) "self",(char *) "from",(char *) "to", NULL
3402 };
3403
3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3407 arg2 = (long) SWIG_AsLong(obj1);
3408 if (PyErr_Occurred()) SWIG_fail;
3409 arg3 = (long) SWIG_AsLong(obj2);
3410 if (PyErr_Occurred()) SWIG_fail;
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 (arg1)->SetSelection(arg2,arg3);
3414
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 Py_INCREF(Py_None); resultobj = Py_None;
3419 return resultobj;
3420 fail:
3421 return NULL;
3422 }
3423
3424
3425 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxComboBox *arg1 = (wxComboBox *) 0 ;
3428 bool arg2 ;
3429 PyObject * obj0 = 0 ;
3430 PyObject * obj1 = 0 ;
3431 char *kwnames[] = {
3432 (char *) "self",(char *) "editable", NULL
3433 };
3434
3435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3438 arg2 = (bool) SWIG_AsBool(obj1);
3439 if (PyErr_Occurred()) SWIG_fail;
3440 {
3441 PyThreadState* __tstate = wxPyBeginAllowThreads();
3442 (arg1)->SetEditable(arg2);
3443
3444 wxPyEndAllowThreads(__tstate);
3445 if (PyErr_Occurred()) SWIG_fail;
3446 }
3447 Py_INCREF(Py_None); resultobj = Py_None;
3448 return resultobj;
3449 fail:
3450 return NULL;
3451 }
3452
3453
3454 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj;
3456 wxComboBox *arg1 = (wxComboBox *) 0 ;
3457 PyObject * obj0 = 0 ;
3458 char *kwnames[] = {
3459 (char *) "self", NULL
3460 };
3461
3462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3465 {
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
3467 (arg1)->SetInsertionPointEnd();
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 Py_INCREF(Py_None); resultobj = Py_None;
3473 return resultobj;
3474 fail:
3475 return NULL;
3476 }
3477
3478
3479 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3480 PyObject *resultobj;
3481 wxComboBox *arg1 = (wxComboBox *) 0 ;
3482 long arg2 ;
3483 long arg3 ;
3484 PyObject * obj0 = 0 ;
3485 PyObject * obj1 = 0 ;
3486 PyObject * obj2 = 0 ;
3487 char *kwnames[] = {
3488 (char *) "self",(char *) "from",(char *) "to", NULL
3489 };
3490
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3494 arg2 = (long) SWIG_AsLong(obj1);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 arg3 = (long) SWIG_AsLong(obj2);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 (arg1)->Remove(arg2,arg3);
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 Py_INCREF(Py_None); resultobj = Py_None;
3506 return resultobj;
3507 fail:
3508 return NULL;
3509 }
3510
3511
3512 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3513 PyObject *obj;
3514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3515 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3516 Py_INCREF(obj);
3517 return Py_BuildValue((char *)"");
3518 }
3519 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3520 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3521 return 1;
3522 }
3523
3524
3525 static PyObject *_wrap_GaugeNameStr_get() {
3526 PyObject *pyobj;
3527
3528 {
3529 #if wxUSE_UNICODE
3530 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3531 #else
3532 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3533 #endif
3534 }
3535 return pyobj;
3536 }
3537
3538
3539 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3540 PyObject *resultobj;
3541 wxWindow *arg1 = (wxWindow *) 0 ;
3542 int arg2 ;
3543 int arg3 ;
3544 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3545 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3546 wxSize const &arg5_defvalue = wxDefaultSize ;
3547 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3548 long arg6 = (long) wxGA_HORIZONTAL ;
3549 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3550 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3551 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3552 wxString *arg8 = (wxString *) &arg8_defvalue ;
3553 wxGauge *result;
3554 wxPoint temp4 ;
3555 wxSize temp5 ;
3556 bool temp8 = False ;
3557 PyObject * obj0 = 0 ;
3558 PyObject * obj1 = 0 ;
3559 PyObject * obj2 = 0 ;
3560 PyObject * obj3 = 0 ;
3561 PyObject * obj4 = 0 ;
3562 PyObject * obj5 = 0 ;
3563 PyObject * obj6 = 0 ;
3564 PyObject * obj7 = 0 ;
3565 char *kwnames[] = {
3566 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3567 };
3568
3569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3572 arg2 = (int) SWIG_AsInt(obj1);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 arg3 = (int) SWIG_AsInt(obj2);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 if (obj3) {
3577 {
3578 arg4 = &temp4;
3579 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3580 }
3581 }
3582 if (obj4) {
3583 {
3584 arg5 = &temp5;
3585 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3586 }
3587 }
3588 if (obj5) {
3589 arg6 = (long) SWIG_AsLong(obj5);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
3592 if (obj6) {
3593 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3594 SWIG_POINTER_EXCEPTION | 0)) == -1)
3595 SWIG_fail;
3596 if (arg7 == NULL) {
3597 PyErr_SetString(PyExc_TypeError,"null reference");
3598 SWIG_fail;
3599 }
3600 }
3601 if (obj7) {
3602 {
3603 arg8 = wxString_in_helper(obj7);
3604 if (arg8 == NULL) SWIG_fail;
3605 temp8 = True;
3606 }
3607 }
3608 {
3609 PyThreadState* __tstate = wxPyBeginAllowThreads();
3610 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3611
3612 wxPyEndAllowThreads(__tstate);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 }
3615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3616 {
3617 if (temp8)
3618 delete arg8;
3619 }
3620 return resultobj;
3621 fail:
3622 {
3623 if (temp8)
3624 delete arg8;
3625 }
3626 return NULL;
3627 }
3628
3629
3630 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3631 PyObject *resultobj;
3632 wxGauge *result;
3633 char *kwnames[] = {
3634 NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3638 {
3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
3640 result = (wxGauge *)new wxGauge();
3641
3642 wxPyEndAllowThreads(__tstate);
3643 if (PyErr_Occurred()) SWIG_fail;
3644 }
3645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3646 return resultobj;
3647 fail:
3648 return NULL;
3649 }
3650
3651
3652 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3653 PyObject *resultobj;
3654 wxGauge *arg1 = (wxGauge *) 0 ;
3655 wxWindow *arg2 = (wxWindow *) 0 ;
3656 int arg3 ;
3657 int arg4 ;
3658 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3659 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3660 wxSize const &arg6_defvalue = wxDefaultSize ;
3661 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3662 long arg7 = (long) wxGA_HORIZONTAL ;
3663 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3664 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3665 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3666 wxString *arg9 = (wxString *) &arg9_defvalue ;
3667 bool result;
3668 wxPoint temp5 ;
3669 wxSize temp6 ;
3670 bool temp9 = False ;
3671 PyObject * obj0 = 0 ;
3672 PyObject * obj1 = 0 ;
3673 PyObject * obj2 = 0 ;
3674 PyObject * obj3 = 0 ;
3675 PyObject * obj4 = 0 ;
3676 PyObject * obj5 = 0 ;
3677 PyObject * obj6 = 0 ;
3678 PyObject * obj7 = 0 ;
3679 PyObject * obj8 = 0 ;
3680 char *kwnames[] = {
3681 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3689 arg3 = (int) SWIG_AsInt(obj2);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 arg4 = (int) SWIG_AsInt(obj3);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 if (obj4) {
3694 {
3695 arg5 = &temp5;
3696 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3697 }
3698 }
3699 if (obj5) {
3700 {
3701 arg6 = &temp6;
3702 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3703 }
3704 }
3705 if (obj6) {
3706 arg7 = (long) SWIG_AsLong(obj6);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 if (obj7) {
3710 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3711 SWIG_POINTER_EXCEPTION | 0)) == -1)
3712 SWIG_fail;
3713 if (arg8 == NULL) {
3714 PyErr_SetString(PyExc_TypeError,"null reference");
3715 SWIG_fail;
3716 }
3717 }
3718 if (obj8) {
3719 {
3720 arg9 = wxString_in_helper(obj8);
3721 if (arg9 == NULL) SWIG_fail;
3722 temp9 = True;
3723 }
3724 }
3725 {
3726 PyThreadState* __tstate = wxPyBeginAllowThreads();
3727 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3728
3729 wxPyEndAllowThreads(__tstate);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
3732 {
3733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3734 }
3735 {
3736 if (temp9)
3737 delete arg9;
3738 }
3739 return resultobj;
3740 fail:
3741 {
3742 if (temp9)
3743 delete arg9;
3744 }
3745 return NULL;
3746 }
3747
3748
3749 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxGauge *arg1 = (wxGauge *) 0 ;
3752 int arg2 ;
3753 PyObject * obj0 = 0 ;
3754 PyObject * obj1 = 0 ;
3755 char *kwnames[] = {
3756 (char *) "self",(char *) "range", NULL
3757 };
3758
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3762 arg2 = (int) SWIG_AsInt(obj1);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 (arg1)->SetRange(arg2);
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 Py_INCREF(Py_None); resultobj = Py_None;
3772 return resultobj;
3773 fail:
3774 return NULL;
3775 }
3776
3777
3778 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3779 PyObject *resultobj;
3780 wxGauge *arg1 = (wxGauge *) 0 ;
3781 int result;
3782 PyObject * obj0 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (int)((wxGauge const *)arg1)->GetRange();
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 resultobj = SWIG_FromInt((int)result);
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxGauge *arg1 = (wxGauge *) 0 ;
3807 int arg2 ;
3808 PyObject * obj0 = 0 ;
3809 PyObject * obj1 = 0 ;
3810 char *kwnames[] = {
3811 (char *) "self",(char *) "pos", NULL
3812 };
3813
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3817 arg2 = (int) SWIG_AsInt(obj1);
3818 if (PyErr_Occurred()) SWIG_fail;
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 (arg1)->SetValue(arg2);
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 Py_INCREF(Py_None); resultobj = Py_None;
3827 return resultobj;
3828 fail:
3829 return NULL;
3830 }
3831
3832
3833 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj;
3835 wxGauge *arg1 = (wxGauge *) 0 ;
3836 int result;
3837 PyObject * obj0 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 result = (int)((wxGauge const *)arg1)->GetValue();
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 resultobj = SWIG_FromInt((int)result);
3853 return resultobj;
3854 fail:
3855 return NULL;
3856 }
3857
3858
3859 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj;
3861 wxGauge *arg1 = (wxGauge *) 0 ;
3862 bool result;
3863 PyObject * obj0 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 result = (bool)((wxGauge const *)arg1)->IsVertical();
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 {
3879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3880 }
3881 return resultobj;
3882 fail:
3883 return NULL;
3884 }
3885
3886
3887 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3888 PyObject *resultobj;
3889 wxGauge *arg1 = (wxGauge *) 0 ;
3890 int arg2 ;
3891 PyObject * obj0 = 0 ;
3892 PyObject * obj1 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "self",(char *) "w", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3900 arg2 = (int) SWIG_AsInt(obj1);
3901 if (PyErr_Occurred()) SWIG_fail;
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 (arg1)->SetShadowWidth(arg2);
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 Py_INCREF(Py_None); resultobj = Py_None;
3910 return resultobj;
3911 fail:
3912 return NULL;
3913 }
3914
3915
3916 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3917 PyObject *resultobj;
3918 wxGauge *arg1 = (wxGauge *) 0 ;
3919 int result;
3920 PyObject * obj0 = 0 ;
3921 char *kwnames[] = {
3922 (char *) "self", NULL
3923 };
3924
3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3928 {
3929 PyThreadState* __tstate = wxPyBeginAllowThreads();
3930 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3931
3932 wxPyEndAllowThreads(__tstate);
3933 if (PyErr_Occurred()) SWIG_fail;
3934 }
3935 resultobj = SWIG_FromInt((int)result);
3936 return resultobj;
3937 fail:
3938 return NULL;
3939 }
3940
3941
3942 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3943 PyObject *resultobj;
3944 wxGauge *arg1 = (wxGauge *) 0 ;
3945 int arg2 ;
3946 PyObject * obj0 = 0 ;
3947 PyObject * obj1 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self",(char *) "w", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3955 arg2 = (int) SWIG_AsInt(obj1);
3956 if (PyErr_Occurred()) SWIG_fail;
3957 {
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 (arg1)->SetBezelFace(arg2);
3960
3961 wxPyEndAllowThreads(__tstate);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 Py_INCREF(Py_None); resultobj = Py_None;
3965 return resultobj;
3966 fail:
3967 return NULL;
3968 }
3969
3970
3971 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3972 PyObject *resultobj;
3973 wxGauge *arg1 = (wxGauge *) 0 ;
3974 int result;
3975 PyObject * obj0 = 0 ;
3976 char *kwnames[] = {
3977 (char *) "self", NULL
3978 };
3979
3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3983 {
3984 PyThreadState* __tstate = wxPyBeginAllowThreads();
3985 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3986
3987 wxPyEndAllowThreads(__tstate);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 resultobj = SWIG_FromInt((int)result);
3991 return resultobj;
3992 fail:
3993 return NULL;
3994 }
3995
3996
3997 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3998 PyObject *obj;
3999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4000 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4001 Py_INCREF(obj);
4002 return Py_BuildValue((char *)"");
4003 }
4004 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4005 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4006 return 1;
4007 }
4008
4009
4010 static PyObject *_wrap_StaticBitmapNameStr_get() {
4011 PyObject *pyobj;
4012
4013 {
4014 #if wxUSE_UNICODE
4015 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4016 #else
4017 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4018 #endif
4019 }
4020 return pyobj;
4021 }
4022
4023
4024 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4025 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4026 return 1;
4027 }
4028
4029
4030 static PyObject *_wrap_StaticBoxNameStr_get() {
4031 PyObject *pyobj;
4032
4033 {
4034 #if wxUSE_UNICODE
4035 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4036 #else
4037 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4038 #endif
4039 }
4040 return pyobj;
4041 }
4042
4043
4044 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4045 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4046 return 1;
4047 }
4048
4049
4050 static PyObject *_wrap_StaticTextNameStr_get() {
4051 PyObject *pyobj;
4052
4053 {
4054 #if wxUSE_UNICODE
4055 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4056 #else
4057 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4058 #endif
4059 }
4060 return pyobj;
4061 }
4062
4063
4064 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4065 PyObject *resultobj;
4066 wxWindow *arg1 = (wxWindow *) 0 ;
4067 int arg2 ;
4068 wxString *arg3 = 0 ;
4069 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4070 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4071 wxSize const &arg5_defvalue = wxDefaultSize ;
4072 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4073 long arg6 = (long) 0 ;
4074 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4075 wxString *arg7 = (wxString *) &arg7_defvalue ;
4076 wxStaticBox *result;
4077 bool temp3 = False ;
4078 wxPoint temp4 ;
4079 wxSize temp5 ;
4080 bool temp7 = False ;
4081 PyObject * obj0 = 0 ;
4082 PyObject * obj1 = 0 ;
4083 PyObject * obj2 = 0 ;
4084 PyObject * obj3 = 0 ;
4085 PyObject * obj4 = 0 ;
4086 PyObject * obj5 = 0 ;
4087 PyObject * obj6 = 0 ;
4088 char *kwnames[] = {
4089 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4090 };
4091
4092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4095 arg2 = (int) SWIG_AsInt(obj1);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 {
4098 arg3 = wxString_in_helper(obj2);
4099 if (arg3 == NULL) SWIG_fail;
4100 temp3 = True;
4101 }
4102 if (obj3) {
4103 {
4104 arg4 = &temp4;
4105 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4106 }
4107 }
4108 if (obj4) {
4109 {
4110 arg5 = &temp5;
4111 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4112 }
4113 }
4114 if (obj5) {
4115 arg6 = (long) SWIG_AsLong(obj5);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 if (obj6) {
4119 {
4120 arg7 = wxString_in_helper(obj6);
4121 if (arg7 == NULL) SWIG_fail;
4122 temp7 = True;
4123 }
4124 }
4125 {
4126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4127 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4128
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 {
4133 resultobj = wxPyMake_wxObject(result);
4134 }
4135 {
4136 if (temp3)
4137 delete arg3;
4138 }
4139 {
4140 if (temp7)
4141 delete arg7;
4142 }
4143 return resultobj;
4144 fail:
4145 {
4146 if (temp3)
4147 delete arg3;
4148 }
4149 {
4150 if (temp7)
4151 delete arg7;
4152 }
4153 return NULL;
4154 }
4155
4156
4157 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj;
4159 wxStaticBox *result;
4160 char *kwnames[] = {
4161 NULL
4162 };
4163
4164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4165 {
4166 PyThreadState* __tstate = wxPyBeginAllowThreads();
4167 result = (wxStaticBox *)new wxStaticBox();
4168
4169 wxPyEndAllowThreads(__tstate);
4170 if (PyErr_Occurred()) SWIG_fail;
4171 }
4172 {
4173 resultobj = wxPyMake_wxObject(result);
4174 }
4175 return resultobj;
4176 fail:
4177 return NULL;
4178 }
4179
4180
4181 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj;
4183 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4184 wxWindow *arg2 = (wxWindow *) 0 ;
4185 int arg3 ;
4186 wxString *arg4 = 0 ;
4187 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4188 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4189 wxSize const &arg6_defvalue = wxDefaultSize ;
4190 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4191 long arg7 = (long) 0 ;
4192 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4193 wxString *arg8 = (wxString *) &arg8_defvalue ;
4194 bool result;
4195 bool temp4 = False ;
4196 wxPoint temp5 ;
4197 wxSize temp6 ;
4198 bool temp8 = False ;
4199 PyObject * obj0 = 0 ;
4200 PyObject * obj1 = 0 ;
4201 PyObject * obj2 = 0 ;
4202 PyObject * obj3 = 0 ;
4203 PyObject * obj4 = 0 ;
4204 PyObject * obj5 = 0 ;
4205 PyObject * obj6 = 0 ;
4206 PyObject * obj7 = 0 ;
4207 char *kwnames[] = {
4208 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4209 };
4210
4211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4214 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4216 arg3 = (int) SWIG_AsInt(obj2);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 {
4219 arg4 = wxString_in_helper(obj3);
4220 if (arg4 == NULL) SWIG_fail;
4221 temp4 = True;
4222 }
4223 if (obj4) {
4224 {
4225 arg5 = &temp5;
4226 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4227 }
4228 }
4229 if (obj5) {
4230 {
4231 arg6 = &temp6;
4232 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4233 }
4234 }
4235 if (obj6) {
4236 arg7 = (long) SWIG_AsLong(obj6);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 if (obj7) {
4240 {
4241 arg8 = wxString_in_helper(obj7);
4242 if (arg8 == NULL) SWIG_fail;
4243 temp8 = True;
4244 }
4245 }
4246 {
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
4248 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4249
4250 wxPyEndAllowThreads(__tstate);
4251 if (PyErr_Occurred()) SWIG_fail;
4252 }
4253 {
4254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4255 }
4256 {
4257 if (temp4)
4258 delete arg4;
4259 }
4260 {
4261 if (temp8)
4262 delete arg8;
4263 }
4264 return resultobj;
4265 fail:
4266 {
4267 if (temp4)
4268 delete arg4;
4269 }
4270 {
4271 if (temp8)
4272 delete arg8;
4273 }
4274 return NULL;
4275 }
4276
4277
4278 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4279 PyObject *obj;
4280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4281 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4282 Py_INCREF(obj);
4283 return Py_BuildValue((char *)"");
4284 }
4285 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4286 PyObject *resultobj;
4287 wxWindow *arg1 = (wxWindow *) 0 ;
4288 int arg2 ;
4289 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4290 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4291 wxSize const &arg4_defvalue = wxDefaultSize ;
4292 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4293 long arg5 = (long) wxLI_HORIZONTAL ;
4294 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4295 wxString *arg6 = (wxString *) &arg6_defvalue ;
4296 wxStaticLine *result;
4297 wxPoint temp3 ;
4298 wxSize temp4 ;
4299 bool temp6 = False ;
4300 PyObject * obj0 = 0 ;
4301 PyObject * obj1 = 0 ;
4302 PyObject * obj2 = 0 ;
4303 PyObject * obj3 = 0 ;
4304 PyObject * obj4 = 0 ;
4305 PyObject * obj5 = 0 ;
4306 char *kwnames[] = {
4307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4308 };
4309
4310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4313 arg2 = (int) SWIG_AsInt(obj1);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 if (obj2) {
4316 {
4317 arg3 = &temp3;
4318 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4319 }
4320 }
4321 if (obj3) {
4322 {
4323 arg4 = &temp4;
4324 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4325 }
4326 }
4327 if (obj4) {
4328 arg5 = (long) SWIG_AsLong(obj4);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
4331 if (obj5) {
4332 {
4333 arg6 = wxString_in_helper(obj5);
4334 if (arg6 == NULL) SWIG_fail;
4335 temp6 = True;
4336 }
4337 }
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4341
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4346 {
4347 if (temp6)
4348 delete arg6;
4349 }
4350 return resultobj;
4351 fail:
4352 {
4353 if (temp6)
4354 delete arg6;
4355 }
4356 return NULL;
4357 }
4358
4359
4360 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4361 PyObject *resultobj;
4362 wxStaticLine *result;
4363 char *kwnames[] = {
4364 NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4370 result = (wxStaticLine *)new wxStaticLine();
4371
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4376 return resultobj;
4377 fail:
4378 return NULL;
4379 }
4380
4381
4382 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj;
4384 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4385 wxWindow *arg2 = (wxWindow *) 0 ;
4386 int arg3 ;
4387 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4388 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4389 wxSize const &arg5_defvalue = wxDefaultSize ;
4390 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4391 long arg6 = (long) wxLI_HORIZONTAL ;
4392 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4393 wxString *arg7 = (wxString *) &arg7_defvalue ;
4394 bool result;
4395 wxPoint temp4 ;
4396 wxSize temp5 ;
4397 bool temp7 = False ;
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 PyObject * obj2 = 0 ;
4401 PyObject * obj3 = 0 ;
4402 PyObject * obj4 = 0 ;
4403 PyObject * obj5 = 0 ;
4404 PyObject * obj6 = 0 ;
4405 char *kwnames[] = {
4406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4407 };
4408
4409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4414 arg3 = (int) SWIG_AsInt(obj2);
4415 if (PyErr_Occurred()) SWIG_fail;
4416 if (obj3) {
4417 {
4418 arg4 = &temp4;
4419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4420 }
4421 }
4422 if (obj4) {
4423 {
4424 arg5 = &temp5;
4425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4426 }
4427 }
4428 if (obj5) {
4429 arg6 = (long) SWIG_AsLong(obj5);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 if (obj6) {
4433 {
4434 arg7 = wxString_in_helper(obj6);
4435 if (arg7 == NULL) SWIG_fail;
4436 temp7 = True;
4437 }
4438 }
4439 {
4440 PyThreadState* __tstate = wxPyBeginAllowThreads();
4441 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4442
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 {
4447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4448 }
4449 {
4450 if (temp7)
4451 delete arg7;
4452 }
4453 return resultobj;
4454 fail:
4455 {
4456 if (temp7)
4457 delete arg7;
4458 }
4459 return NULL;
4460 }
4461
4462
4463 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4464 PyObject *resultobj;
4465 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4466 bool result;
4467 PyObject * obj0 = 0 ;
4468 char *kwnames[] = {
4469 (char *) "self", NULL
4470 };
4471
4472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 {
4483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4484 }
4485 return resultobj;
4486 fail:
4487 return NULL;
4488 }
4489
4490
4491 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4492 PyObject *resultobj;
4493 int result;
4494 char *kwnames[] = {
4495 NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4499 {
4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
4501 result = (int)wxStaticLine::GetDefaultSize();
4502
4503 wxPyEndAllowThreads(__tstate);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 }
4506 resultobj = SWIG_FromInt((int)result);
4507 return resultobj;
4508 fail:
4509 return NULL;
4510 }
4511
4512
4513 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4514 PyObject *obj;
4515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4516 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4517 Py_INCREF(obj);
4518 return Py_BuildValue((char *)"");
4519 }
4520 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4521 PyObject *resultobj;
4522 wxWindow *arg1 = (wxWindow *) 0 ;
4523 int arg2 ;
4524 wxString *arg3 = 0 ;
4525 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4526 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4527 wxSize const &arg5_defvalue = wxDefaultSize ;
4528 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4529 long arg6 = (long) 0 ;
4530 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4531 wxString *arg7 = (wxString *) &arg7_defvalue ;
4532 wxStaticText *result;
4533 bool temp3 = False ;
4534 wxPoint temp4 ;
4535 wxSize temp5 ;
4536 bool temp7 = False ;
4537 PyObject * obj0 = 0 ;
4538 PyObject * obj1 = 0 ;
4539 PyObject * obj2 = 0 ;
4540 PyObject * obj3 = 0 ;
4541 PyObject * obj4 = 0 ;
4542 PyObject * obj5 = 0 ;
4543 PyObject * obj6 = 0 ;
4544 char *kwnames[] = {
4545 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4546 };
4547
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4551 arg2 = (int) SWIG_AsInt(obj1);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 {
4554 arg3 = wxString_in_helper(obj2);
4555 if (arg3 == NULL) SWIG_fail;
4556 temp3 = True;
4557 }
4558 if (obj3) {
4559 {
4560 arg4 = &temp4;
4561 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4562 }
4563 }
4564 if (obj4) {
4565 {
4566 arg5 = &temp5;
4567 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4568 }
4569 }
4570 if (obj5) {
4571 arg6 = (long) SWIG_AsLong(obj5);
4572 if (PyErr_Occurred()) SWIG_fail;
4573 }
4574 if (obj6) {
4575 {
4576 arg7 = wxString_in_helper(obj6);
4577 if (arg7 == NULL) SWIG_fail;
4578 temp7 = True;
4579 }
4580 }
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
4583 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4589 {
4590 if (temp3)
4591 delete arg3;
4592 }
4593 {
4594 if (temp7)
4595 delete arg7;
4596 }
4597 return resultobj;
4598 fail:
4599 {
4600 if (temp3)
4601 delete arg3;
4602 }
4603 {
4604 if (temp7)
4605 delete arg7;
4606 }
4607 return NULL;
4608 }
4609
4610
4611 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4612 PyObject *resultobj;
4613 wxStaticText *result;
4614 char *kwnames[] = {
4615 NULL
4616 };
4617
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 result = (wxStaticText *)new wxStaticText();
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4627 return resultobj;
4628 fail:
4629 return NULL;
4630 }
4631
4632
4633 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxStaticText *arg1 = (wxStaticText *) 0 ;
4636 wxWindow *arg2 = (wxWindow *) 0 ;
4637 int arg3 ;
4638 wxString *arg4 = 0 ;
4639 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4640 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4641 wxSize const &arg6_defvalue = wxDefaultSize ;
4642 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4643 long arg7 = (long) 0 ;
4644 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4645 wxString *arg8 = (wxString *) &arg8_defvalue ;
4646 bool result;
4647 bool temp4 = False ;
4648 wxPoint temp5 ;
4649 wxSize temp6 ;
4650 bool temp8 = False ;
4651 PyObject * obj0 = 0 ;
4652 PyObject * obj1 = 0 ;
4653 PyObject * obj2 = 0 ;
4654 PyObject * obj3 = 0 ;
4655 PyObject * obj4 = 0 ;
4656 PyObject * obj5 = 0 ;
4657 PyObject * obj6 = 0 ;
4658 PyObject * obj7 = 0 ;
4659 char *kwnames[] = {
4660 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4661 };
4662
4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4668 arg3 = (int) SWIG_AsInt(obj2);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 {
4671 arg4 = wxString_in_helper(obj3);
4672 if (arg4 == NULL) SWIG_fail;
4673 temp4 = True;
4674 }
4675 if (obj4) {
4676 {
4677 arg5 = &temp5;
4678 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4679 }
4680 }
4681 if (obj5) {
4682 {
4683 arg6 = &temp6;
4684 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4685 }
4686 }
4687 if (obj6) {
4688 arg7 = (long) SWIG_AsLong(obj6);
4689 if (PyErr_Occurred()) SWIG_fail;
4690 }
4691 if (obj7) {
4692 {
4693 arg8 = wxString_in_helper(obj7);
4694 if (arg8 == NULL) SWIG_fail;
4695 temp8 = True;
4696 }
4697 }
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 {
4706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4707 }
4708 {
4709 if (temp4)
4710 delete arg4;
4711 }
4712 {
4713 if (temp8)
4714 delete arg8;
4715 }
4716 return resultobj;
4717 fail:
4718 {
4719 if (temp4)
4720 delete arg4;
4721 }
4722 {
4723 if (temp8)
4724 delete arg8;
4725 }
4726 return NULL;
4727 }
4728
4729
4730 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4731 PyObject *obj;
4732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4733 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4734 Py_INCREF(obj);
4735 return Py_BuildValue((char *)"");
4736 }
4737 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj;
4739 wxWindow *arg1 = (wxWindow *) 0 ;
4740 int arg2 ;
4741 wxBitmap *arg3 = 0 ;
4742 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4743 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4744 wxSize const &arg5_defvalue = wxDefaultSize ;
4745 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4746 long arg6 = (long) 0 ;
4747 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4748 wxString *arg7 = (wxString *) &arg7_defvalue ;
4749 wxStaticBitmap *result;
4750 wxPoint temp4 ;
4751 wxSize temp5 ;
4752 bool temp7 = False ;
4753 PyObject * obj0 = 0 ;
4754 PyObject * obj1 = 0 ;
4755 PyObject * obj2 = 0 ;
4756 PyObject * obj3 = 0 ;
4757 PyObject * obj4 = 0 ;
4758 PyObject * obj5 = 0 ;
4759 PyObject * obj6 = 0 ;
4760 char *kwnames[] = {
4761 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4762 };
4763
4764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4767 arg2 = (int) SWIG_AsInt(obj1);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4770 SWIG_POINTER_EXCEPTION | 0)) == -1)
4771 SWIG_fail;
4772 if (arg3 == NULL) {
4773 PyErr_SetString(PyExc_TypeError,"null reference");
4774 SWIG_fail;
4775 }
4776 if (obj3) {
4777 {
4778 arg4 = &temp4;
4779 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4780 }
4781 }
4782 if (obj4) {
4783 {
4784 arg5 = &temp5;
4785 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4786 }
4787 }
4788 if (obj5) {
4789 arg6 = (long) SWIG_AsLong(obj5);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 if (obj6) {
4793 {
4794 arg7 = wxString_in_helper(obj6);
4795 if (arg7 == NULL) SWIG_fail;
4796 temp7 = True;
4797 }
4798 }
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4807 {
4808 if (temp7)
4809 delete arg7;
4810 }
4811 return resultobj;
4812 fail:
4813 {
4814 if (temp7)
4815 delete arg7;
4816 }
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxStaticBitmap *result;
4824 char *kwnames[] = {
4825 NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 result = (wxStaticBitmap *)new wxStaticBitmap();
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4837 return resultobj;
4838 fail:
4839 return NULL;
4840 }
4841
4842
4843 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4844 PyObject *resultobj;
4845 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4846 wxWindow *arg2 = (wxWindow *) 0 ;
4847 int arg3 ;
4848 wxBitmap *arg4 = 0 ;
4849 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4850 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4851 wxSize const &arg6_defvalue = wxDefaultSize ;
4852 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4853 long arg7 = (long) 0 ;
4854 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4855 wxString *arg8 = (wxString *) &arg8_defvalue ;
4856 bool result;
4857 wxPoint temp5 ;
4858 wxSize temp6 ;
4859 bool temp8 = False ;
4860 PyObject * obj0 = 0 ;
4861 PyObject * obj1 = 0 ;
4862 PyObject * obj2 = 0 ;
4863 PyObject * obj3 = 0 ;
4864 PyObject * obj4 = 0 ;
4865 PyObject * obj5 = 0 ;
4866 PyObject * obj6 = 0 ;
4867 PyObject * obj7 = 0 ;
4868 char *kwnames[] = {
4869 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4870 };
4871
4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4877 arg3 = (int) SWIG_AsInt(obj2);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4880 SWIG_POINTER_EXCEPTION | 0)) == -1)
4881 SWIG_fail;
4882 if (arg4 == NULL) {
4883 PyErr_SetString(PyExc_TypeError,"null reference");
4884 SWIG_fail;
4885 }
4886 if (obj4) {
4887 {
4888 arg5 = &temp5;
4889 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4890 }
4891 }
4892 if (obj5) {
4893 {
4894 arg6 = &temp6;
4895 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4896 }
4897 }
4898 if (obj6) {
4899 arg7 = (long) SWIG_AsLong(obj6);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 if (obj7) {
4903 {
4904 arg8 = wxString_in_helper(obj7);
4905 if (arg8 == NULL) SWIG_fail;
4906 temp8 = True;
4907 }
4908 }
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 {
4917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4918 }
4919 {
4920 if (temp8)
4921 delete arg8;
4922 }
4923 return resultobj;
4924 fail:
4925 {
4926 if (temp8)
4927 delete arg8;
4928 }
4929 return NULL;
4930 }
4931
4932
4933 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj;
4935 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4936 wxBitmap result;
4937 PyObject * obj0 = 0 ;
4938 char *kwnames[] = {
4939 (char *) "self", NULL
4940 };
4941
4942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 result = (arg1)->GetBitmap();
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 {
4953 wxBitmap * resultptr;
4954 resultptr = new wxBitmap((wxBitmap &) result);
4955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4956 }
4957 return resultobj;
4958 fail:
4959 return NULL;
4960 }
4961
4962
4963 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4964 PyObject *resultobj;
4965 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4966 wxBitmap *arg2 = 0 ;
4967 PyObject * obj0 = 0 ;
4968 PyObject * obj1 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self",(char *) "bitmap", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4977 SWIG_POINTER_EXCEPTION | 0)) == -1)
4978 SWIG_fail;
4979 if (arg2 == NULL) {
4980 PyErr_SetString(PyExc_TypeError,"null reference");
4981 SWIG_fail;
4982 }
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 Py_INCREF(Py_None); resultobj = Py_None;
4991 return resultobj;
4992 fail:
4993 return NULL;
4994 }
4995
4996
4997 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4998 PyObject *resultobj;
4999 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5000 wxIcon *arg2 = 0 ;
5001 PyObject * obj0 = 0 ;
5002 PyObject * obj1 = 0 ;
5003 char *kwnames[] = {
5004 (char *) "self",(char *) "icon", NULL
5005 };
5006
5007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5011 SWIG_POINTER_EXCEPTION | 0)) == -1)
5012 SWIG_fail;
5013 if (arg2 == NULL) {
5014 PyErr_SetString(PyExc_TypeError,"null reference");
5015 SWIG_fail;
5016 }
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 (arg1)->SetIcon((wxIcon const &)*arg2);
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 Py_INCREF(Py_None); resultobj = Py_None;
5025 return resultobj;
5026 fail:
5027 return NULL;
5028 }
5029
5030
5031 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5032 PyObject *obj;
5033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5034 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5035 Py_INCREF(obj);
5036 return Py_BuildValue((char *)"");
5037 }
5038 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5039 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5040 return 1;
5041 }
5042
5043
5044 static PyObject *_wrap_ListBoxNameStr_get() {
5045 PyObject *pyobj;
5046
5047 {
5048 #if wxUSE_UNICODE
5049 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5050 #else
5051 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5052 #endif
5053 }
5054 return pyobj;
5055 }
5056
5057
5058 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5059 PyObject *resultobj;
5060 wxWindow *arg1 = (wxWindow *) 0 ;
5061 int arg2 ;
5062 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5063 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5064 wxSize const &arg4_defvalue = wxDefaultSize ;
5065 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5066 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5067 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5068 long arg6 = (long) 0 ;
5069 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5070 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5071 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5072 wxString *arg8 = (wxString *) &arg8_defvalue ;
5073 wxListBox *result;
5074 wxPoint temp3 ;
5075 wxSize temp4 ;
5076 bool temp5 = False ;
5077 bool temp8 = False ;
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 PyObject * obj2 = 0 ;
5081 PyObject * obj3 = 0 ;
5082 PyObject * obj4 = 0 ;
5083 PyObject * obj5 = 0 ;
5084 PyObject * obj6 = 0 ;
5085 PyObject * obj7 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5093 arg2 = (int) SWIG_AsInt(obj1);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 if (obj2) {
5096 {
5097 arg3 = &temp3;
5098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5099 }
5100 }
5101 if (obj3) {
5102 {
5103 arg4 = &temp4;
5104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5105 }
5106 }
5107 if (obj4) {
5108 {
5109 if (! PySequence_Check(obj4)) {
5110 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5111 SWIG_fail;
5112 }
5113 arg5 = new wxArrayString;
5114 temp5 = True;
5115 int i, len=PySequence_Length(obj4);
5116 for (i=0; i<len; i++) {
5117 PyObject* item = PySequence_GetItem(obj4, i);
5118 #if wxUSE_UNICODE
5119 PyObject* str = PyObject_Unicode(item);
5120 #else
5121 PyObject* str = PyObject_Str(item);
5122 #endif
5123 arg5->Add(Py2wxString(str));
5124 Py_DECREF(item);
5125 Py_DECREF(str);
5126 }
5127 }
5128 }
5129 if (obj5) {
5130 arg6 = (long) SWIG_AsLong(obj5);
5131 if (PyErr_Occurred()) SWIG_fail;
5132 }
5133 if (obj6) {
5134 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5135 SWIG_POINTER_EXCEPTION | 0)) == -1)
5136 SWIG_fail;
5137 if (arg7 == NULL) {
5138 PyErr_SetString(PyExc_TypeError,"null reference");
5139 SWIG_fail;
5140 }
5141 }
5142 if (obj7) {
5143 {
5144 arg8 = wxString_in_helper(obj7);
5145 if (arg8 == NULL) SWIG_fail;
5146 temp8 = True;
5147 }
5148 }
5149 {
5150 PyThreadState* __tstate = wxPyBeginAllowThreads();
5151 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5152
5153 wxPyEndAllowThreads(__tstate);
5154 if (PyErr_Occurred()) SWIG_fail;
5155 }
5156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5157 {
5158 if (temp5) delete arg5;
5159 }
5160 {
5161 if (temp8)
5162 delete arg8;
5163 }
5164 return resultobj;
5165 fail:
5166 {
5167 if (temp5) delete arg5;
5168 }
5169 {
5170 if (temp8)
5171 delete arg8;
5172 }
5173 return NULL;
5174 }
5175
5176
5177 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5178 PyObject *resultobj;
5179 wxListBox *result;
5180 char *kwnames[] = {
5181 NULL
5182 };
5183
5184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5185 {
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 result = (wxListBox *)new wxListBox();
5188
5189 wxPyEndAllowThreads(__tstate);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 }
5192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5193 return resultobj;
5194 fail:
5195 return NULL;
5196 }
5197
5198
5199 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5200 PyObject *resultobj;
5201 wxListBox *arg1 = (wxListBox *) 0 ;
5202 wxWindow *arg2 = (wxWindow *) 0 ;
5203 int arg3 ;
5204 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5205 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5206 wxSize const &arg5_defvalue = wxDefaultSize ;
5207 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5208 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5209 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5210 long arg7 = (long) 0 ;
5211 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5212 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5213 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5214 wxString *arg9 = (wxString *) &arg9_defvalue ;
5215 bool result;
5216 wxPoint temp4 ;
5217 wxSize temp5 ;
5218 bool temp6 = False ;
5219 bool temp9 = False ;
5220 PyObject * obj0 = 0 ;
5221 PyObject * obj1 = 0 ;
5222 PyObject * obj2 = 0 ;
5223 PyObject * obj3 = 0 ;
5224 PyObject * obj4 = 0 ;
5225 PyObject * obj5 = 0 ;
5226 PyObject * obj6 = 0 ;
5227 PyObject * obj7 = 0 ;
5228 PyObject * obj8 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5238 arg3 = (int) SWIG_AsInt(obj2);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 if (obj3) {
5241 {
5242 arg4 = &temp4;
5243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5244 }
5245 }
5246 if (obj4) {
5247 {
5248 arg5 = &temp5;
5249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5250 }
5251 }
5252 if (obj5) {
5253 {
5254 if (! PySequence_Check(obj5)) {
5255 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5256 SWIG_fail;
5257 }
5258 arg6 = new wxArrayString;
5259 temp6 = True;
5260 int i, len=PySequence_Length(obj5);
5261 for (i=0; i<len; i++) {
5262 PyObject* item = PySequence_GetItem(obj5, i);
5263 #if wxUSE_UNICODE
5264 PyObject* str = PyObject_Unicode(item);
5265 #else
5266 PyObject* str = PyObject_Str(item);
5267 #endif
5268 arg6->Add(Py2wxString(str));
5269 Py_DECREF(item);
5270 Py_DECREF(str);
5271 }
5272 }
5273 }
5274 if (obj6) {
5275 arg7 = (long) SWIG_AsLong(obj6);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 if (obj7) {
5279 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5280 SWIG_POINTER_EXCEPTION | 0)) == -1)
5281 SWIG_fail;
5282 if (arg8 == NULL) {
5283 PyErr_SetString(PyExc_TypeError,"null reference");
5284 SWIG_fail;
5285 }
5286 }
5287 if (obj8) {
5288 {
5289 arg9 = wxString_in_helper(obj8);
5290 if (arg9 == NULL) SWIG_fail;
5291 temp9 = True;
5292 }
5293 }
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5297
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 {
5302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5303 }
5304 {
5305 if (temp6) delete arg6;
5306 }
5307 {
5308 if (temp9)
5309 delete arg9;
5310 }
5311 return resultobj;
5312 fail:
5313 {
5314 if (temp6) delete arg6;
5315 }
5316 {
5317 if (temp9)
5318 delete arg9;
5319 }
5320 return NULL;
5321 }
5322
5323
5324 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5325 PyObject *resultobj;
5326 wxListBox *arg1 = (wxListBox *) 0 ;
5327 wxString *arg2 = 0 ;
5328 int arg3 ;
5329 PyObject *arg4 = (PyObject *) NULL ;
5330 bool temp2 = False ;
5331 PyObject * obj0 = 0 ;
5332 PyObject * obj1 = 0 ;
5333 PyObject * obj2 = 0 ;
5334 PyObject * obj3 = 0 ;
5335 char *kwnames[] = {
5336 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5337 };
5338
5339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5342 {
5343 arg2 = wxString_in_helper(obj1);
5344 if (arg2 == NULL) SWIG_fail;
5345 temp2 = True;
5346 }
5347 arg3 = (int) SWIG_AsInt(obj2);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 if (obj3) {
5350 arg4 = obj3;
5351 }
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 Py_INCREF(Py_None); resultobj = Py_None;
5360 {
5361 if (temp2)
5362 delete arg2;
5363 }
5364 return resultobj;
5365 fail:
5366 {
5367 if (temp2)
5368 delete arg2;
5369 }
5370 return NULL;
5371 }
5372
5373
5374 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5375 PyObject *resultobj;
5376 wxListBox *arg1 = (wxListBox *) 0 ;
5377 wxArrayString *arg2 = 0 ;
5378 int arg3 ;
5379 bool temp2 = False ;
5380 PyObject * obj0 = 0 ;
5381 PyObject * obj1 = 0 ;
5382 PyObject * obj2 = 0 ;
5383 char *kwnames[] = {
5384 (char *) "self",(char *) "items",(char *) "pos", NULL
5385 };
5386
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5390 {
5391 if (! PySequence_Check(obj1)) {
5392 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5393 SWIG_fail;
5394 }
5395 arg2 = new wxArrayString;
5396 temp2 = True;
5397 int i, len=PySequence_Length(obj1);
5398 for (i=0; i<len; i++) {
5399 PyObject* item = PySequence_GetItem(obj1, i);
5400 #if wxUSE_UNICODE
5401 PyObject* str = PyObject_Unicode(item);
5402 #else
5403 PyObject* str = PyObject_Str(item);
5404 #endif
5405 arg2->Add(Py2wxString(str));
5406 Py_DECREF(item);
5407 Py_DECREF(str);
5408 }
5409 }
5410 arg3 = (int) SWIG_AsInt(obj2);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 Py_INCREF(Py_None); resultobj = Py_None;
5420 {
5421 if (temp2) delete arg2;
5422 }
5423 return resultobj;
5424 fail:
5425 {
5426 if (temp2) delete arg2;
5427 }
5428 return NULL;
5429 }
5430
5431
5432 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5433 PyObject *resultobj;
5434 wxListBox *arg1 = (wxListBox *) 0 ;
5435 wxArrayString *arg2 = 0 ;
5436 bool temp2 = False ;
5437 PyObject * obj0 = 0 ;
5438 PyObject * obj1 = 0 ;
5439 char *kwnames[] = {
5440 (char *) "self",(char *) "items", NULL
5441 };
5442
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5446 {
5447 if (! PySequence_Check(obj1)) {
5448 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5449 SWIG_fail;
5450 }
5451 arg2 = new wxArrayString;
5452 temp2 = True;
5453 int i, len=PySequence_Length(obj1);
5454 for (i=0; i<len; i++) {
5455 PyObject* item = PySequence_GetItem(obj1, i);
5456 #if wxUSE_UNICODE
5457 PyObject* str = PyObject_Unicode(item);
5458 #else
5459 PyObject* str = PyObject_Str(item);
5460 #endif
5461 arg2->Add(Py2wxString(str));
5462 Py_DECREF(item);
5463 Py_DECREF(str);
5464 }
5465 }
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 (arg1)->Set((wxArrayString const &)*arg2);
5469
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 Py_INCREF(Py_None); resultobj = Py_None;
5474 {
5475 if (temp2) delete arg2;
5476 }
5477 return resultobj;
5478 fail:
5479 {
5480 if (temp2) delete arg2;
5481 }
5482 return NULL;
5483 }
5484
5485
5486 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj;
5488 wxListBox *arg1 = (wxListBox *) 0 ;
5489 int arg2 ;
5490 bool result;
5491 PyObject * obj0 = 0 ;
5492 PyObject * obj1 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "n", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5500 arg2 = (int) SWIG_AsInt(obj1);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 {
5503 PyThreadState* __tstate = wxPyBeginAllowThreads();
5504 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5505
5506 wxPyEndAllowThreads(__tstate);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 {
5510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5511 }
5512 return resultobj;
5513 fail:
5514 return NULL;
5515 }
5516
5517
5518 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 wxListBox *arg1 = (wxListBox *) 0 ;
5521 int arg2 ;
5522 bool arg3 = (bool) True ;
5523 PyObject * obj0 = 0 ;
5524 PyObject * obj1 = 0 ;
5525 PyObject * obj2 = 0 ;
5526 char *kwnames[] = {
5527 (char *) "self",(char *) "n",(char *) "select", NULL
5528 };
5529
5530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5533 arg2 = (int) SWIG_AsInt(obj1);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 if (obj2) {
5536 arg3 = (bool) SWIG_AsBool(obj2);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 (arg1)->SetSelection(arg2,arg3);
5542
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 Py_INCREF(Py_None); resultobj = Py_None;
5547 return resultobj;
5548 fail:
5549 return NULL;
5550 }
5551
5552
5553 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5554 PyObject *resultobj;
5555 wxListBox *arg1 = (wxListBox *) 0 ;
5556 int arg2 ;
5557 PyObject * obj0 = 0 ;
5558 PyObject * obj1 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "self",(char *) "n", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5566 arg2 = (int) SWIG_AsInt(obj1);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 (arg1)->Select(arg2);
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 Py_INCREF(Py_None); resultobj = Py_None;
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5583 PyObject *resultobj;
5584 wxListBox *arg1 = (wxListBox *) 0 ;
5585 int arg2 ;
5586 PyObject * obj0 = 0 ;
5587 PyObject * obj1 = 0 ;
5588 char *kwnames[] = {
5589 (char *) "self",(char *) "n", NULL
5590 };
5591
5592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5595 arg2 = (int) SWIG_AsInt(obj1);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 (arg1)->Deselect(arg2);
5600
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 Py_INCREF(Py_None); resultobj = Py_None;
5605 return resultobj;
5606 fail:
5607 return NULL;
5608 }
5609
5610
5611 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj;
5613 wxListBox *arg1 = (wxListBox *) 0 ;
5614 int arg2 = (int) -1 ;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5617 char *kwnames[] = {
5618 (char *) "self",(char *) "itemToLeaveSelected", NULL
5619 };
5620
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5624 if (obj1) {
5625 arg2 = (int) SWIG_AsInt(obj1);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 (arg1)->DeselectAll(arg2);
5631
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 Py_INCREF(Py_None); resultobj = Py_None;
5636 return resultobj;
5637 fail:
5638 return NULL;
5639 }
5640
5641
5642 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5643 PyObject *resultobj;
5644 wxListBox *arg1 = (wxListBox *) 0 ;
5645 wxString *arg2 = 0 ;
5646 bool arg3 = (bool) True ;
5647 bool result;
5648 bool temp2 = False ;
5649 PyObject * obj0 = 0 ;
5650 PyObject * obj1 = 0 ;
5651 PyObject * obj2 = 0 ;
5652 char *kwnames[] = {
5653 (char *) "self",(char *) "s",(char *) "select", NULL
5654 };
5655
5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5659 {
5660 arg2 = wxString_in_helper(obj1);
5661 if (arg2 == NULL) SWIG_fail;
5662 temp2 = True;
5663 }
5664 if (obj2) {
5665 arg3 = (bool) SWIG_AsBool(obj2);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
5668 {
5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
5670 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5671
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 {
5676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5677 }
5678 {
5679 if (temp2)
5680 delete arg2;
5681 }
5682 return resultobj;
5683 fail:
5684 {
5685 if (temp2)
5686 delete arg2;
5687 }
5688 return NULL;
5689 }
5690
5691
5692 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject *resultobj;
5694 wxListBox *arg1 = (wxListBox *) 0 ;
5695 PyObject *result;
5696 PyObject * obj0 = 0 ;
5697 char *kwnames[] = {
5698 (char *) "self", NULL
5699 };
5700
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 result = (PyObject *)wxListBox_GetSelections(arg1);
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 resultobj = result;
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 wxListBox *arg1 = (wxListBox *) 0 ;
5721 int arg2 ;
5722 PyObject * obj0 = 0 ;
5723 PyObject * obj1 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self",(char *) "n", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5731 arg2 = (int) SWIG_AsInt(obj1);
5732 if (PyErr_Occurred()) SWIG_fail;
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 (arg1)->SetFirstItem(arg2);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 Py_INCREF(Py_None); resultobj = Py_None;
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxListBox *arg1 = (wxListBox *) 0 ;
5750 wxString *arg2 = 0 ;
5751 bool temp2 = False ;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 char *kwnames[] = {
5755 (char *) "self",(char *) "s", NULL
5756 };
5757
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5761 {
5762 arg2 = wxString_in_helper(obj1);
5763 if (arg2 == NULL) SWIG_fail;
5764 temp2 = True;
5765 }
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 (arg1)->SetFirstItem((wxString const &)*arg2);
5769
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 Py_INCREF(Py_None); resultobj = Py_None;
5774 {
5775 if (temp2)
5776 delete arg2;
5777 }
5778 return resultobj;
5779 fail:
5780 {
5781 if (temp2)
5782 delete arg2;
5783 }
5784 return NULL;
5785 }
5786
5787
5788 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5789 PyObject *resultobj;
5790 wxListBox *arg1 = (wxListBox *) 0 ;
5791 int arg2 ;
5792 PyObject * obj0 = 0 ;
5793 PyObject * obj1 = 0 ;
5794 char *kwnames[] = {
5795 (char *) "self",(char *) "n", NULL
5796 };
5797
5798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5801 arg2 = (int) SWIG_AsInt(obj1);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 {
5804 PyThreadState* __tstate = wxPyBeginAllowThreads();
5805 (arg1)->EnsureVisible(arg2);
5806
5807 wxPyEndAllowThreads(__tstate);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
5810 Py_INCREF(Py_None); resultobj = Py_None;
5811 return resultobj;
5812 fail:
5813 return NULL;
5814 }
5815
5816
5817 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5818 PyObject *resultobj;
5819 wxListBox *arg1 = (wxListBox *) 0 ;
5820 wxString *arg2 = 0 ;
5821 bool temp2 = False ;
5822 PyObject * obj0 = 0 ;
5823 PyObject * obj1 = 0 ;
5824 char *kwnames[] = {
5825 (char *) "self",(char *) "s", NULL
5826 };
5827
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5831 {
5832 arg2 = wxString_in_helper(obj1);
5833 if (arg2 == NULL) SWIG_fail;
5834 temp2 = True;
5835 }
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5839
5840 wxPyEndAllowThreads(__tstate);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 Py_INCREF(Py_None); resultobj = Py_None;
5844 {
5845 if (temp2)
5846 delete arg2;
5847 }
5848 return resultobj;
5849 fail:
5850 {
5851 if (temp2)
5852 delete arg2;
5853 }
5854 return NULL;
5855 }
5856
5857
5858 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj;
5860 wxListBox *arg1 = (wxListBox *) 0 ;
5861 bool result;
5862 PyObject * obj0 = 0 ;
5863 char *kwnames[] = {
5864 (char *) "self", NULL
5865 };
5866
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 result = (bool)((wxListBox const *)arg1)->IsSorted();
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 {
5878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5879 }
5880 return resultobj;
5881 fail:
5882 return NULL;
5883 }
5884
5885
5886 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5887 PyObject *resultobj;
5888 wxListBox *arg1 = (wxListBox *) 0 ;
5889 int arg2 ;
5890 wxColour *arg3 = 0 ;
5891 wxColour temp3 ;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 PyObject * obj2 = 0 ;
5895 char *kwnames[] = {
5896 (char *) "self",(char *) "item",(char *) "c", NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5902 arg2 = (int) SWIG_AsInt(obj1);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 {
5905 arg3 = &temp3;
5906 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5907 }
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 Py_INCREF(Py_None); resultobj = Py_None;
5916 return resultobj;
5917 fail:
5918 return NULL;
5919 }
5920
5921
5922 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj;
5924 wxListBox *arg1 = (wxListBox *) 0 ;
5925 int arg2 ;
5926 wxColour *arg3 = 0 ;
5927 wxColour temp3 ;
5928 PyObject * obj0 = 0 ;
5929 PyObject * obj1 = 0 ;
5930 PyObject * obj2 = 0 ;
5931 char *kwnames[] = {
5932 (char *) "self",(char *) "item",(char *) "c", NULL
5933 };
5934
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5938 arg2 = (int) SWIG_AsInt(obj1);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 {
5941 arg3 = &temp3;
5942 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5943 }
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5947
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 Py_INCREF(Py_None); resultobj = Py_None;
5952 return resultobj;
5953 fail:
5954 return NULL;
5955 }
5956
5957
5958 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj;
5960 wxListBox *arg1 = (wxListBox *) 0 ;
5961 int arg2 ;
5962 wxFont *arg3 = 0 ;
5963 PyObject * obj0 = 0 ;
5964 PyObject * obj1 = 0 ;
5965 PyObject * obj2 = 0 ;
5966 char *kwnames[] = {
5967 (char *) "self",(char *) "item",(char *) "f", NULL
5968 };
5969
5970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5973 arg2 = (int) SWIG_AsInt(obj1);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
5976 SWIG_POINTER_EXCEPTION | 0)) == -1)
5977 SWIG_fail;
5978 if (arg3 == NULL) {
5979 PyErr_SetString(PyExc_TypeError,"null reference");
5980 SWIG_fail;
5981 }
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5985
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 Py_INCREF(Py_None); resultobj = Py_None;
5990 return resultobj;
5991 fail:
5992 return NULL;
5993 }
5994
5995
5996 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5997 PyObject *obj;
5998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5999 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6000 Py_INCREF(obj);
6001 return Py_BuildValue((char *)"");
6002 }
6003 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxWindow *arg1 = (wxWindow *) 0 ;
6006 int arg2 ;
6007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6009 wxSize const &arg4_defvalue = wxDefaultSize ;
6010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6011 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6012 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6013 long arg6 = (long) 0 ;
6014 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6015 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6016 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6017 wxString *arg8 = (wxString *) &arg8_defvalue ;
6018 wxCheckListBox *result;
6019 wxPoint temp3 ;
6020 wxSize temp4 ;
6021 bool temp5 = False ;
6022 bool temp8 = False ;
6023 PyObject * obj0 = 0 ;
6024 PyObject * obj1 = 0 ;
6025 PyObject * obj2 = 0 ;
6026 PyObject * obj3 = 0 ;
6027 PyObject * obj4 = 0 ;
6028 PyObject * obj5 = 0 ;
6029 PyObject * obj6 = 0 ;
6030 PyObject * obj7 = 0 ;
6031 char *kwnames[] = {
6032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6033 };
6034
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6038 arg2 = (int) SWIG_AsInt(obj1);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 if (obj2) {
6041 {
6042 arg3 = &temp3;
6043 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6044 }
6045 }
6046 if (obj3) {
6047 {
6048 arg4 = &temp4;
6049 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6050 }
6051 }
6052 if (obj4) {
6053 {
6054 if (! PySequence_Check(obj4)) {
6055 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6056 SWIG_fail;
6057 }
6058 arg5 = new wxArrayString;
6059 temp5 = True;
6060 int i, len=PySequence_Length(obj4);
6061 for (i=0; i<len; i++) {
6062 PyObject* item = PySequence_GetItem(obj4, i);
6063 #if wxUSE_UNICODE
6064 PyObject* str = PyObject_Unicode(item);
6065 #else
6066 PyObject* str = PyObject_Str(item);
6067 #endif
6068 arg5->Add(Py2wxString(str));
6069 Py_DECREF(item);
6070 Py_DECREF(str);
6071 }
6072 }
6073 }
6074 if (obj5) {
6075 arg6 = (long) SWIG_AsLong(obj5);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 if (obj6) {
6079 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1)
6081 SWIG_fail;
6082 if (arg7 == NULL) {
6083 PyErr_SetString(PyExc_TypeError,"null reference");
6084 SWIG_fail;
6085 }
6086 }
6087 if (obj7) {
6088 {
6089 arg8 = wxString_in_helper(obj7);
6090 if (arg8 == NULL) SWIG_fail;
6091 temp8 = True;
6092 }
6093 }
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6097
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
6101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6102 {
6103 if (temp5) delete arg5;
6104 }
6105 {
6106 if (temp8)
6107 delete arg8;
6108 }
6109 return resultobj;
6110 fail:
6111 {
6112 if (temp5) delete arg5;
6113 }
6114 {
6115 if (temp8)
6116 delete arg8;
6117 }
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxCheckListBox *result;
6125 char *kwnames[] = {
6126 NULL
6127 };
6128
6129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 result = (wxCheckListBox *)new wxCheckListBox();
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj;
6146 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6147 wxWindow *arg2 = (wxWindow *) 0 ;
6148 int arg3 ;
6149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6151 wxSize const &arg5_defvalue = wxDefaultSize ;
6152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6153 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6154 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6155 long arg7 = (long) 0 ;
6156 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6157 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6158 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6159 wxString *arg9 = (wxString *) &arg9_defvalue ;
6160 bool result;
6161 wxPoint temp4 ;
6162 wxSize temp5 ;
6163 bool temp6 = False ;
6164 bool temp9 = False ;
6165 PyObject * obj0 = 0 ;
6166 PyObject * obj1 = 0 ;
6167 PyObject * obj2 = 0 ;
6168 PyObject * obj3 = 0 ;
6169 PyObject * obj4 = 0 ;
6170 PyObject * obj5 = 0 ;
6171 PyObject * obj6 = 0 ;
6172 PyObject * obj7 = 0 ;
6173 PyObject * obj8 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6183 arg3 = (int) SWIG_AsInt(obj2);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 if (obj3) {
6186 {
6187 arg4 = &temp4;
6188 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6189 }
6190 }
6191 if (obj4) {
6192 {
6193 arg5 = &temp5;
6194 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6195 }
6196 }
6197 if (obj5) {
6198 {
6199 if (! PySequence_Check(obj5)) {
6200 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6201 SWIG_fail;
6202 }
6203 arg6 = new wxArrayString;
6204 temp6 = True;
6205 int i, len=PySequence_Length(obj5);
6206 for (i=0; i<len; i++) {
6207 PyObject* item = PySequence_GetItem(obj5, i);
6208 #if wxUSE_UNICODE
6209 PyObject* str = PyObject_Unicode(item);
6210 #else
6211 PyObject* str = PyObject_Str(item);
6212 #endif
6213 arg6->Add(Py2wxString(str));
6214 Py_DECREF(item);
6215 Py_DECREF(str);
6216 }
6217 }
6218 }
6219 if (obj6) {
6220 arg7 = (long) SWIG_AsLong(obj6);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 if (obj7) {
6224 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6225 SWIG_POINTER_EXCEPTION | 0)) == -1)
6226 SWIG_fail;
6227 if (arg8 == NULL) {
6228 PyErr_SetString(PyExc_TypeError,"null reference");
6229 SWIG_fail;
6230 }
6231 }
6232 if (obj8) {
6233 {
6234 arg9 = wxString_in_helper(obj8);
6235 if (arg9 == NULL) SWIG_fail;
6236 temp9 = True;
6237 }
6238 }
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 {
6247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6248 }
6249 {
6250 if (temp6) delete arg6;
6251 }
6252 {
6253 if (temp9)
6254 delete arg9;
6255 }
6256 return resultobj;
6257 fail:
6258 {
6259 if (temp6) delete arg6;
6260 }
6261 {
6262 if (temp9)
6263 delete arg9;
6264 }
6265 return NULL;
6266 }
6267
6268
6269 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj;
6271 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6272 int arg2 ;
6273 bool result;
6274 PyObject * obj0 = 0 ;
6275 PyObject * obj1 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self",(char *) "index", NULL
6278 };
6279
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6283 arg2 = (int) SWIG_AsInt(obj1);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (bool)(arg1)->IsChecked(arg2);
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 {
6293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6294 }
6295 return resultobj;
6296 fail:
6297 return NULL;
6298 }
6299
6300
6301 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj;
6303 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6304 int arg2 ;
6305 int arg3 = (int) True ;
6306 PyObject * obj0 = 0 ;
6307 PyObject * obj1 = 0 ;
6308 PyObject * obj2 = 0 ;
6309 char *kwnames[] = {
6310 (char *) "self",(char *) "index",(char *) "check", NULL
6311 };
6312
6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6316 arg2 = (int) SWIG_AsInt(obj1);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 if (obj2) {
6319 arg3 = (int) SWIG_AsInt(obj2);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 (arg1)->Check(arg2,arg3);
6325
6326 wxPyEndAllowThreads(__tstate);
6327 if (PyErr_Occurred()) SWIG_fail;
6328 }
6329 Py_INCREF(Py_None); resultobj = Py_None;
6330 return resultobj;
6331 fail:
6332 return NULL;
6333 }
6334
6335
6336 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6337 PyObject *resultobj;
6338 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6339 int result;
6340 PyObject * obj0 = 0 ;
6341 char *kwnames[] = {
6342 (char *) "self", NULL
6343 };
6344
6345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6348 {
6349 PyThreadState* __tstate = wxPyBeginAllowThreads();
6350 result = (int)(arg1)->GetItemHeight();
6351
6352 wxPyEndAllowThreads(__tstate);
6353 if (PyErr_Occurred()) SWIG_fail;
6354 }
6355 resultobj = SWIG_FromInt((int)result);
6356 return resultobj;
6357 fail:
6358 return NULL;
6359 }
6360
6361
6362 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj;
6364 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6365 wxPoint *arg2 = 0 ;
6366 int result;
6367 wxPoint temp2 ;
6368 PyObject * obj0 = 0 ;
6369 PyObject * obj1 = 0 ;
6370 char *kwnames[] = {
6371 (char *) "self",(char *) "pt", NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6377 {
6378 arg2 = &temp2;
6379 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6380 }
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
6388 resultobj = SWIG_FromInt((int)result);
6389 return resultobj;
6390 fail:
6391 return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6398 int arg2 ;
6399 int arg3 ;
6400 int result;
6401 PyObject * obj0 = 0 ;
6402 PyObject * obj1 = 0 ;
6403 PyObject * obj2 = 0 ;
6404 char *kwnames[] = {
6405 (char *) "self",(char *) "x",(char *) "y", NULL
6406 };
6407
6408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6411 arg2 = (int) SWIG_AsInt(obj1);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 arg3 = (int) SWIG_AsInt(obj2);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 resultobj = SWIG_FromInt((int)result);
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6430 PyObject *obj;
6431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6432 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6433 Py_INCREF(obj);
6434 return Py_BuildValue((char *)"");
6435 }
6436 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6437 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6438 return 1;
6439 }
6440
6441
6442 static PyObject *_wrap_TextCtrlNameStr_get() {
6443 PyObject *pyobj;
6444
6445 {
6446 #if wxUSE_UNICODE
6447 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6448 #else
6449 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6450 #endif
6451 }
6452 return pyobj;
6453 }
6454
6455
6456 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6457 PyObject *resultobj;
6458 wxTextAttr *result;
6459
6460 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 result = (wxTextAttr *)new wxTextAttr();
6464
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6469 return resultobj;
6470 fail:
6471 return NULL;
6472 }
6473
6474
6475 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6476 PyObject *resultobj;
6477 wxColour *arg1 = 0 ;
6478 wxColour const &arg2_defvalue = wxNullColour ;
6479 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6480 wxFont const &arg3_defvalue = wxNullFont ;
6481 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6482 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6483 wxTextAttr *result;
6484 wxColour temp1 ;
6485 wxColour temp2 ;
6486 PyObject * obj0 = 0 ;
6487 PyObject * obj1 = 0 ;
6488 PyObject * obj2 = 0 ;
6489 PyObject * obj3 = 0 ;
6490
6491 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6492 {
6493 arg1 = &temp1;
6494 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6495 }
6496 if (obj1) {
6497 {
6498 arg2 = &temp2;
6499 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6500 }
6501 }
6502 if (obj2) {
6503 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6504 SWIG_POINTER_EXCEPTION | 0)) == -1)
6505 SWIG_fail;
6506 if (arg3 == NULL) {
6507 PyErr_SetString(PyExc_TypeError,"null reference");
6508 SWIG_fail;
6509 }
6510 }
6511 if (obj3) {
6512 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6523 return resultobj;
6524 fail:
6525 return NULL;
6526 }
6527
6528
6529 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6530 int argc;
6531 PyObject *argv[5];
6532 int ii;
6533
6534 argc = PyObject_Length(args);
6535 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6536 argv[ii] = PyTuple_GetItem(args,ii);
6537 }
6538 if (argc == 0) {
6539 return _wrap_new_TextAttr__SWIG_0(self,args);
6540 }
6541 if ((argc >= 1) && (argc <= 4)) {
6542 int _v;
6543 {
6544 _v = wxColour_typecheck(argv[0]);
6545 }
6546 if (_v) {
6547 if (argc <= 1) {
6548 return _wrap_new_TextAttr__SWIG_1(self,args);
6549 }
6550 {
6551 _v = wxColour_typecheck(argv[1]);
6552 }
6553 if (_v) {
6554 if (argc <= 2) {
6555 return _wrap_new_TextAttr__SWIG_1(self,args);
6556 }
6557 {
6558 void *ptr;
6559 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6560 _v = 0;
6561 PyErr_Clear();
6562 } else {
6563 _v = 1;
6564 }
6565 }
6566 if (_v) {
6567 if (argc <= 3) {
6568 return _wrap_new_TextAttr__SWIG_1(self,args);
6569 }
6570 _v = SWIG_CheckInt(argv[3]);
6571 if (_v) {
6572 return _wrap_new_TextAttr__SWIG_1(self,args);
6573 }
6574 }
6575 }
6576 }
6577 }
6578
6579 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6580 return NULL;
6581 }
6582
6583
6584 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6585 PyObject *resultobj;
6586 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6587 PyObject * obj0 = 0 ;
6588 char *kwnames[] = {
6589 (char *) "self", NULL
6590 };
6591
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 delete arg1;
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 Py_INCREF(Py_None); resultobj = Py_None;
6603 return resultobj;
6604 fail:
6605 return NULL;
6606 }
6607
6608
6609 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6610 PyObject *resultobj;
6611 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6612 PyObject * obj0 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "self", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 (arg1)->Init();
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 Py_INCREF(Py_None); resultobj = Py_None;
6628 return resultobj;
6629 fail:
6630 return NULL;
6631 }
6632
6633
6634 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6637 wxColour *arg2 = 0 ;
6638 wxColour temp2 ;
6639 PyObject * obj0 = 0 ;
6640 PyObject * obj1 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "colText", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6648 {
6649 arg2 = &temp2;
6650 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6651 }
6652 {
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 (arg1)->SetTextColour((wxColour const &)*arg2);
6655
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 Py_INCREF(Py_None); resultobj = Py_None;
6660 return resultobj;
6661 fail:
6662 return NULL;
6663 }
6664
6665
6666 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6667 PyObject *resultobj;
6668 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6669 wxColour *arg2 = 0 ;
6670 wxColour temp2 ;
6671 PyObject * obj0 = 0 ;
6672 PyObject * obj1 = 0 ;
6673 char *kwnames[] = {
6674 (char *) "self",(char *) "colBack", NULL
6675 };
6676
6677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6680 {
6681 arg2 = &temp2;
6682 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6683 }
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 Py_INCREF(Py_None); resultobj = Py_None;
6692 return resultobj;
6693 fail:
6694 return NULL;
6695 }
6696
6697
6698 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
6700 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6701 wxFont *arg2 = 0 ;
6702 long arg3 = (long) wxTEXT_ATTR_FONT ;
6703 PyObject * obj0 = 0 ;
6704 PyObject * obj1 = 0 ;
6705 PyObject * obj2 = 0 ;
6706 char *kwnames[] = {
6707 (char *) "self",(char *) "font",(char *) "flags", NULL
6708 };
6709
6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6714 SWIG_POINTER_EXCEPTION | 0)) == -1)
6715 SWIG_fail;
6716 if (arg2 == NULL) {
6717 PyErr_SetString(PyExc_TypeError,"null reference");
6718 SWIG_fail;
6719 }
6720 if (obj2) {
6721 arg3 = (long) SWIG_AsLong(obj2);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 {
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6727
6728 wxPyEndAllowThreads(__tstate);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 }
6731 Py_INCREF(Py_None); resultobj = Py_None;
6732 return resultobj;
6733 fail:
6734 return NULL;
6735 }
6736
6737
6738 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj;
6740 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6741 int arg2 ;
6742 PyObject * obj0 = 0 ;
6743 PyObject * obj1 = 0 ;
6744 char *kwnames[] = {
6745 (char *) "self",(char *) "alignment", NULL
6746 };
6747
6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6751 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 {
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6756
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 Py_INCREF(Py_None); resultobj = Py_None;
6761 return resultobj;
6762 fail:
6763 return NULL;
6764 }
6765
6766
6767 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6768 PyObject *resultobj;
6769 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6770 wxArrayInt *arg2 = 0 ;
6771 bool temp2 = False ;
6772 PyObject * obj0 = 0 ;
6773 PyObject * obj1 = 0 ;
6774 char *kwnames[] = {
6775 (char *) "self",(char *) "tabs", NULL
6776 };
6777
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6781 {
6782 if (! PySequence_Check(obj1)) {
6783 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6784 SWIG_fail;
6785 }
6786 arg2 = new wxArrayInt;
6787 temp2 = True;
6788 int i, len=PySequence_Length(obj1);
6789 for (i=0; i<len; i++) {
6790 PyObject* item = PySequence_GetItem(obj1, i);
6791 PyObject* number = PyNumber_Int(item);
6792 arg2->Add(PyInt_AS_LONG(number));
6793 Py_DECREF(item);
6794 Py_DECREF(number);
6795 }
6796 }
6797 {
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 Py_INCREF(Py_None); resultobj = Py_None;
6805 {
6806 if (temp2) delete arg2;
6807 }
6808 return resultobj;
6809 fail:
6810 {
6811 if (temp2) delete arg2;
6812 }
6813 return NULL;
6814 }
6815
6816
6817 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6818 PyObject *resultobj;
6819 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6820 int arg2 ;
6821 PyObject * obj0 = 0 ;
6822 PyObject * obj1 = 0 ;
6823 char *kwnames[] = {
6824 (char *) "self",(char *) "indent", NULL
6825 };
6826
6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6830 arg2 = (int) SWIG_AsInt(obj1);
6831 if (PyErr_Occurred()) SWIG_fail;
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 (arg1)->SetLeftIndent(arg2);
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 Py_INCREF(Py_None); resultobj = Py_None;
6840 return resultobj;
6841 fail:
6842 return NULL;
6843 }
6844
6845
6846 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6847 PyObject *resultobj;
6848 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6849 int arg2 ;
6850 PyObject * obj0 = 0 ;
6851 PyObject * obj1 = 0 ;
6852 char *kwnames[] = {
6853 (char *) "self",(char *) "indent", NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6859 arg2 = (int) SWIG_AsInt(obj1);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 {
6862 PyThreadState* __tstate = wxPyBeginAllowThreads();
6863 (arg1)->SetRightIndent(arg2);
6864
6865 wxPyEndAllowThreads(__tstate);
6866 if (PyErr_Occurred()) SWIG_fail;
6867 }
6868 Py_INCREF(Py_None); resultobj = Py_None;
6869 return resultobj;
6870 fail:
6871 return NULL;
6872 }
6873
6874
6875 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6876 PyObject *resultobj;
6877 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6878 long arg2 ;
6879 PyObject * obj0 = 0 ;
6880 PyObject * obj1 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self",(char *) "flags", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6888 arg2 = (long) SWIG_AsLong(obj1);
6889 if (PyErr_Occurred()) SWIG_fail;
6890 {
6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
6892 (arg1)->SetFlags(arg2);
6893
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 Py_INCREF(Py_None); resultobj = Py_None;
6898 return resultobj;
6899 fail:
6900 return NULL;
6901 }
6902
6903
6904 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6905 PyObject *resultobj;
6906 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6907 bool result;
6908 PyObject * obj0 = 0 ;
6909 char *kwnames[] = {
6910 (char *) "self", NULL
6911 };
6912
6913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6916 {
6917 PyThreadState* __tstate = wxPyBeginAllowThreads();
6918 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6919
6920 wxPyEndAllowThreads(__tstate);
6921 if (PyErr_Occurred()) SWIG_fail;
6922 }
6923 {
6924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6925 }
6926 return resultobj;
6927 fail:
6928 return NULL;
6929 }
6930
6931
6932 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6933 PyObject *resultobj;
6934 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6935 bool result;
6936 PyObject * obj0 = 0 ;
6937 char *kwnames[] = {
6938 (char *) "self", NULL
6939 };
6940
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6947
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 {
6952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6953 }
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6963 bool result;
6964 PyObject * obj0 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "self", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 {
6980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6981 }
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6991 bool result;
6992 PyObject * obj0 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 {
7008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7009 }
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj;
7018 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7019 bool result;
7020 PyObject * obj0 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 {
7036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7037 }
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7047 bool result;
7048 PyObject * obj0 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "self", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 {
7064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7065 }
7066 return resultobj;
7067 fail:
7068 return NULL;
7069 }
7070
7071
7072 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7073 PyObject *resultobj;
7074 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7075 bool result;
7076 PyObject * obj0 = 0 ;
7077 char *kwnames[] = {
7078 (char *) "self", NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 {
7092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7093 }
7094 return resultobj;
7095 fail:
7096 return NULL;
7097 }
7098
7099
7100 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7101 PyObject *resultobj;
7102 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7103 long arg2 ;
7104 bool result;
7105 PyObject * obj0 = 0 ;
7106 PyObject * obj1 = 0 ;
7107 char *kwnames[] = {
7108 (char *) "self",(char *) "flag", NULL
7109 };
7110
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7114 arg2 = (long) SWIG_AsLong(obj1);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7119
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 {
7124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7125 }
7126 return resultobj;
7127 fail:
7128 return NULL;
7129 }
7130
7131
7132 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7133 PyObject *resultobj;
7134 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7135 wxColour *result;
7136 PyObject * obj0 = 0 ;
7137 char *kwnames[] = {
7138 (char *) "self", NULL
7139 };
7140
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 {
7147 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7148 result = (wxColour *) &_result_ref;
7149 }
7150
7151 wxPyEndAllowThreads(__tstate);
7152 if (PyErr_Occurred()) SWIG_fail;
7153 }
7154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7155 return resultobj;
7156 fail:
7157 return NULL;
7158 }
7159
7160
7161 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7162 PyObject *resultobj;
7163 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7164 wxColour *result;
7165 PyObject * obj0 = 0 ;
7166 char *kwnames[] = {
7167 (char *) "self", NULL
7168 };
7169
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 {
7176 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7177 result = (wxColour *) &_result_ref;
7178 }
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7184 return resultobj;
7185 fail:
7186 return NULL;
7187 }
7188
7189
7190 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7193 wxFont *result;
7194 PyObject * obj0 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7202 {
7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
7204 {
7205 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7206 result = (wxFont *) &_result_ref;
7207 }
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 {
7213 wxFont* resultptr = new wxFont(*result);
7214 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7215 }
7216 return resultobj;
7217 fail:
7218 return NULL;
7219 }
7220
7221
7222 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7223 PyObject *resultobj;
7224 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7225 int result;
7226 PyObject * obj0 = 0 ;
7227 char *kwnames[] = {
7228 (char *) "self", NULL
7229 };
7230
7231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7237
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 resultobj = SWIG_FromInt((int)result);
7242 return resultobj;
7243 fail:
7244 return NULL;
7245 }
7246
7247
7248 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject *resultobj;
7250 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7251 wxArrayInt *result;
7252 PyObject * obj0 = 0 ;
7253 char *kwnames[] = {
7254 (char *) "self", NULL
7255 };
7256
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 {
7263 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7264 result = (wxArrayInt *) &_result_ref;
7265 }
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 {
7271 resultobj = PyList_New(0);
7272 size_t idx;
7273 for (idx = 0; idx < result->GetCount(); idx += 1) {
7274 PyObject* val = PyInt_FromLong( result->Item(idx) );
7275 PyList_Append(resultobj, val);
7276 Py_DECREF(val);
7277 }
7278 }
7279 return resultobj;
7280 fail:
7281 return NULL;
7282 }
7283
7284
7285 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
7287 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7288 long result;
7289 PyObject * obj0 = 0 ;
7290 char *kwnames[] = {
7291 (char *) "self", NULL
7292 };
7293
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7300
7301 wxPyEndAllowThreads(__tstate);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 }
7304 resultobj = SWIG_FromLong((long)result);
7305 return resultobj;
7306 fail:
7307 return NULL;
7308 }
7309
7310
7311 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7312 PyObject *resultobj;
7313 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7314 long result;
7315 PyObject * obj0 = 0 ;
7316 char *kwnames[] = {
7317 (char *) "self", NULL
7318 };
7319
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7326
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 resultobj = SWIG_FromLong((long)result);
7331 return resultobj;
7332 fail:
7333 return NULL;
7334 }
7335
7336
7337 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj;
7339 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7340 long result;
7341 PyObject * obj0 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7349 {
7350 PyThreadState* __tstate = wxPyBeginAllowThreads();
7351 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7352
7353 wxPyEndAllowThreads(__tstate);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 resultobj = SWIG_FromLong((long)result);
7357 return resultobj;
7358 fail:
7359 return NULL;
7360 }
7361
7362
7363 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7364 PyObject *resultobj;
7365 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7366 bool result;
7367 PyObject * obj0 = 0 ;
7368 char *kwnames[] = {
7369 (char *) "self", NULL
7370 };
7371
7372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7375 {
7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
7377 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7378
7379 wxPyEndAllowThreads(__tstate);
7380 if (PyErr_Occurred()) SWIG_fail;
7381 }
7382 {
7383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7384 }
7385 return resultobj;
7386 fail:
7387 return NULL;
7388 }
7389
7390
7391 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxTextAttr *arg1 = 0 ;
7394 wxTextAttr *arg2 = 0 ;
7395 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7396 wxTextAttr result;
7397 PyObject * obj0 = 0 ;
7398 PyObject * obj1 = 0 ;
7399 PyObject * obj2 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7406 SWIG_POINTER_EXCEPTION | 0)) == -1)
7407 SWIG_fail;
7408 if (arg1 == NULL) {
7409 PyErr_SetString(PyExc_TypeError,"null reference");
7410 SWIG_fail;
7411 }
7412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7413 SWIG_POINTER_EXCEPTION | 0)) == -1)
7414 SWIG_fail;
7415 if (arg2 == NULL) {
7416 PyErr_SetString(PyExc_TypeError,"null reference");
7417 SWIG_fail;
7418 }
7419 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7421 {
7422 PyThreadState* __tstate = wxPyBeginAllowThreads();
7423 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7424
7425 wxPyEndAllowThreads(__tstate);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
7428 {
7429 wxTextAttr * resultptr;
7430 resultptr = new wxTextAttr((wxTextAttr &) result);
7431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7432 }
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7440 PyObject *obj;
7441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7442 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7443 Py_INCREF(obj);
7444 return Py_BuildValue((char *)"");
7445 }
7446 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7447 PyObject *resultobj;
7448 wxWindow *arg1 = (wxWindow *) 0 ;
7449 int arg2 ;
7450 wxString const &arg3_defvalue = wxPyEmptyString ;
7451 wxString *arg3 = (wxString *) &arg3_defvalue ;
7452 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7453 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7454 wxSize const &arg5_defvalue = wxDefaultSize ;
7455 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7456 long arg6 = (long) 0 ;
7457 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7458 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7459 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7460 wxString *arg8 = (wxString *) &arg8_defvalue ;
7461 wxTextCtrl *result;
7462 bool temp3 = False ;
7463 wxPoint temp4 ;
7464 wxSize temp5 ;
7465 bool temp8 = False ;
7466 PyObject * obj0 = 0 ;
7467 PyObject * obj1 = 0 ;
7468 PyObject * obj2 = 0 ;
7469 PyObject * obj3 = 0 ;
7470 PyObject * obj4 = 0 ;
7471 PyObject * obj5 = 0 ;
7472 PyObject * obj6 = 0 ;
7473 PyObject * obj7 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7481 arg2 = (int) SWIG_AsInt(obj1);
7482 if (PyErr_Occurred()) SWIG_fail;
7483 if (obj2) {
7484 {
7485 arg3 = wxString_in_helper(obj2);
7486 if (arg3 == NULL) SWIG_fail;
7487 temp3 = True;
7488 }
7489 }
7490 if (obj3) {
7491 {
7492 arg4 = &temp4;
7493 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7494 }
7495 }
7496 if (obj4) {
7497 {
7498 arg5 = &temp5;
7499 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7500 }
7501 }
7502 if (obj5) {
7503 arg6 = (long) SWIG_AsLong(obj5);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 if (obj6) {
7507 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7508 SWIG_POINTER_EXCEPTION | 0)) == -1)
7509 SWIG_fail;
7510 if (arg7 == NULL) {
7511 PyErr_SetString(PyExc_TypeError,"null reference");
7512 SWIG_fail;
7513 }
7514 }
7515 if (obj7) {
7516 {
7517 arg8 = wxString_in_helper(obj7);
7518 if (arg8 == NULL) SWIG_fail;
7519 temp8 = True;
7520 }
7521 }
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 {
7530 resultobj = wxPyMake_wxObject(result);
7531 }
7532 {
7533 if (temp3)
7534 delete arg3;
7535 }
7536 {
7537 if (temp8)
7538 delete arg8;
7539 }
7540 return resultobj;
7541 fail:
7542 {
7543 if (temp3)
7544 delete arg3;
7545 }
7546 {
7547 if (temp8)
7548 delete arg8;
7549 }
7550 return NULL;
7551 }
7552
7553
7554 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7555 PyObject *resultobj;
7556 wxTextCtrl *result;
7557 char *kwnames[] = {
7558 NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 result = (wxTextCtrl *)new wxTextCtrl();
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 {
7570 resultobj = wxPyMake_wxObject(result);
7571 }
7572 return resultobj;
7573 fail:
7574 return NULL;
7575 }
7576
7577
7578 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj;
7580 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7581 wxWindow *arg2 = (wxWindow *) 0 ;
7582 int arg3 ;
7583 wxString const &arg4_defvalue = wxPyEmptyString ;
7584 wxString *arg4 = (wxString *) &arg4_defvalue ;
7585 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7586 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7587 wxSize const &arg6_defvalue = wxDefaultSize ;
7588 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7589 long arg7 = (long) 0 ;
7590 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7591 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7592 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7593 wxString *arg9 = (wxString *) &arg9_defvalue ;
7594 bool result;
7595 bool temp4 = False ;
7596 wxPoint temp5 ;
7597 wxSize temp6 ;
7598 bool temp9 = False ;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 PyObject * obj2 = 0 ;
7602 PyObject * obj3 = 0 ;
7603 PyObject * obj4 = 0 ;
7604 PyObject * obj5 = 0 ;
7605 PyObject * obj6 = 0 ;
7606 PyObject * obj7 = 0 ;
7607 PyObject * obj8 = 0 ;
7608 char *kwnames[] = {
7609 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7610 };
7611
7612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7617 arg3 = (int) SWIG_AsInt(obj2);
7618 if (PyErr_Occurred()) SWIG_fail;
7619 if (obj3) {
7620 {
7621 arg4 = wxString_in_helper(obj3);
7622 if (arg4 == NULL) SWIG_fail;
7623 temp4 = True;
7624 }
7625 }
7626 if (obj4) {
7627 {
7628 arg5 = &temp5;
7629 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7630 }
7631 }
7632 if (obj5) {
7633 {
7634 arg6 = &temp6;
7635 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7636 }
7637 }
7638 if (obj6) {
7639 arg7 = (long) SWIG_AsLong(obj6);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 if (obj7) {
7643 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7644 SWIG_POINTER_EXCEPTION | 0)) == -1)
7645 SWIG_fail;
7646 if (arg8 == NULL) {
7647 PyErr_SetString(PyExc_TypeError,"null reference");
7648 SWIG_fail;
7649 }
7650 }
7651 if (obj8) {
7652 {
7653 arg9 = wxString_in_helper(obj8);
7654 if (arg9 == NULL) SWIG_fail;
7655 temp9 = True;
7656 }
7657 }
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 {
7666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7667 }
7668 {
7669 if (temp4)
7670 delete arg4;
7671 }
7672 {
7673 if (temp9)
7674 delete arg9;
7675 }
7676 return resultobj;
7677 fail:
7678 {
7679 if (temp4)
7680 delete arg4;
7681 }
7682 {
7683 if (temp9)
7684 delete arg9;
7685 }
7686 return NULL;
7687 }
7688
7689
7690 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj;
7692 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7693 wxString result;
7694 PyObject * obj0 = 0 ;
7695 char *kwnames[] = {
7696 (char *) "self", NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = ((wxTextCtrl const *)arg1)->GetValue();
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 {
7710 #if wxUSE_UNICODE
7711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7712 #else
7713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7714 #endif
7715 }
7716 return resultobj;
7717 fail:
7718 return NULL;
7719 }
7720
7721
7722 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7723 PyObject *resultobj;
7724 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7725 wxString *arg2 = 0 ;
7726 bool temp2 = False ;
7727 PyObject * obj0 = 0 ;
7728 PyObject * obj1 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self",(char *) "value", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7736 {
7737 arg2 = wxString_in_helper(obj1);
7738 if (arg2 == NULL) SWIG_fail;
7739 temp2 = True;
7740 }
7741 {
7742 PyThreadState* __tstate = wxPyBeginAllowThreads();
7743 (arg1)->SetValue((wxString const &)*arg2);
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 Py_INCREF(Py_None); resultobj = Py_None;
7749 {
7750 if (temp2)
7751 delete arg2;
7752 }
7753 return resultobj;
7754 fail:
7755 {
7756 if (temp2)
7757 delete arg2;
7758 }
7759 return NULL;
7760 }
7761
7762
7763 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7764 PyObject *resultobj;
7765 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7766 long arg2 ;
7767 long arg3 ;
7768 wxString result;
7769 PyObject * obj0 = 0 ;
7770 PyObject * obj1 = 0 ;
7771 PyObject * obj2 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self",(char *) "from",(char *) "to", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7779 arg2 = (long) SWIG_AsLong(obj1);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 arg3 = (long) SWIG_AsLong(obj2);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 {
7791 #if wxUSE_UNICODE
7792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7793 #else
7794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7795 #endif
7796 }
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7806 long arg2 ;
7807 int result;
7808 PyObject * obj0 = 0 ;
7809 PyObject * obj1 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "self",(char *) "lineNo", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7817 arg2 = (long) SWIG_AsLong(obj1);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 resultobj = SWIG_FromInt((int)result);
7827 return resultobj;
7828 fail:
7829 return NULL;
7830 }
7831
7832
7833 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj;
7835 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7836 long arg2 ;
7837 wxString result;
7838 PyObject * obj0 = 0 ;
7839 PyObject * obj1 = 0 ;
7840 char *kwnames[] = {
7841 (char *) "self",(char *) "lineNo", NULL
7842 };
7843
7844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7847 arg2 = (long) SWIG_AsLong(obj1);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 {
7857 #if wxUSE_UNICODE
7858 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7859 #else
7860 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7861 #endif
7862 }
7863 return resultobj;
7864 fail:
7865 return NULL;
7866 }
7867
7868
7869 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7872 int result;
7873 PyObject * obj0 = 0 ;
7874 char *kwnames[] = {
7875 (char *) "self", NULL
7876 };
7877
7878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 resultobj = SWIG_FromInt((int)result);
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj;
7897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7898 bool result;
7899 PyObject * obj0 = 0 ;
7900 char *kwnames[] = {
7901 (char *) "self", NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7907 {
7908 PyThreadState* __tstate = wxPyBeginAllowThreads();
7909 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7910
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 {
7915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7916 }
7917 return resultobj;
7918 fail:
7919 return NULL;
7920 }
7921
7922
7923 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7926 bool result;
7927 PyObject * obj0 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 {
7943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7944 }
7945 return resultobj;
7946 fail:
7947 return NULL;
7948 }
7949
7950
7951 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7954 bool result;
7955 PyObject * obj0 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "self", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 {
7971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7972 }
7973 return resultobj;
7974 fail:
7975 return NULL;
7976 }
7977
7978
7979 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7982 bool result;
7983 PyObject * obj0 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 {
7999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8000 }
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8010 long *arg2 = (long *) 0 ;
8011 long *arg3 = (long *) 0 ;
8012 long temp2 ;
8013 long temp3 ;
8014 PyObject * obj0 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "self", NULL
8017 };
8018
8019 arg2 = &temp2;
8020 arg3 = &temp3;
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 Py_INCREF(Py_None); resultobj = Py_None;
8032 {
8033 PyObject *o = PyInt_FromLong((long) (*arg2));
8034 resultobj = t_output_helper(resultobj,o);
8035 }
8036 {
8037 PyObject *o = PyInt_FromLong((long) (*arg3));
8038 resultobj = t_output_helper(resultobj,o);
8039 }
8040 return resultobj;
8041 fail:
8042 return NULL;
8043 }
8044
8045
8046 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8049 wxString result;
8050 PyObject * obj0 = 0 ;
8051 char *kwnames[] = {
8052 (char *) "self", NULL
8053 };
8054
8055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 {
8066 #if wxUSE_UNICODE
8067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8068 #else
8069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8070 #endif
8071 }
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8081 PyObject * obj0 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 (arg1)->Clear();
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 Py_INCREF(Py_None); resultobj = Py_None;
8097 return resultobj;
8098 fail:
8099 return NULL;
8100 }
8101
8102
8103 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject *resultobj;
8105 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8106 long arg2 ;
8107 long arg3 ;
8108 wxString *arg4 = 0 ;
8109 bool temp4 = False ;
8110 PyObject * obj0 = 0 ;
8111 PyObject * obj1 = 0 ;
8112 PyObject * obj2 = 0 ;
8113 PyObject * obj3 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8121 arg2 = (long) SWIG_AsLong(obj1);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 arg3 = (long) SWIG_AsLong(obj2);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 {
8126 arg4 = wxString_in_helper(obj3);
8127 if (arg4 == NULL) SWIG_fail;
8128 temp4 = True;
8129 }
8130 {
8131 PyThreadState* __tstate = wxPyBeginAllowThreads();
8132 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8133
8134 wxPyEndAllowThreads(__tstate);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
8137 Py_INCREF(Py_None); resultobj = Py_None;
8138 {
8139 if (temp4)
8140 delete arg4;
8141 }
8142 return resultobj;
8143 fail:
8144 {
8145 if (temp4)
8146 delete arg4;
8147 }
8148 return NULL;
8149 }
8150
8151
8152 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj;
8154 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8155 long arg2 ;
8156 long arg3 ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 PyObject * obj2 = 0 ;
8160 char *kwnames[] = {
8161 (char *) "self",(char *) "from",(char *) "to", NULL
8162 };
8163
8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8167 arg2 = (long) SWIG_AsLong(obj1);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 arg3 = (long) SWIG_AsLong(obj2);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 (arg1)->Remove(arg2,arg3);
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 Py_INCREF(Py_None); resultobj = Py_None;
8179 return resultobj;
8180 fail:
8181 return NULL;
8182 }
8183
8184
8185 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8188 wxString *arg2 = 0 ;
8189 bool result;
8190 bool temp2 = False ;
8191 PyObject * obj0 = 0 ;
8192 PyObject * obj1 = 0 ;
8193 char *kwnames[] = {
8194 (char *) "self",(char *) "file", NULL
8195 };
8196
8197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8200 {
8201 arg2 = wxString_in_helper(obj1);
8202 if (arg2 == NULL) SWIG_fail;
8203 temp2 = True;
8204 }
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8208
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 {
8213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8214 }
8215 {
8216 if (temp2)
8217 delete arg2;
8218 }
8219 return resultobj;
8220 fail:
8221 {
8222 if (temp2)
8223 delete arg2;
8224 }
8225 return NULL;
8226 }
8227
8228
8229 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8230 PyObject *resultobj;
8231 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8232 wxString const &arg2_defvalue = wxPyEmptyString ;
8233 wxString *arg2 = (wxString *) &arg2_defvalue ;
8234 bool result;
8235 bool temp2 = False ;
8236 PyObject * obj0 = 0 ;
8237 PyObject * obj1 = 0 ;
8238 char *kwnames[] = {
8239 (char *) "self",(char *) "file", NULL
8240 };
8241
8242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8245 if (obj1) {
8246 {
8247 arg2 = wxString_in_helper(obj1);
8248 if (arg2 == NULL) SWIG_fail;
8249 temp2 = True;
8250 }
8251 }
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 {
8260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8261 }
8262 {
8263 if (temp2)
8264 delete arg2;
8265 }
8266 return resultobj;
8267 fail:
8268 {
8269 if (temp2)
8270 delete arg2;
8271 }
8272 return NULL;
8273 }
8274
8275
8276 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8277 PyObject *resultobj;
8278 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8279 PyObject * obj0 = 0 ;
8280 char *kwnames[] = {
8281 (char *) "self", NULL
8282 };
8283
8284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8287 {
8288 PyThreadState* __tstate = wxPyBeginAllowThreads();
8289 (arg1)->MarkDirty();
8290
8291 wxPyEndAllowThreads(__tstate);
8292 if (PyErr_Occurred()) SWIG_fail;
8293 }
8294 Py_INCREF(Py_None); resultobj = Py_None;
8295 return resultobj;
8296 fail:
8297 return NULL;
8298 }
8299
8300
8301 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8302 PyObject *resultobj;
8303 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8304 PyObject * obj0 = 0 ;
8305 char *kwnames[] = {
8306 (char *) "self", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 (arg1)->DiscardEdits();
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 Py_INCREF(Py_None); resultobj = Py_None;
8320 return resultobj;
8321 fail:
8322 return NULL;
8323 }
8324
8325
8326 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8329 unsigned long arg2 ;
8330 PyObject * obj0 = 0 ;
8331 PyObject * obj1 = 0 ;
8332 char *kwnames[] = {
8333 (char *) "self",(char *) "len", NULL
8334 };
8335
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8339 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 {
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
8343 (arg1)->SetMaxLength(arg2);
8344
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 Py_INCREF(Py_None); resultobj = Py_None;
8349 return resultobj;
8350 fail:
8351 return NULL;
8352 }
8353
8354
8355 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8356 PyObject *resultobj;
8357 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8358 wxString *arg2 = 0 ;
8359 bool temp2 = False ;
8360 PyObject * obj0 = 0 ;
8361 PyObject * obj1 = 0 ;
8362 char *kwnames[] = {
8363 (char *) "self",(char *) "text", NULL
8364 };
8365
8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8369 {
8370 arg2 = wxString_in_helper(obj1);
8371 if (arg2 == NULL) SWIG_fail;
8372 temp2 = True;
8373 }
8374 {
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 (arg1)->WriteText((wxString const &)*arg2);
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
8381 Py_INCREF(Py_None); resultobj = Py_None;
8382 {
8383 if (temp2)
8384 delete arg2;
8385 }
8386 return resultobj;
8387 fail:
8388 {
8389 if (temp2)
8390 delete arg2;
8391 }
8392 return NULL;
8393 }
8394
8395
8396 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8397 PyObject *resultobj;
8398 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8399 wxString *arg2 = 0 ;
8400 bool temp2 = False ;
8401 PyObject * obj0 = 0 ;
8402 PyObject * obj1 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "self",(char *) "text", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8410 {
8411 arg2 = wxString_in_helper(obj1);
8412 if (arg2 == NULL) SWIG_fail;
8413 temp2 = True;
8414 }
8415 {
8416 PyThreadState* __tstate = wxPyBeginAllowThreads();
8417 (arg1)->AppendText((wxString const &)*arg2);
8418
8419 wxPyEndAllowThreads(__tstate);
8420 if (PyErr_Occurred()) SWIG_fail;
8421 }
8422 Py_INCREF(Py_None); resultobj = Py_None;
8423 {
8424 if (temp2)
8425 delete arg2;
8426 }
8427 return resultobj;
8428 fail:
8429 {
8430 if (temp2)
8431 delete arg2;
8432 }
8433 return NULL;
8434 }
8435
8436
8437 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8438 PyObject *resultobj;
8439 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8440 wxKeyEvent *arg2 = 0 ;
8441 bool result;
8442 PyObject * obj0 = 0 ;
8443 PyObject * obj1 = 0 ;
8444 char *kwnames[] = {
8445 (char *) "self",(char *) "event", NULL
8446 };
8447
8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8452 SWIG_POINTER_EXCEPTION | 0)) == -1)
8453 SWIG_fail;
8454 if (arg2 == NULL) {
8455 PyErr_SetString(PyExc_TypeError,"null reference");
8456 SWIG_fail;
8457 }
8458 {
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8461
8462 wxPyEndAllowThreads(__tstate);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
8465 {
8466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8467 }
8468 return resultobj;
8469 fail:
8470 return NULL;
8471 }
8472
8473
8474 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8475 PyObject *resultobj;
8476 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8477 long arg2 ;
8478 long arg3 ;
8479 wxTextAttr *arg4 = 0 ;
8480 bool result;
8481 PyObject * obj0 = 0 ;
8482 PyObject * obj1 = 0 ;
8483 PyObject * obj2 = 0 ;
8484 PyObject * obj3 = 0 ;
8485 char *kwnames[] = {
8486 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8487 };
8488
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8492 arg2 = (long) SWIG_AsLong(obj1);
8493 if (PyErr_Occurred()) SWIG_fail;
8494 arg3 = (long) SWIG_AsLong(obj2);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8497 SWIG_POINTER_EXCEPTION | 0)) == -1)
8498 SWIG_fail;
8499 if (arg4 == NULL) {
8500 PyErr_SetString(PyExc_TypeError,"null reference");
8501 SWIG_fail;
8502 }
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8506
8507 wxPyEndAllowThreads(__tstate);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 {
8511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8512 }
8513 return resultobj;
8514 fail:
8515 return NULL;
8516 }
8517
8518
8519 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8520 PyObject *resultobj;
8521 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8522 long arg2 ;
8523 wxTextAttr *arg3 = 0 ;
8524 bool result;
8525 PyObject * obj0 = 0 ;
8526 PyObject * obj1 = 0 ;
8527 PyObject * obj2 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self",(char *) "position",(char *) "style", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8535 arg2 = (long) SWIG_AsLong(obj1);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8538 SWIG_POINTER_EXCEPTION | 0)) == -1)
8539 SWIG_fail;
8540 if (arg3 == NULL) {
8541 PyErr_SetString(PyExc_TypeError,"null reference");
8542 SWIG_fail;
8543 }
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 {
8552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8553 }
8554 return resultobj;
8555 fail:
8556 return NULL;
8557 }
8558
8559
8560 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8561 PyObject *resultobj;
8562 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8563 wxTextAttr *arg2 = 0 ;
8564 bool result;
8565 PyObject * obj0 = 0 ;
8566 PyObject * obj1 = 0 ;
8567 char *kwnames[] = {
8568 (char *) "self",(char *) "style", NULL
8569 };
8570
8571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8574 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8575 SWIG_POINTER_EXCEPTION | 0)) == -1)
8576 SWIG_fail;
8577 if (arg2 == NULL) {
8578 PyErr_SetString(PyExc_TypeError,"null reference");
8579 SWIG_fail;
8580 }
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8584
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 {
8589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8590 }
8591 return resultobj;
8592 fail:
8593 return NULL;
8594 }
8595
8596
8597 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8598 PyObject *resultobj;
8599 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8600 wxTextAttr *result;
8601 PyObject * obj0 = 0 ;
8602 char *kwnames[] = {
8603 (char *) "self", NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8609 {
8610 PyThreadState* __tstate = wxPyBeginAllowThreads();
8611 {
8612 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8613 result = (wxTextAttr *) &_result_ref;
8614 }
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj;
8628 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8629 long arg2 ;
8630 long arg3 ;
8631 long result;
8632 PyObject * obj0 = 0 ;
8633 PyObject * obj1 = 0 ;
8634 PyObject * obj2 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self",(char *) "x",(char *) "y", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8642 arg2 = (long) SWIG_AsLong(obj1);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 arg3 = (long) SWIG_AsLong(obj2);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8649
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 resultobj = SWIG_FromLong((long)result);
8654 return resultobj;
8655 fail:
8656 return NULL;
8657 }
8658
8659
8660 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8663 long arg2 ;
8664 long *arg3 = (long *) 0 ;
8665 long *arg4 = (long *) 0 ;
8666 long temp3 ;
8667 long temp4 ;
8668 PyObject * obj0 = 0 ;
8669 PyObject * obj1 = 0 ;
8670 char *kwnames[] = {
8671 (char *) "self",(char *) "pos", NULL
8672 };
8673
8674 arg3 = &temp3;
8675 arg4 = &temp4;
8676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8679 arg2 = (long) SWIG_AsLong(obj1);
8680 if (PyErr_Occurred()) SWIG_fail;
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 Py_INCREF(Py_None); resultobj = Py_None;
8689 {
8690 PyObject *o = PyInt_FromLong((long) (*arg3));
8691 resultobj = t_output_helper(resultobj,o);
8692 }
8693 {
8694 PyObject *o = PyInt_FromLong((long) (*arg4));
8695 resultobj = t_output_helper(resultobj,o);
8696 }
8697 return resultobj;
8698 fail:
8699 return NULL;
8700 }
8701
8702
8703 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8706 long arg2 ;
8707 PyObject * obj0 = 0 ;
8708 PyObject * obj1 = 0 ;
8709 char *kwnames[] = {
8710 (char *) "self",(char *) "pos", NULL
8711 };
8712
8713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8716 arg2 = (long) SWIG_AsLong(obj1);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 (arg1)->ShowPosition(arg2);
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 Py_INCREF(Py_None); resultobj = Py_None;
8726 return resultobj;
8727 fail:
8728 return NULL;
8729 }
8730
8731
8732 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8735 wxPoint *arg2 = 0 ;
8736 long *arg3 = (long *) 0 ;
8737 long *arg4 = (long *) 0 ;
8738 int result;
8739 wxPoint temp2 ;
8740 long temp3 ;
8741 long temp4 ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj1 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self",(char *) "pt", NULL
8746 };
8747
8748 arg3 = &temp3;
8749 arg4 = &temp4;
8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8753 {
8754 arg2 = &temp2;
8755 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8756 }
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 resultobj = SWIG_FromInt((int)result);
8765 {
8766 PyObject *o = PyInt_FromLong((long) (*arg3));
8767 resultobj = t_output_helper(resultobj,o);
8768 }
8769 {
8770 PyObject *o = PyInt_FromLong((long) (*arg4));
8771 resultobj = t_output_helper(resultobj,o);
8772 }
8773 return resultobj;
8774 fail:
8775 return NULL;
8776 }
8777
8778
8779 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8780 PyObject *resultobj;
8781 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8782 PyObject * obj0 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 (arg1)->Copy();
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 Py_INCREF(Py_None); resultobj = Py_None;
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8807 PyObject * obj0 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 (arg1)->Cut();
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 Py_INCREF(Py_None); resultobj = Py_None;
8823 return resultobj;
8824 fail:
8825 return NULL;
8826 }
8827
8828
8829 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8832 PyObject * obj0 = 0 ;
8833 char *kwnames[] = {
8834 (char *) "self", NULL
8835 };
8836
8837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8840 {
8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
8842 (arg1)->Paste();
8843
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 Py_INCREF(Py_None); resultobj = Py_None;
8848 return resultobj;
8849 fail:
8850 return NULL;
8851 }
8852
8853
8854 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8855 PyObject *resultobj;
8856 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8857 bool result;
8858 PyObject * obj0 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self", NULL
8861 };
8862
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 {
8874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8875 }
8876 return resultobj;
8877 fail:
8878 return NULL;
8879 }
8880
8881
8882 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj;
8884 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8885 bool result;
8886 PyObject * obj0 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 {
8902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8903 }
8904 return resultobj;
8905 fail:
8906 return NULL;
8907 }
8908
8909
8910 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8911 PyObject *resultobj;
8912 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8913 bool result;
8914 PyObject * obj0 = 0 ;
8915 char *kwnames[] = {
8916 (char *) "self", NULL
8917 };
8918
8919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8925
8926 wxPyEndAllowThreads(__tstate);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
8929 {
8930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8931 }
8932 return resultobj;
8933 fail:
8934 return NULL;
8935 }
8936
8937
8938 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj;
8940 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8941 PyObject * obj0 = 0 ;
8942 char *kwnames[] = {
8943 (char *) "self", NULL
8944 };
8945
8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8949 {
8950 PyThreadState* __tstate = wxPyBeginAllowThreads();
8951 (arg1)->Undo();
8952
8953 wxPyEndAllowThreads(__tstate);
8954 if (PyErr_Occurred()) SWIG_fail;
8955 }
8956 Py_INCREF(Py_None); resultobj = Py_None;
8957 return resultobj;
8958 fail:
8959 return NULL;
8960 }
8961
8962
8963 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8964 PyObject *resultobj;
8965 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8966 PyObject * obj0 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self", NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8974 {
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 (arg1)->Redo();
8977
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
8981 Py_INCREF(Py_None); resultobj = Py_None;
8982 return resultobj;
8983 fail:
8984 return NULL;
8985 }
8986
8987
8988 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8989 PyObject *resultobj;
8990 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8991 bool result;
8992 PyObject * obj0 = 0 ;
8993 char *kwnames[] = {
8994 (char *) "self", NULL
8995 };
8996
8997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9003
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 {
9008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9009 }
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9017 PyObject *resultobj;
9018 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9019 bool result;
9020 PyObject * obj0 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "self", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 {
9036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9037 }
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9047 long arg2 ;
9048 PyObject * obj0 = 0 ;
9049 PyObject * obj1 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self",(char *) "pos", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9057 arg2 = (long) SWIG_AsLong(obj1);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 (arg1)->SetInsertionPoint(arg2);
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
9066 Py_INCREF(Py_None); resultobj = Py_None;
9067 return resultobj;
9068 fail:
9069 return NULL;
9070 }
9071
9072
9073 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj;
9075 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9076 PyObject * obj0 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 (arg1)->SetInsertionPointEnd();
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 Py_INCREF(Py_None); resultobj = Py_None;
9092 return resultobj;
9093 fail:
9094 return NULL;
9095 }
9096
9097
9098 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj;
9100 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9101 long result;
9102 PyObject * obj0 = 0 ;
9103 char *kwnames[] = {
9104 (char *) "self", NULL
9105 };
9106
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 resultobj = SWIG_FromLong((long)result);
9118 return resultobj;
9119 fail:
9120 return NULL;
9121 }
9122
9123
9124 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj;
9126 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9127 long result;
9128 PyObject * obj0 = 0 ;
9129 char *kwnames[] = {
9130 (char *) "self", NULL
9131 };
9132
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9136 {
9137 PyThreadState* __tstate = wxPyBeginAllowThreads();
9138 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9139
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 resultobj = SWIG_FromLong((long)result);
9144 return resultobj;
9145 fail:
9146 return NULL;
9147 }
9148
9149
9150 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj;
9152 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9153 long arg2 ;
9154 long arg3 ;
9155 PyObject * obj0 = 0 ;
9156 PyObject * obj1 = 0 ;
9157 PyObject * obj2 = 0 ;
9158 char *kwnames[] = {
9159 (char *) "self",(char *) "from",(char *) "to", NULL
9160 };
9161
9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9165 arg2 = (long) SWIG_AsLong(obj1);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 arg3 = (long) SWIG_AsLong(obj2);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
9171 (arg1)->SetSelection(arg2,arg3);
9172
9173 wxPyEndAllowThreads(__tstate);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 Py_INCREF(Py_None); resultobj = Py_None;
9177 return resultobj;
9178 fail:
9179 return NULL;
9180 }
9181
9182
9183 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9184 PyObject *resultobj;
9185 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9186 PyObject * obj0 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 (arg1)->SelectAll();
9197
9198 wxPyEndAllowThreads(__tstate);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
9201 Py_INCREF(Py_None); resultobj = Py_None;
9202 return resultobj;
9203 fail:
9204 return NULL;
9205 }
9206
9207
9208 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9209 PyObject *resultobj;
9210 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9211 bool arg2 ;
9212 PyObject * obj0 = 0 ;
9213 PyObject * obj1 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self",(char *) "editable", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9221 arg2 = (bool) SWIG_AsBool(obj1);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 (arg1)->SetEditable(arg2);
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 Py_INCREF(Py_None); resultobj = Py_None;
9231 return resultobj;
9232 fail:
9233 return NULL;
9234 }
9235
9236
9237 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj;
9239 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9240 bool arg2 = (bool) True ;
9241 bool result;
9242 PyObject * obj0 = 0 ;
9243 PyObject * obj1 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self",(char *) "show", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
9249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9251 if (obj1) {
9252 arg2 = (bool) SWIG_AsBool(obj1);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 result = (bool)(arg1)->ShowNativeCaret(arg2);
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 {
9263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9264 }
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj;
9273 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9274 bool result;
9275 PyObject * obj0 = 0 ;
9276 char *kwnames[] = {
9277 (char *) "self", NULL
9278 };
9279
9280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
9281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 result = (bool)(arg1)->HideNativeCaret();
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 {
9291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9292 }
9293 return resultobj;
9294 fail:
9295 return NULL;
9296 }
9297
9298
9299 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9300 PyObject *resultobj;
9301 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9302 wxString *arg2 = 0 ;
9303 bool temp2 = False ;
9304 PyObject * obj0 = 0 ;
9305 PyObject * obj1 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self",(char *) "text", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9313 {
9314 arg2 = wxString_in_helper(obj1);
9315 if (arg2 == NULL) SWIG_fail;
9316 temp2 = True;
9317 }
9318 {
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9321
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 Py_INCREF(Py_None); resultobj = Py_None;
9326 {
9327 if (temp2)
9328 delete arg2;
9329 }
9330 return resultobj;
9331 fail:
9332 {
9333 if (temp2)
9334 delete arg2;
9335 }
9336 return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9343 long arg2 ;
9344 long arg3 ;
9345 wxString result;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 PyObject * obj2 = 0 ;
9349 char *kwnames[] = {
9350 (char *) "self",(char *) "from",(char *) "to", NULL
9351 };
9352
9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9356 arg2 = (long) SWIG_AsLong(obj1);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 arg3 = (long) SWIG_AsLong(obj2);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 {
9368 #if wxUSE_UNICODE
9369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9370 #else
9371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9372 #endif
9373 }
9374 return resultobj;
9375 fail:
9376 return NULL;
9377 }
9378
9379
9380 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9381 PyObject *obj;
9382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9383 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9384 Py_INCREF(obj);
9385 return Py_BuildValue((char *)"");
9386 }
9387 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 int arg1 ;
9390 wxMouseEvent *arg2 = 0 ;
9391 long arg3 ;
9392 long arg4 ;
9393 wxTextUrlEvent *result;
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 PyObject * obj2 = 0 ;
9397 PyObject * obj3 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9403 arg1 = (int) SWIG_AsInt(obj0);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9406 SWIG_POINTER_EXCEPTION | 0)) == -1)
9407 SWIG_fail;
9408 if (arg2 == NULL) {
9409 PyErr_SetString(PyExc_TypeError,"null reference");
9410 SWIG_fail;
9411 }
9412 arg3 = (long) SWIG_AsLong(obj2);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 arg4 = (long) SWIG_AsLong(obj3);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 {
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9419
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9424 return resultobj;
9425 fail:
9426 return NULL;
9427 }
9428
9429
9430 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9431 PyObject *resultobj;
9432 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9433 wxMouseEvent *result;
9434 PyObject * obj0 = 0 ;
9435 char *kwnames[] = {
9436 (char *) "self", NULL
9437 };
9438
9439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9442 {
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 {
9445 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9446 result = (wxMouseEvent *) &_result_ref;
9447 }
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9453 return resultobj;
9454 fail:
9455 return NULL;
9456 }
9457
9458
9459 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9460 PyObject *resultobj;
9461 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9462 long result;
9463 PyObject * obj0 = 0 ;
9464 char *kwnames[] = {
9465 (char *) "self", NULL
9466 };
9467
9468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = SWIG_FromLong((long)result);
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj;
9487 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9488 long result;
9489 PyObject * obj0 = 0 ;
9490 char *kwnames[] = {
9491 (char *) "self", NULL
9492 };
9493
9494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 resultobj = SWIG_FromLong((long)result);
9505 return resultobj;
9506 fail:
9507 return NULL;
9508 }
9509
9510
9511 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9512 PyObject *obj;
9513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9514 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9515 Py_INCREF(obj);
9516 return Py_BuildValue((char *)"");
9517 }
9518 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9519 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9520 return 1;
9521 }
9522
9523
9524 static PyObject *_wrap_ScrollBarNameStr_get() {
9525 PyObject *pyobj;
9526
9527 {
9528 #if wxUSE_UNICODE
9529 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9530 #else
9531 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9532 #endif
9533 }
9534 return pyobj;
9535 }
9536
9537
9538 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj;
9540 wxWindow *arg1 = (wxWindow *) 0 ;
9541 int arg2 = (int) -1 ;
9542 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9543 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9544 wxSize const &arg4_defvalue = wxDefaultSize ;
9545 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9546 long arg5 = (long) wxSB_HORIZONTAL ;
9547 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9548 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9549 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9550 wxString *arg7 = (wxString *) &arg7_defvalue ;
9551 wxScrollBar *result;
9552 wxPoint temp3 ;
9553 wxSize temp4 ;
9554 bool temp7 = False ;
9555 PyObject * obj0 = 0 ;
9556 PyObject * obj1 = 0 ;
9557 PyObject * obj2 = 0 ;
9558 PyObject * obj3 = 0 ;
9559 PyObject * obj4 = 0 ;
9560 PyObject * obj5 = 0 ;
9561 PyObject * obj6 = 0 ;
9562 char *kwnames[] = {
9563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9564 };
9565
9566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9569 if (obj1) {
9570 arg2 = (int) SWIG_AsInt(obj1);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 if (obj2) {
9574 {
9575 arg3 = &temp3;
9576 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9577 }
9578 }
9579 if (obj3) {
9580 {
9581 arg4 = &temp4;
9582 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9583 }
9584 }
9585 if (obj4) {
9586 arg5 = (long) SWIG_AsLong(obj4);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 if (obj5) {
9590 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9591 SWIG_POINTER_EXCEPTION | 0)) == -1)
9592 SWIG_fail;
9593 if (arg6 == NULL) {
9594 PyErr_SetString(PyExc_TypeError,"null reference");
9595 SWIG_fail;
9596 }
9597 }
9598 if (obj6) {
9599 {
9600 arg7 = wxString_in_helper(obj6);
9601 if (arg7 == NULL) SWIG_fail;
9602 temp7 = True;
9603 }
9604 }
9605 {
9606 PyThreadState* __tstate = wxPyBeginAllowThreads();
9607 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9608
9609 wxPyEndAllowThreads(__tstate);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 }
9612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9613 {
9614 if (temp7)
9615 delete arg7;
9616 }
9617 return resultobj;
9618 fail:
9619 {
9620 if (temp7)
9621 delete arg7;
9622 }
9623 return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxScrollBar *result;
9630 char *kwnames[] = {
9631 NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 result = (wxScrollBar *)new wxScrollBar();
9638
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj;
9651 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9652 wxWindow *arg2 = (wxWindow *) 0 ;
9653 int arg3 = (int) -1 ;
9654 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9655 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9656 wxSize const &arg5_defvalue = wxDefaultSize ;
9657 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9658 long arg6 = (long) wxSB_HORIZONTAL ;
9659 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9660 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9661 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9662 wxString *arg8 = (wxString *) &arg8_defvalue ;
9663 bool result;
9664 wxPoint temp4 ;
9665 wxSize temp5 ;
9666 bool temp8 = False ;
9667 PyObject * obj0 = 0 ;
9668 PyObject * obj1 = 0 ;
9669 PyObject * obj2 = 0 ;
9670 PyObject * obj3 = 0 ;
9671 PyObject * obj4 = 0 ;
9672 PyObject * obj5 = 0 ;
9673 PyObject * obj6 = 0 ;
9674 PyObject * obj7 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9684 if (obj2) {
9685 arg3 = (int) SWIG_AsInt(obj2);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 if (obj3) {
9689 {
9690 arg4 = &temp4;
9691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9692 }
9693 }
9694 if (obj4) {
9695 {
9696 arg5 = &temp5;
9697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9698 }
9699 }
9700 if (obj5) {
9701 arg6 = (long) SWIG_AsLong(obj5);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 if (obj6) {
9705 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9706 SWIG_POINTER_EXCEPTION | 0)) == -1)
9707 SWIG_fail;
9708 if (arg7 == NULL) {
9709 PyErr_SetString(PyExc_TypeError,"null reference");
9710 SWIG_fail;
9711 }
9712 }
9713 if (obj7) {
9714 {
9715 arg8 = wxString_in_helper(obj7);
9716 if (arg8 == NULL) SWIG_fail;
9717 temp8 = True;
9718 }
9719 }
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 {
9728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9729 }
9730 {
9731 if (temp8)
9732 delete arg8;
9733 }
9734 return resultobj;
9735 fail:
9736 {
9737 if (temp8)
9738 delete arg8;
9739 }
9740 return NULL;
9741 }
9742
9743
9744 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9747 int result;
9748 PyObject * obj0 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 resultobj = SWIG_FromInt((int)result);
9764 return resultobj;
9765 fail:
9766 return NULL;
9767 }
9768
9769
9770 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj;
9772 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9773 int result;
9774 PyObject * obj0 = 0 ;
9775 char *kwnames[] = {
9776 (char *) "self", NULL
9777 };
9778
9779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 resultobj = SWIG_FromInt((int)result);
9790 return resultobj;
9791 fail:
9792 return NULL;
9793 }
9794
9795
9796 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9797 PyObject *resultobj;
9798 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9799 int result;
9800 PyObject * obj0 = 0 ;
9801 char *kwnames[] = {
9802 (char *) "self", NULL
9803 };
9804
9805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 resultobj = SWIG_FromInt((int)result);
9816 return resultobj;
9817 fail:
9818 return NULL;
9819 }
9820
9821
9822 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9825 int result;
9826 PyObject * obj0 = 0 ;
9827 char *kwnames[] = {
9828 (char *) "self", NULL
9829 };
9830
9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 result = (int)((wxScrollBar const *)arg1)->GetRange();
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 resultobj = SWIG_FromInt((int)result);
9842 return resultobj;
9843 fail:
9844 return NULL;
9845 }
9846
9847
9848 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj;
9850 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9851 bool result;
9852 PyObject * obj0 = 0 ;
9853 char *kwnames[] = {
9854 (char *) "self", NULL
9855 };
9856
9857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
9867 {
9868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9869 }
9870 return resultobj;
9871 fail:
9872 return NULL;
9873 }
9874
9875
9876 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9877 PyObject *resultobj;
9878 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9879 int arg2 ;
9880 PyObject * obj0 = 0 ;
9881 PyObject * obj1 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self",(char *) "viewStart", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9889 arg2 = (int) SWIG_AsInt(obj1);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 {
9892 PyThreadState* __tstate = wxPyBeginAllowThreads();
9893 (arg1)->SetThumbPosition(arg2);
9894
9895 wxPyEndAllowThreads(__tstate);
9896 if (PyErr_Occurred()) SWIG_fail;
9897 }
9898 Py_INCREF(Py_None); resultobj = Py_None;
9899 return resultobj;
9900 fail:
9901 return NULL;
9902 }
9903
9904
9905 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9906 PyObject *resultobj;
9907 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9908 int arg2 ;
9909 int arg3 ;
9910 int arg4 ;
9911 int arg5 ;
9912 bool arg6 = (bool) True ;
9913 PyObject * obj0 = 0 ;
9914 PyObject * obj1 = 0 ;
9915 PyObject * obj2 = 0 ;
9916 PyObject * obj3 = 0 ;
9917 PyObject * obj4 = 0 ;
9918 PyObject * obj5 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9926 arg2 = (int) SWIG_AsInt(obj1);
9927 if (PyErr_Occurred()) SWIG_fail;
9928 arg3 = (int) SWIG_AsInt(obj2);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 arg4 = (int) SWIG_AsInt(obj3);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 arg5 = (int) SWIG_AsInt(obj4);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 if (obj5) {
9935 arg6 = (bool) SWIG_AsBool(obj5);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9941
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 Py_INCREF(Py_None); resultobj = Py_None;
9946 return resultobj;
9947 fail:
9948 return NULL;
9949 }
9950
9951
9952 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9953 PyObject *obj;
9954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9955 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9956 Py_INCREF(obj);
9957 return Py_BuildValue((char *)"");
9958 }
9959 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
9960 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9961 return 1;
9962 }
9963
9964
9965 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9966 PyObject *pyobj;
9967
9968 {
9969 #if wxUSE_UNICODE
9970 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9971 #else
9972 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9973 #endif
9974 }
9975 return pyobj;
9976 }
9977
9978
9979 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
9980 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9981 return 1;
9982 }
9983
9984
9985 static PyObject *_wrap_SpinCtrlNameStr_get() {
9986 PyObject *pyobj;
9987
9988 {
9989 #if wxUSE_UNICODE
9990 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9991 #else
9992 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9993 #endif
9994 }
9995 return pyobj;
9996 }
9997
9998
9999 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10000 PyObject *resultobj;
10001 wxWindow *arg1 = (wxWindow *) 0 ;
10002 int arg2 = (int) -1 ;
10003 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10004 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10005 wxSize const &arg4_defvalue = wxDefaultSize ;
10006 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10007 long arg5 = (long) wxSP_HORIZONTAL ;
10008 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10009 wxString *arg6 = (wxString *) &arg6_defvalue ;
10010 wxSpinButton *result;
10011 wxPoint temp3 ;
10012 wxSize temp4 ;
10013 bool temp6 = False ;
10014 PyObject * obj0 = 0 ;
10015 PyObject * obj1 = 0 ;
10016 PyObject * obj2 = 0 ;
10017 PyObject * obj3 = 0 ;
10018 PyObject * obj4 = 0 ;
10019 PyObject * obj5 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10027 if (obj1) {
10028 arg2 = (int) SWIG_AsInt(obj1);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
10031 if (obj2) {
10032 {
10033 arg3 = &temp3;
10034 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10035 }
10036 }
10037 if (obj3) {
10038 {
10039 arg4 = &temp4;
10040 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10041 }
10042 }
10043 if (obj4) {
10044 arg5 = (long) SWIG_AsLong(obj4);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 if (obj5) {
10048 {
10049 arg6 = wxString_in_helper(obj5);
10050 if (arg6 == NULL) SWIG_fail;
10051 temp6 = True;
10052 }
10053 }
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10062 {
10063 if (temp6)
10064 delete arg6;
10065 }
10066 return resultobj;
10067 fail:
10068 {
10069 if (temp6)
10070 delete arg6;
10071 }
10072 return NULL;
10073 }
10074
10075
10076 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj;
10078 wxSpinButton *result;
10079 char *kwnames[] = {
10080 NULL
10081 };
10082
10083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 result = (wxSpinButton *)new wxSpinButton();
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj;
10100 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10101 wxWindow *arg2 = (wxWindow *) 0 ;
10102 int arg3 = (int) -1 ;
10103 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10104 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10105 wxSize const &arg5_defvalue = wxDefaultSize ;
10106 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10107 long arg6 = (long) wxSP_HORIZONTAL ;
10108 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10109 wxString *arg7 = (wxString *) &arg7_defvalue ;
10110 bool result;
10111 wxPoint temp4 ;
10112 wxSize temp5 ;
10113 bool temp7 = False ;
10114 PyObject * obj0 = 0 ;
10115 PyObject * obj1 = 0 ;
10116 PyObject * obj2 = 0 ;
10117 PyObject * obj3 = 0 ;
10118 PyObject * obj4 = 0 ;
10119 PyObject * obj5 = 0 ;
10120 PyObject * obj6 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10130 if (obj2) {
10131 arg3 = (int) SWIG_AsInt(obj2);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 if (obj3) {
10135 {
10136 arg4 = &temp4;
10137 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10138 }
10139 }
10140 if (obj4) {
10141 {
10142 arg5 = &temp5;
10143 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10144 }
10145 }
10146 if (obj5) {
10147 arg6 = (long) SWIG_AsLong(obj5);
10148 if (PyErr_Occurred()) SWIG_fail;
10149 }
10150 if (obj6) {
10151 {
10152 arg7 = wxString_in_helper(obj6);
10153 if (arg7 == NULL) SWIG_fail;
10154 temp7 = True;
10155 }
10156 }
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10160
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 {
10165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10166 }
10167 {
10168 if (temp7)
10169 delete arg7;
10170 }
10171 return resultobj;
10172 fail:
10173 {
10174 if (temp7)
10175 delete arg7;
10176 }
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj;
10183 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10184 int result;
10185 PyObject * obj0 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self", NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (int)((wxSpinButton const *)arg1)->GetValue();
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 resultobj = SWIG_FromInt((int)result);
10201 return resultobj;
10202 fail:
10203 return NULL;
10204 }
10205
10206
10207 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj;
10209 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10210 int result;
10211 PyObject * obj0 = 0 ;
10212 char *kwnames[] = {
10213 (char *) "self", NULL
10214 };
10215
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (int)((wxSpinButton const *)arg1)->GetMin();
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 resultobj = SWIG_FromInt((int)result);
10227 return resultobj;
10228 fail:
10229 return NULL;
10230 }
10231
10232
10233 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj;
10235 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10236 int result;
10237 PyObject * obj0 = 0 ;
10238 char *kwnames[] = {
10239 (char *) "self", NULL
10240 };
10241
10242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 result = (int)((wxSpinButton const *)arg1)->GetMax();
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
10252 resultobj = SWIG_FromInt((int)result);
10253 return resultobj;
10254 fail:
10255 return NULL;
10256 }
10257
10258
10259 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10260 PyObject *resultobj;
10261 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10262 int arg2 ;
10263 PyObject * obj0 = 0 ;
10264 PyObject * obj1 = 0 ;
10265 char *kwnames[] = {
10266 (char *) "self",(char *) "val", NULL
10267 };
10268
10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10272 arg2 = (int) SWIG_AsInt(obj1);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 (arg1)->SetValue(arg2);
10277
10278 wxPyEndAllowThreads(__tstate);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 Py_INCREF(Py_None); resultobj = Py_None;
10282 return resultobj;
10283 fail:
10284 return NULL;
10285 }
10286
10287
10288 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10289 PyObject *resultobj;
10290 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10291 int arg2 ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 char *kwnames[] = {
10295 (char *) "self",(char *) "minVal", NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10301 arg2 = (int) SWIG_AsInt(obj1);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 (arg1)->SetMin(arg2);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 Py_INCREF(Py_None); resultobj = Py_None;
10311 return resultobj;
10312 fail:
10313 return NULL;
10314 }
10315
10316
10317 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject *resultobj;
10319 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10320 int arg2 ;
10321 PyObject * obj0 = 0 ;
10322 PyObject * obj1 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self",(char *) "maxVal", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10330 arg2 = (int) SWIG_AsInt(obj1);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 (arg1)->SetMax(arg2);
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
10339 Py_INCREF(Py_None); resultobj = Py_None;
10340 return resultobj;
10341 fail:
10342 return NULL;
10343 }
10344
10345
10346 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10347 PyObject *resultobj;
10348 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10349 int arg2 ;
10350 int arg3 ;
10351 PyObject * obj0 = 0 ;
10352 PyObject * obj1 = 0 ;
10353 PyObject * obj2 = 0 ;
10354 char *kwnames[] = {
10355 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10356 };
10357
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10361 arg2 = (int) SWIG_AsInt(obj1);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 arg3 = (int) SWIG_AsInt(obj2);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->SetRange(arg2,arg3);
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 Py_INCREF(Py_None); resultobj = Py_None;
10373 return resultobj;
10374 fail:
10375 return NULL;
10376 }
10377
10378
10379 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj;
10381 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10382 bool result;
10383 PyObject * obj0 = 0 ;
10384 char *kwnames[] = {
10385 (char *) "self", NULL
10386 };
10387
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10394
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 {
10399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10400 }
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10408 PyObject *obj;
10409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10410 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10411 Py_INCREF(obj);
10412 return Py_BuildValue((char *)"");
10413 }
10414 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxWindow *arg1 = (wxWindow *) 0 ;
10417 int arg2 = (int) -1 ;
10418 wxString const &arg3_defvalue = wxPyEmptyString ;
10419 wxString *arg3 = (wxString *) &arg3_defvalue ;
10420 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10421 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10422 wxSize const &arg5_defvalue = wxDefaultSize ;
10423 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10424 long arg6 = (long) wxSP_ARROW_KEYS ;
10425 int arg7 = (int) 0 ;
10426 int arg8 = (int) 100 ;
10427 int arg9 = (int) 0 ;
10428 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10429 wxString *arg10 = (wxString *) &arg10_defvalue ;
10430 wxSpinCtrl *result;
10431 bool temp3 = False ;
10432 wxPoint temp4 ;
10433 wxSize temp5 ;
10434 bool temp10 = False ;
10435 PyObject * obj0 = 0 ;
10436 PyObject * obj1 = 0 ;
10437 PyObject * obj2 = 0 ;
10438 PyObject * obj3 = 0 ;
10439 PyObject * obj4 = 0 ;
10440 PyObject * obj5 = 0 ;
10441 PyObject * obj6 = 0 ;
10442 PyObject * obj7 = 0 ;
10443 PyObject * obj8 = 0 ;
10444 PyObject * obj9 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10447 };
10448
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10452 if (obj1) {
10453 arg2 = (int) SWIG_AsInt(obj1);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 if (obj2) {
10457 {
10458 arg3 = wxString_in_helper(obj2);
10459 if (arg3 == NULL) SWIG_fail;
10460 temp3 = True;
10461 }
10462 }
10463 if (obj3) {
10464 {
10465 arg4 = &temp4;
10466 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10467 }
10468 }
10469 if (obj4) {
10470 {
10471 arg5 = &temp5;
10472 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10473 }
10474 }
10475 if (obj5) {
10476 arg6 = (long) SWIG_AsLong(obj5);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 if (obj6) {
10480 arg7 = (int) SWIG_AsInt(obj6);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 }
10483 if (obj7) {
10484 arg8 = (int) SWIG_AsInt(obj7);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 if (obj8) {
10488 arg9 = (int) SWIG_AsInt(obj8);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 }
10491 if (obj9) {
10492 {
10493 arg10 = wxString_in_helper(obj9);
10494 if (arg10 == NULL) SWIG_fail;
10495 temp10 = True;
10496 }
10497 }
10498 {
10499 PyThreadState* __tstate = wxPyBeginAllowThreads();
10500 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10501
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10506 {
10507 if (temp3)
10508 delete arg3;
10509 }
10510 {
10511 if (temp10)
10512 delete arg10;
10513 }
10514 return resultobj;
10515 fail:
10516 {
10517 if (temp3)
10518 delete arg3;
10519 }
10520 {
10521 if (temp10)
10522 delete arg10;
10523 }
10524 return NULL;
10525 }
10526
10527
10528 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxSpinCtrl *result;
10531 char *kwnames[] = {
10532 NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 result = (wxSpinCtrl *)new wxSpinCtrl();
10539
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj;
10552 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10553 wxWindow *arg2 = (wxWindow *) 0 ;
10554 int arg3 = (int) -1 ;
10555 wxString const &arg4_defvalue = wxPyEmptyString ;
10556 wxString *arg4 = (wxString *) &arg4_defvalue ;
10557 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10558 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10559 wxSize const &arg6_defvalue = wxDefaultSize ;
10560 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10561 long arg7 = (long) wxSP_ARROW_KEYS ;
10562 int arg8 = (int) 0 ;
10563 int arg9 = (int) 100 ;
10564 int arg10 = (int) 0 ;
10565 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10566 wxString *arg11 = (wxString *) &arg11_defvalue ;
10567 bool result;
10568 bool temp4 = False ;
10569 wxPoint temp5 ;
10570 wxSize temp6 ;
10571 bool temp11 = False ;
10572 PyObject * obj0 = 0 ;
10573 PyObject * obj1 = 0 ;
10574 PyObject * obj2 = 0 ;
10575 PyObject * obj3 = 0 ;
10576 PyObject * obj4 = 0 ;
10577 PyObject * obj5 = 0 ;
10578 PyObject * obj6 = 0 ;
10579 PyObject * obj7 = 0 ;
10580 PyObject * obj8 = 0 ;
10581 PyObject * obj9 = 0 ;
10582 PyObject * obj10 = 0 ;
10583 char *kwnames[] = {
10584 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10585 };
10586
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10592 if (obj2) {
10593 arg3 = (int) SWIG_AsInt(obj2);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 if (obj3) {
10597 {
10598 arg4 = wxString_in_helper(obj3);
10599 if (arg4 == NULL) SWIG_fail;
10600 temp4 = True;
10601 }
10602 }
10603 if (obj4) {
10604 {
10605 arg5 = &temp5;
10606 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10607 }
10608 }
10609 if (obj5) {
10610 {
10611 arg6 = &temp6;
10612 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10613 }
10614 }
10615 if (obj6) {
10616 arg7 = (long) SWIG_AsLong(obj6);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 if (obj7) {
10620 arg8 = (int) SWIG_AsInt(obj7);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 if (obj8) {
10624 arg9 = (int) SWIG_AsInt(obj8);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 if (obj9) {
10628 arg10 = (int) SWIG_AsInt(obj9);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 if (obj10) {
10632 {
10633 arg11 = wxString_in_helper(obj10);
10634 if (arg11 == NULL) SWIG_fail;
10635 temp11 = True;
10636 }
10637 }
10638 {
10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
10640 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10641
10642 wxPyEndAllowThreads(__tstate);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 {
10646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10647 }
10648 {
10649 if (temp4)
10650 delete arg4;
10651 }
10652 {
10653 if (temp11)
10654 delete arg11;
10655 }
10656 return resultobj;
10657 fail:
10658 {
10659 if (temp4)
10660 delete arg4;
10661 }
10662 {
10663 if (temp11)
10664 delete arg11;
10665 }
10666 return NULL;
10667 }
10668
10669
10670 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10673 int result;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 resultobj = SWIG_FromInt((int)result);
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10699 int arg2 ;
10700 PyObject * obj0 = 0 ;
10701 PyObject * obj1 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self",(char *) "value", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10709 arg2 = (int) SWIG_AsInt(obj1);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 (arg1)->SetValue(arg2);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 Py_INCREF(Py_None); resultobj = Py_None;
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10728 wxString *arg2 = 0 ;
10729 bool temp2 = False ;
10730 PyObject * obj0 = 0 ;
10731 PyObject * obj1 = 0 ;
10732 char *kwnames[] = {
10733 (char *) "self",(char *) "text", NULL
10734 };
10735
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10739 {
10740 arg2 = wxString_in_helper(obj1);
10741 if (arg2 == NULL) SWIG_fail;
10742 temp2 = True;
10743 }
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 (arg1)->SetValue((wxString const &)*arg2);
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 Py_INCREF(Py_None); resultobj = Py_None;
10752 {
10753 if (temp2)
10754 delete arg2;
10755 }
10756 return resultobj;
10757 fail:
10758 {
10759 if (temp2)
10760 delete arg2;
10761 }
10762 return NULL;
10763 }
10764
10765
10766 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10767 PyObject *resultobj;
10768 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10769 int arg2 ;
10770 int arg3 ;
10771 PyObject * obj0 = 0 ;
10772 PyObject * obj1 = 0 ;
10773 PyObject * obj2 = 0 ;
10774 char *kwnames[] = {
10775 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10776 };
10777
10778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10781 arg2 = (int) SWIG_AsInt(obj1);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 arg3 = (int) SWIG_AsInt(obj2);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 (arg1)->SetRange(arg2,arg3);
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 Py_INCREF(Py_None); resultobj = Py_None;
10793 return resultobj;
10794 fail:
10795 return NULL;
10796 }
10797
10798
10799 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10802 int result;
10803 PyObject * obj0 = 0 ;
10804 char *kwnames[] = {
10805 (char *) "self", NULL
10806 };
10807
10808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 resultobj = SWIG_FromInt((int)result);
10819 return resultobj;
10820 fail:
10821 return NULL;
10822 }
10823
10824
10825 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10826 PyObject *resultobj;
10827 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10828 int result;
10829 PyObject * obj0 = 0 ;
10830 char *kwnames[] = {
10831 (char *) "self", NULL
10832 };
10833
10834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10837 {
10838 PyThreadState* __tstate = wxPyBeginAllowThreads();
10839 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10840
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 resultobj = SWIG_FromInt((int)result);
10845 return resultobj;
10846 fail:
10847 return NULL;
10848 }
10849
10850
10851 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10852 PyObject *resultobj;
10853 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10854 long arg2 ;
10855 long arg3 ;
10856 PyObject * obj0 = 0 ;
10857 PyObject * obj1 = 0 ;
10858 PyObject * obj2 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self",(char *) "from",(char *) "to", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10866 arg2 = (long) SWIG_AsLong(obj1);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 arg3 = (long) SWIG_AsLong(obj2);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 (arg1)->SetSelection(arg2,arg3);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 Py_INCREF(Py_None); resultobj = Py_None;
10878 return resultobj;
10879 fail:
10880 return NULL;
10881 }
10882
10883
10884 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10885 PyObject *obj;
10886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10887 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10888 Py_INCREF(obj);
10889 return Py_BuildValue((char *)"");
10890 }
10891 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10892 PyObject *resultobj;
10893 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10894 int arg2 = (int) 0 ;
10895 wxSpinEvent *result;
10896 PyObject * obj0 = 0 ;
10897 PyObject * obj1 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "commandType",(char *) "winid", NULL
10900 };
10901
10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10903 if (obj0) {
10904 arg1 = (wxEventType) SWIG_AsInt(obj0);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 if (obj1) {
10908 arg2 = (int) SWIG_AsInt(obj1);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10919 return resultobj;
10920 fail:
10921 return NULL;
10922 }
10923
10924
10925 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj;
10927 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10928 int result;
10929 PyObject * obj0 = 0 ;
10930 char *kwnames[] = {
10931 (char *) "self", NULL
10932 };
10933
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10937 {
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10940
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 resultobj = SWIG_FromInt((int)result);
10945 return resultobj;
10946 fail:
10947 return NULL;
10948 }
10949
10950
10951 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10954 int arg2 ;
10955 PyObject * obj0 = 0 ;
10956 PyObject * obj1 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self",(char *) "pos", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10964 arg2 = (int) SWIG_AsInt(obj1);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 (arg1)->SetPosition(arg2);
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 Py_INCREF(Py_None); resultobj = Py_None;
10974 return resultobj;
10975 fail:
10976 return NULL;
10977 }
10978
10979
10980 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10981 PyObject *obj;
10982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10983 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10984 Py_INCREF(obj);
10985 return Py_BuildValue((char *)"");
10986 }
10987 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
10988 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10989 return 1;
10990 }
10991
10992
10993 static PyObject *_wrap_RadioBoxNameStr_get() {
10994 PyObject *pyobj;
10995
10996 {
10997 #if wxUSE_UNICODE
10998 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10999 #else
11000 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11001 #endif
11002 }
11003 return pyobj;
11004 }
11005
11006
11007 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11008 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11009 return 1;
11010 }
11011
11012
11013 static PyObject *_wrap_RadioButtonNameStr_get() {
11014 PyObject *pyobj;
11015
11016 {
11017 #if wxUSE_UNICODE
11018 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11019 #else
11020 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11021 #endif
11022 }
11023 return pyobj;
11024 }
11025
11026
11027 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11028 PyObject *resultobj;
11029 wxWindow *arg1 = (wxWindow *) 0 ;
11030 int arg2 ;
11031 wxString *arg3 = 0 ;
11032 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11033 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11034 wxSize const &arg5_defvalue = wxDefaultSize ;
11035 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11036 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11037 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11038 int arg7 = (int) 0 ;
11039 long arg8 = (long) wxRA_HORIZONTAL ;
11040 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11041 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11042 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11043 wxString *arg10 = (wxString *) &arg10_defvalue ;
11044 wxRadioBox *result;
11045 bool temp3 = False ;
11046 wxPoint temp4 ;
11047 wxSize temp5 ;
11048 bool temp6 = False ;
11049 bool temp10 = False ;
11050 PyObject * obj0 = 0 ;
11051 PyObject * obj1 = 0 ;
11052 PyObject * obj2 = 0 ;
11053 PyObject * obj3 = 0 ;
11054 PyObject * obj4 = 0 ;
11055 PyObject * obj5 = 0 ;
11056 PyObject * obj6 = 0 ;
11057 PyObject * obj7 = 0 ;
11058 PyObject * obj8 = 0 ;
11059 PyObject * obj9 = 0 ;
11060 char *kwnames[] = {
11061 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11062 };
11063
11064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11067 arg2 = (int) SWIG_AsInt(obj1);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 {
11070 arg3 = wxString_in_helper(obj2);
11071 if (arg3 == NULL) SWIG_fail;
11072 temp3 = True;
11073 }
11074 if (obj3) {
11075 {
11076 arg4 = &temp4;
11077 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11078 }
11079 }
11080 if (obj4) {
11081 {
11082 arg5 = &temp5;
11083 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11084 }
11085 }
11086 if (obj5) {
11087 {
11088 if (! PySequence_Check(obj5)) {
11089 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11090 SWIG_fail;
11091 }
11092 arg6 = new wxArrayString;
11093 temp6 = True;
11094 int i, len=PySequence_Length(obj5);
11095 for (i=0; i<len; i++) {
11096 PyObject* item = PySequence_GetItem(obj5, i);
11097 #if wxUSE_UNICODE
11098 PyObject* str = PyObject_Unicode(item);
11099 #else
11100 PyObject* str = PyObject_Str(item);
11101 #endif
11102 arg6->Add(Py2wxString(str));
11103 Py_DECREF(item);
11104 Py_DECREF(str);
11105 }
11106 }
11107 }
11108 if (obj6) {
11109 arg7 = (int) SWIG_AsInt(obj6);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 if (obj7) {
11113 arg8 = (long) SWIG_AsLong(obj7);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 if (obj8) {
11117 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11118 SWIG_POINTER_EXCEPTION | 0)) == -1)
11119 SWIG_fail;
11120 if (arg9 == NULL) {
11121 PyErr_SetString(PyExc_TypeError,"null reference");
11122 SWIG_fail;
11123 }
11124 }
11125 if (obj9) {
11126 {
11127 arg10 = wxString_in_helper(obj9);
11128 if (arg10 == NULL) SWIG_fail;
11129 temp10 = True;
11130 }
11131 }
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 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);
11135
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11140 {
11141 if (temp3)
11142 delete arg3;
11143 }
11144 {
11145 if (temp6) delete arg6;
11146 }
11147 {
11148 if (temp10)
11149 delete arg10;
11150 }
11151 return resultobj;
11152 fail:
11153 {
11154 if (temp3)
11155 delete arg3;
11156 }
11157 {
11158 if (temp6) delete arg6;
11159 }
11160 {
11161 if (temp10)
11162 delete arg10;
11163 }
11164 return NULL;
11165 }
11166
11167
11168 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11169 PyObject *resultobj;
11170 wxRadioBox *result;
11171 char *kwnames[] = {
11172 NULL
11173 };
11174
11175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11176 {
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 result = (wxRadioBox *)new wxRadioBox();
11179
11180 wxPyEndAllowThreads(__tstate);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11184 return resultobj;
11185 fail:
11186 return NULL;
11187 }
11188
11189
11190 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj;
11192 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11193 wxWindow *arg2 = (wxWindow *) 0 ;
11194 int arg3 ;
11195 wxString *arg4 = 0 ;
11196 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11197 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11198 wxSize const &arg6_defvalue = wxDefaultSize ;
11199 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11200 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11201 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11202 int arg8 = (int) 0 ;
11203 long arg9 = (long) wxRA_HORIZONTAL ;
11204 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11205 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11206 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11207 wxString *arg11 = (wxString *) &arg11_defvalue ;
11208 bool result;
11209 bool temp4 = False ;
11210 wxPoint temp5 ;
11211 wxSize temp6 ;
11212 bool temp7 = False ;
11213 bool temp11 = False ;
11214 PyObject * obj0 = 0 ;
11215 PyObject * obj1 = 0 ;
11216 PyObject * obj2 = 0 ;
11217 PyObject * obj3 = 0 ;
11218 PyObject * obj4 = 0 ;
11219 PyObject * obj5 = 0 ;
11220 PyObject * obj6 = 0 ;
11221 PyObject * obj7 = 0 ;
11222 PyObject * obj8 = 0 ;
11223 PyObject * obj9 = 0 ;
11224 PyObject * obj10 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11234 arg3 = (int) SWIG_AsInt(obj2);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 {
11237 arg4 = wxString_in_helper(obj3);
11238 if (arg4 == NULL) SWIG_fail;
11239 temp4 = True;
11240 }
11241 if (obj4) {
11242 {
11243 arg5 = &temp5;
11244 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11245 }
11246 }
11247 if (obj5) {
11248 {
11249 arg6 = &temp6;
11250 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11251 }
11252 }
11253 if (obj6) {
11254 {
11255 if (! PySequence_Check(obj6)) {
11256 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11257 SWIG_fail;
11258 }
11259 arg7 = new wxArrayString;
11260 temp7 = True;
11261 int i, len=PySequence_Length(obj6);
11262 for (i=0; i<len; i++) {
11263 PyObject* item = PySequence_GetItem(obj6, i);
11264 #if wxUSE_UNICODE
11265 PyObject* str = PyObject_Unicode(item);
11266 #else
11267 PyObject* str = PyObject_Str(item);
11268 #endif
11269 arg7->Add(Py2wxString(str));
11270 Py_DECREF(item);
11271 Py_DECREF(str);
11272 }
11273 }
11274 }
11275 if (obj7) {
11276 arg8 = (int) SWIG_AsInt(obj7);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 if (obj8) {
11280 arg9 = (long) SWIG_AsLong(obj8);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 if (obj9) {
11284 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11285 SWIG_POINTER_EXCEPTION | 0)) == -1)
11286 SWIG_fail;
11287 if (arg10 == NULL) {
11288 PyErr_SetString(PyExc_TypeError,"null reference");
11289 SWIG_fail;
11290 }
11291 }
11292 if (obj10) {
11293 {
11294 arg11 = wxString_in_helper(obj10);
11295 if (arg11 == NULL) SWIG_fail;
11296 temp11 = True;
11297 }
11298 }
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 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);
11302
11303 wxPyEndAllowThreads(__tstate);
11304 if (PyErr_Occurred()) SWIG_fail;
11305 }
11306 {
11307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11308 }
11309 {
11310 if (temp4)
11311 delete arg4;
11312 }
11313 {
11314 if (temp7) delete arg7;
11315 }
11316 {
11317 if (temp11)
11318 delete arg11;
11319 }
11320 return resultobj;
11321 fail:
11322 {
11323 if (temp4)
11324 delete arg4;
11325 }
11326 {
11327 if (temp7) delete arg7;
11328 }
11329 {
11330 if (temp11)
11331 delete arg11;
11332 }
11333 return NULL;
11334 }
11335
11336
11337 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11338 PyObject *resultobj;
11339 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11340 int arg2 ;
11341 PyObject * obj0 = 0 ;
11342 PyObject * obj1 = 0 ;
11343 char *kwnames[] = {
11344 (char *) "self",(char *) "n", NULL
11345 };
11346
11347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11350 arg2 = (int) SWIG_AsInt(obj1);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 (arg1)->SetSelection(arg2);
11355
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 Py_INCREF(Py_None); resultobj = Py_None;
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11367 PyObject *resultobj;
11368 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11369 int result;
11370 PyObject * obj0 = 0 ;
11371 char *kwnames[] = {
11372 (char *) "self", NULL
11373 };
11374
11375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11381
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 resultobj = SWIG_FromInt((int)result);
11386 return resultobj;
11387 fail:
11388 return NULL;
11389 }
11390
11391
11392 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11393 PyObject *resultobj;
11394 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11395 wxString result;
11396 PyObject * obj0 = 0 ;
11397 char *kwnames[] = {
11398 (char *) "self", NULL
11399 };
11400
11401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11404 {
11405 PyThreadState* __tstate = wxPyBeginAllowThreads();
11406 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11407
11408 wxPyEndAllowThreads(__tstate);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 }
11411 {
11412 #if wxUSE_UNICODE
11413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11414 #else
11415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11416 #endif
11417 }
11418 return resultobj;
11419 fail:
11420 return NULL;
11421 }
11422
11423
11424 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj;
11426 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11427 wxString *arg2 = 0 ;
11428 bool result;
11429 bool temp2 = False ;
11430 PyObject * obj0 = 0 ;
11431 PyObject * obj1 = 0 ;
11432 char *kwnames[] = {
11433 (char *) "self",(char *) "s", NULL
11434 };
11435
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11439 {
11440 arg2 = wxString_in_helper(obj1);
11441 if (arg2 == NULL) SWIG_fail;
11442 temp2 = True;
11443 }
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 {
11452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11453 }
11454 {
11455 if (temp2)
11456 delete arg2;
11457 }
11458 return resultobj;
11459 fail:
11460 {
11461 if (temp2)
11462 delete arg2;
11463 }
11464 return NULL;
11465 }
11466
11467
11468 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj;
11470 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11471 int result;
11472 PyObject * obj0 = 0 ;
11473 char *kwnames[] = {
11474 (char *) "self", NULL
11475 };
11476
11477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 result = (int)((wxRadioBox const *)arg1)->GetCount();
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
11487 resultobj = SWIG_FromInt((int)result);
11488 return resultobj;
11489 fail:
11490 return NULL;
11491 }
11492
11493
11494 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11497 wxString *arg2 = 0 ;
11498 int result;
11499 bool temp2 = False ;
11500 PyObject * obj0 = 0 ;
11501 PyObject * obj1 = 0 ;
11502 char *kwnames[] = {
11503 (char *) "self",(char *) "s", NULL
11504 };
11505
11506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11509 {
11510 arg2 = wxString_in_helper(obj1);
11511 if (arg2 == NULL) SWIG_fail;
11512 temp2 = True;
11513 }
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11517
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 resultobj = SWIG_FromInt((int)result);
11522 {
11523 if (temp2)
11524 delete arg2;
11525 }
11526 return resultobj;
11527 fail:
11528 {
11529 if (temp2)
11530 delete arg2;
11531 }
11532 return NULL;
11533 }
11534
11535
11536 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11537 PyObject *resultobj;
11538 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11539 int arg2 ;
11540 wxString result;
11541 PyObject * obj0 = 0 ;
11542 PyObject * obj1 = 0 ;
11543 char *kwnames[] = {
11544 (char *) "self",(char *) "n", NULL
11545 };
11546
11547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11550 arg2 = (int) SWIG_AsInt(obj1);
11551 if (PyErr_Occurred()) SWIG_fail;
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11555
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 {
11560 #if wxUSE_UNICODE
11561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11562 #else
11563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11564 #endif
11565 }
11566 return resultobj;
11567 fail:
11568 return NULL;
11569 }
11570
11571
11572 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11575 int arg2 ;
11576 wxString *arg3 = 0 ;
11577 bool temp3 = False ;
11578 PyObject * obj0 = 0 ;
11579 PyObject * obj1 = 0 ;
11580 PyObject * obj2 = 0 ;
11581 char *kwnames[] = {
11582 (char *) "self",(char *) "n",(char *) "label", NULL
11583 };
11584
11585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11588 arg2 = (int) SWIG_AsInt(obj1);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 {
11591 arg3 = wxString_in_helper(obj2);
11592 if (arg3 == NULL) SWIG_fail;
11593 temp3 = True;
11594 }
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 (arg1)->SetString(arg2,(wxString const &)*arg3);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 Py_INCREF(Py_None); resultobj = Py_None;
11603 {
11604 if (temp3)
11605 delete arg3;
11606 }
11607 return resultobj;
11608 fail:
11609 {
11610 if (temp3)
11611 delete arg3;
11612 }
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj;
11619 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11620 int arg2 ;
11621 bool arg3 = (bool) True ;
11622 PyObject * obj0 = 0 ;
11623 PyObject * obj1 = 0 ;
11624 PyObject * obj2 = 0 ;
11625 char *kwnames[] = {
11626 (char *) "self",(char *) "n",(char *) "enable", NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11632 arg2 = (int) SWIG_AsInt(obj1);
11633 if (PyErr_Occurred()) SWIG_fail;
11634 if (obj2) {
11635 arg3 = (bool) SWIG_AsBool(obj2);
11636 if (PyErr_Occurred()) SWIG_fail;
11637 }
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 (arg1)->Enable(arg2,arg3);
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 Py_INCREF(Py_None); resultobj = Py_None;
11646 return resultobj;
11647 fail:
11648 return NULL;
11649 }
11650
11651
11652 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11655 int arg2 ;
11656 bool arg3 = (bool) True ;
11657 PyObject * obj0 = 0 ;
11658 PyObject * obj1 = 0 ;
11659 PyObject * obj2 = 0 ;
11660 char *kwnames[] = {
11661 (char *) "self",(char *) "n",(char *) "show", NULL
11662 };
11663
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11667 arg2 = (int) SWIG_AsInt(obj1);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 if (obj2) {
11670 arg3 = (bool) SWIG_AsBool(obj2);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 (arg1)->Show(arg2,arg3);
11676
11677 wxPyEndAllowThreads(__tstate);
11678 if (PyErr_Occurred()) SWIG_fail;
11679 }
11680 Py_INCREF(Py_None); resultobj = Py_None;
11681 return resultobj;
11682 fail:
11683 return NULL;
11684 }
11685
11686
11687 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11688 PyObject *resultobj;
11689 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11690 int result;
11691 PyObject * obj0 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11699 {
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11702
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 resultobj = SWIG_FromInt((int)result);
11707 return resultobj;
11708 fail:
11709 return NULL;
11710 }
11711
11712
11713 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11714 PyObject *resultobj;
11715 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11716 int result;
11717 PyObject * obj0 = 0 ;
11718 char *kwnames[] = {
11719 (char *) "self", NULL
11720 };
11721
11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11725 {
11726 PyThreadState* __tstate = wxPyBeginAllowThreads();
11727 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11728
11729 wxPyEndAllowThreads(__tstate);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 resultobj = SWIG_FromInt((int)result);
11733 return resultobj;
11734 fail:
11735 return NULL;
11736 }
11737
11738
11739 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11740 PyObject *resultobj;
11741 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11742 int arg2 ;
11743 int arg3 ;
11744 long arg4 ;
11745 int result;
11746 PyObject * obj0 = 0 ;
11747 PyObject * obj1 = 0 ;
11748 PyObject * obj2 = 0 ;
11749 PyObject * obj3 = 0 ;
11750 char *kwnames[] = {
11751 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11752 };
11753
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11757 arg2 = (int) SWIG_AsInt(obj1);
11758 if (PyErr_Occurred()) SWIG_fail;
11759 arg3 = (wxDirection) SWIG_AsInt(obj2);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 arg4 = (long) SWIG_AsLong(obj3);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 resultobj = SWIG_FromInt((int)result);
11771 return resultobj;
11772 fail:
11773 return NULL;
11774 }
11775
11776
11777 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11778 PyObject *obj;
11779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11780 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11781 Py_INCREF(obj);
11782 return Py_BuildValue((char *)"");
11783 }
11784 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj;
11786 wxWindow *arg1 = (wxWindow *) 0 ;
11787 int arg2 ;
11788 wxString *arg3 = 0 ;
11789 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11790 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11791 wxSize const &arg5_defvalue = wxDefaultSize ;
11792 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11793 long arg6 = (long) 0 ;
11794 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11795 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11796 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11797 wxString *arg8 = (wxString *) &arg8_defvalue ;
11798 wxRadioButton *result;
11799 bool temp3 = False ;
11800 wxPoint temp4 ;
11801 wxSize temp5 ;
11802 bool temp8 = False ;
11803 PyObject * obj0 = 0 ;
11804 PyObject * obj1 = 0 ;
11805 PyObject * obj2 = 0 ;
11806 PyObject * obj3 = 0 ;
11807 PyObject * obj4 = 0 ;
11808 PyObject * obj5 = 0 ;
11809 PyObject * obj6 = 0 ;
11810 PyObject * obj7 = 0 ;
11811 char *kwnames[] = {
11812 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11813 };
11814
11815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11818 arg2 = (int) SWIG_AsInt(obj1);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 {
11821 arg3 = wxString_in_helper(obj2);
11822 if (arg3 == NULL) SWIG_fail;
11823 temp3 = True;
11824 }
11825 if (obj3) {
11826 {
11827 arg4 = &temp4;
11828 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11829 }
11830 }
11831 if (obj4) {
11832 {
11833 arg5 = &temp5;
11834 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11835 }
11836 }
11837 if (obj5) {
11838 arg6 = (long) SWIG_AsLong(obj5);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 if (obj6) {
11842 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11843 SWIG_POINTER_EXCEPTION | 0)) == -1)
11844 SWIG_fail;
11845 if (arg7 == NULL) {
11846 PyErr_SetString(PyExc_TypeError,"null reference");
11847 SWIG_fail;
11848 }
11849 }
11850 if (obj7) {
11851 {
11852 arg8 = wxString_in_helper(obj7);
11853 if (arg8 == NULL) SWIG_fail;
11854 temp8 = True;
11855 }
11856 }
11857 {
11858 PyThreadState* __tstate = wxPyBeginAllowThreads();
11859 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11860
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11865 {
11866 if (temp3)
11867 delete arg3;
11868 }
11869 {
11870 if (temp8)
11871 delete arg8;
11872 }
11873 return resultobj;
11874 fail:
11875 {
11876 if (temp3)
11877 delete arg3;
11878 }
11879 {
11880 if (temp8)
11881 delete arg8;
11882 }
11883 return NULL;
11884 }
11885
11886
11887 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11888 PyObject *resultobj;
11889 wxRadioButton *result;
11890 char *kwnames[] = {
11891 NULL
11892 };
11893
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11895 {
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
11897 result = (wxRadioButton *)new wxRadioButton();
11898
11899 wxPyEndAllowThreads(__tstate);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11903 return resultobj;
11904 fail:
11905 return NULL;
11906 }
11907
11908
11909 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11912 wxWindow *arg2 = (wxWindow *) 0 ;
11913 int arg3 ;
11914 wxString *arg4 = 0 ;
11915 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11916 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11917 wxSize const &arg6_defvalue = wxDefaultSize ;
11918 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11919 long arg7 = (long) 0 ;
11920 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11921 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11922 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11923 wxString *arg9 = (wxString *) &arg9_defvalue ;
11924 bool result;
11925 bool temp4 = False ;
11926 wxPoint temp5 ;
11927 wxSize temp6 ;
11928 bool temp9 = False ;
11929 PyObject * obj0 = 0 ;
11930 PyObject * obj1 = 0 ;
11931 PyObject * obj2 = 0 ;
11932 PyObject * obj3 = 0 ;
11933 PyObject * obj4 = 0 ;
11934 PyObject * obj5 = 0 ;
11935 PyObject * obj6 = 0 ;
11936 PyObject * obj7 = 0 ;
11937 PyObject * obj8 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11947 arg3 = (int) SWIG_AsInt(obj2);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 {
11950 arg4 = wxString_in_helper(obj3);
11951 if (arg4 == NULL) SWIG_fail;
11952 temp4 = True;
11953 }
11954 if (obj4) {
11955 {
11956 arg5 = &temp5;
11957 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11958 }
11959 }
11960 if (obj5) {
11961 {
11962 arg6 = &temp6;
11963 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11964 }
11965 }
11966 if (obj6) {
11967 arg7 = (long) SWIG_AsLong(obj6);
11968 if (PyErr_Occurred()) SWIG_fail;
11969 }
11970 if (obj7) {
11971 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11972 SWIG_POINTER_EXCEPTION | 0)) == -1)
11973 SWIG_fail;
11974 if (arg8 == NULL) {
11975 PyErr_SetString(PyExc_TypeError,"null reference");
11976 SWIG_fail;
11977 }
11978 }
11979 if (obj8) {
11980 {
11981 arg9 = wxString_in_helper(obj8);
11982 if (arg9 == NULL) SWIG_fail;
11983 temp9 = True;
11984 }
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 {
11994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11995 }
11996 {
11997 if (temp4)
11998 delete arg4;
11999 }
12000 {
12001 if (temp9)
12002 delete arg9;
12003 }
12004 return resultobj;
12005 fail:
12006 {
12007 if (temp4)
12008 delete arg4;
12009 }
12010 {
12011 if (temp9)
12012 delete arg9;
12013 }
12014 return NULL;
12015 }
12016
12017
12018 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12019 PyObject *resultobj;
12020 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12021 bool result;
12022 PyObject * obj0 = 0 ;
12023 char *kwnames[] = {
12024 (char *) "self", NULL
12025 };
12026
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12030 {
12031 PyThreadState* __tstate = wxPyBeginAllowThreads();
12032 result = (bool)(arg1)->GetValue();
12033
12034 wxPyEndAllowThreads(__tstate);
12035 if (PyErr_Occurred()) SWIG_fail;
12036 }
12037 {
12038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12039 }
12040 return resultobj;
12041 fail:
12042 return NULL;
12043 }
12044
12045
12046 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12047 PyObject *resultobj;
12048 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12049 bool arg2 ;
12050 PyObject * obj0 = 0 ;
12051 PyObject * obj1 = 0 ;
12052 char *kwnames[] = {
12053 (char *) "self",(char *) "value", NULL
12054 };
12055
12056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12059 arg2 = (bool) SWIG_AsBool(obj1);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 (arg1)->SetValue(arg2);
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 Py_INCREF(Py_None); resultobj = Py_None;
12069 return resultobj;
12070 fail:
12071 return NULL;
12072 }
12073
12074
12075 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12076 PyObject *obj;
12077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12078 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12079 Py_INCREF(obj);
12080 return Py_BuildValue((char *)"");
12081 }
12082 static int _wrap_SliderNameStr_set(PyObject *_val) {
12083 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12084 return 1;
12085 }
12086
12087
12088 static PyObject *_wrap_SliderNameStr_get() {
12089 PyObject *pyobj;
12090
12091 {
12092 #if wxUSE_UNICODE
12093 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12094 #else
12095 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12096 #endif
12097 }
12098 return pyobj;
12099 }
12100
12101
12102 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxWindow *arg1 = (wxWindow *) 0 ;
12105 int arg2 ;
12106 int arg3 ;
12107 int arg4 ;
12108 int arg5 ;
12109 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12110 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12111 wxSize const &arg7_defvalue = wxDefaultSize ;
12112 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12113 long arg8 = (long) wxSL_HORIZONTAL ;
12114 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12115 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12116 wxString const &arg10_defvalue = wxPySliderNameStr ;
12117 wxString *arg10 = (wxString *) &arg10_defvalue ;
12118 wxSlider *result;
12119 wxPoint temp6 ;
12120 wxSize temp7 ;
12121 bool temp10 = False ;
12122 PyObject * obj0 = 0 ;
12123 PyObject * obj1 = 0 ;
12124 PyObject * obj2 = 0 ;
12125 PyObject * obj3 = 0 ;
12126 PyObject * obj4 = 0 ;
12127 PyObject * obj5 = 0 ;
12128 PyObject * obj6 = 0 ;
12129 PyObject * obj7 = 0 ;
12130 PyObject * obj8 = 0 ;
12131 PyObject * obj9 = 0 ;
12132 char *kwnames[] = {
12133 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12139 arg2 = (int) SWIG_AsInt(obj1);
12140 if (PyErr_Occurred()) SWIG_fail;
12141 arg3 = (int) SWIG_AsInt(obj2);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 arg4 = (int) SWIG_AsInt(obj3);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 arg5 = (int) SWIG_AsInt(obj4);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 if (obj5) {
12148 {
12149 arg6 = &temp6;
12150 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12151 }
12152 }
12153 if (obj6) {
12154 {
12155 arg7 = &temp7;
12156 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12157 }
12158 }
12159 if (obj7) {
12160 arg8 = (long) SWIG_AsLong(obj7);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 if (obj8) {
12164 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12165 SWIG_POINTER_EXCEPTION | 0)) == -1)
12166 SWIG_fail;
12167 if (arg9 == NULL) {
12168 PyErr_SetString(PyExc_TypeError,"null reference");
12169 SWIG_fail;
12170 }
12171 }
12172 if (obj9) {
12173 {
12174 arg10 = wxString_in_helper(obj9);
12175 if (arg10 == NULL) SWIG_fail;
12176 temp10 = True;
12177 }
12178 }
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12182
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12187 {
12188 if (temp10)
12189 delete arg10;
12190 }
12191 return resultobj;
12192 fail:
12193 {
12194 if (temp10)
12195 delete arg10;
12196 }
12197 return NULL;
12198 }
12199
12200
12201 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12202 PyObject *resultobj;
12203 wxSlider *result;
12204 char *kwnames[] = {
12205 NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 result = (wxSlider *)new wxSlider();
12212
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12217 return resultobj;
12218 fail:
12219 return NULL;
12220 }
12221
12222
12223 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxSlider *arg1 = (wxSlider *) 0 ;
12226 wxWindow *arg2 = (wxWindow *) 0 ;
12227 int arg3 ;
12228 int arg4 ;
12229 int arg5 ;
12230 int arg6 ;
12231 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12232 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12233 wxSize const &arg8_defvalue = wxDefaultSize ;
12234 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12235 long arg9 = (long) wxSL_HORIZONTAL ;
12236 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12237 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12238 wxString const &arg11_defvalue = wxPySliderNameStr ;
12239 wxString *arg11 = (wxString *) &arg11_defvalue ;
12240 bool result;
12241 wxPoint temp7 ;
12242 wxSize temp8 ;
12243 bool temp11 = False ;
12244 PyObject * obj0 = 0 ;
12245 PyObject * obj1 = 0 ;
12246 PyObject * obj2 = 0 ;
12247 PyObject * obj3 = 0 ;
12248 PyObject * obj4 = 0 ;
12249 PyObject * obj5 = 0 ;
12250 PyObject * obj6 = 0 ;
12251 PyObject * obj7 = 0 ;
12252 PyObject * obj8 = 0 ;
12253 PyObject * obj9 = 0 ;
12254 PyObject * obj10 = 0 ;
12255 char *kwnames[] = {
12256 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12257 };
12258
12259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12264 arg3 = (int) SWIG_AsInt(obj2);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 arg4 = (int) SWIG_AsInt(obj3);
12267 if (PyErr_Occurred()) SWIG_fail;
12268 arg5 = (int) SWIG_AsInt(obj4);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 arg6 = (int) SWIG_AsInt(obj5);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 if (obj6) {
12273 {
12274 arg7 = &temp7;
12275 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12276 }
12277 }
12278 if (obj7) {
12279 {
12280 arg8 = &temp8;
12281 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12282 }
12283 }
12284 if (obj8) {
12285 arg9 = (long) SWIG_AsLong(obj8);
12286 if (PyErr_Occurred()) SWIG_fail;
12287 }
12288 if (obj9) {
12289 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12290 SWIG_POINTER_EXCEPTION | 0)) == -1)
12291 SWIG_fail;
12292 if (arg10 == NULL) {
12293 PyErr_SetString(PyExc_TypeError,"null reference");
12294 SWIG_fail;
12295 }
12296 }
12297 if (obj10) {
12298 {
12299 arg11 = wxString_in_helper(obj10);
12300 if (arg11 == NULL) SWIG_fail;
12301 temp11 = True;
12302 }
12303 }
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 {
12312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12313 }
12314 {
12315 if (temp11)
12316 delete arg11;
12317 }
12318 return resultobj;
12319 fail:
12320 {
12321 if (temp11)
12322 delete arg11;
12323 }
12324 return NULL;
12325 }
12326
12327
12328 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12329 PyObject *resultobj;
12330 wxSlider *arg1 = (wxSlider *) 0 ;
12331 int result;
12332 PyObject * obj0 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12340 {
12341 PyThreadState* __tstate = wxPyBeginAllowThreads();
12342 result = (int)((wxSlider const *)arg1)->GetValue();
12343
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
12347 resultobj = SWIG_FromInt((int)result);
12348 return resultobj;
12349 fail:
12350 return NULL;
12351 }
12352
12353
12354 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj;
12356 wxSlider *arg1 = (wxSlider *) 0 ;
12357 int arg2 ;
12358 PyObject * obj0 = 0 ;
12359 PyObject * obj1 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self",(char *) "value", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12367 arg2 = (int) SWIG_AsInt(obj1);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 {
12370 PyThreadState* __tstate = wxPyBeginAllowThreads();
12371 (arg1)->SetValue(arg2);
12372
12373 wxPyEndAllowThreads(__tstate);
12374 if (PyErr_Occurred()) SWIG_fail;
12375 }
12376 Py_INCREF(Py_None); resultobj = Py_None;
12377 return resultobj;
12378 fail:
12379 return NULL;
12380 }
12381
12382
12383 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12384 PyObject *resultobj;
12385 wxSlider *arg1 = (wxSlider *) 0 ;
12386 int arg2 ;
12387 int arg3 ;
12388 PyObject * obj0 = 0 ;
12389 PyObject * obj1 = 0 ;
12390 PyObject * obj2 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12398 arg2 = (int) SWIG_AsInt(obj1);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 arg3 = (int) SWIG_AsInt(obj2);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 {
12403 PyThreadState* __tstate = wxPyBeginAllowThreads();
12404 (arg1)->SetRange(arg2,arg3);
12405
12406 wxPyEndAllowThreads(__tstate);
12407 if (PyErr_Occurred()) SWIG_fail;
12408 }
12409 Py_INCREF(Py_None); resultobj = Py_None;
12410 return resultobj;
12411 fail:
12412 return NULL;
12413 }
12414
12415
12416 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12417 PyObject *resultobj;
12418 wxSlider *arg1 = (wxSlider *) 0 ;
12419 int result;
12420 PyObject * obj0 = 0 ;
12421 char *kwnames[] = {
12422 (char *) "self", NULL
12423 };
12424
12425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 result = (int)((wxSlider const *)arg1)->GetMin();
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 resultobj = SWIG_FromInt((int)result);
12436 return resultobj;
12437 fail:
12438 return NULL;
12439 }
12440
12441
12442 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12443 PyObject *resultobj;
12444 wxSlider *arg1 = (wxSlider *) 0 ;
12445 int result;
12446 PyObject * obj0 = 0 ;
12447 char *kwnames[] = {
12448 (char *) "self", NULL
12449 };
12450
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 result = (int)((wxSlider const *)arg1)->GetMax();
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 resultobj = SWIG_FromInt((int)result);
12462 return resultobj;
12463 fail:
12464 return NULL;
12465 }
12466
12467
12468 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxSlider *arg1 = (wxSlider *) 0 ;
12471 int arg2 ;
12472 PyObject * obj0 = 0 ;
12473 PyObject * obj1 = 0 ;
12474 char *kwnames[] = {
12475 (char *) "self",(char *) "minValue", NULL
12476 };
12477
12478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12481 arg2 = (int) SWIG_AsInt(obj1);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 {
12484 PyThreadState* __tstate = wxPyBeginAllowThreads();
12485 (arg1)->SetMin(arg2);
12486
12487 wxPyEndAllowThreads(__tstate);
12488 if (PyErr_Occurred()) SWIG_fail;
12489 }
12490 Py_INCREF(Py_None); resultobj = Py_None;
12491 return resultobj;
12492 fail:
12493 return NULL;
12494 }
12495
12496
12497 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12498 PyObject *resultobj;
12499 wxSlider *arg1 = (wxSlider *) 0 ;
12500 int arg2 ;
12501 PyObject * obj0 = 0 ;
12502 PyObject * obj1 = 0 ;
12503 char *kwnames[] = {
12504 (char *) "self",(char *) "maxValue", NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12510 arg2 = (int) SWIG_AsInt(obj1);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 (arg1)->SetMax(arg2);
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 Py_INCREF(Py_None); resultobj = Py_None;
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxSlider *arg1 = (wxSlider *) 0 ;
12529 int arg2 ;
12530 PyObject * obj0 = 0 ;
12531 PyObject * obj1 = 0 ;
12532 char *kwnames[] = {
12533 (char *) "self",(char *) "lineSize", NULL
12534 };
12535
12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12539 arg2 = (int) SWIG_AsInt(obj1);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 {
12542 PyThreadState* __tstate = wxPyBeginAllowThreads();
12543 (arg1)->SetLineSize(arg2);
12544
12545 wxPyEndAllowThreads(__tstate);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 }
12548 Py_INCREF(Py_None); resultobj = Py_None;
12549 return resultobj;
12550 fail:
12551 return NULL;
12552 }
12553
12554
12555 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12556 PyObject *resultobj;
12557 wxSlider *arg1 = (wxSlider *) 0 ;
12558 int arg2 ;
12559 PyObject * obj0 = 0 ;
12560 PyObject * obj1 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self",(char *) "pageSize", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12568 arg2 = (int) SWIG_AsInt(obj1);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 (arg1)->SetPageSize(arg2);
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 Py_INCREF(Py_None); resultobj = Py_None;
12578 return resultobj;
12579 fail:
12580 return NULL;
12581 }
12582
12583
12584 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj;
12586 wxSlider *arg1 = (wxSlider *) 0 ;
12587 int result;
12588 PyObject * obj0 = 0 ;
12589 char *kwnames[] = {
12590 (char *) "self", NULL
12591 };
12592
12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 result = (int)((wxSlider const *)arg1)->GetLineSize();
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 resultobj = SWIG_FromInt((int)result);
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxSlider *arg1 = (wxSlider *) 0 ;
12613 int result;
12614 PyObject * obj0 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "self", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = (int)((wxSlider const *)arg1)->GetPageSize();
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 resultobj = SWIG_FromInt((int)result);
12630 return resultobj;
12631 fail:
12632 return NULL;
12633 }
12634
12635
12636 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12637 PyObject *resultobj;
12638 wxSlider *arg1 = (wxSlider *) 0 ;
12639 int arg2 ;
12640 PyObject * obj0 = 0 ;
12641 PyObject * obj1 = 0 ;
12642 char *kwnames[] = {
12643 (char *) "self",(char *) "lenPixels", NULL
12644 };
12645
12646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12649 arg2 = (int) SWIG_AsInt(obj1);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 {
12652 PyThreadState* __tstate = wxPyBeginAllowThreads();
12653 (arg1)->SetThumbLength(arg2);
12654
12655 wxPyEndAllowThreads(__tstate);
12656 if (PyErr_Occurred()) SWIG_fail;
12657 }
12658 Py_INCREF(Py_None); resultobj = Py_None;
12659 return resultobj;
12660 fail:
12661 return NULL;
12662 }
12663
12664
12665 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj;
12667 wxSlider *arg1 = (wxSlider *) 0 ;
12668 int result;
12669 PyObject * obj0 = 0 ;
12670 char *kwnames[] = {
12671 (char *) "self", NULL
12672 };
12673
12674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 resultobj = SWIG_FromInt((int)result);
12685 return resultobj;
12686 fail:
12687 return NULL;
12688 }
12689
12690
12691 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12692 PyObject *resultobj;
12693 wxSlider *arg1 = (wxSlider *) 0 ;
12694 int arg2 ;
12695 int arg3 = (int) 1 ;
12696 PyObject * obj0 = 0 ;
12697 PyObject * obj1 = 0 ;
12698 PyObject * obj2 = 0 ;
12699 char *kwnames[] = {
12700 (char *) "self",(char *) "n",(char *) "pos", NULL
12701 };
12702
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12706 arg2 = (int) SWIG_AsInt(obj1);
12707 if (PyErr_Occurred()) SWIG_fail;
12708 if (obj2) {
12709 arg3 = (int) SWIG_AsInt(obj2);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 {
12713 PyThreadState* __tstate = wxPyBeginAllowThreads();
12714 (arg1)->SetTickFreq(arg2,arg3);
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 Py_INCREF(Py_None); resultobj = Py_None;
12720 return resultobj;
12721 fail:
12722 return NULL;
12723 }
12724
12725
12726 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj;
12728 wxSlider *arg1 = (wxSlider *) 0 ;
12729 int result;
12730 PyObject * obj0 = 0 ;
12731 char *kwnames[] = {
12732 (char *) "self", NULL
12733 };
12734
12735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12738 {
12739 PyThreadState* __tstate = wxPyBeginAllowThreads();
12740 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12741
12742 wxPyEndAllowThreads(__tstate);
12743 if (PyErr_Occurred()) SWIG_fail;
12744 }
12745 resultobj = SWIG_FromInt((int)result);
12746 return resultobj;
12747 fail:
12748 return NULL;
12749 }
12750
12751
12752 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12753 PyObject *resultobj;
12754 wxSlider *arg1 = (wxSlider *) 0 ;
12755 PyObject * obj0 = 0 ;
12756 char *kwnames[] = {
12757 (char *) "self", NULL
12758 };
12759
12760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12763 {
12764 PyThreadState* __tstate = wxPyBeginAllowThreads();
12765 (arg1)->ClearTicks();
12766
12767 wxPyEndAllowThreads(__tstate);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 }
12770 Py_INCREF(Py_None); resultobj = Py_None;
12771 return resultobj;
12772 fail:
12773 return NULL;
12774 }
12775
12776
12777 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12778 PyObject *resultobj;
12779 wxSlider *arg1 = (wxSlider *) 0 ;
12780 int arg2 ;
12781 PyObject * obj0 = 0 ;
12782 PyObject * obj1 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self",(char *) "tickPos", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12790 arg2 = (int) SWIG_AsInt(obj1);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 {
12793 PyThreadState* __tstate = wxPyBeginAllowThreads();
12794 (arg1)->SetTick(arg2);
12795
12796 wxPyEndAllowThreads(__tstate);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 }
12799 Py_INCREF(Py_None); resultobj = Py_None;
12800 return resultobj;
12801 fail:
12802 return NULL;
12803 }
12804
12805
12806 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxSlider *arg1 = (wxSlider *) 0 ;
12809 PyObject * obj0 = 0 ;
12810 char *kwnames[] = {
12811 (char *) "self", NULL
12812 };
12813
12814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 (arg1)->ClearSel();
12820
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 Py_INCREF(Py_None); resultobj = Py_None;
12825 return resultobj;
12826 fail:
12827 return NULL;
12828 }
12829
12830
12831 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12832 PyObject *resultobj;
12833 wxSlider *arg1 = (wxSlider *) 0 ;
12834 int result;
12835 PyObject * obj0 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "self", NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12843 {
12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
12845 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12846
12847 wxPyEndAllowThreads(__tstate);
12848 if (PyErr_Occurred()) SWIG_fail;
12849 }
12850 resultobj = SWIG_FromInt((int)result);
12851 return resultobj;
12852 fail:
12853 return NULL;
12854 }
12855
12856
12857 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12858 PyObject *resultobj;
12859 wxSlider *arg1 = (wxSlider *) 0 ;
12860 int result;
12861 PyObject * obj0 = 0 ;
12862 char *kwnames[] = {
12863 (char *) "self", NULL
12864 };
12865
12866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12869 {
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 result = (int)((wxSlider const *)arg1)->GetSelStart();
12872
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 resultobj = SWIG_FromInt((int)result);
12877 return resultobj;
12878 fail:
12879 return NULL;
12880 }
12881
12882
12883 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj;
12885 wxSlider *arg1 = (wxSlider *) 0 ;
12886 int arg2 ;
12887 int arg3 ;
12888 PyObject * obj0 = 0 ;
12889 PyObject * obj1 = 0 ;
12890 PyObject * obj2 = 0 ;
12891 char *kwnames[] = {
12892 (char *) "self",(char *) "min",(char *) "max", NULL
12893 };
12894
12895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12898 arg2 = (int) SWIG_AsInt(obj1);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 arg3 = (int) SWIG_AsInt(obj2);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 (arg1)->SetSelection(arg2,arg3);
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 Py_INCREF(Py_None); resultobj = Py_None;
12910 return resultobj;
12911 fail:
12912 return NULL;
12913 }
12914
12915
12916 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12917 PyObject *obj;
12918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12919 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12920 Py_INCREF(obj);
12921 return Py_BuildValue((char *)"");
12922 }
12923 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12924 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12925 return 1;
12926 }
12927
12928
12929 static PyObject *_wrap_ToggleButtonNameStr_get() {
12930 PyObject *pyobj;
12931
12932 {
12933 #if wxUSE_UNICODE
12934 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12935 #else
12936 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12937 #endif
12938 }
12939 return pyobj;
12940 }
12941
12942
12943 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12944 PyObject *resultobj;
12945 wxWindow *arg1 = (wxWindow *) 0 ;
12946 int arg2 ;
12947 wxString *arg3 = 0 ;
12948 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12949 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12950 wxSize const &arg5_defvalue = wxDefaultSize ;
12951 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12952 long arg6 = (long) 0 ;
12953 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12954 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12955 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12956 wxString *arg8 = (wxString *) &arg8_defvalue ;
12957 wxToggleButton *result;
12958 bool temp3 = False ;
12959 wxPoint temp4 ;
12960 wxSize temp5 ;
12961 bool temp8 = False ;
12962 PyObject * obj0 = 0 ;
12963 PyObject * obj1 = 0 ;
12964 PyObject * obj2 = 0 ;
12965 PyObject * obj3 = 0 ;
12966 PyObject * obj4 = 0 ;
12967 PyObject * obj5 = 0 ;
12968 PyObject * obj6 = 0 ;
12969 PyObject * obj7 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12977 arg2 = (int) SWIG_AsInt(obj1);
12978 if (PyErr_Occurred()) SWIG_fail;
12979 {
12980 arg3 = wxString_in_helper(obj2);
12981 if (arg3 == NULL) SWIG_fail;
12982 temp3 = True;
12983 }
12984 if (obj3) {
12985 {
12986 arg4 = &temp4;
12987 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12988 }
12989 }
12990 if (obj4) {
12991 {
12992 arg5 = &temp5;
12993 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12994 }
12995 }
12996 if (obj5) {
12997 arg6 = (long) SWIG_AsLong(obj5);
12998 if (PyErr_Occurred()) SWIG_fail;
12999 }
13000 if (obj6) {
13001 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13002 SWIG_POINTER_EXCEPTION | 0)) == -1)
13003 SWIG_fail;
13004 if (arg7 == NULL) {
13005 PyErr_SetString(PyExc_TypeError,"null reference");
13006 SWIG_fail;
13007 }
13008 }
13009 if (obj7) {
13010 {
13011 arg8 = wxString_in_helper(obj7);
13012 if (arg8 == NULL) SWIG_fail;
13013 temp8 = True;
13014 }
13015 }
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13024 {
13025 if (temp3)
13026 delete arg3;
13027 }
13028 {
13029 if (temp8)
13030 delete arg8;
13031 }
13032 return resultobj;
13033 fail:
13034 {
13035 if (temp3)
13036 delete arg3;
13037 }
13038 {
13039 if (temp8)
13040 delete arg8;
13041 }
13042 return NULL;
13043 }
13044
13045
13046 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13047 PyObject *resultobj;
13048 wxToggleButton *result;
13049 char *kwnames[] = {
13050 NULL
13051 };
13052
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13054 {
13055 PyThreadState* __tstate = wxPyBeginAllowThreads();
13056 result = (wxToggleButton *)new wxToggleButton();
13057
13058 wxPyEndAllowThreads(__tstate);
13059 if (PyErr_Occurred()) SWIG_fail;
13060 }
13061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13062 return resultobj;
13063 fail:
13064 return NULL;
13065 }
13066
13067
13068 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13069 PyObject *resultobj;
13070 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13071 wxWindow *arg2 = (wxWindow *) 0 ;
13072 int arg3 ;
13073 wxString *arg4 = 0 ;
13074 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13075 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13076 wxSize const &arg6_defvalue = wxDefaultSize ;
13077 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13078 long arg7 = (long) 0 ;
13079 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13080 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13081 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13082 wxString *arg9 = (wxString *) &arg9_defvalue ;
13083 bool result;
13084 bool temp4 = False ;
13085 wxPoint temp5 ;
13086 wxSize temp6 ;
13087 bool temp9 = False ;
13088 PyObject * obj0 = 0 ;
13089 PyObject * obj1 = 0 ;
13090 PyObject * obj2 = 0 ;
13091 PyObject * obj3 = 0 ;
13092 PyObject * obj4 = 0 ;
13093 PyObject * obj5 = 0 ;
13094 PyObject * obj6 = 0 ;
13095 PyObject * obj7 = 0 ;
13096 PyObject * obj8 = 0 ;
13097 char *kwnames[] = {
13098 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13099 };
13100
13101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13104 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13106 arg3 = (int) SWIG_AsInt(obj2);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 {
13109 arg4 = wxString_in_helper(obj3);
13110 if (arg4 == NULL) SWIG_fail;
13111 temp4 = True;
13112 }
13113 if (obj4) {
13114 {
13115 arg5 = &temp5;
13116 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13117 }
13118 }
13119 if (obj5) {
13120 {
13121 arg6 = &temp6;
13122 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13123 }
13124 }
13125 if (obj6) {
13126 arg7 = (long) SWIG_AsLong(obj6);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 if (obj7) {
13130 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13131 SWIG_POINTER_EXCEPTION | 0)) == -1)
13132 SWIG_fail;
13133 if (arg8 == NULL) {
13134 PyErr_SetString(PyExc_TypeError,"null reference");
13135 SWIG_fail;
13136 }
13137 }
13138 if (obj8) {
13139 {
13140 arg9 = wxString_in_helper(obj8);
13141 if (arg9 == NULL) SWIG_fail;
13142 temp9 = True;
13143 }
13144 }
13145 {
13146 PyThreadState* __tstate = wxPyBeginAllowThreads();
13147 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13148
13149 wxPyEndAllowThreads(__tstate);
13150 if (PyErr_Occurred()) SWIG_fail;
13151 }
13152 {
13153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13154 }
13155 {
13156 if (temp4)
13157 delete arg4;
13158 }
13159 {
13160 if (temp9)
13161 delete arg9;
13162 }
13163 return resultobj;
13164 fail:
13165 {
13166 if (temp4)
13167 delete arg4;
13168 }
13169 {
13170 if (temp9)
13171 delete arg9;
13172 }
13173 return NULL;
13174 }
13175
13176
13177 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13178 PyObject *resultobj;
13179 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13180 bool arg2 ;
13181 PyObject * obj0 = 0 ;
13182 PyObject * obj1 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self",(char *) "value", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13190 arg2 = (bool) SWIG_AsBool(obj1);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 {
13193 PyThreadState* __tstate = wxPyBeginAllowThreads();
13194 (arg1)->SetValue(arg2);
13195
13196 wxPyEndAllowThreads(__tstate);
13197 if (PyErr_Occurred()) SWIG_fail;
13198 }
13199 Py_INCREF(Py_None); resultobj = Py_None;
13200 return resultobj;
13201 fail:
13202 return NULL;
13203 }
13204
13205
13206 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13207 PyObject *resultobj;
13208 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13209 bool result;
13210 PyObject * obj0 = 0 ;
13211 char *kwnames[] = {
13212 (char *) "self", NULL
13213 };
13214
13215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
13216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13218 {
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13221
13222 wxPyEndAllowThreads(__tstate);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 {
13226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13227 }
13228 return resultobj;
13229 fail:
13230 return NULL;
13231 }
13232
13233
13234 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13235 PyObject *resultobj;
13236 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13237 wxString *arg2 = 0 ;
13238 bool temp2 = False ;
13239 PyObject * obj0 = 0 ;
13240 PyObject * obj1 = 0 ;
13241 char *kwnames[] = {
13242 (char *) "self",(char *) "label", NULL
13243 };
13244
13245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13248 {
13249 arg2 = wxString_in_helper(obj1);
13250 if (arg2 == NULL) SWIG_fail;
13251 temp2 = True;
13252 }
13253 {
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 (arg1)->SetLabel((wxString const &)*arg2);
13256
13257 wxPyEndAllowThreads(__tstate);
13258 if (PyErr_Occurred()) SWIG_fail;
13259 }
13260 Py_INCREF(Py_None); resultobj = Py_None;
13261 {
13262 if (temp2)
13263 delete arg2;
13264 }
13265 return resultobj;
13266 fail:
13267 {
13268 if (temp2)
13269 delete arg2;
13270 }
13271 return NULL;
13272 }
13273
13274
13275 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13276 PyObject *obj;
13277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13278 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13279 Py_INCREF(obj);
13280 return Py_BuildValue((char *)"");
13281 }
13282 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13283 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13284 return 1;
13285 }
13286
13287
13288 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13289 PyObject *pyobj;
13290
13291 {
13292 #if wxUSE_UNICODE
13293 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13294 #else
13295 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13296 #endif
13297 }
13298 return pyobj;
13299 }
13300
13301
13302 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj;
13304 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13305 size_t result;
13306 PyObject * obj0 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "self", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
13322 return resultobj;
13323 fail:
13324 return NULL;
13325 }
13326
13327
13328 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13331 size_t arg2 ;
13332 wxWindow *result;
13333 PyObject * obj0 = 0 ;
13334 PyObject * obj1 = 0 ;
13335 char *kwnames[] = {
13336 (char *) "self",(char *) "n", NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13342 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 {
13345 PyThreadState* __tstate = wxPyBeginAllowThreads();
13346 result = (wxWindow *)(arg1)->GetPage(arg2);
13347
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 {
13352 resultobj = wxPyMake_wxObject(result);
13353 }
13354 return resultobj;
13355 fail:
13356 return NULL;
13357 }
13358
13359
13360 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13361 PyObject *resultobj;
13362 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13363 int result;
13364 PyObject * obj0 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13372 {
13373 PyThreadState* __tstate = wxPyBeginAllowThreads();
13374 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13375
13376 wxPyEndAllowThreads(__tstate);
13377 if (PyErr_Occurred()) SWIG_fail;
13378 }
13379 resultobj = SWIG_FromInt((int)result);
13380 return resultobj;
13381 fail:
13382 return NULL;
13383 }
13384
13385
13386 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13387 PyObject *resultobj;
13388 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13389 size_t arg2 ;
13390 wxString *arg3 = 0 ;
13391 bool result;
13392 bool temp3 = False ;
13393 PyObject * obj0 = 0 ;
13394 PyObject * obj1 = 0 ;
13395 PyObject * obj2 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "self",(char *) "n",(char *) "strText", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13403 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 {
13406 arg3 = wxString_in_helper(obj2);
13407 if (arg3 == NULL) SWIG_fail;
13408 temp3 = True;
13409 }
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 {
13418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13419 }
13420 {
13421 if (temp3)
13422 delete arg3;
13423 }
13424 return resultobj;
13425 fail:
13426 {
13427 if (temp3)
13428 delete arg3;
13429 }
13430 return NULL;
13431 }
13432
13433
13434 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13435 PyObject *resultobj;
13436 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13437 size_t arg2 ;
13438 wxString result;
13439 PyObject * obj0 = 0 ;
13440 PyObject * obj1 = 0 ;
13441 char *kwnames[] = {
13442 (char *) "self",(char *) "n", NULL
13443 };
13444
13445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13448 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 {
13451 PyThreadState* __tstate = wxPyBeginAllowThreads();
13452 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13453
13454 wxPyEndAllowThreads(__tstate);
13455 if (PyErr_Occurred()) SWIG_fail;
13456 }
13457 {
13458 #if wxUSE_UNICODE
13459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13460 #else
13461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13462 #endif
13463 }
13464 return resultobj;
13465 fail:
13466 return NULL;
13467 }
13468
13469
13470 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13471 PyObject *resultobj;
13472 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13473 wxImageList *arg2 = (wxImageList *) 0 ;
13474 PyObject * obj0 = 0 ;
13475 PyObject * obj1 = 0 ;
13476 char *kwnames[] = {
13477 (char *) "self",(char *) "imageList", NULL
13478 };
13479
13480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13485 {
13486 PyThreadState* __tstate = wxPyBeginAllowThreads();
13487 (arg1)->SetImageList(arg2);
13488
13489 wxPyEndAllowThreads(__tstate);
13490 if (PyErr_Occurred()) SWIG_fail;
13491 }
13492 Py_INCREF(Py_None); resultobj = Py_None;
13493 return resultobj;
13494 fail:
13495 return NULL;
13496 }
13497
13498
13499 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13500 PyObject *resultobj;
13501 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13502 wxImageList *arg2 = (wxImageList *) 0 ;
13503 PyObject * obj0 = 0 ;
13504 PyObject * obj1 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "self",(char *) "imageList", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13513 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13514 {
13515 PyThreadState* __tstate = wxPyBeginAllowThreads();
13516 (arg1)->AssignImageList(arg2);
13517
13518 wxPyEndAllowThreads(__tstate);
13519 if (PyErr_Occurred()) SWIG_fail;
13520 }
13521 Py_INCREF(Py_None); resultobj = Py_None;
13522 return resultobj;
13523 fail:
13524 return NULL;
13525 }
13526
13527
13528 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13529 PyObject *resultobj;
13530 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13531 wxImageList *result;
13532 PyObject * obj0 = 0 ;
13533 char *kwnames[] = {
13534 (char *) "self", NULL
13535 };
13536
13537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13540 {
13541 PyThreadState* __tstate = wxPyBeginAllowThreads();
13542 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13543
13544 wxPyEndAllowThreads(__tstate);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 }
13547 {
13548 resultobj = wxPyMake_wxObject(result);
13549 }
13550 return resultobj;
13551 fail:
13552 return NULL;
13553 }
13554
13555
13556 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13557 PyObject *resultobj;
13558 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13559 size_t arg2 ;
13560 int result;
13561 PyObject * obj0 = 0 ;
13562 PyObject * obj1 = 0 ;
13563 char *kwnames[] = {
13564 (char *) "self",(char *) "n", NULL
13565 };
13566
13567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13570 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 {
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13575
13576 wxPyEndAllowThreads(__tstate);
13577 if (PyErr_Occurred()) SWIG_fail;
13578 }
13579 resultobj = SWIG_FromInt((int)result);
13580 return resultobj;
13581 fail:
13582 return NULL;
13583 }
13584
13585
13586 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13587 PyObject *resultobj;
13588 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13589 size_t arg2 ;
13590 int arg3 ;
13591 bool result;
13592 PyObject * obj0 = 0 ;
13593 PyObject * obj1 = 0 ;
13594 PyObject * obj2 = 0 ;
13595 char *kwnames[] = {
13596 (char *) "self",(char *) "n",(char *) "imageId", NULL
13597 };
13598
13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13602 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13603 if (PyErr_Occurred()) SWIG_fail;
13604 arg3 = (int) SWIG_AsInt(obj2);
13605 if (PyErr_Occurred()) SWIG_fail;
13606 {
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13609
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 {
13614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13615 }
13616 return resultobj;
13617 fail:
13618 return NULL;
13619 }
13620
13621
13622 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject *resultobj;
13624 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13625 wxSize *arg2 = 0 ;
13626 wxSize temp2 ;
13627 PyObject * obj0 = 0 ;
13628 PyObject * obj1 = 0 ;
13629 char *kwnames[] = {
13630 (char *) "self",(char *) "size", NULL
13631 };
13632
13633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13636 {
13637 arg2 = &temp2;
13638 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13639 }
13640 {
13641 PyThreadState* __tstate = wxPyBeginAllowThreads();
13642 (arg1)->SetPageSize((wxSize const &)*arg2);
13643
13644 wxPyEndAllowThreads(__tstate);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
13647 Py_INCREF(Py_None); resultobj = Py_None;
13648 return resultobj;
13649 fail:
13650 return NULL;
13651 }
13652
13653
13654 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13655 PyObject *resultobj;
13656 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13657 wxSize *arg2 = 0 ;
13658 wxSize result;
13659 wxSize temp2 ;
13660 PyObject * obj0 = 0 ;
13661 PyObject * obj1 = 0 ;
13662 char *kwnames[] = {
13663 (char *) "self",(char *) "sizePage", NULL
13664 };
13665
13666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13669 {
13670 arg2 = &temp2;
13671 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13672 }
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13676
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 {
13681 wxSize * resultptr;
13682 resultptr = new wxSize((wxSize &) result);
13683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13684 }
13685 return resultobj;
13686 fail:
13687 return NULL;
13688 }
13689
13690
13691 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13692 PyObject *resultobj;
13693 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13694 size_t arg2 ;
13695 bool result;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self",(char *) "n", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13705 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 {
13708 PyThreadState* __tstate = wxPyBeginAllowThreads();
13709 result = (bool)(arg1)->DeletePage(arg2);
13710
13711 wxPyEndAllowThreads(__tstate);
13712 if (PyErr_Occurred()) SWIG_fail;
13713 }
13714 {
13715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13716 }
13717 return resultobj;
13718 fail:
13719 return NULL;
13720 }
13721
13722
13723 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13724 PyObject *resultobj;
13725 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13726 size_t arg2 ;
13727 bool result;
13728 PyObject * obj0 = 0 ;
13729 PyObject * obj1 = 0 ;
13730 char *kwnames[] = {
13731 (char *) "self",(char *) "n", NULL
13732 };
13733
13734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13737 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 {
13740 PyThreadState* __tstate = wxPyBeginAllowThreads();
13741 result = (bool)(arg1)->RemovePage(arg2);
13742
13743 wxPyEndAllowThreads(__tstate);
13744 if (PyErr_Occurred()) SWIG_fail;
13745 }
13746 {
13747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13748 }
13749 return resultobj;
13750 fail:
13751 return NULL;
13752 }
13753
13754
13755 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj;
13757 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13758 bool result;
13759 PyObject * obj0 = 0 ;
13760 char *kwnames[] = {
13761 (char *) "self", NULL
13762 };
13763
13764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 result = (bool)(arg1)->DeleteAllPages();
13770
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 {
13775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13776 }
13777 return resultobj;
13778 fail:
13779 return NULL;
13780 }
13781
13782
13783 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj;
13785 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13786 wxWindow *arg2 = (wxWindow *) 0 ;
13787 wxString *arg3 = 0 ;
13788 bool arg4 = (bool) False ;
13789 int arg5 = (int) -1 ;
13790 bool result;
13791 bool temp3 = False ;
13792 PyObject * obj0 = 0 ;
13793 PyObject * obj1 = 0 ;
13794 PyObject * obj2 = 0 ;
13795 PyObject * obj3 = 0 ;
13796 PyObject * obj4 = 0 ;
13797 char *kwnames[] = {
13798 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13799 };
13800
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13806 {
13807 arg3 = wxString_in_helper(obj2);
13808 if (arg3 == NULL) SWIG_fail;
13809 temp3 = True;
13810 }
13811 if (obj3) {
13812 arg4 = (bool) SWIG_AsBool(obj3);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 if (obj4) {
13816 arg5 = (int) SWIG_AsInt(obj4);
13817 if (PyErr_Occurred()) SWIG_fail;
13818 }
13819 {
13820 PyThreadState* __tstate = wxPyBeginAllowThreads();
13821 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13822
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
13826 {
13827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13828 }
13829 {
13830 if (temp3)
13831 delete arg3;
13832 }
13833 return resultobj;
13834 fail:
13835 {
13836 if (temp3)
13837 delete arg3;
13838 }
13839 return NULL;
13840 }
13841
13842
13843 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13844 PyObject *resultobj;
13845 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13846 size_t arg2 ;
13847 wxWindow *arg3 = (wxWindow *) 0 ;
13848 wxString *arg4 = 0 ;
13849 bool arg5 = (bool) False ;
13850 int arg6 = (int) -1 ;
13851 bool result;
13852 bool temp4 = False ;
13853 PyObject * obj0 = 0 ;
13854 PyObject * obj1 = 0 ;
13855 PyObject * obj2 = 0 ;
13856 PyObject * obj3 = 0 ;
13857 PyObject * obj4 = 0 ;
13858 PyObject * obj5 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13866 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13870 {
13871 arg4 = wxString_in_helper(obj3);
13872 if (arg4 == NULL) SWIG_fail;
13873 temp4 = True;
13874 }
13875 if (obj4) {
13876 arg5 = (bool) SWIG_AsBool(obj4);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 if (obj5) {
13880 arg6 = (int) SWIG_AsInt(obj5);
13881 if (PyErr_Occurred()) SWIG_fail;
13882 }
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13886
13887 wxPyEndAllowThreads(__tstate);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 }
13890 {
13891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13892 }
13893 {
13894 if (temp4)
13895 delete arg4;
13896 }
13897 return resultobj;
13898 fail:
13899 {
13900 if (temp4)
13901 delete arg4;
13902 }
13903 return NULL;
13904 }
13905
13906
13907 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13910 size_t arg2 ;
13911 int result;
13912 PyObject * obj0 = 0 ;
13913 PyObject * obj1 = 0 ;
13914 char *kwnames[] = {
13915 (char *) "self",(char *) "n", NULL
13916 };
13917
13918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13921 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13922 if (PyErr_Occurred()) SWIG_fail;
13923 {
13924 PyThreadState* __tstate = wxPyBeginAllowThreads();
13925 result = (int)(arg1)->SetSelection(arg2);
13926
13927 wxPyEndAllowThreads(__tstate);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
13930 resultobj = SWIG_FromInt((int)result);
13931 return resultobj;
13932 fail:
13933 return NULL;
13934 }
13935
13936
13937 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13938 PyObject *resultobj;
13939 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13940 bool arg2 = (bool) True ;
13941 PyObject * obj0 = 0 ;
13942 PyObject * obj1 = 0 ;
13943 char *kwnames[] = {
13944 (char *) "self",(char *) "forward", NULL
13945 };
13946
13947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13950 if (obj1) {
13951 arg2 = (bool) SWIG_AsBool(obj1);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 (arg1)->AdvanceSelection(arg2);
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
13961 Py_INCREF(Py_None); resultobj = Py_None;
13962 return resultobj;
13963 fail:
13964 return NULL;
13965 }
13966
13967
13968 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13969 PyObject *obj;
13970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13971 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13972 Py_INCREF(obj);
13973 return Py_BuildValue((char *)"");
13974 }
13975 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13976 PyObject *resultobj;
13977 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13978 int arg2 = (int) 0 ;
13979 int arg3 = (int) -1 ;
13980 int arg4 = (int) -1 ;
13981 wxBookCtrlEvent *result;
13982 PyObject * obj0 = 0 ;
13983 PyObject * obj1 = 0 ;
13984 PyObject * obj2 = 0 ;
13985 PyObject * obj3 = 0 ;
13986 char *kwnames[] = {
13987 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13991 if (obj0) {
13992 arg1 = (wxEventType) SWIG_AsInt(obj0);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 if (obj1) {
13996 arg2 = (int) SWIG_AsInt(obj1);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
13999 if (obj2) {
14000 arg3 = (int) SWIG_AsInt(obj2);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 }
14003 if (obj3) {
14004 arg4 = (int) SWIG_AsInt(obj3);
14005 if (PyErr_Occurred()) SWIG_fail;
14006 }
14007 {
14008 PyThreadState* __tstate = wxPyBeginAllowThreads();
14009 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14010
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
14014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14015 return resultobj;
14016 fail:
14017 return NULL;
14018 }
14019
14020
14021 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14022 PyObject *resultobj;
14023 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14024 int result;
14025 PyObject * obj0 = 0 ;
14026 char *kwnames[] = {
14027 (char *) "self", NULL
14028 };
14029
14030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14036
14037 wxPyEndAllowThreads(__tstate);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 }
14040 resultobj = SWIG_FromInt((int)result);
14041 return resultobj;
14042 fail:
14043 return NULL;
14044 }
14045
14046
14047 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14048 PyObject *resultobj;
14049 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14050 int arg2 ;
14051 PyObject * obj0 = 0 ;
14052 PyObject * obj1 = 0 ;
14053 char *kwnames[] = {
14054 (char *) "self",(char *) "nSel", NULL
14055 };
14056
14057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14060 arg2 = (int) SWIG_AsInt(obj1);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 (arg1)->SetSelection(arg2);
14065
14066 wxPyEndAllowThreads(__tstate);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 Py_INCREF(Py_None); resultobj = Py_None;
14070 return resultobj;
14071 fail:
14072 return NULL;
14073 }
14074
14075
14076 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14077 PyObject *resultobj;
14078 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14079 int result;
14080 PyObject * obj0 = 0 ;
14081 char *kwnames[] = {
14082 (char *) "self", NULL
14083 };
14084
14085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 resultobj = SWIG_FromInt((int)result);
14096 return resultobj;
14097 fail:
14098 return NULL;
14099 }
14100
14101
14102 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14103 PyObject *resultobj;
14104 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14105 int arg2 ;
14106 PyObject * obj0 = 0 ;
14107 PyObject * obj1 = 0 ;
14108 char *kwnames[] = {
14109 (char *) "self",(char *) "nOldSel", NULL
14110 };
14111
14112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14115 arg2 = (int) SWIG_AsInt(obj1);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 {
14118 PyThreadState* __tstate = wxPyBeginAllowThreads();
14119 (arg1)->SetOldSelection(arg2);
14120
14121 wxPyEndAllowThreads(__tstate);
14122 if (PyErr_Occurred()) SWIG_fail;
14123 }
14124 Py_INCREF(Py_None); resultobj = Py_None;
14125 return resultobj;
14126 fail:
14127 return NULL;
14128 }
14129
14130
14131 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14132 PyObject *obj;
14133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14134 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14135 Py_INCREF(obj);
14136 return Py_BuildValue((char *)"");
14137 }
14138 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14139 PyObject *resultobj;
14140 wxWindow *arg1 = (wxWindow *) 0 ;
14141 int arg2 = (int) -1 ;
14142 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14143 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14144 wxSize const &arg4_defvalue = wxDefaultSize ;
14145 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14146 long arg5 = (long) 0 ;
14147 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14148 wxString *arg6 = (wxString *) &arg6_defvalue ;
14149 wxNotebook *result;
14150 wxPoint temp3 ;
14151 wxSize temp4 ;
14152 bool temp6 = False ;
14153 PyObject * obj0 = 0 ;
14154 PyObject * obj1 = 0 ;
14155 PyObject * obj2 = 0 ;
14156 PyObject * obj3 = 0 ;
14157 PyObject * obj4 = 0 ;
14158 PyObject * obj5 = 0 ;
14159 char *kwnames[] = {
14160 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14166 if (obj1) {
14167 arg2 = (int) SWIG_AsInt(obj1);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 if (obj2) {
14171 {
14172 arg3 = &temp3;
14173 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14174 }
14175 }
14176 if (obj3) {
14177 {
14178 arg4 = &temp4;
14179 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14180 }
14181 }
14182 if (obj4) {
14183 arg5 = (long) SWIG_AsLong(obj4);
14184 if (PyErr_Occurred()) SWIG_fail;
14185 }
14186 if (obj5) {
14187 {
14188 arg6 = wxString_in_helper(obj5);
14189 if (arg6 == NULL) SWIG_fail;
14190 temp6 = True;
14191 }
14192 }
14193 {
14194 PyThreadState* __tstate = wxPyBeginAllowThreads();
14195 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14196
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
14200 {
14201 resultobj = wxPyMake_wxObject(result);
14202 }
14203 {
14204 if (temp6)
14205 delete arg6;
14206 }
14207 return resultobj;
14208 fail:
14209 {
14210 if (temp6)
14211 delete arg6;
14212 }
14213 return NULL;
14214 }
14215
14216
14217 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14218 PyObject *resultobj;
14219 wxNotebook *result;
14220 char *kwnames[] = {
14221 NULL
14222 };
14223
14224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14225 {
14226 PyThreadState* __tstate = wxPyBeginAllowThreads();
14227 result = (wxNotebook *)new wxNotebook();
14228
14229 wxPyEndAllowThreads(__tstate);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 {
14233 resultobj = wxPyMake_wxObject(result);
14234 }
14235 return resultobj;
14236 fail:
14237 return NULL;
14238 }
14239
14240
14241 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14242 PyObject *resultobj;
14243 wxNotebook *arg1 = (wxNotebook *) 0 ;
14244 wxWindow *arg2 = (wxWindow *) 0 ;
14245 int arg3 ;
14246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14248 wxSize const &arg5_defvalue = wxDefaultSize ;
14249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14250 long arg6 = (long) 0 ;
14251 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14252 wxString *arg7 = (wxString *) &arg7_defvalue ;
14253 bool result;
14254 wxPoint temp4 ;
14255 wxSize temp5 ;
14256 bool temp7 = False ;
14257 PyObject * obj0 = 0 ;
14258 PyObject * obj1 = 0 ;
14259 PyObject * obj2 = 0 ;
14260 PyObject * obj3 = 0 ;
14261 PyObject * obj4 = 0 ;
14262 PyObject * obj5 = 0 ;
14263 PyObject * obj6 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14273 arg3 = (int) SWIG_AsInt(obj2);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 if (obj3) {
14276 {
14277 arg4 = &temp4;
14278 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14279 }
14280 }
14281 if (obj4) {
14282 {
14283 arg5 = &temp5;
14284 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14285 }
14286 }
14287 if (obj5) {
14288 arg6 = (long) SWIG_AsLong(obj5);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 }
14291 if (obj6) {
14292 {
14293 arg7 = wxString_in_helper(obj6);
14294 if (arg7 == NULL) SWIG_fail;
14295 temp7 = True;
14296 }
14297 }
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14301
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 {
14306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14307 }
14308 {
14309 if (temp7)
14310 delete arg7;
14311 }
14312 return resultobj;
14313 fail:
14314 {
14315 if (temp7)
14316 delete arg7;
14317 }
14318 return NULL;
14319 }
14320
14321
14322 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj;
14324 wxNotebook *arg1 = (wxNotebook *) 0 ;
14325 int result;
14326 PyObject * obj0 = 0 ;
14327 char *kwnames[] = {
14328 (char *) "self", NULL
14329 };
14330
14331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14334 {
14335 PyThreadState* __tstate = wxPyBeginAllowThreads();
14336 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14337
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 resultobj = SWIG_FromInt((int)result);
14342 return resultobj;
14343 fail:
14344 return NULL;
14345 }
14346
14347
14348 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14349 PyObject *resultobj;
14350 wxNotebook *arg1 = (wxNotebook *) 0 ;
14351 wxSize *arg2 = 0 ;
14352 wxSize temp2 ;
14353 PyObject * obj0 = 0 ;
14354 PyObject * obj1 = 0 ;
14355 char *kwnames[] = {
14356 (char *) "self",(char *) "padding", NULL
14357 };
14358
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14362 {
14363 arg2 = &temp2;
14364 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14365 }
14366 {
14367 PyThreadState* __tstate = wxPyBeginAllowThreads();
14368 (arg1)->SetPadding((wxSize const &)*arg2);
14369
14370 wxPyEndAllowThreads(__tstate);
14371 if (PyErr_Occurred()) SWIG_fail;
14372 }
14373 Py_INCREF(Py_None); resultobj = Py_None;
14374 return resultobj;
14375 fail:
14376 return NULL;
14377 }
14378
14379
14380 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14381 PyObject *resultobj;
14382 wxNotebook *arg1 = (wxNotebook *) 0 ;
14383 wxSize *arg2 = 0 ;
14384 wxSize temp2 ;
14385 PyObject * obj0 = 0 ;
14386 PyObject * obj1 = 0 ;
14387 char *kwnames[] = {
14388 (char *) "self",(char *) "sz", NULL
14389 };
14390
14391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14394 {
14395 arg2 = &temp2;
14396 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14397 }
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 (arg1)->SetTabSize((wxSize const &)*arg2);
14401
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 Py_INCREF(Py_None); resultobj = Py_None;
14406 return resultobj;
14407 fail:
14408 return NULL;
14409 }
14410
14411
14412 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14413 PyObject *resultobj;
14414 wxNotebook *arg1 = (wxNotebook *) 0 ;
14415 wxPoint *arg2 = 0 ;
14416 long *arg3 = (long *) 0 ;
14417 int result;
14418 wxPoint temp2 ;
14419 long temp3 ;
14420 PyObject * obj0 = 0 ;
14421 PyObject * obj1 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "self",(char *) "pt", NULL
14424 };
14425
14426 arg3 = &temp3;
14427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14430 {
14431 arg2 = &temp2;
14432 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14433 }
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 resultobj = SWIG_FromInt((int)result);
14442 {
14443 PyObject *o = PyInt_FromLong((long) (*arg3));
14444 resultobj = t_output_helper(resultobj,o);
14445 }
14446 return resultobj;
14447 fail:
14448 return NULL;
14449 }
14450
14451
14452 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14453 PyObject *resultobj;
14454 wxNotebook *arg1 = (wxNotebook *) 0 ;
14455 wxSize *arg2 = 0 ;
14456 wxSize result;
14457 wxSize temp2 ;
14458 PyObject * obj0 = 0 ;
14459 PyObject * obj1 = 0 ;
14460 char *kwnames[] = {
14461 (char *) "self",(char *) "sizePage", NULL
14462 };
14463
14464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14467 {
14468 arg2 = &temp2;
14469 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14470 }
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 {
14479 wxSize * resultptr;
14480 resultptr = new wxSize((wxSize &) result);
14481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14482 }
14483 return resultobj;
14484 fail:
14485 return NULL;
14486 }
14487
14488
14489 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
14490 PyObject *resultobj;
14491 wxNotebook *arg1 = (wxNotebook *) 0 ;
14492 wxWindow *arg2 = (wxWindow *) 0 ;
14493 wxColour *arg3 = 0 ;
14494 wxColour temp3 ;
14495 PyObject * obj0 = 0 ;
14496 PyObject * obj1 = 0 ;
14497 PyObject * obj2 = 0 ;
14498 char *kwnames[] = {
14499 (char *) "self",(char *) "window",(char *) "colour", NULL
14500 };
14501
14502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
14503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14507 {
14508 arg3 = &temp3;
14509 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
14510 }
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
14514
14515 wxPyEndAllowThreads(__tstate);
14516 if (PyErr_Occurred()) SWIG_fail;
14517 }
14518 Py_INCREF(Py_None); resultobj = Py_None;
14519 return resultobj;
14520 fail:
14521 return NULL;
14522 }
14523
14524
14525 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14526 PyObject *obj;
14527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14528 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14529 Py_INCREF(obj);
14530 return Py_BuildValue((char *)"");
14531 }
14532 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14533 PyObject *resultobj;
14534 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14535 int arg2 = (int) 0 ;
14536 int arg3 = (int) -1 ;
14537 int arg4 = (int) -1 ;
14538 wxNotebookEvent *result;
14539 PyObject * obj0 = 0 ;
14540 PyObject * obj1 = 0 ;
14541 PyObject * obj2 = 0 ;
14542 PyObject * obj3 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14548 if (obj0) {
14549 arg1 = (wxEventType) SWIG_AsInt(obj0);
14550 if (PyErr_Occurred()) SWIG_fail;
14551 }
14552 if (obj1) {
14553 arg2 = (int) SWIG_AsInt(obj1);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 if (obj2) {
14557 arg3 = (int) SWIG_AsInt(obj2);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
14560 if (obj3) {
14561 arg4 = (int) SWIG_AsInt(obj3);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14572 return resultobj;
14573 fail:
14574 return NULL;
14575 }
14576
14577
14578 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14579 PyObject *obj;
14580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14581 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14582 Py_INCREF(obj);
14583 return Py_BuildValue((char *)"");
14584 }
14585 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14586 PyObject *resultobj;
14587 wxWindow *arg1 = (wxWindow *) 0 ;
14588 int arg2 = (int) -1 ;
14589 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14590 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14591 wxSize const &arg4_defvalue = wxDefaultSize ;
14592 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14593 long arg5 = (long) 0 ;
14594 wxString const &arg6_defvalue = wxPyEmptyString ;
14595 wxString *arg6 = (wxString *) &arg6_defvalue ;
14596 wxListbook *result;
14597 wxPoint temp3 ;
14598 wxSize temp4 ;
14599 bool temp6 = False ;
14600 PyObject * obj0 = 0 ;
14601 PyObject * obj1 = 0 ;
14602 PyObject * obj2 = 0 ;
14603 PyObject * obj3 = 0 ;
14604 PyObject * obj4 = 0 ;
14605 PyObject * obj5 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14613 if (obj1) {
14614 arg2 = (int) SWIG_AsInt(obj1);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 }
14617 if (obj2) {
14618 {
14619 arg3 = &temp3;
14620 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14621 }
14622 }
14623 if (obj3) {
14624 {
14625 arg4 = &temp4;
14626 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14627 }
14628 }
14629 if (obj4) {
14630 arg5 = (long) SWIG_AsLong(obj4);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 if (obj5) {
14634 {
14635 arg6 = wxString_in_helper(obj5);
14636 if (arg6 == NULL) SWIG_fail;
14637 temp6 = True;
14638 }
14639 }
14640 {
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14643
14644 wxPyEndAllowThreads(__tstate);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
14647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14648 {
14649 if (temp6)
14650 delete arg6;
14651 }
14652 return resultobj;
14653 fail:
14654 {
14655 if (temp6)
14656 delete arg6;
14657 }
14658 return NULL;
14659 }
14660
14661
14662 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxListbook *result;
14665 char *kwnames[] = {
14666 NULL
14667 };
14668
14669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14670 {
14671 PyThreadState* __tstate = wxPyBeginAllowThreads();
14672 result = (wxListbook *)new wxListbook();
14673
14674 wxPyEndAllowThreads(__tstate);
14675 if (PyErr_Occurred()) SWIG_fail;
14676 }
14677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14678 return resultobj;
14679 fail:
14680 return NULL;
14681 }
14682
14683
14684 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14685 PyObject *resultobj;
14686 wxListbook *arg1 = (wxListbook *) 0 ;
14687 wxWindow *arg2 = (wxWindow *) 0 ;
14688 int arg3 ;
14689 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14690 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14691 wxSize const &arg5_defvalue = wxDefaultSize ;
14692 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14693 long arg6 = (long) 0 ;
14694 wxString const &arg7_defvalue = wxPyEmptyString ;
14695 wxString *arg7 = (wxString *) &arg7_defvalue ;
14696 bool result;
14697 wxPoint temp4 ;
14698 wxSize temp5 ;
14699 bool temp7 = False ;
14700 PyObject * obj0 = 0 ;
14701 PyObject * obj1 = 0 ;
14702 PyObject * obj2 = 0 ;
14703 PyObject * obj3 = 0 ;
14704 PyObject * obj4 = 0 ;
14705 PyObject * obj5 = 0 ;
14706 PyObject * obj6 = 0 ;
14707 char *kwnames[] = {
14708 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14709 };
14710
14711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14714 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14716 arg3 = (int) SWIG_AsInt(obj2);
14717 if (PyErr_Occurred()) SWIG_fail;
14718 if (obj3) {
14719 {
14720 arg4 = &temp4;
14721 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14722 }
14723 }
14724 if (obj4) {
14725 {
14726 arg5 = &temp5;
14727 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14728 }
14729 }
14730 if (obj5) {
14731 arg6 = (long) SWIG_AsLong(obj5);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 if (obj6) {
14735 {
14736 arg7 = wxString_in_helper(obj6);
14737 if (arg7 == NULL) SWIG_fail;
14738 temp7 = True;
14739 }
14740 }
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14744
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 {
14749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14750 }
14751 {
14752 if (temp7)
14753 delete arg7;
14754 }
14755 return resultobj;
14756 fail:
14757 {
14758 if (temp7)
14759 delete arg7;
14760 }
14761 return NULL;
14762 }
14763
14764
14765 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14766 PyObject *resultobj;
14767 wxListbook *arg1 = (wxListbook *) 0 ;
14768 bool result;
14769 PyObject * obj0 = 0 ;
14770 char *kwnames[] = {
14771 (char *) "self", NULL
14772 };
14773
14774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 result = (bool)((wxListbook const *)arg1)->IsVertical();
14780
14781 wxPyEndAllowThreads(__tstate);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 {
14785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14786 }
14787 return resultobj;
14788 fail:
14789 return NULL;
14790 }
14791
14792
14793 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14794 PyObject *obj;
14795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14796 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14797 Py_INCREF(obj);
14798 return Py_BuildValue((char *)"");
14799 }
14800 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14801 PyObject *resultobj;
14802 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14803 int arg2 = (int) 0 ;
14804 int arg3 = (int) -1 ;
14805 int arg4 = (int) -1 ;
14806 wxListbookEvent *result;
14807 PyObject * obj0 = 0 ;
14808 PyObject * obj1 = 0 ;
14809 PyObject * obj2 = 0 ;
14810 PyObject * obj3 = 0 ;
14811 char *kwnames[] = {
14812 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14813 };
14814
14815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14816 if (obj0) {
14817 arg1 = (wxEventType) SWIG_AsInt(obj0);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 if (obj1) {
14821 arg2 = (int) SWIG_AsInt(obj1);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 if (obj2) {
14825 arg3 = (int) SWIG_AsInt(obj2);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 if (obj3) {
14829 arg4 = (int) SWIG_AsInt(obj3);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
14832 {
14833 PyThreadState* __tstate = wxPyBeginAllowThreads();
14834 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14835
14836 wxPyEndAllowThreads(__tstate);
14837 if (PyErr_Occurred()) SWIG_fail;
14838 }
14839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14840 return resultobj;
14841 fail:
14842 return NULL;
14843 }
14844
14845
14846 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14847 PyObject *obj;
14848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14849 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14850 Py_INCREF(obj);
14851 return Py_BuildValue((char *)"");
14852 }
14853 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14854 PyObject *resultobj;
14855 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14856 wxBookCtrlSizer *result;
14857 PyObject * obj0 = 0 ;
14858 char *kwnames[] = {
14859 (char *) "nb", NULL
14860 };
14861
14862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14865 {
14866 PyThreadState* __tstate = wxPyBeginAllowThreads();
14867 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14868
14869 wxPyEndAllowThreads(__tstate);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14873 return resultobj;
14874 fail:
14875 return NULL;
14876 }
14877
14878
14879 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14880 PyObject *resultobj;
14881 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14882 PyObject * obj0 = 0 ;
14883 char *kwnames[] = {
14884 (char *) "self", NULL
14885 };
14886
14887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 (arg1)->RecalcSizes();
14893
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 Py_INCREF(Py_None); resultobj = Py_None;
14898 return resultobj;
14899 fail:
14900 return NULL;
14901 }
14902
14903
14904 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14905 PyObject *resultobj;
14906 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14907 wxSize result;
14908 PyObject * obj0 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "self", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (arg1)->CalcMin();
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 {
14924 wxSize * resultptr;
14925 resultptr = new wxSize((wxSize &) result);
14926 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14927 }
14928 return resultobj;
14929 fail:
14930 return NULL;
14931 }
14932
14933
14934 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj;
14936 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14937 wxBookCtrl *result;
14938 PyObject * obj0 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14946 {
14947 PyThreadState* __tstate = wxPyBeginAllowThreads();
14948 result = (wxBookCtrl *)(arg1)->GetControl();
14949
14950 wxPyEndAllowThreads(__tstate);
14951 if (PyErr_Occurred()) SWIG_fail;
14952 }
14953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14954 return resultobj;
14955 fail:
14956 return NULL;
14957 }
14958
14959
14960 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14961 PyObject *obj;
14962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14963 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14964 Py_INCREF(obj);
14965 return Py_BuildValue((char *)"");
14966 }
14967 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14968 PyObject *resultobj;
14969 wxNotebook *arg1 = (wxNotebook *) 0 ;
14970 wxNotebookSizer *result;
14971 PyObject * obj0 = 0 ;
14972 char *kwnames[] = {
14973 (char *) "nb", NULL
14974 };
14975
14976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14979 {
14980 PyThreadState* __tstate = wxPyBeginAllowThreads();
14981 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14982
14983 wxPyEndAllowThreads(__tstate);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
14986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
14987 return resultobj;
14988 fail:
14989 return NULL;
14990 }
14991
14992
14993 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14994 PyObject *resultobj;
14995 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14996 PyObject * obj0 = 0 ;
14997 char *kwnames[] = {
14998 (char *) "self", NULL
14999 };
15000
15001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15004 {
15005 PyThreadState* __tstate = wxPyBeginAllowThreads();
15006 (arg1)->RecalcSizes();
15007
15008 wxPyEndAllowThreads(__tstate);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 Py_INCREF(Py_None); resultobj = Py_None;
15012 return resultobj;
15013 fail:
15014 return NULL;
15015 }
15016
15017
15018 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15019 PyObject *resultobj;
15020 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15021 wxSize result;
15022 PyObject * obj0 = 0 ;
15023 char *kwnames[] = {
15024 (char *) "self", NULL
15025 };
15026
15027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 result = (arg1)->CalcMin();
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 {
15038 wxSize * resultptr;
15039 resultptr = new wxSize((wxSize &) result);
15040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15041 }
15042 return resultobj;
15043 fail:
15044 return NULL;
15045 }
15046
15047
15048 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15049 PyObject *resultobj;
15050 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15051 wxNotebook *result;
15052 PyObject * obj0 = 0 ;
15053 char *kwnames[] = {
15054 (char *) "self", NULL
15055 };
15056
15057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15060 {
15061 PyThreadState* __tstate = wxPyBeginAllowThreads();
15062 result = (wxNotebook *)(arg1)->GetNotebook();
15063
15064 wxPyEndAllowThreads(__tstate);
15065 if (PyErr_Occurred()) SWIG_fail;
15066 }
15067 {
15068 resultobj = wxPyMake_wxObject(result);
15069 }
15070 return resultobj;
15071 fail:
15072 return NULL;
15073 }
15074
15075
15076 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15077 PyObject *obj;
15078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15079 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15080 Py_INCREF(obj);
15081 return Py_BuildValue((char *)"");
15082 }
15083 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15084 PyObject *resultobj;
15085 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15086 int result;
15087 PyObject * obj0 = 0 ;
15088 char *kwnames[] = {
15089 (char *) "self", NULL
15090 };
15091
15092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15095 {
15096 PyThreadState* __tstate = wxPyBeginAllowThreads();
15097 result = (int)(arg1)->GetId();
15098
15099 wxPyEndAllowThreads(__tstate);
15100 if (PyErr_Occurred()) SWIG_fail;
15101 }
15102 resultobj = SWIG_FromInt((int)result);
15103 return resultobj;
15104 fail:
15105 return NULL;
15106 }
15107
15108
15109 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15110 PyObject *resultobj;
15111 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15112 wxControl *result;
15113 PyObject * obj0 = 0 ;
15114 char *kwnames[] = {
15115 (char *) "self", NULL
15116 };
15117
15118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 result = (wxControl *)(arg1)->GetControl();
15124
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 {
15129 resultobj = wxPyMake_wxObject(result);
15130 }
15131 return resultobj;
15132 fail:
15133 return NULL;
15134 }
15135
15136
15137 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15138 PyObject *resultobj;
15139 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15140 wxToolBarBase *result;
15141 PyObject * obj0 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "self", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 result = (wxToolBarBase *)(arg1)->GetToolBar();
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 {
15157 resultobj = wxPyMake_wxObject(result);
15158 }
15159 return resultobj;
15160 fail:
15161 return NULL;
15162 }
15163
15164
15165 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15166 PyObject *resultobj;
15167 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15168 int result;
15169 PyObject * obj0 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 result = (int)(arg1)->IsButton();
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 resultobj = SWIG_FromInt((int)result);
15185 return resultobj;
15186 fail:
15187 return NULL;
15188 }
15189
15190
15191 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj;
15193 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15194 int result;
15195 PyObject * obj0 = 0 ;
15196 char *kwnames[] = {
15197 (char *) "self", NULL
15198 };
15199
15200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 result = (int)(arg1)->IsControl();
15206
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = SWIG_FromInt((int)result);
15211 return resultobj;
15212 fail:
15213 return NULL;
15214 }
15215
15216
15217 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj;
15219 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15220 int result;
15221 PyObject * obj0 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 result = (int)(arg1)->IsSeparator();
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 resultobj = SWIG_FromInt((int)result);
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15246 int result;
15247 PyObject * obj0 = 0 ;
15248 char *kwnames[] = {
15249 (char *) "self", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15255 {
15256 PyThreadState* __tstate = wxPyBeginAllowThreads();
15257 result = (int)(arg1)->GetStyle();
15258
15259 wxPyEndAllowThreads(__tstate);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 resultobj = SWIG_FromInt((int)result);
15263 return resultobj;
15264 fail:
15265 return NULL;
15266 }
15267
15268
15269 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15270 PyObject *resultobj;
15271 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15272 int result;
15273 PyObject * obj0 = 0 ;
15274 char *kwnames[] = {
15275 (char *) "self", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15281 {
15282 PyThreadState* __tstate = wxPyBeginAllowThreads();
15283 result = (int)(arg1)->GetKind();
15284
15285 wxPyEndAllowThreads(__tstate);
15286 if (PyErr_Occurred()) SWIG_fail;
15287 }
15288 resultobj = SWIG_FromInt((int)result);
15289 return resultobj;
15290 fail:
15291 return NULL;
15292 }
15293
15294
15295 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15296 PyObject *resultobj;
15297 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15298 bool result;
15299 PyObject * obj0 = 0 ;
15300 char *kwnames[] = {
15301 (char *) "self", NULL
15302 };
15303
15304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15307 {
15308 PyThreadState* __tstate = wxPyBeginAllowThreads();
15309 result = (bool)(arg1)->IsEnabled();
15310
15311 wxPyEndAllowThreads(__tstate);
15312 if (PyErr_Occurred()) SWIG_fail;
15313 }
15314 {
15315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15316 }
15317 return resultobj;
15318 fail:
15319 return NULL;
15320 }
15321
15322
15323 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15324 PyObject *resultobj;
15325 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15326 bool result;
15327 PyObject * obj0 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 result = (bool)(arg1)->IsToggled();
15338
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 {
15343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15344 }
15345 return resultobj;
15346 fail:
15347 return NULL;
15348 }
15349
15350
15351 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15352 PyObject *resultobj;
15353 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15354 bool result;
15355 PyObject * obj0 = 0 ;
15356 char *kwnames[] = {
15357 (char *) "self", NULL
15358 };
15359
15360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 result = (bool)(arg1)->CanBeToggled();
15366
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 {
15371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15372 }
15373 return resultobj;
15374 fail:
15375 return NULL;
15376 }
15377
15378
15379 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15380 PyObject *resultobj;
15381 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15382 wxBitmap *result;
15383 PyObject * obj0 = 0 ;
15384 char *kwnames[] = {
15385 (char *) "self", NULL
15386 };
15387
15388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 {
15394 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15395 result = (wxBitmap *) &_result_ref;
15396 }
15397
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 {
15402 wxBitmap* resultptr = new wxBitmap(*result);
15403 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15404 }
15405 return resultobj;
15406 fail:
15407 return NULL;
15408 }
15409
15410
15411 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15412 PyObject *resultobj;
15413 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15414 wxBitmap *result;
15415 PyObject * obj0 = 0 ;
15416 char *kwnames[] = {
15417 (char *) "self", NULL
15418 };
15419
15420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15423 {
15424 PyThreadState* __tstate = wxPyBeginAllowThreads();
15425 {
15426 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15427 result = (wxBitmap *) &_result_ref;
15428 }
15429
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 {
15434 wxBitmap* resultptr = new wxBitmap(*result);
15435 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15436 }
15437 return resultobj;
15438 fail:
15439 return NULL;
15440 }
15441
15442
15443 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15444 PyObject *resultobj;
15445 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15446 wxBitmap result;
15447 PyObject * obj0 = 0 ;
15448 char *kwnames[] = {
15449 (char *) "self", NULL
15450 };
15451
15452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15455 {
15456 PyThreadState* __tstate = wxPyBeginAllowThreads();
15457 result = (arg1)->GetBitmap();
15458
15459 wxPyEndAllowThreads(__tstate);
15460 if (PyErr_Occurred()) SWIG_fail;
15461 }
15462 {
15463 wxBitmap * resultptr;
15464 resultptr = new wxBitmap((wxBitmap &) result);
15465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15466 }
15467 return resultobj;
15468 fail:
15469 return NULL;
15470 }
15471
15472
15473 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15476 wxString result;
15477 PyObject * obj0 = 0 ;
15478 char *kwnames[] = {
15479 (char *) "self", NULL
15480 };
15481
15482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15485 {
15486 PyThreadState* __tstate = wxPyBeginAllowThreads();
15487 result = (arg1)->GetLabel();
15488
15489 wxPyEndAllowThreads(__tstate);
15490 if (PyErr_Occurred()) SWIG_fail;
15491 }
15492 {
15493 #if wxUSE_UNICODE
15494 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15495 #else
15496 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15497 #endif
15498 }
15499 return resultobj;
15500 fail:
15501 return NULL;
15502 }
15503
15504
15505 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15508 wxString result;
15509 PyObject * obj0 = 0 ;
15510 char *kwnames[] = {
15511 (char *) "self", NULL
15512 };
15513
15514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15517 {
15518 PyThreadState* __tstate = wxPyBeginAllowThreads();
15519 result = (arg1)->GetShortHelp();
15520
15521 wxPyEndAllowThreads(__tstate);
15522 if (PyErr_Occurred()) SWIG_fail;
15523 }
15524 {
15525 #if wxUSE_UNICODE
15526 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15527 #else
15528 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15529 #endif
15530 }
15531 return resultobj;
15532 fail:
15533 return NULL;
15534 }
15535
15536
15537 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15538 PyObject *resultobj;
15539 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15540 wxString result;
15541 PyObject * obj0 = 0 ;
15542 char *kwnames[] = {
15543 (char *) "self", NULL
15544 };
15545
15546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15549 {
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 result = (arg1)->GetLongHelp();
15552
15553 wxPyEndAllowThreads(__tstate);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15556 {
15557 #if wxUSE_UNICODE
15558 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15559 #else
15560 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15561 #endif
15562 }
15563 return resultobj;
15564 fail:
15565 return NULL;
15566 }
15567
15568
15569 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15570 PyObject *resultobj;
15571 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15572 bool arg2 ;
15573 bool result;
15574 PyObject * obj0 = 0 ;
15575 PyObject * obj1 = 0 ;
15576 char *kwnames[] = {
15577 (char *) "self",(char *) "enable", NULL
15578 };
15579
15580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15583 arg2 = (bool) SWIG_AsBool(obj1);
15584 if (PyErr_Occurred()) SWIG_fail;
15585 {
15586 PyThreadState* __tstate = wxPyBeginAllowThreads();
15587 result = (bool)(arg1)->Enable(arg2);
15588
15589 wxPyEndAllowThreads(__tstate);
15590 if (PyErr_Occurred()) SWIG_fail;
15591 }
15592 {
15593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15594 }
15595 return resultobj;
15596 fail:
15597 return NULL;
15598 }
15599
15600
15601 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15602 PyObject *resultobj;
15603 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 (arg1)->Toggle();
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 Py_INCREF(Py_None); resultobj = Py_None;
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15629 bool arg2 ;
15630 bool result;
15631 PyObject * obj0 = 0 ;
15632 PyObject * obj1 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "self",(char *) "toggle", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15640 arg2 = (bool) SWIG_AsBool(obj1);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 result = (bool)(arg1)->SetToggle(arg2);
15645
15646 wxPyEndAllowThreads(__tstate);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 }
15649 {
15650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15651 }
15652 return resultobj;
15653 fail:
15654 return NULL;
15655 }
15656
15657
15658 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15659 PyObject *resultobj;
15660 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15661 wxString *arg2 = 0 ;
15662 bool result;
15663 bool temp2 = False ;
15664 PyObject * obj0 = 0 ;
15665 PyObject * obj1 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self",(char *) "help", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15673 {
15674 arg2 = wxString_in_helper(obj1);
15675 if (arg2 == NULL) SWIG_fail;
15676 temp2 = True;
15677 }
15678 {
15679 PyThreadState* __tstate = wxPyBeginAllowThreads();
15680 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15681
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 {
15686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15687 }
15688 {
15689 if (temp2)
15690 delete arg2;
15691 }
15692 return resultobj;
15693 fail:
15694 {
15695 if (temp2)
15696 delete arg2;
15697 }
15698 return NULL;
15699 }
15700
15701
15702 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15703 PyObject *resultobj;
15704 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15705 wxString *arg2 = 0 ;
15706 bool result;
15707 bool temp2 = False ;
15708 PyObject * obj0 = 0 ;
15709 PyObject * obj1 = 0 ;
15710 char *kwnames[] = {
15711 (char *) "self",(char *) "help", NULL
15712 };
15713
15714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15717 {
15718 arg2 = wxString_in_helper(obj1);
15719 if (arg2 == NULL) SWIG_fail;
15720 temp2 = True;
15721 }
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
15729 {
15730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15731 }
15732 {
15733 if (temp2)
15734 delete arg2;
15735 }
15736 return resultobj;
15737 fail:
15738 {
15739 if (temp2)
15740 delete arg2;
15741 }
15742 return NULL;
15743 }
15744
15745
15746 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15747 PyObject *resultobj;
15748 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15749 wxBitmap *arg2 = 0 ;
15750 PyObject * obj0 = 0 ;
15751 PyObject * obj1 = 0 ;
15752 char *kwnames[] = {
15753 (char *) "self",(char *) "bmp", NULL
15754 };
15755
15756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1)
15761 SWIG_fail;
15762 if (arg2 == NULL) {
15763 PyErr_SetString(PyExc_TypeError,"null reference");
15764 SWIG_fail;
15765 }
15766 {
15767 PyThreadState* __tstate = wxPyBeginAllowThreads();
15768 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15769
15770 wxPyEndAllowThreads(__tstate);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 }
15773 Py_INCREF(Py_None); resultobj = Py_None;
15774 return resultobj;
15775 fail:
15776 return NULL;
15777 }
15778
15779
15780 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15781 PyObject *resultobj;
15782 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15783 wxBitmap *arg2 = 0 ;
15784 PyObject * obj0 = 0 ;
15785 PyObject * obj1 = 0 ;
15786 char *kwnames[] = {
15787 (char *) "self",(char *) "bmp", NULL
15788 };
15789
15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15794 SWIG_POINTER_EXCEPTION | 0)) == -1)
15795 SWIG_fail;
15796 if (arg2 == NULL) {
15797 PyErr_SetString(PyExc_TypeError,"null reference");
15798 SWIG_fail;
15799 }
15800 {
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15803
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 Py_INCREF(Py_None); resultobj = Py_None;
15808 return resultobj;
15809 fail:
15810 return NULL;
15811 }
15812
15813
15814 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj;
15816 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15817 wxString *arg2 = 0 ;
15818 bool temp2 = False ;
15819 PyObject * obj0 = 0 ;
15820 PyObject * obj1 = 0 ;
15821 char *kwnames[] = {
15822 (char *) "self",(char *) "label", NULL
15823 };
15824
15825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15828 {
15829 arg2 = wxString_in_helper(obj1);
15830 if (arg2 == NULL) SWIG_fail;
15831 temp2 = True;
15832 }
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 (arg1)->SetLabel((wxString const &)*arg2);
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 Py_INCREF(Py_None); resultobj = Py_None;
15841 {
15842 if (temp2)
15843 delete arg2;
15844 }
15845 return resultobj;
15846 fail:
15847 {
15848 if (temp2)
15849 delete arg2;
15850 }
15851 return NULL;
15852 }
15853
15854
15855 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15856 PyObject *resultobj;
15857 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15858 PyObject * obj0 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "self", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15866 {
15867 PyThreadState* __tstate = wxPyBeginAllowThreads();
15868 (arg1)->Detach();
15869
15870 wxPyEndAllowThreads(__tstate);
15871 if (PyErr_Occurred()) SWIG_fail;
15872 }
15873 Py_INCREF(Py_None); resultobj = Py_None;
15874 return resultobj;
15875 fail:
15876 return NULL;
15877 }
15878
15879
15880 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15881 PyObject *resultobj;
15882 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15883 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15884 PyObject * obj0 = 0 ;
15885 PyObject * obj1 = 0 ;
15886 char *kwnames[] = {
15887 (char *) "self",(char *) "tbar", NULL
15888 };
15889
15890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15893 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 (arg1)->Attach(arg2);
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_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15912 PyObject *result;
15913 PyObject * obj0 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15924
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 resultobj = result;
15929 return resultobj;
15930 fail:
15931 return NULL;
15932 }
15933
15934
15935 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15936 PyObject *resultobj;
15937 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15938 PyObject *arg2 = (PyObject *) 0 ;
15939 PyObject * obj0 = 0 ;
15940 PyObject * obj1 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self",(char *) "clientData", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15948 arg2 = obj1;
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 wxToolBarToolBase_SetClientData(arg1,arg2);
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 Py_INCREF(Py_None); resultobj = Py_None;
15957 return resultobj;
15958 fail:
15959 return NULL;
15960 }
15961
15962
15963 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15964 PyObject *obj;
15965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15966 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15967 Py_INCREF(obj);
15968 return Py_BuildValue((char *)"");
15969 }
15970 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15971 PyObject *resultobj;
15972 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15973 int arg2 ;
15974 wxString *arg3 = 0 ;
15975 wxBitmap *arg4 = 0 ;
15976 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15977 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15978 int arg6 = (int) wxITEM_NORMAL ;
15979 wxString const &arg7_defvalue = wxPyEmptyString ;
15980 wxString *arg7 = (wxString *) &arg7_defvalue ;
15981 wxString const &arg8_defvalue = wxPyEmptyString ;
15982 wxString *arg8 = (wxString *) &arg8_defvalue ;
15983 PyObject *arg9 = (PyObject *) NULL ;
15984 wxToolBarToolBase *result;
15985 bool temp3 = False ;
15986 bool temp7 = False ;
15987 bool temp8 = False ;
15988 PyObject * obj0 = 0 ;
15989 PyObject * obj1 = 0 ;
15990 PyObject * obj2 = 0 ;
15991 PyObject * obj3 = 0 ;
15992 PyObject * obj4 = 0 ;
15993 PyObject * obj5 = 0 ;
15994 PyObject * obj6 = 0 ;
15995 PyObject * obj7 = 0 ;
15996 PyObject * obj8 = 0 ;
15997 char *kwnames[] = {
15998 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15999 };
16000
16001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16004 arg2 = (int) SWIG_AsInt(obj1);
16005 if (PyErr_Occurred()) SWIG_fail;
16006 {
16007 arg3 = wxString_in_helper(obj2);
16008 if (arg3 == NULL) SWIG_fail;
16009 temp3 = True;
16010 }
16011 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16012 SWIG_POINTER_EXCEPTION | 0)) == -1)
16013 SWIG_fail;
16014 if (arg4 == NULL) {
16015 PyErr_SetString(PyExc_TypeError,"null reference");
16016 SWIG_fail;
16017 }
16018 if (obj4) {
16019 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16020 SWIG_POINTER_EXCEPTION | 0)) == -1)
16021 SWIG_fail;
16022 if (arg5 == NULL) {
16023 PyErr_SetString(PyExc_TypeError,"null reference");
16024 SWIG_fail;
16025 }
16026 }
16027 if (obj5) {
16028 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 if (obj6) {
16032 {
16033 arg7 = wxString_in_helper(obj6);
16034 if (arg7 == NULL) SWIG_fail;
16035 temp7 = True;
16036 }
16037 }
16038 if (obj7) {
16039 {
16040 arg8 = wxString_in_helper(obj7);
16041 if (arg8 == NULL) SWIG_fail;
16042 temp8 = True;
16043 }
16044 }
16045 if (obj8) {
16046 arg9 = obj8;
16047 }
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 {
16056 resultobj = wxPyMake_wxObject(result);
16057 }
16058 {
16059 if (temp3)
16060 delete arg3;
16061 }
16062 {
16063 if (temp7)
16064 delete arg7;
16065 }
16066 {
16067 if (temp8)
16068 delete arg8;
16069 }
16070 return resultobj;
16071 fail:
16072 {
16073 if (temp3)
16074 delete arg3;
16075 }
16076 {
16077 if (temp7)
16078 delete arg7;
16079 }
16080 {
16081 if (temp8)
16082 delete arg8;
16083 }
16084 return NULL;
16085 }
16086
16087
16088 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16089 PyObject *resultobj;
16090 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16091 size_t arg2 ;
16092 int arg3 ;
16093 wxString *arg4 = 0 ;
16094 wxBitmap *arg5 = 0 ;
16095 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16096 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16097 int arg7 = (int) wxITEM_NORMAL ;
16098 wxString const &arg8_defvalue = wxPyEmptyString ;
16099 wxString *arg8 = (wxString *) &arg8_defvalue ;
16100 wxString const &arg9_defvalue = wxPyEmptyString ;
16101 wxString *arg9 = (wxString *) &arg9_defvalue ;
16102 PyObject *arg10 = (PyObject *) NULL ;
16103 wxToolBarToolBase *result;
16104 bool temp4 = False ;
16105 bool temp8 = False ;
16106 bool temp9 = False ;
16107 PyObject * obj0 = 0 ;
16108 PyObject * obj1 = 0 ;
16109 PyObject * obj2 = 0 ;
16110 PyObject * obj3 = 0 ;
16111 PyObject * obj4 = 0 ;
16112 PyObject * obj5 = 0 ;
16113 PyObject * obj6 = 0 ;
16114 PyObject * obj7 = 0 ;
16115 PyObject * obj8 = 0 ;
16116 PyObject * obj9 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
16122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16124 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 arg3 = (int) SWIG_AsInt(obj2);
16127 if (PyErr_Occurred()) SWIG_fail;
16128 {
16129 arg4 = wxString_in_helper(obj3);
16130 if (arg4 == NULL) SWIG_fail;
16131 temp4 = True;
16132 }
16133 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16134 SWIG_POINTER_EXCEPTION | 0)) == -1)
16135 SWIG_fail;
16136 if (arg5 == NULL) {
16137 PyErr_SetString(PyExc_TypeError,"null reference");
16138 SWIG_fail;
16139 }
16140 if (obj5) {
16141 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16142 SWIG_POINTER_EXCEPTION | 0)) == -1)
16143 SWIG_fail;
16144 if (arg6 == NULL) {
16145 PyErr_SetString(PyExc_TypeError,"null reference");
16146 SWIG_fail;
16147 }
16148 }
16149 if (obj6) {
16150 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 }
16153 if (obj7) {
16154 {
16155 arg8 = wxString_in_helper(obj7);
16156 if (arg8 == NULL) SWIG_fail;
16157 temp8 = True;
16158 }
16159 }
16160 if (obj8) {
16161 {
16162 arg9 = wxString_in_helper(obj8);
16163 if (arg9 == NULL) SWIG_fail;
16164 temp9 = True;
16165 }
16166 }
16167 if (obj9) {
16168 arg10 = obj9;
16169 }
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 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);
16173
16174 wxPyEndAllowThreads(__tstate);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 }
16177 {
16178 resultobj = wxPyMake_wxObject(result);
16179 }
16180 {
16181 if (temp4)
16182 delete arg4;
16183 }
16184 {
16185 if (temp8)
16186 delete arg8;
16187 }
16188 {
16189 if (temp9)
16190 delete arg9;
16191 }
16192 return resultobj;
16193 fail:
16194 {
16195 if (temp4)
16196 delete arg4;
16197 }
16198 {
16199 if (temp8)
16200 delete arg8;
16201 }
16202 {
16203 if (temp9)
16204 delete arg9;
16205 }
16206 return NULL;
16207 }
16208
16209
16210 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16211 PyObject *resultobj;
16212 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16213 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16214 wxToolBarToolBase *result;
16215 PyObject * obj0 = 0 ;
16216 PyObject * obj1 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "tool", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
16222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234 resultobj = wxPyMake_wxObject(result);
16235 }
16236 return resultobj;
16237 fail:
16238 return NULL;
16239 }
16240
16241
16242 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16243 PyObject *resultobj;
16244 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16245 size_t arg2 ;
16246 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
16247 wxToolBarToolBase *result;
16248 PyObject * obj0 = 0 ;
16249 PyObject * obj1 = 0 ;
16250 PyObject * obj2 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "self",(char *) "pos",(char *) "tool", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
16256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16258 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16262 {
16263 PyThreadState* __tstate = wxPyBeginAllowThreads();
16264 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
16265
16266 wxPyEndAllowThreads(__tstate);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 }
16269 {
16270 resultobj = wxPyMake_wxObject(result);
16271 }
16272 return resultobj;
16273 fail:
16274 return NULL;
16275 }
16276
16277
16278 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj;
16280 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16281 wxControl *arg2 = (wxControl *) 0 ;
16282 wxToolBarToolBase *result;
16283 PyObject * obj0 = 0 ;
16284 PyObject * obj1 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self",(char *) "control", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
16290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 {
16302 resultobj = wxPyMake_wxObject(result);
16303 }
16304 return resultobj;
16305 fail:
16306 return NULL;
16307 }
16308
16309
16310 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16313 size_t arg2 ;
16314 wxControl *arg3 = (wxControl *) 0 ;
16315 wxToolBarToolBase *result;
16316 PyObject * obj0 = 0 ;
16317 PyObject * obj1 = 0 ;
16318 PyObject * obj2 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self",(char *) "pos",(char *) "control", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16326 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 {
16338 resultobj = wxPyMake_wxObject(result);
16339 }
16340 return resultobj;
16341 fail:
16342 return NULL;
16343 }
16344
16345
16346 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16347 PyObject *resultobj;
16348 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16349 int arg2 ;
16350 wxControl *result;
16351 PyObject * obj0 = 0 ;
16352 PyObject * obj1 = 0 ;
16353 char *kwnames[] = {
16354 (char *) "self",(char *) "id", NULL
16355 };
16356
16357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16360 arg2 = (int) SWIG_AsInt(obj1);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (wxControl *)(arg1)->FindControl(arg2);
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 {
16370 resultobj = wxPyMake_wxObject(result);
16371 }
16372 return resultobj;
16373 fail:
16374 return NULL;
16375 }
16376
16377
16378 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16379 PyObject *resultobj;
16380 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16381 wxToolBarToolBase *result;
16382 PyObject * obj0 = 0 ;
16383 char *kwnames[] = {
16384 (char *) "self", NULL
16385 };
16386
16387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16393
16394 wxPyEndAllowThreads(__tstate);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 {
16398 resultobj = wxPyMake_wxObject(result);
16399 }
16400 return resultobj;
16401 fail:
16402 return NULL;
16403 }
16404
16405
16406 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16407 PyObject *resultobj;
16408 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16409 size_t arg2 ;
16410 wxToolBarToolBase *result;
16411 PyObject * obj0 = 0 ;
16412 PyObject * obj1 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self",(char *) "pos", NULL
16415 };
16416
16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16420 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 {
16430 resultobj = wxPyMake_wxObject(result);
16431 }
16432 return resultobj;
16433 fail:
16434 return NULL;
16435 }
16436
16437
16438 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16439 PyObject *resultobj;
16440 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16441 int arg2 ;
16442 wxToolBarToolBase *result;
16443 PyObject * obj0 = 0 ;
16444 PyObject * obj1 = 0 ;
16445 char *kwnames[] = {
16446 (char *) "self",(char *) "id", NULL
16447 };
16448
16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16452 arg2 = (int) SWIG_AsInt(obj1);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 {
16462 resultobj = wxPyMake_wxObject(result);
16463 }
16464 return resultobj;
16465 fail:
16466 return NULL;
16467 }
16468
16469
16470 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16471 PyObject *resultobj;
16472 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16473 size_t arg2 ;
16474 bool result;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "pos", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16484 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
16488 result = (bool)(arg1)->DeleteToolByPos(arg2);
16489
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
16493 {
16494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16495 }
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16505 int arg2 ;
16506 bool result;
16507 PyObject * obj0 = 0 ;
16508 PyObject * obj1 = 0 ;
16509 char *kwnames[] = {
16510 (char *) "self",(char *) "id", NULL
16511 };
16512
16513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16516 arg2 = (int) SWIG_AsInt(obj1);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 {
16519 PyThreadState* __tstate = wxPyBeginAllowThreads();
16520 result = (bool)(arg1)->DeleteTool(arg2);
16521
16522 wxPyEndAllowThreads(__tstate);
16523 if (PyErr_Occurred()) SWIG_fail;
16524 }
16525 {
16526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16527 }
16528 return resultobj;
16529 fail:
16530 return NULL;
16531 }
16532
16533
16534 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16535 PyObject *resultobj;
16536 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16537 PyObject * obj0 = 0 ;
16538 char *kwnames[] = {
16539 (char *) "self", NULL
16540 };
16541
16542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16545 {
16546 PyThreadState* __tstate = wxPyBeginAllowThreads();
16547 (arg1)->ClearTools();
16548
16549 wxPyEndAllowThreads(__tstate);
16550 if (PyErr_Occurred()) SWIG_fail;
16551 }
16552 Py_INCREF(Py_None); resultobj = Py_None;
16553 return resultobj;
16554 fail:
16555 return NULL;
16556 }
16557
16558
16559 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16560 PyObject *resultobj;
16561 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16562 bool result;
16563 PyObject * obj0 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16571 {
16572 PyThreadState* __tstate = wxPyBeginAllowThreads();
16573 result = (bool)(arg1)->Realize();
16574
16575 wxPyEndAllowThreads(__tstate);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 }
16578 {
16579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16580 }
16581 return resultobj;
16582 fail:
16583 return NULL;
16584 }
16585
16586
16587 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj;
16589 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16590 int arg2 ;
16591 bool arg3 ;
16592 PyObject * obj0 = 0 ;
16593 PyObject * obj1 = 0 ;
16594 PyObject * obj2 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "self",(char *) "id",(char *) "enable", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16602 arg2 = (int) SWIG_AsInt(obj1);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 arg3 = (bool) SWIG_AsBool(obj2);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 {
16607 PyThreadState* __tstate = wxPyBeginAllowThreads();
16608 (arg1)->EnableTool(arg2,arg3);
16609
16610 wxPyEndAllowThreads(__tstate);
16611 if (PyErr_Occurred()) SWIG_fail;
16612 }
16613 Py_INCREF(Py_None); resultobj = Py_None;
16614 return resultobj;
16615 fail:
16616 return NULL;
16617 }
16618
16619
16620 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16621 PyObject *resultobj;
16622 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16623 int arg2 ;
16624 bool arg3 ;
16625 PyObject * obj0 = 0 ;
16626 PyObject * obj1 = 0 ;
16627 PyObject * obj2 = 0 ;
16628 char *kwnames[] = {
16629 (char *) "self",(char *) "id",(char *) "toggle", NULL
16630 };
16631
16632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16635 arg2 = (int) SWIG_AsInt(obj1);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 arg3 = (bool) SWIG_AsBool(obj2);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 (arg1)->ToggleTool(arg2,arg3);
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 Py_INCREF(Py_None); resultobj = Py_None;
16647 return resultobj;
16648 fail:
16649 return NULL;
16650 }
16651
16652
16653 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16654 PyObject *resultobj;
16655 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16656 int arg2 ;
16657 bool arg3 ;
16658 PyObject * obj0 = 0 ;
16659 PyObject * obj1 = 0 ;
16660 PyObject * obj2 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self",(char *) "id",(char *) "toggle", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16668 arg2 = (int) SWIG_AsInt(obj1);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 arg3 = (bool) SWIG_AsBool(obj2);
16671 if (PyErr_Occurred()) SWIG_fail;
16672 {
16673 PyThreadState* __tstate = wxPyBeginAllowThreads();
16674 (arg1)->SetToggle(arg2,arg3);
16675
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 Py_INCREF(Py_None); resultobj = Py_None;
16680 return resultobj;
16681 fail:
16682 return NULL;
16683 }
16684
16685
16686 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16687 PyObject *resultobj;
16688 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16689 int arg2 ;
16690 PyObject *result;
16691 PyObject * obj0 = 0 ;
16692 PyObject * obj1 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self",(char *) "id", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16700 arg2 = (int) SWIG_AsInt(obj1);
16701 if (PyErr_Occurred()) SWIG_fail;
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
16704 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16705
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 resultobj = result;
16710 return resultobj;
16711 fail:
16712 return NULL;
16713 }
16714
16715
16716 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16719 int arg2 ;
16720 PyObject *arg3 = (PyObject *) 0 ;
16721 PyObject * obj0 = 0 ;
16722 PyObject * obj1 = 0 ;
16723 PyObject * obj2 = 0 ;
16724 char *kwnames[] = {
16725 (char *) "self",(char *) "id",(char *) "clientData", NULL
16726 };
16727
16728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16731 arg2 = (int) SWIG_AsInt(obj1);
16732 if (PyErr_Occurred()) SWIG_fail;
16733 arg3 = obj2;
16734 {
16735 PyThreadState* __tstate = wxPyBeginAllowThreads();
16736 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16737
16738 wxPyEndAllowThreads(__tstate);
16739 if (PyErr_Occurred()) SWIG_fail;
16740 }
16741 Py_INCREF(Py_None); resultobj = Py_None;
16742 return resultobj;
16743 fail:
16744 return NULL;
16745 }
16746
16747
16748 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16749 PyObject *resultobj;
16750 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16751 int arg2 ;
16752 int result;
16753 PyObject * obj0 = 0 ;
16754 PyObject * obj1 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self",(char *) "id", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16762 arg2 = (int) SWIG_AsInt(obj1);
16763 if (PyErr_Occurred()) SWIG_fail;
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 resultobj = SWIG_FromInt((int)result);
16772 return resultobj;
16773 fail:
16774 return NULL;
16775 }
16776
16777
16778 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16781 int arg2 ;
16782 bool result;
16783 PyObject * obj0 = 0 ;
16784 PyObject * obj1 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self",(char *) "id", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16792 arg2 = (int) SWIG_AsInt(obj1);
16793 if (PyErr_Occurred()) SWIG_fail;
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
16796 result = (bool)(arg1)->GetToolState(arg2);
16797
16798 wxPyEndAllowThreads(__tstate);
16799 if (PyErr_Occurred()) SWIG_fail;
16800 }
16801 {
16802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16803 }
16804 return resultobj;
16805 fail:
16806 return NULL;
16807 }
16808
16809
16810 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16811 PyObject *resultobj;
16812 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16813 int arg2 ;
16814 bool result;
16815 PyObject * obj0 = 0 ;
16816 PyObject * obj1 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self",(char *) "id", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16824 arg2 = (int) SWIG_AsInt(obj1);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 result = (bool)(arg1)->GetToolEnabled(arg2);
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 {
16834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16835 }
16836 return resultobj;
16837 fail:
16838 return NULL;
16839 }
16840
16841
16842 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16843 PyObject *resultobj;
16844 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16845 int arg2 ;
16846 wxString *arg3 = 0 ;
16847 bool temp3 = False ;
16848 PyObject * obj0 = 0 ;
16849 PyObject * obj1 = 0 ;
16850 PyObject * obj2 = 0 ;
16851 char *kwnames[] = {
16852 (char *) "self",(char *) "id",(char *) "helpString", NULL
16853 };
16854
16855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16858 arg2 = (int) SWIG_AsInt(obj1);
16859 if (PyErr_Occurred()) SWIG_fail;
16860 {
16861 arg3 = wxString_in_helper(obj2);
16862 if (arg3 == NULL) SWIG_fail;
16863 temp3 = True;
16864 }
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16868
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 Py_INCREF(Py_None); resultobj = Py_None;
16873 {
16874 if (temp3)
16875 delete arg3;
16876 }
16877 return resultobj;
16878 fail:
16879 {
16880 if (temp3)
16881 delete arg3;
16882 }
16883 return NULL;
16884 }
16885
16886
16887 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16888 PyObject *resultobj;
16889 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16890 int arg2 ;
16891 wxString result;
16892 PyObject * obj0 = 0 ;
16893 PyObject * obj1 = 0 ;
16894 char *kwnames[] = {
16895 (char *) "self",(char *) "id", NULL
16896 };
16897
16898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16901 arg2 = (int) SWIG_AsInt(obj1);
16902 if (PyErr_Occurred()) SWIG_fail;
16903 {
16904 PyThreadState* __tstate = wxPyBeginAllowThreads();
16905 result = (arg1)->GetToolShortHelp(arg2);
16906
16907 wxPyEndAllowThreads(__tstate);
16908 if (PyErr_Occurred()) SWIG_fail;
16909 }
16910 {
16911 #if wxUSE_UNICODE
16912 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16913 #else
16914 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16915 #endif
16916 }
16917 return resultobj;
16918 fail:
16919 return NULL;
16920 }
16921
16922
16923 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16924 PyObject *resultobj;
16925 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16926 int arg2 ;
16927 wxString *arg3 = 0 ;
16928 bool temp3 = False ;
16929 PyObject * obj0 = 0 ;
16930 PyObject * obj1 = 0 ;
16931 PyObject * obj2 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self",(char *) "id",(char *) "helpString", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16939 arg2 = (int) SWIG_AsInt(obj1);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 {
16942 arg3 = wxString_in_helper(obj2);
16943 if (arg3 == NULL) SWIG_fail;
16944 temp3 = True;
16945 }
16946 {
16947 PyThreadState* __tstate = wxPyBeginAllowThreads();
16948 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16949
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 Py_INCREF(Py_None); resultobj = Py_None;
16954 {
16955 if (temp3)
16956 delete arg3;
16957 }
16958 return resultobj;
16959 fail:
16960 {
16961 if (temp3)
16962 delete arg3;
16963 }
16964 return NULL;
16965 }
16966
16967
16968 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16969 PyObject *resultobj;
16970 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16971 int arg2 ;
16972 wxString result;
16973 PyObject * obj0 = 0 ;
16974 PyObject * obj1 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "self",(char *) "id", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16982 arg2 = (int) SWIG_AsInt(obj1);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 {
16985 PyThreadState* __tstate = wxPyBeginAllowThreads();
16986 result = (arg1)->GetToolLongHelp(arg2);
16987
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 {
16992 #if wxUSE_UNICODE
16993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16994 #else
16995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16996 #endif
16997 }
16998 return resultobj;
16999 fail:
17000 return NULL;
17001 }
17002
17003
17004 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17005 PyObject *resultobj;
17006 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17007 int arg2 ;
17008 int arg3 ;
17009 PyObject * obj0 = 0 ;
17010 PyObject * obj1 = 0 ;
17011 PyObject * obj2 = 0 ;
17012 char *kwnames[] = {
17013 (char *) "self",(char *) "x",(char *) "y", NULL
17014 };
17015
17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
17017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17019 arg2 = (int) SWIG_AsInt(obj1);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 arg3 = (int) SWIG_AsInt(obj2);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 {
17024 PyThreadState* __tstate = wxPyBeginAllowThreads();
17025 (arg1)->SetMargins(arg2,arg3);
17026
17027 wxPyEndAllowThreads(__tstate);
17028 if (PyErr_Occurred()) SWIG_fail;
17029 }
17030 Py_INCREF(Py_None); resultobj = Py_None;
17031 return resultobj;
17032 fail:
17033 return NULL;
17034 }
17035
17036
17037 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17038 PyObject *resultobj;
17039 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17040 wxSize *arg2 = 0 ;
17041 wxSize temp2 ;
17042 PyObject * obj0 = 0 ;
17043 PyObject * obj1 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "self",(char *) "size", NULL
17046 };
17047
17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17051 {
17052 arg2 = &temp2;
17053 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17054 }
17055 {
17056 PyThreadState* __tstate = wxPyBeginAllowThreads();
17057 (arg1)->SetMargins((wxSize const &)*arg2);
17058
17059 wxPyEndAllowThreads(__tstate);
17060 if (PyErr_Occurred()) SWIG_fail;
17061 }
17062 Py_INCREF(Py_None); resultobj = Py_None;
17063 return resultobj;
17064 fail:
17065 return NULL;
17066 }
17067
17068
17069 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17070 PyObject *resultobj;
17071 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17072 int arg2 ;
17073 PyObject * obj0 = 0 ;
17074 PyObject * obj1 = 0 ;
17075 char *kwnames[] = {
17076 (char *) "self",(char *) "packing", NULL
17077 };
17078
17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
17080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17082 arg2 = (int) SWIG_AsInt(obj1);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 (arg1)->SetToolPacking(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_SetToolSeparation(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 *) "separation", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",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)->SetToolSeparation(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_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj;
17129 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17130 wxSize result;
17131 PyObject * obj0 = 0 ;
17132 char *kwnames[] = {
17133 (char *) "self", NULL
17134 };
17135
17136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
17137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17139 {
17140 PyThreadState* __tstate = wxPyBeginAllowThreads();
17141 result = (arg1)->GetToolMargins();
17142
17143 wxPyEndAllowThreads(__tstate);
17144 if (PyErr_Occurred()) SWIG_fail;
17145 }
17146 {
17147 wxSize * resultptr;
17148 resultptr = new wxSize((wxSize &) result);
17149 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17150 }
17151 return resultobj;
17152 fail:
17153 return NULL;
17154 }
17155
17156
17157 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17158 PyObject *resultobj;
17159 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17160 wxSize result;
17161 PyObject * obj0 = 0 ;
17162 char *kwnames[] = {
17163 (char *) "self", NULL
17164 };
17165
17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
17167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17169 {
17170 PyThreadState* __tstate = wxPyBeginAllowThreads();
17171 result = (arg1)->GetMargins();
17172
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 {
17177 wxSize * resultptr;
17178 resultptr = new wxSize((wxSize &) result);
17179 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17180 }
17181 return resultobj;
17182 fail:
17183 return NULL;
17184 }
17185
17186
17187 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj;
17189 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17190 int result;
17191 PyObject * obj0 = 0 ;
17192 char *kwnames[] = {
17193 (char *) "self", NULL
17194 };
17195
17196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
17197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 result = (int)(arg1)->GetToolPacking();
17202
17203 wxPyEndAllowThreads(__tstate);
17204 if (PyErr_Occurred()) SWIG_fail;
17205 }
17206 resultobj = SWIG_FromInt((int)result);
17207 return resultobj;
17208 fail:
17209 return NULL;
17210 }
17211
17212
17213 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17214 PyObject *resultobj;
17215 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17216 int result;
17217 PyObject * obj0 = 0 ;
17218 char *kwnames[] = {
17219 (char *) "self", NULL
17220 };
17221
17222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
17223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17225 {
17226 PyThreadState* __tstate = wxPyBeginAllowThreads();
17227 result = (int)(arg1)->GetToolSeparation();
17228
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 resultobj = SWIG_FromInt((int)result);
17233 return resultobj;
17234 fail:
17235 return NULL;
17236 }
17237
17238
17239 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17240 PyObject *resultobj;
17241 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17242 int arg2 ;
17243 PyObject * obj0 = 0 ;
17244 PyObject * obj1 = 0 ;
17245 char *kwnames[] = {
17246 (char *) "self",(char *) "nRows", NULL
17247 };
17248
17249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
17250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17252 arg2 = (int) SWIG_AsInt(obj1);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 (arg1)->SetRows(arg2);
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 Py_INCREF(Py_None); resultobj = Py_None;
17262 return resultobj;
17263 fail:
17264 return NULL;
17265 }
17266
17267
17268 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17269 PyObject *resultobj;
17270 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17271 int arg2 ;
17272 int arg3 ;
17273 PyObject * obj0 = 0 ;
17274 PyObject * obj1 = 0 ;
17275 PyObject * obj2 = 0 ;
17276 char *kwnames[] = {
17277 (char *) "self",(char *) "rows",(char *) "cols", NULL
17278 };
17279
17280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
17281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17283 arg2 = (int) SWIG_AsInt(obj1);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 arg3 = (int) SWIG_AsInt(obj2);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 {
17288 PyThreadState* __tstate = wxPyBeginAllowThreads();
17289 (arg1)->SetMaxRowsCols(arg2,arg3);
17290
17291 wxPyEndAllowThreads(__tstate);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 Py_INCREF(Py_None); resultobj = Py_None;
17295 return resultobj;
17296 fail:
17297 return NULL;
17298 }
17299
17300
17301 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17302 PyObject *resultobj;
17303 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17304 int result;
17305 PyObject * obj0 = 0 ;
17306 char *kwnames[] = {
17307 (char *) "self", NULL
17308 };
17309
17310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
17311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17313 {
17314 PyThreadState* __tstate = wxPyBeginAllowThreads();
17315 result = (int)(arg1)->GetMaxRows();
17316
17317 wxPyEndAllowThreads(__tstate);
17318 if (PyErr_Occurred()) SWIG_fail;
17319 }
17320 resultobj = SWIG_FromInt((int)result);
17321 return resultobj;
17322 fail:
17323 return NULL;
17324 }
17325
17326
17327 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17328 PyObject *resultobj;
17329 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17330 int result;
17331 PyObject * obj0 = 0 ;
17332 char *kwnames[] = {
17333 (char *) "self", NULL
17334 };
17335
17336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17339 {
17340 PyThreadState* __tstate = wxPyBeginAllowThreads();
17341 result = (int)(arg1)->GetMaxCols();
17342
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 resultobj = SWIG_FromInt((int)result);
17347 return resultobj;
17348 fail:
17349 return NULL;
17350 }
17351
17352
17353 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17354 PyObject *resultobj;
17355 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17356 wxSize *arg2 = 0 ;
17357 wxSize temp2 ;
17358 PyObject * obj0 = 0 ;
17359 PyObject * obj1 = 0 ;
17360 char *kwnames[] = {
17361 (char *) "self",(char *) "size", NULL
17362 };
17363
17364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17367 {
17368 arg2 = &temp2;
17369 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17370 }
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17374
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 Py_INCREF(Py_None); resultobj = Py_None;
17379 return resultobj;
17380 fail:
17381 return NULL;
17382 }
17383
17384
17385 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17386 PyObject *resultobj;
17387 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17388 wxSize result;
17389 PyObject * obj0 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17397 {
17398 PyThreadState* __tstate = wxPyBeginAllowThreads();
17399 result = (arg1)->GetToolBitmapSize();
17400
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 {
17405 wxSize * resultptr;
17406 resultptr = new wxSize((wxSize &) result);
17407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17408 }
17409 return resultobj;
17410 fail:
17411 return NULL;
17412 }
17413
17414
17415 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17416 PyObject *resultobj;
17417 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17418 wxSize result;
17419 PyObject * obj0 = 0 ;
17420 char *kwnames[] = {
17421 (char *) "self", NULL
17422 };
17423
17424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17427 {
17428 PyThreadState* __tstate = wxPyBeginAllowThreads();
17429 result = (arg1)->GetToolSize();
17430
17431 wxPyEndAllowThreads(__tstate);
17432 if (PyErr_Occurred()) SWIG_fail;
17433 }
17434 {
17435 wxSize * resultptr;
17436 resultptr = new wxSize((wxSize &) result);
17437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17438 }
17439 return resultobj;
17440 fail:
17441 return NULL;
17442 }
17443
17444
17445 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17448 int arg2 ;
17449 int arg3 ;
17450 wxToolBarToolBase *result;
17451 PyObject * obj0 = 0 ;
17452 PyObject * obj1 = 0 ;
17453 PyObject * obj2 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self",(char *) "x",(char *) "y", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17461 arg2 = (int) SWIG_AsInt(obj1);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 arg3 = (int) SWIG_AsInt(obj2);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 {
17473 resultobj = wxPyMake_wxObject(result);
17474 }
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17484 int arg2 ;
17485 wxToolBarToolBase *result;
17486 PyObject * obj0 = 0 ;
17487 PyObject * obj1 = 0 ;
17488 char *kwnames[] = {
17489 (char *) "self",(char *) "toolid", NULL
17490 };
17491
17492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17495 arg2 = (int) SWIG_AsInt(obj1);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17500
17501 wxPyEndAllowThreads(__tstate);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 {
17505 resultobj = wxPyMake_wxObject(result);
17506 }
17507 return resultobj;
17508 fail:
17509 return NULL;
17510 }
17511
17512
17513 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17514 PyObject *resultobj;
17515 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17516 bool result;
17517 PyObject * obj0 = 0 ;
17518 char *kwnames[] = {
17519 (char *) "self", NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17525 {
17526 PyThreadState* __tstate = wxPyBeginAllowThreads();
17527 result = (bool)(arg1)->IsVertical();
17528
17529 wxPyEndAllowThreads(__tstate);
17530 if (PyErr_Occurred()) SWIG_fail;
17531 }
17532 {
17533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17534 }
17535 return resultobj;
17536 fail:
17537 return NULL;
17538 }
17539
17540
17541 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17542 PyObject *obj;
17543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17544 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17545 Py_INCREF(obj);
17546 return Py_BuildValue((char *)"");
17547 }
17548 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17549 PyObject *resultobj;
17550 wxWindow *arg1 = (wxWindow *) 0 ;
17551 int arg2 ;
17552 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17553 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17554 wxSize const &arg4_defvalue = wxDefaultSize ;
17555 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17556 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17557 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17558 wxString *arg6 = (wxString *) &arg6_defvalue ;
17559 wxToolBar *result;
17560 wxPoint temp3 ;
17561 wxSize temp4 ;
17562 bool temp6 = False ;
17563 PyObject * obj0 = 0 ;
17564 PyObject * obj1 = 0 ;
17565 PyObject * obj2 = 0 ;
17566 PyObject * obj3 = 0 ;
17567 PyObject * obj4 = 0 ;
17568 PyObject * obj5 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17576 arg2 = (int) SWIG_AsInt(obj1);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 if (obj2) {
17579 {
17580 arg3 = &temp3;
17581 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17582 }
17583 }
17584 if (obj3) {
17585 {
17586 arg4 = &temp4;
17587 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17588 }
17589 }
17590 if (obj4) {
17591 arg5 = (long) SWIG_AsLong(obj4);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
17594 if (obj5) {
17595 {
17596 arg6 = wxString_in_helper(obj5);
17597 if (arg6 == NULL) SWIG_fail;
17598 temp6 = True;
17599 }
17600 }
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17604
17605 wxPyEndAllowThreads(__tstate);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 {
17609 resultobj = wxPyMake_wxObject(result);
17610 }
17611 {
17612 if (temp6)
17613 delete arg6;
17614 }
17615 return resultobj;
17616 fail:
17617 {
17618 if (temp6)
17619 delete arg6;
17620 }
17621 return NULL;
17622 }
17623
17624
17625 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxToolBar *result;
17628 char *kwnames[] = {
17629 NULL
17630 };
17631
17632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 result = (wxToolBar *)new wxToolBar();
17636
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
17640 {
17641 resultobj = wxPyMake_wxObject(result);
17642 }
17643 return resultobj;
17644 fail:
17645 return NULL;
17646 }
17647
17648
17649 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxToolBar *arg1 = (wxToolBar *) 0 ;
17652 wxWindow *arg2 = (wxWindow *) 0 ;
17653 int arg3 ;
17654 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17655 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17656 wxSize const &arg5_defvalue = wxDefaultSize ;
17657 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17658 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17659 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17660 wxString *arg7 = (wxString *) &arg7_defvalue ;
17661 bool result;
17662 wxPoint temp4 ;
17663 wxSize temp5 ;
17664 bool temp7 = False ;
17665 PyObject * obj0 = 0 ;
17666 PyObject * obj1 = 0 ;
17667 PyObject * obj2 = 0 ;
17668 PyObject * obj3 = 0 ;
17669 PyObject * obj4 = 0 ;
17670 PyObject * obj5 = 0 ;
17671 PyObject * obj6 = 0 ;
17672 char *kwnames[] = {
17673 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17674 };
17675
17676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17681 arg3 = (int) SWIG_AsInt(obj2);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 if (obj3) {
17684 {
17685 arg4 = &temp4;
17686 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17687 }
17688 }
17689 if (obj4) {
17690 {
17691 arg5 = &temp5;
17692 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17693 }
17694 }
17695 if (obj5) {
17696 arg6 = (long) SWIG_AsLong(obj5);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 if (obj6) {
17700 {
17701 arg7 = wxString_in_helper(obj6);
17702 if (arg7 == NULL) SWIG_fail;
17703 temp7 = True;
17704 }
17705 }
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17709
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 {
17714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17715 }
17716 {
17717 if (temp7)
17718 delete arg7;
17719 }
17720 return resultobj;
17721 fail:
17722 {
17723 if (temp7)
17724 delete arg7;
17725 }
17726 return NULL;
17727 }
17728
17729
17730 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17731 PyObject *resultobj;
17732 wxToolBar *arg1 = (wxToolBar *) 0 ;
17733 int arg2 ;
17734 int arg3 ;
17735 wxToolBarToolBase *result;
17736 PyObject * obj0 = 0 ;
17737 PyObject * obj1 = 0 ;
17738 PyObject * obj2 = 0 ;
17739 char *kwnames[] = {
17740 (char *) "self",(char *) "x",(char *) "y", NULL
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17746 arg2 = (int) SWIG_AsInt(obj1);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 arg3 = (int) SWIG_AsInt(obj2);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 {
17751 PyThreadState* __tstate = wxPyBeginAllowThreads();
17752 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17753
17754 wxPyEndAllowThreads(__tstate);
17755 if (PyErr_Occurred()) SWIG_fail;
17756 }
17757 {
17758 resultobj = wxPyMake_wxObject(result);
17759 }
17760 return resultobj;
17761 fail:
17762 return NULL;
17763 }
17764
17765
17766 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17767 PyObject *obj;
17768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17769 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17770 Py_INCREF(obj);
17771 return Py_BuildValue((char *)"");
17772 }
17773 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17774 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17775 return 1;
17776 }
17777
17778
17779 static PyObject *_wrap_ListCtrlNameStr_get() {
17780 PyObject *pyobj;
17781
17782 {
17783 #if wxUSE_UNICODE
17784 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17785 #else
17786 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17787 #endif
17788 }
17789 return pyobj;
17790 }
17791
17792
17793 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17794 PyObject *resultobj;
17795 wxColour const &arg1_defvalue = wxNullColour ;
17796 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17797 wxColour const &arg2_defvalue = wxNullColour ;
17798 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17799 wxFont const &arg3_defvalue = wxNullFont ;
17800 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17801 wxListItemAttr *result;
17802 wxColour temp1 ;
17803 wxColour temp2 ;
17804 PyObject * obj0 = 0 ;
17805 PyObject * obj1 = 0 ;
17806 PyObject * obj2 = 0 ;
17807 char *kwnames[] = {
17808 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17809 };
17810
17811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17812 if (obj0) {
17813 {
17814 arg1 = &temp1;
17815 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17816 }
17817 }
17818 if (obj1) {
17819 {
17820 arg2 = &temp2;
17821 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17822 }
17823 }
17824 if (obj2) {
17825 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17826 SWIG_POINTER_EXCEPTION | 0)) == -1)
17827 SWIG_fail;
17828 if (arg3 == NULL) {
17829 PyErr_SetString(PyExc_TypeError,"null reference");
17830 SWIG_fail;
17831 }
17832 }
17833 {
17834 PyThreadState* __tstate = wxPyBeginAllowThreads();
17835 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17836
17837 wxPyEndAllowThreads(__tstate);
17838 if (PyErr_Occurred()) SWIG_fail;
17839 }
17840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17841 return resultobj;
17842 fail:
17843 return NULL;
17844 }
17845
17846
17847 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj;
17849 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17850 wxColour *arg2 = 0 ;
17851 wxColour temp2 ;
17852 PyObject * obj0 = 0 ;
17853 PyObject * obj1 = 0 ;
17854 char *kwnames[] = {
17855 (char *) "self",(char *) "colText", NULL
17856 };
17857
17858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17861 {
17862 arg2 = &temp2;
17863 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17864 }
17865 {
17866 PyThreadState* __tstate = wxPyBeginAllowThreads();
17867 (arg1)->SetTextColour((wxColour const &)*arg2);
17868
17869 wxPyEndAllowThreads(__tstate);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 }
17872 Py_INCREF(Py_None); resultobj = Py_None;
17873 return resultobj;
17874 fail:
17875 return NULL;
17876 }
17877
17878
17879 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17880 PyObject *resultobj;
17881 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17882 wxColour *arg2 = 0 ;
17883 wxColour temp2 ;
17884 PyObject * obj0 = 0 ;
17885 PyObject * obj1 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "colBack", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17893 {
17894 arg2 = &temp2;
17895 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17896 }
17897 {
17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
17899 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17900
17901 wxPyEndAllowThreads(__tstate);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 Py_INCREF(Py_None); resultobj = Py_None;
17905 return resultobj;
17906 fail:
17907 return NULL;
17908 }
17909
17910
17911 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17912 PyObject *resultobj;
17913 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17914 wxFont *arg2 = 0 ;
17915 PyObject * obj0 = 0 ;
17916 PyObject * obj1 = 0 ;
17917 char *kwnames[] = {
17918 (char *) "self",(char *) "font", NULL
17919 };
17920
17921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17925 SWIG_POINTER_EXCEPTION | 0)) == -1)
17926 SWIG_fail;
17927 if (arg2 == NULL) {
17928 PyErr_SetString(PyExc_TypeError,"null reference");
17929 SWIG_fail;
17930 }
17931 {
17932 PyThreadState* __tstate = wxPyBeginAllowThreads();
17933 (arg1)->SetFont((wxFont const &)*arg2);
17934
17935 wxPyEndAllowThreads(__tstate);
17936 if (PyErr_Occurred()) SWIG_fail;
17937 }
17938 Py_INCREF(Py_None); resultobj = Py_None;
17939 return resultobj;
17940 fail:
17941 return NULL;
17942 }
17943
17944
17945 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17946 PyObject *resultobj;
17947 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17948 bool result;
17949 PyObject * obj0 = 0 ;
17950 char *kwnames[] = {
17951 (char *) "self", NULL
17952 };
17953
17954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17957 {
17958 PyThreadState* __tstate = wxPyBeginAllowThreads();
17959 result = (bool)(arg1)->HasTextColour();
17960
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 {
17965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17966 }
17967 return resultobj;
17968 fail:
17969 return NULL;
17970 }
17971
17972
17973 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17976 bool result;
17977 PyObject * obj0 = 0 ;
17978 char *kwnames[] = {
17979 (char *) "self", NULL
17980 };
17981
17982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17985 {
17986 PyThreadState* __tstate = wxPyBeginAllowThreads();
17987 result = (bool)(arg1)->HasBackgroundColour();
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 {
17993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17994 }
17995 return resultobj;
17996 fail:
17997 return NULL;
17998 }
17999
18000
18001 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18002 PyObject *resultobj;
18003 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18004 bool result;
18005 PyObject * obj0 = 0 ;
18006 char *kwnames[] = {
18007 (char *) "self", NULL
18008 };
18009
18010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
18011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18013 {
18014 PyThreadState* __tstate = wxPyBeginAllowThreads();
18015 result = (bool)(arg1)->HasFont();
18016
18017 wxPyEndAllowThreads(__tstate);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 }
18020 {
18021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18022 }
18023 return resultobj;
18024 fail:
18025 return NULL;
18026 }
18027
18028
18029 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18030 PyObject *resultobj;
18031 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18032 wxColour result;
18033 PyObject * obj0 = 0 ;
18034 char *kwnames[] = {
18035 (char *) "self", NULL
18036 };
18037
18038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
18039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18041 {
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 result = (arg1)->GetTextColour();
18044
18045 wxPyEndAllowThreads(__tstate);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 {
18049 wxColour * resultptr;
18050 resultptr = new wxColour((wxColour &) result);
18051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18052 }
18053 return resultobj;
18054 fail:
18055 return NULL;
18056 }
18057
18058
18059 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj;
18061 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18062 wxColour result;
18063 PyObject * obj0 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 result = (arg1)->GetBackgroundColour();
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 {
18079 wxColour * resultptr;
18080 resultptr = new wxColour((wxColour &) result);
18081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18082 }
18083 return resultobj;
18084 fail:
18085 return NULL;
18086 }
18087
18088
18089 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj;
18091 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18092 wxFont result;
18093 PyObject * obj0 = 0 ;
18094 char *kwnames[] = {
18095 (char *) "self", NULL
18096 };
18097
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
18099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18101 {
18102 PyThreadState* __tstate = wxPyBeginAllowThreads();
18103 result = (arg1)->GetFont();
18104
18105 wxPyEndAllowThreads(__tstate);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 }
18108 {
18109 wxFont * resultptr;
18110 resultptr = new wxFont((wxFont &) result);
18111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18112 }
18113 return resultobj;
18114 fail:
18115 return NULL;
18116 }
18117
18118
18119 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj;
18121 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18122 PyObject * obj0 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "self", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",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 wxListItemAttr_Destroy(arg1);
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 Py_INCREF(Py_None); resultobj = Py_None;
18138 return resultobj;
18139 fail:
18140 return NULL;
18141 }
18142
18143
18144 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18145 PyObject *obj;
18146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18147 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18148 Py_INCREF(obj);
18149 return Py_BuildValue((char *)"");
18150 }
18151 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18152 PyObject *resultobj;
18153 wxListItem *result;
18154 char *kwnames[] = {
18155 NULL
18156 };
18157
18158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18159 {
18160 PyThreadState* __tstate = wxPyBeginAllowThreads();
18161 result = (wxListItem *)new wxListItem();
18162
18163 wxPyEndAllowThreads(__tstate);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 {
18167 resultobj = wxPyMake_wxObject(result);
18168 }
18169 return resultobj;
18170 fail:
18171 return NULL;
18172 }
18173
18174
18175 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj;
18177 wxListItem *arg1 = (wxListItem *) 0 ;
18178 PyObject * obj0 = 0 ;
18179 char *kwnames[] = {
18180 (char *) "self", NULL
18181 };
18182
18183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
18184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 delete arg1;
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 Py_INCREF(Py_None); resultobj = Py_None;
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxListItem *arg1 = (wxListItem *) 0 ;
18203 PyObject * obj0 = 0 ;
18204 char *kwnames[] = {
18205 (char *) "self", NULL
18206 };
18207
18208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
18209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18211 {
18212 PyThreadState* __tstate = wxPyBeginAllowThreads();
18213 (arg1)->Clear();
18214
18215 wxPyEndAllowThreads(__tstate);
18216 if (PyErr_Occurred()) SWIG_fail;
18217 }
18218 Py_INCREF(Py_None); resultobj = Py_None;
18219 return resultobj;
18220 fail:
18221 return NULL;
18222 }
18223
18224
18225 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18226 PyObject *resultobj;
18227 wxListItem *arg1 = (wxListItem *) 0 ;
18228 PyObject * obj0 = 0 ;
18229 char *kwnames[] = {
18230 (char *) "self", NULL
18231 };
18232
18233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
18234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 (arg1)->ClearAttributes();
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 Py_INCREF(Py_None); resultobj = Py_None;
18244 return resultobj;
18245 fail:
18246 return NULL;
18247 }
18248
18249
18250 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxListItem *arg1 = (wxListItem *) 0 ;
18253 long arg2 ;
18254 PyObject * obj0 = 0 ;
18255 PyObject * obj1 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self",(char *) "mask", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18263 arg2 = (long) SWIG_AsLong(obj1);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 (arg1)->SetMask(arg2);
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_SetId(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 *) "id", NULL
18287 };
18288
18289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",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)->SetId(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_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxListItem *arg1 = (wxListItem *) 0 ;
18311 int arg2 ;
18312 PyObject * obj0 = 0 ;
18313 PyObject * obj1 = 0 ;
18314 char *kwnames[] = {
18315 (char *) "self",(char *) "col", NULL
18316 };
18317
18318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",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 = (int) SWIG_AsInt(obj1);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 {
18324 PyThreadState* __tstate = wxPyBeginAllowThreads();
18325 (arg1)->SetColumn(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_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj;
18339 wxListItem *arg1 = (wxListItem *) 0 ;
18340 long arg2 ;
18341 PyObject * obj0 = 0 ;
18342 PyObject * obj1 = 0 ;
18343 char *kwnames[] = {
18344 (char *) "self",(char *) "state", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18350 arg2 = (long) SWIG_AsLong(obj1);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 (arg1)->SetState(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_SetStateMask(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 *) "stateMask", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",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)->SetStateMask(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_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxListItem *arg1 = (wxListItem *) 0 ;
18398 wxString *arg2 = 0 ;
18399 bool temp2 = False ;
18400 PyObject * obj0 = 0 ;
18401 PyObject * obj1 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self",(char *) "text", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18409 {
18410 arg2 = wxString_in_helper(obj1);
18411 if (arg2 == NULL) SWIG_fail;
18412 temp2 = True;
18413 }
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 (arg1)->SetText((wxString const &)*arg2);
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 Py_INCREF(Py_None); resultobj = Py_None;
18422 {
18423 if (temp2)
18424 delete arg2;
18425 }
18426 return resultobj;
18427 fail:
18428 {
18429 if (temp2)
18430 delete arg2;
18431 }
18432 return NULL;
18433 }
18434
18435
18436 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18437 PyObject *resultobj;
18438 wxListItem *arg1 = (wxListItem *) 0 ;
18439 int arg2 ;
18440 PyObject * obj0 = 0 ;
18441 PyObject * obj1 = 0 ;
18442 char *kwnames[] = {
18443 (char *) "self",(char *) "image", NULL
18444 };
18445
18446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18449 arg2 = (int) SWIG_AsInt(obj1);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 (arg1)->SetImage(arg2);
18454
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 Py_INCREF(Py_None); resultobj = Py_None;
18459 return resultobj;
18460 fail:
18461 return NULL;
18462 }
18463
18464
18465 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18466 PyObject *resultobj;
18467 wxListItem *arg1 = (wxListItem *) 0 ;
18468 long arg2 ;
18469 PyObject * obj0 = 0 ;
18470 PyObject * obj1 = 0 ;
18471 char *kwnames[] = {
18472 (char *) "self",(char *) "data", NULL
18473 };
18474
18475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",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 = (long) SWIG_AsLong(obj1);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 (arg1)->SetData(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_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj;
18496 wxListItem *arg1 = (wxListItem *) 0 ;
18497 int arg2 ;
18498 PyObject * obj0 = 0 ;
18499 PyObject * obj1 = 0 ;
18500 char *kwnames[] = {
18501 (char *) "self",(char *) "width", NULL
18502 };
18503
18504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18507 arg2 = (int) SWIG_AsInt(obj1);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 (arg1)->SetWidth(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_SetAlign(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 *) "align", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",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 = (wxListColumnFormat) SWIG_AsInt(obj1);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 (arg1)->SetAlign((wxListColumnFormat )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_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18553 PyObject *resultobj;
18554 wxListItem *arg1 = (wxListItem *) 0 ;
18555 wxColour *arg2 = 0 ;
18556 wxColour temp2 ;
18557 PyObject * obj0 = 0 ;
18558 PyObject * obj1 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self",(char *) "colText", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18566 {
18567 arg2 = &temp2;
18568 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18569 }
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 (arg1)->SetTextColour((wxColour const &)*arg2);
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 Py_INCREF(Py_None); resultobj = Py_None;
18578 return resultobj;
18579 fail:
18580 return NULL;
18581 }
18582
18583
18584 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18585 PyObject *resultobj;
18586 wxListItem *arg1 = (wxListItem *) 0 ;
18587 wxColour *arg2 = 0 ;
18588 wxColour temp2 ;
18589 PyObject * obj0 = 0 ;
18590 PyObject * obj1 = 0 ;
18591 char *kwnames[] = {
18592 (char *) "self",(char *) "colBack", NULL
18593 };
18594
18595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18598 {
18599 arg2 = &temp2;
18600 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18601 }
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 Py_INCREF(Py_None); resultobj = Py_None;
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxListItem *arg1 = (wxListItem *) 0 ;
18619 wxFont *arg2 = 0 ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "font", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18630 SWIG_POINTER_EXCEPTION | 0)) == -1)
18631 SWIG_fail;
18632 if (arg2 == NULL) {
18633 PyErr_SetString(PyExc_TypeError,"null reference");
18634 SWIG_fail;
18635 }
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 (arg1)->SetFont((wxFont const &)*arg2);
18639
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 Py_INCREF(Py_None); resultobj = Py_None;
18644 return resultobj;
18645 fail:
18646 return NULL;
18647 }
18648
18649
18650 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18651 PyObject *resultobj;
18652 wxListItem *arg1 = (wxListItem *) 0 ;
18653 long result;
18654 PyObject * obj0 = 0 ;
18655 char *kwnames[] = {
18656 (char *) "self", NULL
18657 };
18658
18659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18662 {
18663 PyThreadState* __tstate = wxPyBeginAllowThreads();
18664 result = (long)(arg1)->GetMask();
18665
18666 wxPyEndAllowThreads(__tstate);
18667 if (PyErr_Occurred()) SWIG_fail;
18668 }
18669 resultobj = SWIG_FromLong((long)result);
18670 return resultobj;
18671 fail:
18672 return NULL;
18673 }
18674
18675
18676 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18677 PyObject *resultobj;
18678 wxListItem *arg1 = (wxListItem *) 0 ;
18679 long result;
18680 PyObject * obj0 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 result = (long)(arg1)->GetId();
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 resultobj = SWIG_FromLong((long)result);
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxListItem *arg1 = (wxListItem *) 0 ;
18705 int result;
18706 PyObject * obj0 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (int)(arg1)->GetColumn();
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 resultobj = SWIG_FromInt((int)result);
18722 return resultobj;
18723 fail:
18724 return NULL;
18725 }
18726
18727
18728 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxListItem *arg1 = (wxListItem *) 0 ;
18731 long result;
18732 PyObject * obj0 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 result = (long)(arg1)->GetState();
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 resultobj = SWIG_FromLong((long)result);
18748 return resultobj;
18749 fail:
18750 return NULL;
18751 }
18752
18753
18754 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18755 PyObject *resultobj;
18756 wxListItem *arg1 = (wxListItem *) 0 ;
18757 wxString *result;
18758 PyObject * obj0 = 0 ;
18759 char *kwnames[] = {
18760 (char *) "self", NULL
18761 };
18762
18763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18766 {
18767 PyThreadState* __tstate = wxPyBeginAllowThreads();
18768 {
18769 wxString const &_result_ref = (arg1)->GetText();
18770 result = (wxString *) &_result_ref;
18771 }
18772
18773 wxPyEndAllowThreads(__tstate);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 {
18777 #if wxUSE_UNICODE
18778 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18779 #else
18780 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18781 #endif
18782 }
18783 return resultobj;
18784 fail:
18785 return NULL;
18786 }
18787
18788
18789 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj;
18791 wxListItem *arg1 = (wxListItem *) 0 ;
18792 int result;
18793 PyObject * obj0 = 0 ;
18794 char *kwnames[] = {
18795 (char *) "self", NULL
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 result = (int)(arg1)->GetImage();
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
18808 resultobj = SWIG_FromInt((int)result);
18809 return resultobj;
18810 fail:
18811 return NULL;
18812 }
18813
18814
18815 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18816 PyObject *resultobj;
18817 wxListItem *arg1 = (wxListItem *) 0 ;
18818 long result;
18819 PyObject * obj0 = 0 ;
18820 char *kwnames[] = {
18821 (char *) "self", NULL
18822 };
18823
18824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18827 {
18828 PyThreadState* __tstate = wxPyBeginAllowThreads();
18829 result = (long)(arg1)->GetData();
18830
18831 wxPyEndAllowThreads(__tstate);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 }
18834 resultobj = SWIG_FromLong((long)result);
18835 return resultobj;
18836 fail:
18837 return NULL;
18838 }
18839
18840
18841 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18842 PyObject *resultobj;
18843 wxListItem *arg1 = (wxListItem *) 0 ;
18844 int result;
18845 PyObject * obj0 = 0 ;
18846 char *kwnames[] = {
18847 (char *) "self", NULL
18848 };
18849
18850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 result = (int)(arg1)->GetWidth();
18856
18857 wxPyEndAllowThreads(__tstate);
18858 if (PyErr_Occurred()) SWIG_fail;
18859 }
18860 resultobj = SWIG_FromInt((int)result);
18861 return resultobj;
18862 fail:
18863 return NULL;
18864 }
18865
18866
18867 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxListItem *arg1 = (wxListItem *) 0 ;
18870 int result;
18871 PyObject * obj0 = 0 ;
18872 char *kwnames[] = {
18873 (char *) "self", NULL
18874 };
18875
18876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 result = (int)(arg1)->GetAlign();
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 resultobj = SWIG_FromInt((int)result);
18887 return resultobj;
18888 fail:
18889 return NULL;
18890 }
18891
18892
18893 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxListItem *arg1 = (wxListItem *) 0 ;
18896 wxListItemAttr *result;
18897 PyObject * obj0 = 0 ;
18898 char *kwnames[] = {
18899 (char *) "self", NULL
18900 };
18901
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18905 {
18906 PyThreadState* __tstate = wxPyBeginAllowThreads();
18907 result = (wxListItemAttr *)(arg1)->GetAttributes();
18908
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18913 return resultobj;
18914 fail:
18915 return NULL;
18916 }
18917
18918
18919 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18920 PyObject *resultobj;
18921 wxListItem *arg1 = (wxListItem *) 0 ;
18922 bool result;
18923 PyObject * obj0 = 0 ;
18924 char *kwnames[] = {
18925 (char *) "self", NULL
18926 };
18927
18928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18931 {
18932 PyThreadState* __tstate = wxPyBeginAllowThreads();
18933 result = (bool)(arg1)->HasAttributes();
18934
18935 wxPyEndAllowThreads(__tstate);
18936 if (PyErr_Occurred()) SWIG_fail;
18937 }
18938 {
18939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18940 }
18941 return resultobj;
18942 fail:
18943 return NULL;
18944 }
18945
18946
18947 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18948 PyObject *resultobj;
18949 wxListItem *arg1 = (wxListItem *) 0 ;
18950 wxColour result;
18951 PyObject * obj0 = 0 ;
18952 char *kwnames[] = {
18953 (char *) "self", NULL
18954 };
18955
18956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = ((wxListItem const *)arg1)->GetTextColour();
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 {
18967 wxColour * resultptr;
18968 resultptr = new wxColour((wxColour &) result);
18969 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18970 }
18971 return resultobj;
18972 fail:
18973 return NULL;
18974 }
18975
18976
18977 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj;
18979 wxListItem *arg1 = (wxListItem *) 0 ;
18980 wxColour result;
18981 PyObject * obj0 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 {
18997 wxColour * resultptr;
18998 resultptr = new wxColour((wxColour &) result);
18999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19000 }
19001 return resultobj;
19002 fail:
19003 return NULL;
19004 }
19005
19006
19007 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19008 PyObject *resultobj;
19009 wxListItem *arg1 = (wxListItem *) 0 ;
19010 wxFont result;
19011 PyObject * obj0 = 0 ;
19012 char *kwnames[] = {
19013 (char *) "self", NULL
19014 };
19015
19016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
19017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 result = ((wxListItem const *)arg1)->GetFont();
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 {
19027 wxFont * resultptr;
19028 resultptr = new wxFont((wxFont &) result);
19029 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19030 }
19031 return resultobj;
19032 fail:
19033 return NULL;
19034 }
19035
19036
19037 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19038 PyObject *resultobj;
19039 wxListItem *arg1 = (wxListItem *) 0 ;
19040 long arg2 ;
19041 PyObject * obj0 = 0 ;
19042 PyObject * obj1 = 0 ;
19043 char *kwnames[] = {
19044 (char *) "self",(char *) "m_mask", NULL
19045 };
19046
19047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
19048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19050 arg2 = (long) SWIG_AsLong(obj1);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 if (arg1) (arg1)->m_mask = arg2;
19053
19054 Py_INCREF(Py_None); resultobj = Py_None;
19055 return resultobj;
19056 fail:
19057 return NULL;
19058 }
19059
19060
19061 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19062 PyObject *resultobj;
19063 wxListItem *arg1 = (wxListItem *) 0 ;
19064 long result;
19065 PyObject * obj0 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
19071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19073 result = (long) ((arg1)->m_mask);
19074
19075 resultobj = SWIG_FromLong((long)result);
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj;
19084 wxListItem *arg1 = (wxListItem *) 0 ;
19085 long arg2 ;
19086 PyObject * obj0 = 0 ;
19087 PyObject * obj1 = 0 ;
19088 char *kwnames[] = {
19089 (char *) "self",(char *) "m_itemId", NULL
19090 };
19091
19092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
19093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19095 arg2 = (long) SWIG_AsLong(obj1);
19096 if (PyErr_Occurred()) SWIG_fail;
19097 if (arg1) (arg1)->m_itemId = arg2;
19098
19099 Py_INCREF(Py_None); resultobj = Py_None;
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxListItem *arg1 = (wxListItem *) 0 ;
19109 long result;
19110 PyObject * obj0 = 0 ;
19111 char *kwnames[] = {
19112 (char *) "self", NULL
19113 };
19114
19115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
19116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19118 result = (long) ((arg1)->m_itemId);
19119
19120 resultobj = SWIG_FromLong((long)result);
19121 return resultobj;
19122 fail:
19123 return NULL;
19124 }
19125
19126
19127 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj;
19129 wxListItem *arg1 = (wxListItem *) 0 ;
19130 int arg2 ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 char *kwnames[] = {
19134 (char *) "self",(char *) "m_col", NULL
19135 };
19136
19137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19140 arg2 = (int) SWIG_AsInt(obj1);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 if (arg1) (arg1)->m_col = arg2;
19143
19144 Py_INCREF(Py_None); resultobj = Py_None;
19145 return resultobj;
19146 fail:
19147 return NULL;
19148 }
19149
19150
19151 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19152 PyObject *resultobj;
19153 wxListItem *arg1 = (wxListItem *) 0 ;
19154 int result;
19155 PyObject * obj0 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
19161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19163 result = (int) ((arg1)->m_col);
19164
19165 resultobj = SWIG_FromInt((int)result);
19166 return resultobj;
19167 fail:
19168 return NULL;
19169 }
19170
19171
19172 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19173 PyObject *resultobj;
19174 wxListItem *arg1 = (wxListItem *) 0 ;
19175 long arg2 ;
19176 PyObject * obj0 = 0 ;
19177 PyObject * obj1 = 0 ;
19178 char *kwnames[] = {
19179 (char *) "self",(char *) "m_state", NULL
19180 };
19181
19182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
19183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19185 arg2 = (long) SWIG_AsLong(obj1);
19186 if (PyErr_Occurred()) SWIG_fail;
19187 if (arg1) (arg1)->m_state = arg2;
19188
19189 Py_INCREF(Py_None); resultobj = Py_None;
19190 return resultobj;
19191 fail:
19192 return NULL;
19193 }
19194
19195
19196 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19197 PyObject *resultobj;
19198 wxListItem *arg1 = (wxListItem *) 0 ;
19199 long result;
19200 PyObject * obj0 = 0 ;
19201 char *kwnames[] = {
19202 (char *) "self", NULL
19203 };
19204
19205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
19206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19208 result = (long) ((arg1)->m_state);
19209
19210 resultobj = SWIG_FromLong((long)result);
19211 return resultobj;
19212 fail:
19213 return NULL;
19214 }
19215
19216
19217 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19218 PyObject *resultobj;
19219 wxListItem *arg1 = (wxListItem *) 0 ;
19220 long arg2 ;
19221 PyObject * obj0 = 0 ;
19222 PyObject * obj1 = 0 ;
19223 char *kwnames[] = {
19224 (char *) "self",(char *) "m_stateMask", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
19228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19230 arg2 = (long) SWIG_AsLong(obj1);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 if (arg1) (arg1)->m_stateMask = arg2;
19233
19234 Py_INCREF(Py_None); resultobj = Py_None;
19235 return resultobj;
19236 fail:
19237 return NULL;
19238 }
19239
19240
19241 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19242 PyObject *resultobj;
19243 wxListItem *arg1 = (wxListItem *) 0 ;
19244 long result;
19245 PyObject * obj0 = 0 ;
19246 char *kwnames[] = {
19247 (char *) "self", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
19251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19253 result = (long) ((arg1)->m_stateMask);
19254
19255 resultobj = SWIG_FromLong((long)result);
19256 return resultobj;
19257 fail:
19258 return NULL;
19259 }
19260
19261
19262 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19263 PyObject *resultobj;
19264 wxListItem *arg1 = (wxListItem *) 0 ;
19265 wxString *arg2 = (wxString *) 0 ;
19266 bool temp2 = False ;
19267 PyObject * obj0 = 0 ;
19268 PyObject * obj1 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self",(char *) "m_text", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
19274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19276 {
19277 arg2 = wxString_in_helper(obj1);
19278 if (arg2 == NULL) SWIG_fail;
19279 temp2 = True;
19280 }
19281 if (arg1) (arg1)->m_text = *arg2;
19282
19283 Py_INCREF(Py_None); resultobj = Py_None;
19284 {
19285 if (temp2)
19286 delete arg2;
19287 }
19288 return resultobj;
19289 fail:
19290 {
19291 if (temp2)
19292 delete arg2;
19293 }
19294 return NULL;
19295 }
19296
19297
19298 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj;
19300 wxListItem *arg1 = (wxListItem *) 0 ;
19301 wxString *result;
19302 PyObject * obj0 = 0 ;
19303 char *kwnames[] = {
19304 (char *) "self", NULL
19305 };
19306
19307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
19308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19310 result = (wxString *)& ((arg1)->m_text);
19311
19312 {
19313 #if wxUSE_UNICODE
19314 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19315 #else
19316 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19317 #endif
19318 }
19319 return resultobj;
19320 fail:
19321 return NULL;
19322 }
19323
19324
19325 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj;
19327 wxListItem *arg1 = (wxListItem *) 0 ;
19328 int arg2 ;
19329 PyObject * obj0 = 0 ;
19330 PyObject * obj1 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self",(char *) "m_image", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19338 arg2 = (int) SWIG_AsInt(obj1);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 if (arg1) (arg1)->m_image = arg2;
19341
19342 Py_INCREF(Py_None); resultobj = Py_None;
19343 return resultobj;
19344 fail:
19345 return NULL;
19346 }
19347
19348
19349 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19350 PyObject *resultobj;
19351 wxListItem *arg1 = (wxListItem *) 0 ;
19352 int result;
19353 PyObject * obj0 = 0 ;
19354 char *kwnames[] = {
19355 (char *) "self", NULL
19356 };
19357
19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19361 result = (int) ((arg1)->m_image);
19362
19363 resultobj = SWIG_FromInt((int)result);
19364 return resultobj;
19365 fail:
19366 return NULL;
19367 }
19368
19369
19370 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19371 PyObject *resultobj;
19372 wxListItem *arg1 = (wxListItem *) 0 ;
19373 long arg2 ;
19374 PyObject * obj0 = 0 ;
19375 PyObject * obj1 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self",(char *) "m_data", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19383 arg2 = (long) SWIG_AsLong(obj1);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 if (arg1) (arg1)->m_data = arg2;
19386
19387 Py_INCREF(Py_None); resultobj = Py_None;
19388 return resultobj;
19389 fail:
19390 return NULL;
19391 }
19392
19393
19394 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj;
19396 wxListItem *arg1 = (wxListItem *) 0 ;
19397 long result;
19398 PyObject * obj0 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19406 result = (long) ((arg1)->m_data);
19407
19408 resultobj = SWIG_FromLong((long)result);
19409 return resultobj;
19410 fail:
19411 return NULL;
19412 }
19413
19414
19415 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19416 PyObject *resultobj;
19417 wxListItem *arg1 = (wxListItem *) 0 ;
19418 int arg2 ;
19419 PyObject * obj0 = 0 ;
19420 PyObject * obj1 = 0 ;
19421 char *kwnames[] = {
19422 (char *) "self",(char *) "m_format", NULL
19423 };
19424
19425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19428 arg2 = (int) SWIG_AsInt(obj1);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 if (arg1) (arg1)->m_format = arg2;
19431
19432 Py_INCREF(Py_None); resultobj = Py_None;
19433 return resultobj;
19434 fail:
19435 return NULL;
19436 }
19437
19438
19439 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19440 PyObject *resultobj;
19441 wxListItem *arg1 = (wxListItem *) 0 ;
19442 int result;
19443 PyObject * obj0 = 0 ;
19444 char *kwnames[] = {
19445 (char *) "self", NULL
19446 };
19447
19448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19451 result = (int) ((arg1)->m_format);
19452
19453 resultobj = SWIG_FromInt((int)result);
19454 return resultobj;
19455 fail:
19456 return NULL;
19457 }
19458
19459
19460 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19461 PyObject *resultobj;
19462 wxListItem *arg1 = (wxListItem *) 0 ;
19463 int arg2 ;
19464 PyObject * obj0 = 0 ;
19465 PyObject * obj1 = 0 ;
19466 char *kwnames[] = {
19467 (char *) "self",(char *) "m_width", NULL
19468 };
19469
19470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19473 arg2 = (int) SWIG_AsInt(obj1);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 if (arg1) (arg1)->m_width = arg2;
19476
19477 Py_INCREF(Py_None); resultobj = Py_None;
19478 return resultobj;
19479 fail:
19480 return NULL;
19481 }
19482
19483
19484 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19485 PyObject *resultobj;
19486 wxListItem *arg1 = (wxListItem *) 0 ;
19487 int result;
19488 PyObject * obj0 = 0 ;
19489 char *kwnames[] = {
19490 (char *) "self", NULL
19491 };
19492
19493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19496 result = (int) ((arg1)->m_width);
19497
19498 resultobj = SWIG_FromInt((int)result);
19499 return resultobj;
19500 fail:
19501 return NULL;
19502 }
19503
19504
19505 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19506 PyObject *obj;
19507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19508 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19509 Py_INCREF(obj);
19510 return Py_BuildValue((char *)"");
19511 }
19512 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19513 PyObject *resultobj;
19514 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19515 int arg2 = (int) 0 ;
19516 wxListEvent *result;
19517 PyObject * obj0 = 0 ;
19518 PyObject * obj1 = 0 ;
19519 char *kwnames[] = {
19520 (char *) "commandType",(char *) "id", NULL
19521 };
19522
19523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19524 if (obj0) {
19525 arg1 = (wxEventType) SWIG_AsInt(obj0);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 if (obj1) {
19529 arg2 = (int) SWIG_AsInt(obj1);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj;
19548 wxListEvent *arg1 = (wxListEvent *) 0 ;
19549 int arg2 ;
19550 PyObject * obj0 = 0 ;
19551 PyObject * obj1 = 0 ;
19552 char *kwnames[] = {
19553 (char *) "self",(char *) "m_code", NULL
19554 };
19555
19556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19559 arg2 = (int) SWIG_AsInt(obj1);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 if (arg1) (arg1)->m_code = arg2;
19562
19563 Py_INCREF(Py_None); resultobj = Py_None;
19564 return resultobj;
19565 fail:
19566 return NULL;
19567 }
19568
19569
19570 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19571 PyObject *resultobj;
19572 wxListEvent *arg1 = (wxListEvent *) 0 ;
19573 int result;
19574 PyObject * obj0 = 0 ;
19575 char *kwnames[] = {
19576 (char *) "self", NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19582 result = (int) ((arg1)->m_code);
19583
19584 resultobj = SWIG_FromInt((int)result);
19585 return resultobj;
19586 fail:
19587 return NULL;
19588 }
19589
19590
19591 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj;
19593 wxListEvent *arg1 = (wxListEvent *) 0 ;
19594 long arg2 ;
19595 PyObject * obj0 = 0 ;
19596 PyObject * obj1 = 0 ;
19597 char *kwnames[] = {
19598 (char *) "self",(char *) "m_oldItemIndex", NULL
19599 };
19600
19601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19604 arg2 = (long) SWIG_AsLong(obj1);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 if (arg1) (arg1)->m_oldItemIndex = arg2;
19607
19608 Py_INCREF(Py_None); resultobj = Py_None;
19609 return resultobj;
19610 fail:
19611 return NULL;
19612 }
19613
19614
19615 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19616 PyObject *resultobj;
19617 wxListEvent *arg1 = (wxListEvent *) 0 ;
19618 long result;
19619 PyObject * obj0 = 0 ;
19620 char *kwnames[] = {
19621 (char *) "self", NULL
19622 };
19623
19624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19627 result = (long) ((arg1)->m_oldItemIndex);
19628
19629 resultobj = SWIG_FromLong((long)result);
19630 return resultobj;
19631 fail:
19632 return NULL;
19633 }
19634
19635
19636 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj;
19638 wxListEvent *arg1 = (wxListEvent *) 0 ;
19639 long arg2 ;
19640 PyObject * obj0 = 0 ;
19641 PyObject * obj1 = 0 ;
19642 char *kwnames[] = {
19643 (char *) "self",(char *) "m_itemIndex", NULL
19644 };
19645
19646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19649 arg2 = (long) SWIG_AsLong(obj1);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 if (arg1) (arg1)->m_itemIndex = arg2;
19652
19653 Py_INCREF(Py_None); resultobj = Py_None;
19654 return resultobj;
19655 fail:
19656 return NULL;
19657 }
19658
19659
19660 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19661 PyObject *resultobj;
19662 wxListEvent *arg1 = (wxListEvent *) 0 ;
19663 long result;
19664 PyObject * obj0 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19672 result = (long) ((arg1)->m_itemIndex);
19673
19674 resultobj = SWIG_FromLong((long)result);
19675 return resultobj;
19676 fail:
19677 return NULL;
19678 }
19679
19680
19681 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19682 PyObject *resultobj;
19683 wxListEvent *arg1 = (wxListEvent *) 0 ;
19684 int arg2 ;
19685 PyObject * obj0 = 0 ;
19686 PyObject * obj1 = 0 ;
19687 char *kwnames[] = {
19688 (char *) "self",(char *) "m_col", NULL
19689 };
19690
19691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19694 arg2 = (int) SWIG_AsInt(obj1);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 if (arg1) (arg1)->m_col = arg2;
19697
19698 Py_INCREF(Py_None); resultobj = Py_None;
19699 return resultobj;
19700 fail:
19701 return NULL;
19702 }
19703
19704
19705 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19706 PyObject *resultobj;
19707 wxListEvent *arg1 = (wxListEvent *) 0 ;
19708 int result;
19709 PyObject * obj0 = 0 ;
19710 char *kwnames[] = {
19711 (char *) "self", NULL
19712 };
19713
19714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19717 result = (int) ((arg1)->m_col);
19718
19719 resultobj = SWIG_FromInt((int)result);
19720 return resultobj;
19721 fail:
19722 return NULL;
19723 }
19724
19725
19726 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj;
19728 wxListEvent *arg1 = (wxListEvent *) 0 ;
19729 wxPoint *arg2 = (wxPoint *) 0 ;
19730 PyObject * obj0 = 0 ;
19731 PyObject * obj1 = 0 ;
19732 char *kwnames[] = {
19733 (char *) "self",(char *) "m_pointDrag", NULL
19734 };
19735
19736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19741 if (arg1) (arg1)->m_pointDrag = *arg2;
19742
19743 Py_INCREF(Py_None); resultobj = Py_None;
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxListEvent *arg1 = (wxListEvent *) 0 ;
19753 wxPoint *result;
19754 PyObject * obj0 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19762 result = (wxPoint *)& ((arg1)->m_pointDrag);
19763
19764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19765 return resultobj;
19766 fail:
19767 return NULL;
19768 }
19769
19770
19771 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19772 PyObject *resultobj;
19773 wxListEvent *arg1 = (wxListEvent *) 0 ;
19774 wxListItem *result;
19775 PyObject * obj0 = 0 ;
19776 char *kwnames[] = {
19777 (char *) "self", NULL
19778 };
19779
19780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19783 result = (wxListItem *)& ((arg1)->m_item);
19784
19785 {
19786 resultobj = wxPyMake_wxObject(result);
19787 }
19788 return resultobj;
19789 fail:
19790 return NULL;
19791 }
19792
19793
19794 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxListEvent *arg1 = (wxListEvent *) 0 ;
19797 int result;
19798 PyObject * obj0 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19806 {
19807 PyThreadState* __tstate = wxPyBeginAllowThreads();
19808 result = (int)(arg1)->GetKeyCode();
19809
19810 wxPyEndAllowThreads(__tstate);
19811 if (PyErr_Occurred()) SWIG_fail;
19812 }
19813 resultobj = SWIG_FromInt((int)result);
19814 return resultobj;
19815 fail:
19816 return NULL;
19817 }
19818
19819
19820 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19821 PyObject *resultobj;
19822 wxListEvent *arg1 = (wxListEvent *) 0 ;
19823 long result;
19824 PyObject * obj0 = 0 ;
19825 char *kwnames[] = {
19826 (char *) "self", NULL
19827 };
19828
19829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19832 {
19833 PyThreadState* __tstate = wxPyBeginAllowThreads();
19834 result = (long)(arg1)->GetIndex();
19835
19836 wxPyEndAllowThreads(__tstate);
19837 if (PyErr_Occurred()) SWIG_fail;
19838 }
19839 resultobj = SWIG_FromLong((long)result);
19840 return resultobj;
19841 fail:
19842 return NULL;
19843 }
19844
19845
19846 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19847 PyObject *resultobj;
19848 wxListEvent *arg1 = (wxListEvent *) 0 ;
19849 int result;
19850 PyObject * obj0 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 result = (int)(arg1)->GetColumn();
19861
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 resultobj = SWIG_FromInt((int)result);
19866 return resultobj;
19867 fail:
19868 return NULL;
19869 }
19870
19871
19872 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj;
19874 wxListEvent *arg1 = (wxListEvent *) 0 ;
19875 wxPoint result;
19876 PyObject * obj0 = 0 ;
19877 char *kwnames[] = {
19878 (char *) "self", NULL
19879 };
19880
19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 result = (arg1)->GetPoint();
19887
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 {
19892 wxPoint * resultptr;
19893 resultptr = new wxPoint((wxPoint &) result);
19894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19895 }
19896 return resultobj;
19897 fail:
19898 return NULL;
19899 }
19900
19901
19902 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj;
19904 wxListEvent *arg1 = (wxListEvent *) 0 ;
19905 wxString *result;
19906 PyObject * obj0 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19914 {
19915 PyThreadState* __tstate = wxPyBeginAllowThreads();
19916 {
19917 wxString const &_result_ref = (arg1)->GetLabel();
19918 result = (wxString *) &_result_ref;
19919 }
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 {
19925 #if wxUSE_UNICODE
19926 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19927 #else
19928 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19929 #endif
19930 }
19931 return resultobj;
19932 fail:
19933 return NULL;
19934 }
19935
19936
19937 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxListEvent *arg1 = (wxListEvent *) 0 ;
19940 wxString *result;
19941 PyObject * obj0 = 0 ;
19942 char *kwnames[] = {
19943 (char *) "self", NULL
19944 };
19945
19946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 {
19952 wxString const &_result_ref = (arg1)->GetText();
19953 result = (wxString *) &_result_ref;
19954 }
19955
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 {
19960 #if wxUSE_UNICODE
19961 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19962 #else
19963 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19964 #endif
19965 }
19966 return resultobj;
19967 fail:
19968 return NULL;
19969 }
19970
19971
19972 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19973 PyObject *resultobj;
19974 wxListEvent *arg1 = (wxListEvent *) 0 ;
19975 int result;
19976 PyObject * obj0 = 0 ;
19977 char *kwnames[] = {
19978 (char *) "self", NULL
19979 };
19980
19981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 result = (int)(arg1)->GetImage();
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 resultobj = SWIG_FromInt((int)result);
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19999 PyObject *resultobj;
20000 wxListEvent *arg1 = (wxListEvent *) 0 ;
20001 long result;
20002 PyObject * obj0 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
20008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 result = (long)(arg1)->GetData();
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 resultobj = SWIG_FromLong((long)result);
20018 return resultobj;
20019 fail:
20020 return NULL;
20021 }
20022
20023
20024 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20025 PyObject *resultobj;
20026 wxListEvent *arg1 = (wxListEvent *) 0 ;
20027 long result;
20028 PyObject * obj0 = 0 ;
20029 char *kwnames[] = {
20030 (char *) "self", NULL
20031 };
20032
20033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
20034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20036 {
20037 PyThreadState* __tstate = wxPyBeginAllowThreads();
20038 result = (long)(arg1)->GetMask();
20039
20040 wxPyEndAllowThreads(__tstate);
20041 if (PyErr_Occurred()) SWIG_fail;
20042 }
20043 resultobj = SWIG_FromLong((long)result);
20044 return resultobj;
20045 fail:
20046 return NULL;
20047 }
20048
20049
20050 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20051 PyObject *resultobj;
20052 wxListEvent *arg1 = (wxListEvent *) 0 ;
20053 wxListItem *result;
20054 PyObject * obj0 = 0 ;
20055 char *kwnames[] = {
20056 (char *) "self", NULL
20057 };
20058
20059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
20060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 {
20065 wxListItem const &_result_ref = (arg1)->GetItem();
20066 result = (wxListItem *) &_result_ref;
20067 }
20068
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
20073 return resultobj;
20074 fail:
20075 return NULL;
20076 }
20077
20078
20079 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxListEvent *arg1 = (wxListEvent *) 0 ;
20082 long result;
20083 PyObject * obj0 = 0 ;
20084 char *kwnames[] = {
20085 (char *) "self", NULL
20086 };
20087
20088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",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 result = (long)(arg1)->GetCacheFrom();
20094
20095 wxPyEndAllowThreads(__tstate);
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
20098 resultobj = SWIG_FromLong((long)result);
20099 return resultobj;
20100 fail:
20101 return NULL;
20102 }
20103
20104
20105 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20106 PyObject *resultobj;
20107 wxListEvent *arg1 = (wxListEvent *) 0 ;
20108 long result;
20109 PyObject * obj0 = 0 ;
20110 char *kwnames[] = {
20111 (char *) "self", NULL
20112 };
20113
20114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
20115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20117 {
20118 PyThreadState* __tstate = wxPyBeginAllowThreads();
20119 result = (long)(arg1)->GetCacheTo();
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 resultobj = SWIG_FromLong((long)result);
20125 return resultobj;
20126 fail:
20127 return NULL;
20128 }
20129
20130
20131 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxListEvent *arg1 = (wxListEvent *) 0 ;
20134 bool result;
20135 PyObject * obj0 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 {
20151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20152 }
20153 return resultobj;
20154 fail:
20155 return NULL;
20156 }
20157
20158
20159 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20160 PyObject *resultobj;
20161 wxListEvent *arg1 = (wxListEvent *) 0 ;
20162 bool arg2 ;
20163 PyObject * obj0 = 0 ;
20164 PyObject * obj1 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self",(char *) "editCancelled", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20172 arg2 = (bool) SWIG_AsBool(obj1);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 {
20175 PyThreadState* __tstate = wxPyBeginAllowThreads();
20176 (arg1)->SetEditCanceled(arg2);
20177
20178 wxPyEndAllowThreads(__tstate);
20179 if (PyErr_Occurred()) SWIG_fail;
20180 }
20181 Py_INCREF(Py_None); resultobj = Py_None;
20182 return resultobj;
20183 fail:
20184 return NULL;
20185 }
20186
20187
20188 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
20189 PyObject *obj;
20190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20191 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
20192 Py_INCREF(obj);
20193 return Py_BuildValue((char *)"");
20194 }
20195 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20196 PyObject *resultobj;
20197 wxWindow *arg1 = (wxWindow *) 0 ;
20198 int arg2 = (int) -1 ;
20199 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20200 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20201 wxSize const &arg4_defvalue = wxDefaultSize ;
20202 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20203 long arg5 = (long) wxLC_ICON ;
20204 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20205 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20206 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20207 wxString *arg7 = (wxString *) &arg7_defvalue ;
20208 wxPyListCtrl *result;
20209 wxPoint temp3 ;
20210 wxSize temp4 ;
20211 bool temp7 = False ;
20212 PyObject * obj0 = 0 ;
20213 PyObject * obj1 = 0 ;
20214 PyObject * obj2 = 0 ;
20215 PyObject * obj3 = 0 ;
20216 PyObject * obj4 = 0 ;
20217 PyObject * obj5 = 0 ;
20218 PyObject * obj6 = 0 ;
20219 char *kwnames[] = {
20220 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20221 };
20222
20223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20226 if (obj1) {
20227 arg2 = (int) SWIG_AsInt(obj1);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
20230 if (obj2) {
20231 {
20232 arg3 = &temp3;
20233 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20234 }
20235 }
20236 if (obj3) {
20237 {
20238 arg4 = &temp4;
20239 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20240 }
20241 }
20242 if (obj4) {
20243 arg5 = (long) SWIG_AsLong(obj4);
20244 if (PyErr_Occurred()) SWIG_fail;
20245 }
20246 if (obj5) {
20247 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
20248 SWIG_POINTER_EXCEPTION | 0)) == -1)
20249 SWIG_fail;
20250 if (arg6 == NULL) {
20251 PyErr_SetString(PyExc_TypeError,"null reference");
20252 SWIG_fail;
20253 }
20254 }
20255 if (obj6) {
20256 {
20257 arg7 = wxString_in_helper(obj6);
20258 if (arg7 == NULL) SWIG_fail;
20259 temp7 = True;
20260 }
20261 }
20262 {
20263 PyThreadState* __tstate = wxPyBeginAllowThreads();
20264 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20265
20266 wxPyEndAllowThreads(__tstate);
20267 if (PyErr_Occurred()) SWIG_fail;
20268 }
20269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20270 {
20271 if (temp7)
20272 delete arg7;
20273 }
20274 return resultobj;
20275 fail:
20276 {
20277 if (temp7)
20278 delete arg7;
20279 }
20280 return NULL;
20281 }
20282
20283
20284 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20285 PyObject *resultobj;
20286 wxPyListCtrl *result;
20287 char *kwnames[] = {
20288 NULL
20289 };
20290
20291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
20294 result = (wxPyListCtrl *)new wxPyListCtrl();
20295
20296 wxPyEndAllowThreads(__tstate);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20300 return resultobj;
20301 fail:
20302 return NULL;
20303 }
20304
20305
20306 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20307 PyObject *resultobj;
20308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20309 wxWindow *arg2 = (wxWindow *) 0 ;
20310 int arg3 = (int) -1 ;
20311 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20312 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20313 wxSize const &arg5_defvalue = wxDefaultSize ;
20314 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20315 long arg6 = (long) wxLC_ICON ;
20316 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20317 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20318 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20319 wxString *arg8 = (wxString *) &arg8_defvalue ;
20320 bool result;
20321 wxPoint temp4 ;
20322 wxSize temp5 ;
20323 bool temp8 = False ;
20324 PyObject * obj0 = 0 ;
20325 PyObject * obj1 = 0 ;
20326 PyObject * obj2 = 0 ;
20327 PyObject * obj3 = 0 ;
20328 PyObject * obj4 = 0 ;
20329 PyObject * obj5 = 0 ;
20330 PyObject * obj6 = 0 ;
20331 PyObject * obj7 = 0 ;
20332 char *kwnames[] = {
20333 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20334 };
20335
20336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20341 if (obj2) {
20342 arg3 = (int) SWIG_AsInt(obj2);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
20345 if (obj3) {
20346 {
20347 arg4 = &temp4;
20348 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20349 }
20350 }
20351 if (obj4) {
20352 {
20353 arg5 = &temp5;
20354 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20355 }
20356 }
20357 if (obj5) {
20358 arg6 = (long) SWIG_AsLong(obj5);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 if (obj6) {
20362 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20363 SWIG_POINTER_EXCEPTION | 0)) == -1)
20364 SWIG_fail;
20365 if (arg7 == NULL) {
20366 PyErr_SetString(PyExc_TypeError,"null reference");
20367 SWIG_fail;
20368 }
20369 }
20370 if (obj7) {
20371 {
20372 arg8 = wxString_in_helper(obj7);
20373 if (arg8 == NULL) SWIG_fail;
20374 temp8 = True;
20375 }
20376 }
20377 {
20378 PyThreadState* __tstate = wxPyBeginAllowThreads();
20379 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20380
20381 wxPyEndAllowThreads(__tstate);
20382 if (PyErr_Occurred()) SWIG_fail;
20383 }
20384 {
20385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20386 }
20387 {
20388 if (temp8)
20389 delete arg8;
20390 }
20391 return resultobj;
20392 fail:
20393 {
20394 if (temp8)
20395 delete arg8;
20396 }
20397 return NULL;
20398 }
20399
20400
20401 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20402 PyObject *resultobj;
20403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20404 PyObject *arg2 = (PyObject *) 0 ;
20405 PyObject *arg3 = (PyObject *) 0 ;
20406 PyObject * obj0 = 0 ;
20407 PyObject * obj1 = 0 ;
20408 PyObject * obj2 = 0 ;
20409 char *kwnames[] = {
20410 (char *) "self",(char *) "self",(char *) "_class", NULL
20411 };
20412
20413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20416 arg2 = obj1;
20417 arg3 = obj2;
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 (arg1)->_setCallbackInfo(arg2,arg3);
20421
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 Py_INCREF(Py_None); resultobj = Py_None;
20426 return resultobj;
20427 fail:
20428 return NULL;
20429 }
20430
20431
20432 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20433 PyObject *resultobj;
20434 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20435 wxColour *arg2 = 0 ;
20436 bool result;
20437 wxColour temp2 ;
20438 PyObject * obj0 = 0 ;
20439 PyObject * obj1 = 0 ;
20440 char *kwnames[] = {
20441 (char *) "self",(char *) "col", NULL
20442 };
20443
20444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20447 {
20448 arg2 = &temp2;
20449 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20450 }
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 {
20459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20460 }
20461 return resultobj;
20462 fail:
20463 return NULL;
20464 }
20465
20466
20467 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj;
20469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20470 wxColour *arg2 = 0 ;
20471 bool result;
20472 wxColour temp2 ;
20473 PyObject * obj0 = 0 ;
20474 PyObject * obj1 = 0 ;
20475 char *kwnames[] = {
20476 (char *) "self",(char *) "col", NULL
20477 };
20478
20479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20482 {
20483 arg2 = &temp2;
20484 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20485 }
20486 {
20487 PyThreadState* __tstate = wxPyBeginAllowThreads();
20488 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20489
20490 wxPyEndAllowThreads(__tstate);
20491 if (PyErr_Occurred()) SWIG_fail;
20492 }
20493 {
20494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20495 }
20496 return resultobj;
20497 fail:
20498 return NULL;
20499 }
20500
20501
20502 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20503 PyObject *resultobj;
20504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20505 int arg2 ;
20506 wxListItem *result;
20507 PyObject * obj0 = 0 ;
20508 PyObject * obj1 = 0 ;
20509 char *kwnames[] = {
20510 (char *) "self",(char *) "col", NULL
20511 };
20512
20513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20516 arg2 = (int) SWIG_AsInt(obj1);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 {
20519 PyThreadState* __tstate = wxPyBeginAllowThreads();
20520 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20521
20522 wxPyEndAllowThreads(__tstate);
20523 if (PyErr_Occurred()) SWIG_fail;
20524 }
20525 {
20526 resultobj = wxPyMake_wxObject(result);
20527 }
20528 return resultobj;
20529 fail:
20530 return NULL;
20531 }
20532
20533
20534 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20535 PyObject *resultobj;
20536 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20537 int arg2 ;
20538 wxListItem *arg3 = 0 ;
20539 bool result;
20540 PyObject * obj0 = 0 ;
20541 PyObject * obj1 = 0 ;
20542 PyObject * obj2 = 0 ;
20543 char *kwnames[] = {
20544 (char *) "self",(char *) "col",(char *) "item", NULL
20545 };
20546
20547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20550 arg2 = (int) SWIG_AsInt(obj1);
20551 if (PyErr_Occurred()) SWIG_fail;
20552 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20553 SWIG_POINTER_EXCEPTION | 0)) == -1)
20554 SWIG_fail;
20555 if (arg3 == NULL) {
20556 PyErr_SetString(PyExc_TypeError,"null reference");
20557 SWIG_fail;
20558 }
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 {
20567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20568 }
20569 return resultobj;
20570 fail:
20571 return NULL;
20572 }
20573
20574
20575 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20576 PyObject *resultobj;
20577 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20578 int arg2 ;
20579 int result;
20580 PyObject * obj0 = 0 ;
20581 PyObject * obj1 = 0 ;
20582 char *kwnames[] = {
20583 (char *) "self",(char *) "col", NULL
20584 };
20585
20586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20589 arg2 = (int) SWIG_AsInt(obj1);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 resultobj = SWIG_FromInt((int)result);
20599 return resultobj;
20600 fail:
20601 return NULL;
20602 }
20603
20604
20605 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20606 PyObject *resultobj;
20607 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20608 int arg2 ;
20609 int arg3 ;
20610 bool result;
20611 PyObject * obj0 = 0 ;
20612 PyObject * obj1 = 0 ;
20613 PyObject * obj2 = 0 ;
20614 char *kwnames[] = {
20615 (char *) "self",(char *) "col",(char *) "width", NULL
20616 };
20617
20618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20621 arg2 = (int) SWIG_AsInt(obj1);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 arg3 = (int) SWIG_AsInt(obj2);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 {
20633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20634 }
20635 return resultobj;
20636 fail:
20637 return NULL;
20638 }
20639
20640
20641 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20642 PyObject *resultobj;
20643 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20644 int result;
20645 PyObject * obj0 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20656
20657 wxPyEndAllowThreads(__tstate);
20658 if (PyErr_Occurred()) SWIG_fail;
20659 }
20660 resultobj = SWIG_FromInt((int)result);
20661 return resultobj;
20662 fail:
20663 return NULL;
20664 }
20665
20666
20667 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj;
20669 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20670 wxRect result;
20671 PyObject * obj0 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 {
20687 wxRect * resultptr;
20688 resultptr = new wxRect((wxRect &) result);
20689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20690 }
20691 return resultobj;
20692 fail:
20693 return NULL;
20694 }
20695
20696
20697 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20698 PyObject *resultobj;
20699 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20700 wxTextCtrl *result;
20701 PyObject * obj0 = 0 ;
20702 char *kwnames[] = {
20703 (char *) "self", NULL
20704 };
20705
20706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
20707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
20712
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 {
20717 resultobj = wxPyMake_wxObject(result);
20718 }
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20728 long arg2 ;
20729 int arg3 = (int) 0 ;
20730 wxListItem *result;
20731 PyObject * obj0 = 0 ;
20732 PyObject * obj1 = 0 ;
20733 PyObject * obj2 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self",(char *) "itemId",(char *) "col", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20741 arg2 = (long) SWIG_AsLong(obj1);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 if (obj2) {
20744 arg3 = (int) SWIG_AsInt(obj2);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 {
20748 PyThreadState* __tstate = wxPyBeginAllowThreads();
20749 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
20754 {
20755 resultobj = wxPyMake_wxObject(result);
20756 }
20757 return resultobj;
20758 fail:
20759 return NULL;
20760 }
20761
20762
20763 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20764 PyObject *resultobj;
20765 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20766 wxListItem *arg2 = 0 ;
20767 bool result;
20768 PyObject * obj0 = 0 ;
20769 PyObject * obj1 = 0 ;
20770 char *kwnames[] = {
20771 (char *) "self",(char *) "info", NULL
20772 };
20773
20774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20778 SWIG_POINTER_EXCEPTION | 0)) == -1)
20779 SWIG_fail;
20780 if (arg2 == NULL) {
20781 PyErr_SetString(PyExc_TypeError,"null reference");
20782 SWIG_fail;
20783 }
20784 {
20785 PyThreadState* __tstate = wxPyBeginAllowThreads();
20786 result = (bool)(arg1)->SetItem(*arg2);
20787
20788 wxPyEndAllowThreads(__tstate);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 }
20791 {
20792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20793 }
20794 return resultobj;
20795 fail:
20796 return NULL;
20797 }
20798
20799
20800 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj;
20802 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20803 long arg2 ;
20804 int arg3 ;
20805 wxString *arg4 = 0 ;
20806 int arg5 = (int) -1 ;
20807 long result;
20808 bool temp4 = False ;
20809 PyObject * obj0 = 0 ;
20810 PyObject * obj1 = 0 ;
20811 PyObject * obj2 = 0 ;
20812 PyObject * obj3 = 0 ;
20813 PyObject * obj4 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20821 arg2 = (long) SWIG_AsLong(obj1);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 arg3 = (int) SWIG_AsInt(obj2);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 {
20826 arg4 = wxString_in_helper(obj3);
20827 if (arg4 == NULL) SWIG_fail;
20828 temp4 = True;
20829 }
20830 if (obj4) {
20831 arg5 = (int) SWIG_AsInt(obj4);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
20834 {
20835 PyThreadState* __tstate = wxPyBeginAllowThreads();
20836 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20837
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 resultobj = SWIG_FromLong((long)result);
20842 {
20843 if (temp4)
20844 delete arg4;
20845 }
20846 return resultobj;
20847 fail:
20848 {
20849 if (temp4)
20850 delete arg4;
20851 }
20852 return NULL;
20853 }
20854
20855
20856 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20857 PyObject *resultobj;
20858 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20859 long arg2 ;
20860 long arg3 ;
20861 int result;
20862 PyObject * obj0 = 0 ;
20863 PyObject * obj1 = 0 ;
20864 PyObject * obj2 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20872 arg2 = (long) SWIG_AsLong(obj1);
20873 if (PyErr_Occurred()) SWIG_fail;
20874 arg3 = (long) SWIG_AsLong(obj2);
20875 if (PyErr_Occurred()) SWIG_fail;
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 resultobj = SWIG_FromInt((int)result);
20884 return resultobj;
20885 fail:
20886 return NULL;
20887 }
20888
20889
20890 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20891 PyObject *resultobj;
20892 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20893 long arg2 ;
20894 long arg3 ;
20895 long arg4 ;
20896 bool result;
20897 PyObject * obj0 = 0 ;
20898 PyObject * obj1 = 0 ;
20899 PyObject * obj2 = 0 ;
20900 PyObject * obj3 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20908 arg2 = (long) SWIG_AsLong(obj1);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 arg3 = (long) SWIG_AsLong(obj2);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 arg4 = (long) SWIG_AsLong(obj3);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 {
20915 PyThreadState* __tstate = wxPyBeginAllowThreads();
20916 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20917
20918 wxPyEndAllowThreads(__tstate);
20919 if (PyErr_Occurred()) SWIG_fail;
20920 }
20921 {
20922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20923 }
20924 return resultobj;
20925 fail:
20926 return NULL;
20927 }
20928
20929
20930 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20931 PyObject *resultobj;
20932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20933 long arg2 ;
20934 int arg3 ;
20935 int arg4 ;
20936 bool result;
20937 PyObject * obj0 = 0 ;
20938 PyObject * obj1 = 0 ;
20939 PyObject * obj2 = 0 ;
20940 PyObject * obj3 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20948 arg2 = (long) SWIG_AsLong(obj1);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 arg3 = (int) SWIG_AsInt(obj2);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 arg4 = (int) SWIG_AsInt(obj3);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20957
20958 wxPyEndAllowThreads(__tstate);
20959 if (PyErr_Occurred()) SWIG_fail;
20960 }
20961 {
20962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20963 }
20964 return resultobj;
20965 fail:
20966 return NULL;
20967 }
20968
20969
20970 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20971 PyObject *resultobj;
20972 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20973 long arg2 ;
20974 wxString result;
20975 PyObject * obj0 = 0 ;
20976 PyObject * obj1 = 0 ;
20977 char *kwnames[] = {
20978 (char *) "self",(char *) "item", NULL
20979 };
20980
20981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20984 arg2 = (long) SWIG_AsLong(obj1);
20985 if (PyErr_Occurred()) SWIG_fail;
20986 {
20987 PyThreadState* __tstate = wxPyBeginAllowThreads();
20988 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20989
20990 wxPyEndAllowThreads(__tstate);
20991 if (PyErr_Occurred()) SWIG_fail;
20992 }
20993 {
20994 #if wxUSE_UNICODE
20995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20996 #else
20997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20998 #endif
20999 }
21000 return resultobj;
21001 fail:
21002 return NULL;
21003 }
21004
21005
21006 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21007 PyObject *resultobj;
21008 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21009 long arg2 ;
21010 wxString *arg3 = 0 ;
21011 bool temp3 = False ;
21012 PyObject * obj0 = 0 ;
21013 PyObject * obj1 = 0 ;
21014 PyObject * obj2 = 0 ;
21015 char *kwnames[] = {
21016 (char *) "self",(char *) "item",(char *) "str", NULL
21017 };
21018
21019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21022 arg2 = (long) SWIG_AsLong(obj1);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 {
21025 arg3 = wxString_in_helper(obj2);
21026 if (arg3 == NULL) SWIG_fail;
21027 temp3 = True;
21028 }
21029 {
21030 PyThreadState* __tstate = wxPyBeginAllowThreads();
21031 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21032
21033 wxPyEndAllowThreads(__tstate);
21034 if (PyErr_Occurred()) SWIG_fail;
21035 }
21036 Py_INCREF(Py_None); resultobj = Py_None;
21037 {
21038 if (temp3)
21039 delete arg3;
21040 }
21041 return resultobj;
21042 fail:
21043 {
21044 if (temp3)
21045 delete arg3;
21046 }
21047 return NULL;
21048 }
21049
21050
21051 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21052 PyObject *resultobj;
21053 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21054 long arg2 ;
21055 long result;
21056 PyObject * obj0 = 0 ;
21057 PyObject * obj1 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self",(char *) "item", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21065 arg2 = (long) SWIG_AsLong(obj1);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 resultobj = SWIG_FromLong((long)result);
21075 return resultobj;
21076 fail:
21077 return NULL;
21078 }
21079
21080
21081 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21082 PyObject *resultobj;
21083 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21084 long arg2 ;
21085 long arg3 ;
21086 bool result;
21087 PyObject * obj0 = 0 ;
21088 PyObject * obj1 = 0 ;
21089 PyObject * obj2 = 0 ;
21090 char *kwnames[] = {
21091 (char *) "self",(char *) "item",(char *) "data", NULL
21092 };
21093
21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21097 arg2 = (long) SWIG_AsLong(obj1);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 arg3 = (long) SWIG_AsLong(obj2);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 {
21102 PyThreadState* __tstate = wxPyBeginAllowThreads();
21103 result = (bool)(arg1)->SetItemData(arg2,arg3);
21104
21105 wxPyEndAllowThreads(__tstate);
21106 if (PyErr_Occurred()) SWIG_fail;
21107 }
21108 {
21109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21110 }
21111 return resultobj;
21112 fail:
21113 return NULL;
21114 }
21115
21116
21117 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21118 PyObject *resultobj;
21119 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21120 long arg2 ;
21121 wxPoint result;
21122 PyObject * obj0 = 0 ;
21123 PyObject * obj1 = 0 ;
21124 char *kwnames[] = {
21125 (char *) "self",(char *) "item", NULL
21126 };
21127
21128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
21129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21131 arg2 = (long) SWIG_AsLong(obj1);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 {
21134 PyThreadState* __tstate = wxPyBeginAllowThreads();
21135 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21136
21137 wxPyEndAllowThreads(__tstate);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 }
21140 {
21141 wxPoint * resultptr;
21142 resultptr = new wxPoint((wxPoint &) result);
21143 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21144 }
21145 return resultobj;
21146 fail:
21147 return NULL;
21148 }
21149
21150
21151 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj;
21153 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21154 long arg2 ;
21155 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21156 wxRect result;
21157 PyObject * obj0 = 0 ;
21158 PyObject * obj1 = 0 ;
21159 PyObject * obj2 = 0 ;
21160 char *kwnames[] = {
21161 (char *) "self",(char *) "item",(char *) "code", NULL
21162 };
21163
21164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
21165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21167 arg2 = (long) SWIG_AsLong(obj1);
21168 if (PyErr_Occurred()) SWIG_fail;
21169 if (obj2) {
21170 arg3 = (int) SWIG_AsInt(obj2);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21176
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
21180 {
21181 wxRect * resultptr;
21182 resultptr = new wxRect((wxRect &) result);
21183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21184 }
21185 return resultobj;
21186 fail:
21187 return NULL;
21188 }
21189
21190
21191 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21192 PyObject *resultobj;
21193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21194 long arg2 ;
21195 wxPoint *arg3 = 0 ;
21196 bool result;
21197 wxPoint temp3 ;
21198 PyObject * obj0 = 0 ;
21199 PyObject * obj1 = 0 ;
21200 PyObject * obj2 = 0 ;
21201 char *kwnames[] = {
21202 (char *) "self",(char *) "item",(char *) "pos", NULL
21203 };
21204
21205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21208 arg2 = (long) SWIG_AsLong(obj1);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 {
21211 arg3 = &temp3;
21212 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21213 }
21214 {
21215 PyThreadState* __tstate = wxPyBeginAllowThreads();
21216 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
21217
21218 wxPyEndAllowThreads(__tstate);
21219 if (PyErr_Occurred()) SWIG_fail;
21220 }
21221 {
21222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21223 }
21224 return resultobj;
21225 fail:
21226 return NULL;
21227 }
21228
21229
21230 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21231 PyObject *resultobj;
21232 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21233 int result;
21234 PyObject * obj0 = 0 ;
21235 char *kwnames[] = {
21236 (char *) "self", NULL
21237 };
21238
21239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
21240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21242 {
21243 PyThreadState* __tstate = wxPyBeginAllowThreads();
21244 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
21245
21246 wxPyEndAllowThreads(__tstate);
21247 if (PyErr_Occurred()) SWIG_fail;
21248 }
21249 resultobj = SWIG_FromInt((int)result);
21250 return resultobj;
21251 fail:
21252 return NULL;
21253 }
21254
21255
21256 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21257 PyObject *resultobj;
21258 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21259 int result;
21260 PyObject * obj0 = 0 ;
21261 char *kwnames[] = {
21262 (char *) "self", NULL
21263 };
21264
21265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
21266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 resultobj = SWIG_FromInt((int)result);
21276 return resultobj;
21277 fail:
21278 return NULL;
21279 }
21280
21281
21282 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21285 wxSize result;
21286 PyObject * obj0 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21294 {
21295 PyThreadState* __tstate = wxPyBeginAllowThreads();
21296 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
21297
21298 wxPyEndAllowThreads(__tstate);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 }
21301 {
21302 wxSize * resultptr;
21303 resultptr = new wxSize((wxSize &) result);
21304 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21305 }
21306 return resultobj;
21307 fail:
21308 return NULL;
21309 }
21310
21311
21312 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj;
21314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21315 int result;
21316 PyObject * obj0 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
21322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
21331 resultobj = SWIG_FromInt((int)result);
21332 return resultobj;
21333 fail:
21334 return NULL;
21335 }
21336
21337
21338 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21341 wxColour result;
21342 PyObject * obj0 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21353
21354 wxPyEndAllowThreads(__tstate);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 {
21358 wxColour * resultptr;
21359 resultptr = new wxColour((wxColour &) result);
21360 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21361 }
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21371 wxColour *arg2 = 0 ;
21372 wxColour temp2 ;
21373 PyObject * obj0 = 0 ;
21374 PyObject * obj1 = 0 ;
21375 char *kwnames[] = {
21376 (char *) "self",(char *) "col", NULL
21377 };
21378
21379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21382 {
21383 arg2 = &temp2;
21384 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21385 }
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 (arg1)->SetTextColour((wxColour const &)*arg2);
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 Py_INCREF(Py_None); resultobj = Py_None;
21394 return resultobj;
21395 fail:
21396 return NULL;
21397 }
21398
21399
21400 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21401 PyObject *resultobj;
21402 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21403 long result;
21404 PyObject * obj0 = 0 ;
21405 char *kwnames[] = {
21406 (char *) "self", NULL
21407 };
21408
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 resultobj = SWIG_FromLong((long)result);
21420 return resultobj;
21421 fail:
21422 return NULL;
21423 }
21424
21425
21426 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj;
21428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21429 long arg2 ;
21430 bool arg3 = (bool) True ;
21431 PyObject * obj0 = 0 ;
21432 PyObject * obj1 = 0 ;
21433 PyObject * obj2 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self",(char *) "style",(char *) "add", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21441 arg2 = (long) SWIG_AsLong(obj1);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 if (obj2) {
21444 arg3 = (bool) SWIG_AsBool(obj2);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 }
21447 {
21448 PyThreadState* __tstate = wxPyBeginAllowThreads();
21449 (arg1)->SetSingleStyle(arg2,arg3);
21450
21451 wxPyEndAllowThreads(__tstate);
21452 if (PyErr_Occurred()) SWIG_fail;
21453 }
21454 Py_INCREF(Py_None); resultobj = Py_None;
21455 return resultobj;
21456 fail:
21457 return NULL;
21458 }
21459
21460
21461 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21462 PyObject *resultobj;
21463 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21464 long arg2 ;
21465 PyObject * obj0 = 0 ;
21466 PyObject * obj1 = 0 ;
21467 char *kwnames[] = {
21468 (char *) "self",(char *) "style", NULL
21469 };
21470
21471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21474 arg2 = (long) SWIG_AsLong(obj1);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 (arg1)->SetWindowStyleFlag(arg2);
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 Py_INCREF(Py_None); resultobj = Py_None;
21484 return resultobj;
21485 fail:
21486 return NULL;
21487 }
21488
21489
21490 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21491 PyObject *resultobj;
21492 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21493 long arg2 ;
21494 int arg3 = (int) wxLIST_NEXT_ALL ;
21495 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21496 long result;
21497 PyObject * obj0 = 0 ;
21498 PyObject * obj1 = 0 ;
21499 PyObject * obj2 = 0 ;
21500 PyObject * obj3 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21503 };
21504
21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21508 arg2 = (long) SWIG_AsLong(obj1);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 if (obj2) {
21511 arg3 = (int) SWIG_AsInt(obj2);
21512 if (PyErr_Occurred()) SWIG_fail;
21513 }
21514 if (obj3) {
21515 arg4 = (int) SWIG_AsInt(obj3);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 resultobj = SWIG_FromLong((long)result);
21526 return resultobj;
21527 fail:
21528 return NULL;
21529 }
21530
21531
21532 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj;
21534 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21535 int arg2 ;
21536 wxImageList *result;
21537 PyObject * obj0 = 0 ;
21538 PyObject * obj1 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "which", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21546 arg2 = (int) SWIG_AsInt(obj1);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 {
21556 resultobj = wxPyMake_wxObject(result);
21557 }
21558 return resultobj;
21559 fail:
21560 return NULL;
21561 }
21562
21563
21564 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21565 PyObject *resultobj;
21566 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21567 wxImageList *arg2 = (wxImageList *) 0 ;
21568 int arg3 ;
21569 PyObject * obj0 = 0 ;
21570 PyObject * obj1 = 0 ;
21571 PyObject * obj2 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self",(char *) "imageList",(char *) "which", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21581 arg3 = (int) SWIG_AsInt(obj2);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 (arg1)->SetImageList(arg2,arg3);
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 Py_INCREF(Py_None); resultobj = Py_None;
21591 return resultobj;
21592 fail:
21593 return NULL;
21594 }
21595
21596
21597 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj;
21599 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21600 wxImageList *arg2 = (wxImageList *) 0 ;
21601 int arg3 ;
21602 PyObject * obj0 = 0 ;
21603 PyObject * obj1 = 0 ;
21604 PyObject * obj2 = 0 ;
21605 char *kwnames[] = {
21606 (char *) "self",(char *) "imageList",(char *) "which", NULL
21607 };
21608
21609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21613 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21614 arg3 = (int) SWIG_AsInt(obj2);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 {
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 (arg1)->AssignImageList(arg2,arg3);
21619
21620 wxPyEndAllowThreads(__tstate);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 }
21623 Py_INCREF(Py_None); resultobj = Py_None;
21624 return resultobj;
21625 fail:
21626 return NULL;
21627 }
21628
21629
21630 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
21631 PyObject *resultobj;
21632 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21633 bool result;
21634 PyObject * obj0 = 0 ;
21635 char *kwnames[] = {
21636 (char *) "self", NULL
21637 };
21638
21639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21642 {
21643 PyThreadState* __tstate = wxPyBeginAllowThreads();
21644 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21645
21646 wxPyEndAllowThreads(__tstate);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 }
21649 {
21650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21651 }
21652 return resultobj;
21653 fail:
21654 return NULL;
21655 }
21656
21657
21658 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21659 PyObject *resultobj;
21660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21661 bool result;
21662 PyObject * obj0 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21670 {
21671 PyThreadState* __tstate = wxPyBeginAllowThreads();
21672 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21673
21674 wxPyEndAllowThreads(__tstate);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
21677 {
21678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21679 }
21680 return resultobj;
21681 fail:
21682 return NULL;
21683 }
21684
21685
21686 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21687 PyObject *resultobj;
21688 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21689 long arg2 ;
21690 PyObject * obj0 = 0 ;
21691 PyObject * obj1 = 0 ;
21692 char *kwnames[] = {
21693 (char *) "self",(char *) "item", NULL
21694 };
21695
21696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21699 arg2 = (long) SWIG_AsLong(obj1);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 (arg1)->RefreshItem(arg2);
21704
21705 wxPyEndAllowThreads(__tstate);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 }
21708 Py_INCREF(Py_None); resultobj = Py_None;
21709 return resultobj;
21710 fail:
21711 return NULL;
21712 }
21713
21714
21715 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21716 PyObject *resultobj;
21717 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21718 long arg2 ;
21719 long arg3 ;
21720 PyObject * obj0 = 0 ;
21721 PyObject * obj1 = 0 ;
21722 PyObject * obj2 = 0 ;
21723 char *kwnames[] = {
21724 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21725 };
21726
21727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21730 arg2 = (long) SWIG_AsLong(obj1);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 arg3 = (long) SWIG_AsLong(obj2);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 {
21735 PyThreadState* __tstate = wxPyBeginAllowThreads();
21736 (arg1)->RefreshItems(arg2,arg3);
21737
21738 wxPyEndAllowThreads(__tstate);
21739 if (PyErr_Occurred()) SWIG_fail;
21740 }
21741 Py_INCREF(Py_None); resultobj = Py_None;
21742 return resultobj;
21743 fail:
21744 return NULL;
21745 }
21746
21747
21748 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21749 PyObject *resultobj;
21750 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21751 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21752 bool result;
21753 PyObject * obj0 = 0 ;
21754 PyObject * obj1 = 0 ;
21755 char *kwnames[] = {
21756 (char *) "self",(char *) "flag", NULL
21757 };
21758
21759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21762 if (obj1) {
21763 arg2 = (int) SWIG_AsInt(obj1);
21764 if (PyErr_Occurred()) SWIG_fail;
21765 }
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 result = (bool)(arg1)->Arrange(arg2);
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 {
21774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21775 }
21776 return resultobj;
21777 fail:
21778 return NULL;
21779 }
21780
21781
21782 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21783 PyObject *resultobj;
21784 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21785 long arg2 ;
21786 bool result;
21787 PyObject * obj0 = 0 ;
21788 PyObject * obj1 = 0 ;
21789 char *kwnames[] = {
21790 (char *) "self",(char *) "item", NULL
21791 };
21792
21793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21796 arg2 = (long) SWIG_AsLong(obj1);
21797 if (PyErr_Occurred()) SWIG_fail;
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 result = (bool)(arg1)->DeleteItem(arg2);
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 {
21806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21807 }
21808 return resultobj;
21809 fail:
21810 return NULL;
21811 }
21812
21813
21814 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21815 PyObject *resultobj;
21816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21817 bool result;
21818 PyObject * obj0 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self", NULL
21821 };
21822
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21826 {
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 result = (bool)(arg1)->DeleteAllItems();
21829
21830 wxPyEndAllowThreads(__tstate);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 {
21834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21835 }
21836 return resultobj;
21837 fail:
21838 return NULL;
21839 }
21840
21841
21842 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21845 int arg2 ;
21846 bool result;
21847 PyObject * obj0 = 0 ;
21848 PyObject * obj1 = 0 ;
21849 char *kwnames[] = {
21850 (char *) "self",(char *) "col", NULL
21851 };
21852
21853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21856 arg2 = (int) SWIG_AsInt(obj1);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 {
21859 PyThreadState* __tstate = wxPyBeginAllowThreads();
21860 result = (bool)(arg1)->DeleteColumn(arg2);
21861
21862 wxPyEndAllowThreads(__tstate);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 }
21865 {
21866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21867 }
21868 return resultobj;
21869 fail:
21870 return NULL;
21871 }
21872
21873
21874 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21875 PyObject *resultobj;
21876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21877 bool result;
21878 PyObject * obj0 = 0 ;
21879 char *kwnames[] = {
21880 (char *) "self", NULL
21881 };
21882
21883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21886 {
21887 PyThreadState* __tstate = wxPyBeginAllowThreads();
21888 result = (bool)(arg1)->DeleteAllColumns();
21889
21890 wxPyEndAllowThreads(__tstate);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 }
21893 {
21894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21895 }
21896 return resultobj;
21897 fail:
21898 return NULL;
21899 }
21900
21901
21902 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21903 PyObject *resultobj;
21904 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21905 PyObject * obj0 = 0 ;
21906 char *kwnames[] = {
21907 (char *) "self", NULL
21908 };
21909
21910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
21915 (arg1)->ClearAll();
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 Py_INCREF(Py_None); resultobj = Py_None;
21921 return resultobj;
21922 fail:
21923 return NULL;
21924 }
21925
21926
21927 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21928 PyObject *resultobj;
21929 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21930 long arg2 ;
21931 wxTextCtrl *result;
21932 PyObject * obj0 = 0 ;
21933 PyObject * obj1 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self",(char *) "item", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21941 arg2 = (long) SWIG_AsLong(obj1);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 {
21944 PyThreadState* __tstate = wxPyBeginAllowThreads();
21945 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
21946
21947 wxPyEndAllowThreads(__tstate);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 }
21950 {
21951 resultobj = wxPyMake_wxObject(result);
21952 }
21953 return resultobj;
21954 fail:
21955 return NULL;
21956 }
21957
21958
21959 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21960 PyObject *resultobj;
21961 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21962 bool arg2 ;
21963 bool result;
21964 PyObject * obj0 = 0 ;
21965 PyObject * obj1 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self",(char *) "cancel", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
21971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21973 arg2 = (bool) SWIG_AsBool(obj1);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = (bool)(arg1)->EndEditLabel(arg2);
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 {
21983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21984 }
21985 return resultobj;
21986 fail:
21987 return NULL;
21988 }
21989
21990
21991 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21992 PyObject *resultobj;
21993 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21994 long arg2 ;
21995 bool result;
21996 PyObject * obj0 = 0 ;
21997 PyObject * obj1 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "item", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22005 arg2 = (long) SWIG_AsLong(obj1);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 {
22008 PyThreadState* __tstate = wxPyBeginAllowThreads();
22009 result = (bool)(arg1)->EnsureVisible(arg2);
22010
22011 wxPyEndAllowThreads(__tstate);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 {
22015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22016 }
22017 return resultobj;
22018 fail:
22019 return NULL;
22020 }
22021
22022
22023 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22024 PyObject *resultobj;
22025 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22026 long arg2 ;
22027 wxString *arg3 = 0 ;
22028 bool arg4 = (bool) False ;
22029 long result;
22030 bool temp3 = False ;
22031 PyObject * obj0 = 0 ;
22032 PyObject * obj1 = 0 ;
22033 PyObject * obj2 = 0 ;
22034 PyObject * obj3 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22037 };
22038
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22042 arg2 = (long) SWIG_AsLong(obj1);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 {
22045 arg3 = wxString_in_helper(obj2);
22046 if (arg3 == NULL) SWIG_fail;
22047 temp3 = True;
22048 }
22049 if (obj3) {
22050 arg4 = (bool) SWIG_AsBool(obj3);
22051 if (PyErr_Occurred()) SWIG_fail;
22052 }
22053 {
22054 PyThreadState* __tstate = wxPyBeginAllowThreads();
22055 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
22056
22057 wxPyEndAllowThreads(__tstate);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 }
22060 resultobj = SWIG_FromLong((long)result);
22061 {
22062 if (temp3)
22063 delete arg3;
22064 }
22065 return resultobj;
22066 fail:
22067 {
22068 if (temp3)
22069 delete arg3;
22070 }
22071 return NULL;
22072 }
22073
22074
22075 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22076 PyObject *resultobj;
22077 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22078 long arg2 ;
22079 long arg3 ;
22080 long result;
22081 PyObject * obj0 = 0 ;
22082 PyObject * obj1 = 0 ;
22083 PyObject * obj2 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self",(char *) "start",(char *) "data", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22091 arg2 = (long) SWIG_AsLong(obj1);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 arg3 = (long) SWIG_AsLong(obj2);
22094 if (PyErr_Occurred()) SWIG_fail;
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 result = (long)(arg1)->FindItem(arg2,arg3);
22098
22099 wxPyEndAllowThreads(__tstate);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 resultobj = SWIG_FromLong((long)result);
22103 return resultobj;
22104 fail:
22105 return NULL;
22106 }
22107
22108
22109 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22110 PyObject *resultobj;
22111 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22112 long arg2 ;
22113 wxPoint *arg3 = 0 ;
22114 int arg4 ;
22115 long result;
22116 wxPoint temp3 ;
22117 PyObject * obj0 = 0 ;
22118 PyObject * obj1 = 0 ;
22119 PyObject * obj2 = 0 ;
22120 PyObject * obj3 = 0 ;
22121 char *kwnames[] = {
22122 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22123 };
22124
22125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22128 arg2 = (long) SWIG_AsLong(obj1);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 {
22131 arg3 = &temp3;
22132 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22133 }
22134 arg4 = (int) SWIG_AsInt(obj3);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 resultobj = SWIG_FromLong((long)result);
22144 return resultobj;
22145 fail:
22146 return NULL;
22147 }
22148
22149
22150 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22151 PyObject *resultobj;
22152 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22153 wxPoint *arg2 = 0 ;
22154 int *arg3 = 0 ;
22155 long result;
22156 wxPoint temp2 ;
22157 int temp3 ;
22158 PyObject * obj0 = 0 ;
22159 PyObject * obj1 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self",(char *) "point", NULL
22162 };
22163
22164 arg3 = &temp3;
22165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22168 {
22169 arg2 = &temp2;
22170 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22171 }
22172 {
22173 PyThreadState* __tstate = wxPyBeginAllowThreads();
22174 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22175
22176 wxPyEndAllowThreads(__tstate);
22177 if (PyErr_Occurred()) SWIG_fail;
22178 }
22179 resultobj = SWIG_FromLong((long)result);
22180 {
22181 PyObject *o = PyInt_FromLong((long) (*arg3));
22182 resultobj = t_output_helper(resultobj,o);
22183 }
22184 return resultobj;
22185 fail:
22186 return NULL;
22187 }
22188
22189
22190 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22191 PyObject *resultobj;
22192 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22193 wxListItem *arg2 = 0 ;
22194 long result;
22195 PyObject * obj0 = 0 ;
22196 PyObject * obj1 = 0 ;
22197 char *kwnames[] = {
22198 (char *) "self",(char *) "info", NULL
22199 };
22200
22201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
22202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22205 SWIG_POINTER_EXCEPTION | 0)) == -1)
22206 SWIG_fail;
22207 if (arg2 == NULL) {
22208 PyErr_SetString(PyExc_TypeError,"null reference");
22209 SWIG_fail;
22210 }
22211 {
22212 PyThreadState* __tstate = wxPyBeginAllowThreads();
22213 result = (long)(arg1)->InsertItem(*arg2);
22214
22215 wxPyEndAllowThreads(__tstate);
22216 if (PyErr_Occurred()) SWIG_fail;
22217 }
22218 resultobj = SWIG_FromLong((long)result);
22219 return resultobj;
22220 fail:
22221 return NULL;
22222 }
22223
22224
22225 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22226 PyObject *resultobj;
22227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22228 long arg2 ;
22229 wxString *arg3 = 0 ;
22230 long result;
22231 bool temp3 = False ;
22232 PyObject * obj0 = 0 ;
22233 PyObject * obj1 = 0 ;
22234 PyObject * obj2 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "self",(char *) "index",(char *) "label", NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22242 arg2 = (long) SWIG_AsLong(obj1);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 {
22245 arg3 = wxString_in_helper(obj2);
22246 if (arg3 == NULL) SWIG_fail;
22247 temp3 = True;
22248 }
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 resultobj = SWIG_FromLong((long)result);
22257 {
22258 if (temp3)
22259 delete arg3;
22260 }
22261 return resultobj;
22262 fail:
22263 {
22264 if (temp3)
22265 delete arg3;
22266 }
22267 return NULL;
22268 }
22269
22270
22271 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22272 PyObject *resultobj;
22273 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22274 long arg2 ;
22275 int arg3 ;
22276 long result;
22277 PyObject * obj0 = 0 ;
22278 PyObject * obj1 = 0 ;
22279 PyObject * obj2 = 0 ;
22280 char *kwnames[] = {
22281 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22282 };
22283
22284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22287 arg2 = (long) SWIG_AsLong(obj1);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 arg3 = (int) SWIG_AsInt(obj2);
22290 if (PyErr_Occurred()) SWIG_fail;
22291 {
22292 PyThreadState* __tstate = wxPyBeginAllowThreads();
22293 result = (long)(arg1)->InsertItem(arg2,arg3);
22294
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 resultobj = SWIG_FromLong((long)result);
22299 return resultobj;
22300 fail:
22301 return NULL;
22302 }
22303
22304
22305 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22306 PyObject *resultobj;
22307 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22308 long arg2 ;
22309 wxString *arg3 = 0 ;
22310 int arg4 ;
22311 long result;
22312 bool temp3 = False ;
22313 PyObject * obj0 = 0 ;
22314 PyObject * obj1 = 0 ;
22315 PyObject * obj2 = 0 ;
22316 PyObject * obj3 = 0 ;
22317 char *kwnames[] = {
22318 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22319 };
22320
22321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22324 arg2 = (long) SWIG_AsLong(obj1);
22325 if (PyErr_Occurred()) SWIG_fail;
22326 {
22327 arg3 = wxString_in_helper(obj2);
22328 if (arg3 == NULL) SWIG_fail;
22329 temp3 = True;
22330 }
22331 arg4 = (int) SWIG_AsInt(obj3);
22332 if (PyErr_Occurred()) SWIG_fail;
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
22336
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 resultobj = SWIG_FromLong((long)result);
22341 {
22342 if (temp3)
22343 delete arg3;
22344 }
22345 return resultobj;
22346 fail:
22347 {
22348 if (temp3)
22349 delete arg3;
22350 }
22351 return NULL;
22352 }
22353
22354
22355 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22356 PyObject *resultobj;
22357 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22358 long arg2 ;
22359 wxListItem *arg3 = 0 ;
22360 long result;
22361 PyObject * obj0 = 0 ;
22362 PyObject * obj1 = 0 ;
22363 PyObject * obj2 = 0 ;
22364 char *kwnames[] = {
22365 (char *) "self",(char *) "col",(char *) "info", NULL
22366 };
22367
22368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22371 arg2 = (long) SWIG_AsLong(obj1);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22374 SWIG_POINTER_EXCEPTION | 0)) == -1)
22375 SWIG_fail;
22376 if (arg3 == NULL) {
22377 PyErr_SetString(PyExc_TypeError,"null reference");
22378 SWIG_fail;
22379 }
22380 {
22381 PyThreadState* __tstate = wxPyBeginAllowThreads();
22382 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22383
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 resultobj = SWIG_FromLong((long)result);
22388 return resultobj;
22389 fail:
22390 return NULL;
22391 }
22392
22393
22394 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22397 long arg2 ;
22398 wxString *arg3 = 0 ;
22399 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22400 int arg5 = (int) -1 ;
22401 long result;
22402 bool temp3 = False ;
22403 PyObject * obj0 = 0 ;
22404 PyObject * obj1 = 0 ;
22405 PyObject * obj2 = 0 ;
22406 PyObject * obj3 = 0 ;
22407 PyObject * obj4 = 0 ;
22408 char *kwnames[] = {
22409 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22415 arg2 = (long) SWIG_AsLong(obj1);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 {
22418 arg3 = wxString_in_helper(obj2);
22419 if (arg3 == NULL) SWIG_fail;
22420 temp3 = True;
22421 }
22422 if (obj3) {
22423 arg4 = (int) SWIG_AsInt(obj3);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 }
22426 if (obj4) {
22427 arg5 = (int) SWIG_AsInt(obj4);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22433
22434 wxPyEndAllowThreads(__tstate);
22435 if (PyErr_Occurred()) SWIG_fail;
22436 }
22437 resultobj = SWIG_FromLong((long)result);
22438 {
22439 if (temp3)
22440 delete arg3;
22441 }
22442 return resultobj;
22443 fail:
22444 {
22445 if (temp3)
22446 delete arg3;
22447 }
22448 return NULL;
22449 }
22450
22451
22452 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22453 PyObject *resultobj;
22454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22455 long arg2 ;
22456 PyObject * obj0 = 0 ;
22457 PyObject * obj1 = 0 ;
22458 char *kwnames[] = {
22459 (char *) "self",(char *) "count", NULL
22460 };
22461
22462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22465 arg2 = (long) SWIG_AsLong(obj1);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 {
22468 PyThreadState* __tstate = wxPyBeginAllowThreads();
22469 (arg1)->SetItemCount(arg2);
22470
22471 wxPyEndAllowThreads(__tstate);
22472 if (PyErr_Occurred()) SWIG_fail;
22473 }
22474 Py_INCREF(Py_None); resultobj = Py_None;
22475 return resultobj;
22476 fail:
22477 return NULL;
22478 }
22479
22480
22481 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22482 PyObject *resultobj;
22483 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22484 int arg2 ;
22485 int arg3 ;
22486 bool result;
22487 PyObject * obj0 = 0 ;
22488 PyObject * obj1 = 0 ;
22489 PyObject * obj2 = 0 ;
22490 char *kwnames[] = {
22491 (char *) "self",(char *) "dx",(char *) "dy", NULL
22492 };
22493
22494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22497 arg2 = (int) SWIG_AsInt(obj1);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 arg3 = (int) SWIG_AsInt(obj2);
22500 if (PyErr_Occurred()) SWIG_fail;
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 result = (bool)(arg1)->ScrollList(arg2,arg3);
22504
22505 wxPyEndAllowThreads(__tstate);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 {
22509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22510 }
22511 return resultobj;
22512 fail:
22513 return NULL;
22514 }
22515
22516
22517 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22518 PyObject *resultobj;
22519 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22520 long arg2 ;
22521 wxColour *arg3 = 0 ;
22522 wxColour temp3 ;
22523 PyObject * obj0 = 0 ;
22524 PyObject * obj1 = 0 ;
22525 PyObject * obj2 = 0 ;
22526 char *kwnames[] = {
22527 (char *) "self",(char *) "item",(char *) "col", NULL
22528 };
22529
22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22533 arg2 = (long) SWIG_AsLong(obj1);
22534 if (PyErr_Occurred()) SWIG_fail;
22535 {
22536 arg3 = &temp3;
22537 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22538 }
22539 {
22540 PyThreadState* __tstate = wxPyBeginAllowThreads();
22541 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22542
22543 wxPyEndAllowThreads(__tstate);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 Py_INCREF(Py_None); resultobj = Py_None;
22547 return resultobj;
22548 fail:
22549 return NULL;
22550 }
22551
22552
22553 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22554 PyObject *resultobj;
22555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22556 long arg2 ;
22557 wxColour result;
22558 PyObject * obj0 = 0 ;
22559 PyObject * obj1 = 0 ;
22560 char *kwnames[] = {
22561 (char *) "self",(char *) "item", NULL
22562 };
22563
22564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22567 arg2 = (long) SWIG_AsLong(obj1);
22568 if (PyErr_Occurred()) SWIG_fail;
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 {
22577 wxColour * resultptr;
22578 resultptr = new wxColour((wxColour &) result);
22579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22580 }
22581 return resultobj;
22582 fail:
22583 return NULL;
22584 }
22585
22586
22587 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22588 PyObject *resultobj;
22589 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22590 long arg2 ;
22591 wxColour *arg3 = 0 ;
22592 wxColour temp3 ;
22593 PyObject * obj0 = 0 ;
22594 PyObject * obj1 = 0 ;
22595 PyObject * obj2 = 0 ;
22596 char *kwnames[] = {
22597 (char *) "self",(char *) "item",(char *) "col", NULL
22598 };
22599
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22603 arg2 = (long) SWIG_AsLong(obj1);
22604 if (PyErr_Occurred()) SWIG_fail;
22605 {
22606 arg3 = &temp3;
22607 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22608 }
22609 {
22610 PyThreadState* __tstate = wxPyBeginAllowThreads();
22611 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22612
22613 wxPyEndAllowThreads(__tstate);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
22616 Py_INCREF(Py_None); resultobj = Py_None;
22617 return resultobj;
22618 fail:
22619 return NULL;
22620 }
22621
22622
22623 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22624 PyObject *resultobj;
22625 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22626 long arg2 ;
22627 wxColour result;
22628 PyObject * obj0 = 0 ;
22629 PyObject * obj1 = 0 ;
22630 char *kwnames[] = {
22631 (char *) "self",(char *) "item", NULL
22632 };
22633
22634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22637 arg2 = (long) SWIG_AsLong(obj1);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 {
22640 PyThreadState* __tstate = wxPyBeginAllowThreads();
22641 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22642
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 {
22647 wxColour * resultptr;
22648 resultptr = new wxColour((wxColour &) result);
22649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22650 }
22651 return resultobj;
22652 fail:
22653 return NULL;
22654 }
22655
22656
22657 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22658 PyObject *resultobj;
22659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22660 PyObject *arg2 = (PyObject *) 0 ;
22661 bool result;
22662 PyObject * obj0 = 0 ;
22663 PyObject * obj1 = 0 ;
22664 char *kwnames[] = {
22665 (char *) "self",(char *) "func", NULL
22666 };
22667
22668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22671 arg2 = obj1;
22672 {
22673 PyThreadState* __tstate = wxPyBeginAllowThreads();
22674 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22675
22676 wxPyEndAllowThreads(__tstate);
22677 if (PyErr_Occurred()) SWIG_fail;
22678 }
22679 {
22680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22681 }
22682 return resultobj;
22683 fail:
22684 return NULL;
22685 }
22686
22687
22688 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22689 PyObject *resultobj;
22690 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22691 wxWindow *result;
22692 PyObject * obj0 = 0 ;
22693 char *kwnames[] = {
22694 (char *) "self", NULL
22695 };
22696
22697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
22707 {
22708 resultobj = wxPyMake_wxObject(result);
22709 }
22710 return resultobj;
22711 fail:
22712 return NULL;
22713 }
22714
22715
22716 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22717 PyObject *obj;
22718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22719 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22720 Py_INCREF(obj);
22721 return Py_BuildValue((char *)"");
22722 }
22723 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22724 PyObject *resultobj;
22725 wxWindow *arg1 = (wxWindow *) 0 ;
22726 int arg2 = (int) -1 ;
22727 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22728 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22729 wxSize const &arg4_defvalue = wxDefaultSize ;
22730 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22731 long arg5 = (long) wxLC_REPORT ;
22732 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22733 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22734 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22735 wxString *arg7 = (wxString *) &arg7_defvalue ;
22736 wxListView *result;
22737 wxPoint temp3 ;
22738 wxSize temp4 ;
22739 bool temp7 = False ;
22740 PyObject * obj0 = 0 ;
22741 PyObject * obj1 = 0 ;
22742 PyObject * obj2 = 0 ;
22743 PyObject * obj3 = 0 ;
22744 PyObject * obj4 = 0 ;
22745 PyObject * obj5 = 0 ;
22746 PyObject * obj6 = 0 ;
22747 char *kwnames[] = {
22748 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22749 };
22750
22751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22754 if (obj1) {
22755 arg2 = (int) SWIG_AsInt(obj1);
22756 if (PyErr_Occurred()) SWIG_fail;
22757 }
22758 if (obj2) {
22759 {
22760 arg3 = &temp3;
22761 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22762 }
22763 }
22764 if (obj3) {
22765 {
22766 arg4 = &temp4;
22767 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22768 }
22769 }
22770 if (obj4) {
22771 arg5 = (long) SWIG_AsLong(obj4);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 if (obj5) {
22775 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22776 SWIG_POINTER_EXCEPTION | 0)) == -1)
22777 SWIG_fail;
22778 if (arg6 == NULL) {
22779 PyErr_SetString(PyExc_TypeError,"null reference");
22780 SWIG_fail;
22781 }
22782 }
22783 if (obj6) {
22784 {
22785 arg7 = wxString_in_helper(obj6);
22786 if (arg7 == NULL) SWIG_fail;
22787 temp7 = True;
22788 }
22789 }
22790 {
22791 PyThreadState* __tstate = wxPyBeginAllowThreads();
22792 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22793
22794 wxPyEndAllowThreads(__tstate);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 }
22797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22798 {
22799 if (temp7)
22800 delete arg7;
22801 }
22802 return resultobj;
22803 fail:
22804 {
22805 if (temp7)
22806 delete arg7;
22807 }
22808 return NULL;
22809 }
22810
22811
22812 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22813 PyObject *resultobj;
22814 wxListView *result;
22815 char *kwnames[] = {
22816 NULL
22817 };
22818
22819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22820 {
22821 PyThreadState* __tstate = wxPyBeginAllowThreads();
22822 result = (wxListView *)new wxListView();
22823
22824 wxPyEndAllowThreads(__tstate);
22825 if (PyErr_Occurred()) SWIG_fail;
22826 }
22827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22828 return resultobj;
22829 fail:
22830 return NULL;
22831 }
22832
22833
22834 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22835 PyObject *resultobj;
22836 wxListView *arg1 = (wxListView *) 0 ;
22837 wxWindow *arg2 = (wxWindow *) 0 ;
22838 int arg3 = (int) -1 ;
22839 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22840 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22841 wxSize const &arg5_defvalue = wxDefaultSize ;
22842 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22843 long arg6 = (long) wxLC_REPORT ;
22844 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22845 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22846 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22847 wxString *arg8 = (wxString *) &arg8_defvalue ;
22848 bool result;
22849 wxPoint temp4 ;
22850 wxSize temp5 ;
22851 bool temp8 = False ;
22852 PyObject * obj0 = 0 ;
22853 PyObject * obj1 = 0 ;
22854 PyObject * obj2 = 0 ;
22855 PyObject * obj3 = 0 ;
22856 PyObject * obj4 = 0 ;
22857 PyObject * obj5 = 0 ;
22858 PyObject * obj6 = 0 ;
22859 PyObject * obj7 = 0 ;
22860 char *kwnames[] = {
22861 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22862 };
22863
22864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22869 if (obj2) {
22870 arg3 = (int) SWIG_AsInt(obj2);
22871 if (PyErr_Occurred()) SWIG_fail;
22872 }
22873 if (obj3) {
22874 {
22875 arg4 = &temp4;
22876 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22877 }
22878 }
22879 if (obj4) {
22880 {
22881 arg5 = &temp5;
22882 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22883 }
22884 }
22885 if (obj5) {
22886 arg6 = (long) SWIG_AsLong(obj5);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 }
22889 if (obj6) {
22890 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22891 SWIG_POINTER_EXCEPTION | 0)) == -1)
22892 SWIG_fail;
22893 if (arg7 == NULL) {
22894 PyErr_SetString(PyExc_TypeError,"null reference");
22895 SWIG_fail;
22896 }
22897 }
22898 if (obj7) {
22899 {
22900 arg8 = wxString_in_helper(obj7);
22901 if (arg8 == NULL) SWIG_fail;
22902 temp8 = True;
22903 }
22904 }
22905 {
22906 PyThreadState* __tstate = wxPyBeginAllowThreads();
22907 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22908
22909 wxPyEndAllowThreads(__tstate);
22910 if (PyErr_Occurred()) SWIG_fail;
22911 }
22912 {
22913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22914 }
22915 {
22916 if (temp8)
22917 delete arg8;
22918 }
22919 return resultobj;
22920 fail:
22921 {
22922 if (temp8)
22923 delete arg8;
22924 }
22925 return NULL;
22926 }
22927
22928
22929 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22930 PyObject *resultobj;
22931 wxListView *arg1 = (wxListView *) 0 ;
22932 long arg2 ;
22933 bool arg3 = (bool) True ;
22934 PyObject * obj0 = 0 ;
22935 PyObject * obj1 = 0 ;
22936 PyObject * obj2 = 0 ;
22937 char *kwnames[] = {
22938 (char *) "self",(char *) "n",(char *) "on", NULL
22939 };
22940
22941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22944 arg2 = (long) SWIG_AsLong(obj1);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 if (obj2) {
22947 arg3 = (bool) SWIG_AsBool(obj2);
22948 if (PyErr_Occurred()) SWIG_fail;
22949 }
22950 {
22951 PyThreadState* __tstate = wxPyBeginAllowThreads();
22952 (arg1)->Select(arg2,arg3);
22953
22954 wxPyEndAllowThreads(__tstate);
22955 if (PyErr_Occurred()) SWIG_fail;
22956 }
22957 Py_INCREF(Py_None); resultobj = Py_None;
22958 return resultobj;
22959 fail:
22960 return NULL;
22961 }
22962
22963
22964 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22965 PyObject *resultobj;
22966 wxListView *arg1 = (wxListView *) 0 ;
22967 long arg2 ;
22968 PyObject * obj0 = 0 ;
22969 PyObject * obj1 = 0 ;
22970 char *kwnames[] = {
22971 (char *) "self",(char *) "index", NULL
22972 };
22973
22974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) 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 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 (arg1)->Focus(arg2);
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 Py_INCREF(Py_None); resultobj = Py_None;
22987 return resultobj;
22988 fail:
22989 return NULL;
22990 }
22991
22992
22993 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22994 PyObject *resultobj;
22995 wxListView *arg1 = (wxListView *) 0 ;
22996 long result;
22997 PyObject * obj0 = 0 ;
22998 char *kwnames[] = {
22999 (char *) "self", NULL
23000 };
23001
23002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
23003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23005 {
23006 PyThreadState* __tstate = wxPyBeginAllowThreads();
23007 result = (long)((wxListView const *)arg1)->GetFocusedItem();
23008
23009 wxPyEndAllowThreads(__tstate);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 }
23012 resultobj = SWIG_FromLong((long)result);
23013 return resultobj;
23014 fail:
23015 return NULL;
23016 }
23017
23018
23019 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23020 PyObject *resultobj;
23021 wxListView *arg1 = (wxListView *) 0 ;
23022 long arg2 ;
23023 long result;
23024 PyObject * obj0 = 0 ;
23025 PyObject * obj1 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self",(char *) "item", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
23031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23033 arg2 = (long) SWIG_AsLong(obj1);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23038
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 resultobj = SWIG_FromLong((long)result);
23043 return resultobj;
23044 fail:
23045 return NULL;
23046 }
23047
23048
23049 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23050 PyObject *resultobj;
23051 wxListView *arg1 = (wxListView *) 0 ;
23052 long result;
23053 PyObject * obj0 = 0 ;
23054 char *kwnames[] = {
23055 (char *) "self", NULL
23056 };
23057
23058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
23059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23061 {
23062 PyThreadState* __tstate = wxPyBeginAllowThreads();
23063 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23064
23065 wxPyEndAllowThreads(__tstate);
23066 if (PyErr_Occurred()) SWIG_fail;
23067 }
23068 resultobj = SWIG_FromLong((long)result);
23069 return resultobj;
23070 fail:
23071 return NULL;
23072 }
23073
23074
23075 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23076 PyObject *resultobj;
23077 wxListView *arg1 = (wxListView *) 0 ;
23078 long arg2 ;
23079 bool result;
23080 PyObject * obj0 = 0 ;
23081 PyObject * obj1 = 0 ;
23082 char *kwnames[] = {
23083 (char *) "self",(char *) "index", NULL
23084 };
23085
23086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
23087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23089 arg2 = (long) SWIG_AsLong(obj1);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 {
23092 PyThreadState* __tstate = wxPyBeginAllowThreads();
23093 result = (bool)(arg1)->IsSelected(arg2);
23094
23095 wxPyEndAllowThreads(__tstate);
23096 if (PyErr_Occurred()) SWIG_fail;
23097 }
23098 {
23099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23100 }
23101 return resultobj;
23102 fail:
23103 return NULL;
23104 }
23105
23106
23107 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23108 PyObject *resultobj;
23109 wxListView *arg1 = (wxListView *) 0 ;
23110 int arg2 ;
23111 int arg3 ;
23112 PyObject * obj0 = 0 ;
23113 PyObject * obj1 = 0 ;
23114 PyObject * obj2 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "self",(char *) "col",(char *) "image", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23122 arg2 = (int) SWIG_AsInt(obj1);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 arg3 = (int) SWIG_AsInt(obj2);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
23128 (arg1)->SetColumnImage(arg2,arg3);
23129
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 Py_INCREF(Py_None); resultobj = Py_None;
23134 return resultobj;
23135 fail:
23136 return NULL;
23137 }
23138
23139
23140 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23141 PyObject *resultobj;
23142 wxListView *arg1 = (wxListView *) 0 ;
23143 int arg2 ;
23144 PyObject * obj0 = 0 ;
23145 PyObject * obj1 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "self",(char *) "col", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
23151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23153 arg2 = (int) SWIG_AsInt(obj1);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 (arg1)->ClearColumnImage(arg2);
23158
23159 wxPyEndAllowThreads(__tstate);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
23162 Py_INCREF(Py_None); resultobj = Py_None;
23163 return resultobj;
23164 fail:
23165 return NULL;
23166 }
23167
23168
23169 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
23170 PyObject *obj;
23171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23172 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
23173 Py_INCREF(obj);
23174 return Py_BuildValue((char *)"");
23175 }
23176 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
23177 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
23178 return 1;
23179 }
23180
23181
23182 static PyObject *_wrap_TreeCtrlNameStr_get() {
23183 PyObject *pyobj;
23184
23185 {
23186 #if wxUSE_UNICODE
23187 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23188 #else
23189 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23190 #endif
23191 }
23192 return pyobj;
23193 }
23194
23195
23196 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23197 PyObject *resultobj;
23198 wxTreeItemId *result;
23199 char *kwnames[] = {
23200 NULL
23201 };
23202
23203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
23204 {
23205 PyThreadState* __tstate = wxPyBeginAllowThreads();
23206 result = (wxTreeItemId *)new wxTreeItemId();
23207
23208 wxPyEndAllowThreads(__tstate);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
23212 return resultobj;
23213 fail:
23214 return NULL;
23215 }
23216
23217
23218 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23219 PyObject *resultobj;
23220 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23221 PyObject * obj0 = 0 ;
23222 char *kwnames[] = {
23223 (char *) "self", NULL
23224 };
23225
23226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
23227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23229 {
23230 PyThreadState* __tstate = wxPyBeginAllowThreads();
23231 delete arg1;
23232
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 Py_INCREF(Py_None); resultobj = Py_None;
23237 return resultobj;
23238 fail:
23239 return NULL;
23240 }
23241
23242
23243 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23244 PyObject *resultobj;
23245 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23246 bool result;
23247 PyObject * obj0 = 0 ;
23248 char *kwnames[] = {
23249 (char *) "self", NULL
23250 };
23251
23252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
23253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23255 {
23256 PyThreadState* __tstate = wxPyBeginAllowThreads();
23257 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
23258
23259 wxPyEndAllowThreads(__tstate);
23260 if (PyErr_Occurred()) SWIG_fail;
23261 }
23262 {
23263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23264 }
23265 return resultobj;
23266 fail:
23267 return NULL;
23268 }
23269
23270
23271 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23272 PyObject *resultobj;
23273 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23274 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23275 bool result;
23276 PyObject * obj0 = 0 ;
23277 PyObject * obj1 = 0 ;
23278 char *kwnames[] = {
23279 (char *) "self",(char *) "other", NULL
23280 };
23281
23282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
23283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
23290
23291 wxPyEndAllowThreads(__tstate);
23292 if (PyErr_Occurred()) SWIG_fail;
23293 }
23294 {
23295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23296 }
23297 return resultobj;
23298 fail:
23299 return NULL;
23300 }
23301
23302
23303 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23304 PyObject *resultobj;
23305 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23306 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23307 bool result;
23308 PyObject * obj0 = 0 ;
23309 PyObject * obj1 = 0 ;
23310 char *kwnames[] = {
23311 (char *) "self",(char *) "other", NULL
23312 };
23313
23314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
23315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23319 {
23320 PyThreadState* __tstate = wxPyBeginAllowThreads();
23321 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
23322
23323 wxPyEndAllowThreads(__tstate);
23324 if (PyErr_Occurred()) SWIG_fail;
23325 }
23326 {
23327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23328 }
23329 return resultobj;
23330 fail:
23331 return NULL;
23332 }
23333
23334
23335 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
23336 PyObject *resultobj;
23337 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23338 void *arg2 = (void *) 0 ;
23339 PyObject * obj0 = 0 ;
23340 PyObject * obj1 = 0 ;
23341 char *kwnames[] = {
23342 (char *) "self",(char *) "m_pItem", NULL
23343 };
23344
23345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
23346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23348 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23349 if (arg1) (arg1)->m_pItem = arg2;
23350
23351 Py_INCREF(Py_None); resultobj = Py_None;
23352 return resultobj;
23353 fail:
23354 return NULL;
23355 }
23356
23357
23358 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23359 PyObject *resultobj;
23360 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23361 void *result;
23362 PyObject * obj0 = 0 ;
23363 char *kwnames[] = {
23364 (char *) "self", NULL
23365 };
23366
23367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23370 result = (void *) ((arg1)->m_pItem);
23371
23372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
23373 return resultobj;
23374 fail:
23375 return NULL;
23376 }
23377
23378
23379 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23380 PyObject *obj;
23381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23382 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23383 Py_INCREF(obj);
23384 return Py_BuildValue((char *)"");
23385 }
23386 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23387 PyObject *resultobj;
23388 PyObject *arg1 = (PyObject *) NULL ;
23389 wxPyTreeItemData *result;
23390 PyObject * obj0 = 0 ;
23391 char *kwnames[] = {
23392 (char *) "obj", NULL
23393 };
23394
23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23396 if (obj0) {
23397 arg1 = obj0;
23398 }
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23402
23403 wxPyEndAllowThreads(__tstate);
23404 if (PyErr_Occurred()) SWIG_fail;
23405 }
23406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
23407 return resultobj;
23408 fail:
23409 return NULL;
23410 }
23411
23412
23413 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23414 PyObject *resultobj;
23415 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23416 PyObject *result;
23417 PyObject * obj0 = 0 ;
23418 char *kwnames[] = {
23419 (char *) "self", NULL
23420 };
23421
23422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 result = (PyObject *)(arg1)->GetData();
23428
23429 wxPyEndAllowThreads(__tstate);
23430 if (PyErr_Occurred()) SWIG_fail;
23431 }
23432 resultobj = result;
23433 return resultobj;
23434 fail:
23435 return NULL;
23436 }
23437
23438
23439 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23440 PyObject *resultobj;
23441 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23442 PyObject *arg2 = (PyObject *) 0 ;
23443 PyObject * obj0 = 0 ;
23444 PyObject * obj1 = 0 ;
23445 char *kwnames[] = {
23446 (char *) "self",(char *) "obj", NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23452 arg2 = obj1;
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 (arg1)->SetData(arg2);
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 Py_INCREF(Py_None); resultobj = Py_None;
23461 return resultobj;
23462 fail:
23463 return NULL;
23464 }
23465
23466
23467 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23468 PyObject *resultobj;
23469 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23470 wxTreeItemId *result;
23471 PyObject * obj0 = 0 ;
23472 char *kwnames[] = {
23473 (char *) "self", NULL
23474 };
23475
23476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 {
23482 wxTreeItemId const &_result_ref = (arg1)->GetId();
23483 result = (wxTreeItemId *) &_result_ref;
23484 }
23485
23486 wxPyEndAllowThreads(__tstate);
23487 if (PyErr_Occurred()) SWIG_fail;
23488 }
23489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
23490 return resultobj;
23491 fail:
23492 return NULL;
23493 }
23494
23495
23496 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23497 PyObject *resultobj;
23498 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23499 wxTreeItemId *arg2 = 0 ;
23500 PyObject * obj0 = 0 ;
23501 PyObject * obj1 = 0 ;
23502 char *kwnames[] = {
23503 (char *) "self",(char *) "id", NULL
23504 };
23505
23506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23510 SWIG_POINTER_EXCEPTION | 0)) == -1)
23511 SWIG_fail;
23512 if (arg2 == NULL) {
23513 PyErr_SetString(PyExc_TypeError,"null reference");
23514 SWIG_fail;
23515 }
23516 {
23517 PyThreadState* __tstate = wxPyBeginAllowThreads();
23518 (arg1)->SetId((wxTreeItemId const &)*arg2);
23519
23520 wxPyEndAllowThreads(__tstate);
23521 if (PyErr_Occurred()) SWIG_fail;
23522 }
23523 Py_INCREF(Py_None); resultobj = Py_None;
23524 return resultobj;
23525 fail:
23526 return NULL;
23527 }
23528
23529
23530 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23531 PyObject *resultobj;
23532 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23533 PyObject * obj0 = 0 ;
23534 char *kwnames[] = {
23535 (char *) "self", NULL
23536 };
23537
23538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23541 {
23542 PyThreadState* __tstate = wxPyBeginAllowThreads();
23543 wxPyTreeItemData_Destroy(arg1);
23544
23545 wxPyEndAllowThreads(__tstate);
23546 if (PyErr_Occurred()) SWIG_fail;
23547 }
23548 Py_INCREF(Py_None); resultobj = Py_None;
23549 return resultobj;
23550 fail:
23551 return NULL;
23552 }
23553
23554
23555 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23556 PyObject *obj;
23557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23558 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23559 Py_INCREF(obj);
23560 return Py_BuildValue((char *)"");
23561 }
23562 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23563 PyObject *resultobj;
23564 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23565 int arg2 = (int) 0 ;
23566 wxTreeEvent *result;
23567 PyObject * obj0 = 0 ;
23568 PyObject * obj1 = 0 ;
23569 char *kwnames[] = {
23570 (char *) "commandType",(char *) "id", NULL
23571 };
23572
23573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23574 if (obj0) {
23575 arg1 = (wxEventType) SWIG_AsInt(obj0);
23576 if (PyErr_Occurred()) SWIG_fail;
23577 }
23578 if (obj1) {
23579 arg2 = (int) SWIG_AsInt(obj1);
23580 if (PyErr_Occurred()) SWIG_fail;
23581 }
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23590 return resultobj;
23591 fail:
23592 return NULL;
23593 }
23594
23595
23596 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23597 PyObject *resultobj;
23598 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23599 wxTreeItemId result;
23600 PyObject * obj0 = 0 ;
23601 char *kwnames[] = {
23602 (char *) "self", NULL
23603 };
23604
23605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 result = ((wxTreeEvent const *)arg1)->GetItem();
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 {
23616 wxTreeItemId * resultptr;
23617 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23619 }
23620 return resultobj;
23621 fail:
23622 return NULL;
23623 }
23624
23625
23626 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23627 PyObject *resultobj;
23628 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23629 wxTreeItemId *arg2 = 0 ;
23630 PyObject * obj0 = 0 ;
23631 PyObject * obj1 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self",(char *) "item", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23639 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23640 SWIG_POINTER_EXCEPTION | 0)) == -1)
23641 SWIG_fail;
23642 if (arg2 == NULL) {
23643 PyErr_SetString(PyExc_TypeError,"null reference");
23644 SWIG_fail;
23645 }
23646 {
23647 PyThreadState* __tstate = wxPyBeginAllowThreads();
23648 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23649
23650 wxPyEndAllowThreads(__tstate);
23651 if (PyErr_Occurred()) SWIG_fail;
23652 }
23653 Py_INCREF(Py_None); resultobj = Py_None;
23654 return resultobj;
23655 fail:
23656 return NULL;
23657 }
23658
23659
23660 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23661 PyObject *resultobj;
23662 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23663 wxTreeItemId result;
23664 PyObject * obj0 = 0 ;
23665 char *kwnames[] = {
23666 (char *) "self", NULL
23667 };
23668
23669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23672 {
23673 PyThreadState* __tstate = wxPyBeginAllowThreads();
23674 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23675
23676 wxPyEndAllowThreads(__tstate);
23677 if (PyErr_Occurred()) SWIG_fail;
23678 }
23679 {
23680 wxTreeItemId * resultptr;
23681 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23683 }
23684 return resultobj;
23685 fail:
23686 return NULL;
23687 }
23688
23689
23690 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23691 PyObject *resultobj;
23692 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23693 wxTreeItemId *arg2 = 0 ;
23694 PyObject * obj0 = 0 ;
23695 PyObject * obj1 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self",(char *) "item", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23704 SWIG_POINTER_EXCEPTION | 0)) == -1)
23705 SWIG_fail;
23706 if (arg2 == NULL) {
23707 PyErr_SetString(PyExc_TypeError,"null reference");
23708 SWIG_fail;
23709 }
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 Py_INCREF(Py_None); resultobj = Py_None;
23718 return resultobj;
23719 fail:
23720 return NULL;
23721 }
23722
23723
23724 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23725 PyObject *resultobj;
23726 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23727 wxPoint result;
23728 PyObject * obj0 = 0 ;
23729 char *kwnames[] = {
23730 (char *) "self", NULL
23731 };
23732
23733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 result = ((wxTreeEvent const *)arg1)->GetPoint();
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 {
23744 wxPoint * resultptr;
23745 resultptr = new wxPoint((wxPoint &) result);
23746 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23747 }
23748 return resultobj;
23749 fail:
23750 return NULL;
23751 }
23752
23753
23754 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23755 PyObject *resultobj;
23756 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23757 wxPoint *arg2 = 0 ;
23758 wxPoint temp2 ;
23759 PyObject * obj0 = 0 ;
23760 PyObject * obj1 = 0 ;
23761 char *kwnames[] = {
23762 (char *) "self",(char *) "pt", NULL
23763 };
23764
23765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23768 {
23769 arg2 = &temp2;
23770 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23771 }
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 (arg1)->SetPoint((wxPoint const &)*arg2);
23775
23776 wxPyEndAllowThreads(__tstate);
23777 if (PyErr_Occurred()) SWIG_fail;
23778 }
23779 Py_INCREF(Py_None); resultobj = Py_None;
23780 return resultobj;
23781 fail:
23782 return NULL;
23783 }
23784
23785
23786 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23789 wxKeyEvent *result;
23790 PyObject * obj0 = 0 ;
23791 char *kwnames[] = {
23792 (char *) "self", NULL
23793 };
23794
23795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 {
23801 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23802 result = (wxKeyEvent *) &_result_ref;
23803 }
23804
23805 wxPyEndAllowThreads(__tstate);
23806 if (PyErr_Occurred()) SWIG_fail;
23807 }
23808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23809 return resultobj;
23810 fail:
23811 return NULL;
23812 }
23813
23814
23815 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23816 PyObject *resultobj;
23817 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23818 int result;
23819 PyObject * obj0 = 0 ;
23820 char *kwnames[] = {
23821 (char *) "self", NULL
23822 };
23823
23824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23827 {
23828 PyThreadState* __tstate = wxPyBeginAllowThreads();
23829 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23830
23831 wxPyEndAllowThreads(__tstate);
23832 if (PyErr_Occurred()) SWIG_fail;
23833 }
23834 resultobj = SWIG_FromInt((int)result);
23835 return resultobj;
23836 fail:
23837 return NULL;
23838 }
23839
23840
23841 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23842 PyObject *resultobj;
23843 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23844 wxKeyEvent *arg2 = 0 ;
23845 PyObject * obj0 = 0 ;
23846 PyObject * obj1 = 0 ;
23847 char *kwnames[] = {
23848 (char *) "self",(char *) "evt", NULL
23849 };
23850
23851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23855 SWIG_POINTER_EXCEPTION | 0)) == -1)
23856 SWIG_fail;
23857 if (arg2 == NULL) {
23858 PyErr_SetString(PyExc_TypeError,"null reference");
23859 SWIG_fail;
23860 }
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 Py_INCREF(Py_None); resultobj = Py_None;
23869 return resultobj;
23870 fail:
23871 return NULL;
23872 }
23873
23874
23875 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23876 PyObject *resultobj;
23877 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23878 wxString *result;
23879 PyObject * obj0 = 0 ;
23880 char *kwnames[] = {
23881 (char *) "self", NULL
23882 };
23883
23884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23887 {
23888 PyThreadState* __tstate = wxPyBeginAllowThreads();
23889 {
23890 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23891 result = (wxString *) &_result_ref;
23892 }
23893
23894 wxPyEndAllowThreads(__tstate);
23895 if (PyErr_Occurred()) SWIG_fail;
23896 }
23897 {
23898 #if wxUSE_UNICODE
23899 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23900 #else
23901 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23902 #endif
23903 }
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23911 PyObject *resultobj;
23912 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23913 wxString *arg2 = 0 ;
23914 bool temp2 = False ;
23915 PyObject * obj0 = 0 ;
23916 PyObject * obj1 = 0 ;
23917 char *kwnames[] = {
23918 (char *) "self",(char *) "label", NULL
23919 };
23920
23921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23924 {
23925 arg2 = wxString_in_helper(obj1);
23926 if (arg2 == NULL) SWIG_fail;
23927 temp2 = True;
23928 }
23929 {
23930 PyThreadState* __tstate = wxPyBeginAllowThreads();
23931 (arg1)->SetLabel((wxString const &)*arg2);
23932
23933 wxPyEndAllowThreads(__tstate);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 Py_INCREF(Py_None); resultobj = Py_None;
23937 {
23938 if (temp2)
23939 delete arg2;
23940 }
23941 return resultobj;
23942 fail:
23943 {
23944 if (temp2)
23945 delete arg2;
23946 }
23947 return NULL;
23948 }
23949
23950
23951 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23952 PyObject *resultobj;
23953 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23954 bool result;
23955 PyObject * obj0 = 0 ;
23956 char *kwnames[] = {
23957 (char *) "self", NULL
23958 };
23959
23960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23963 {
23964 PyThreadState* __tstate = wxPyBeginAllowThreads();
23965 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23966
23967 wxPyEndAllowThreads(__tstate);
23968 if (PyErr_Occurred()) SWIG_fail;
23969 }
23970 {
23971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23972 }
23973 return resultobj;
23974 fail:
23975 return NULL;
23976 }
23977
23978
23979 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23980 PyObject *resultobj;
23981 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23982 bool arg2 ;
23983 PyObject * obj0 = 0 ;
23984 PyObject * obj1 = 0 ;
23985 char *kwnames[] = {
23986 (char *) "self",(char *) "editCancelled", NULL
23987 };
23988
23989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23992 arg2 = (bool) SWIG_AsBool(obj1);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 {
23995 PyThreadState* __tstate = wxPyBeginAllowThreads();
23996 (arg1)->SetEditCanceled(arg2);
23997
23998 wxPyEndAllowThreads(__tstate);
23999 if (PyErr_Occurred()) SWIG_fail;
24000 }
24001 Py_INCREF(Py_None); resultobj = Py_None;
24002 return resultobj;
24003 fail:
24004 return NULL;
24005 }
24006
24007
24008 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24009 PyObject *resultobj;
24010 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24011 wxString *arg2 = 0 ;
24012 bool temp2 = False ;
24013 PyObject * obj0 = 0 ;
24014 PyObject * obj1 = 0 ;
24015 char *kwnames[] = {
24016 (char *) "self",(char *) "toolTip", NULL
24017 };
24018
24019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
24020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24022 {
24023 arg2 = wxString_in_helper(obj1);
24024 if (arg2 == NULL) SWIG_fail;
24025 temp2 = True;
24026 }
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 (arg1)->SetToolTip((wxString const &)*arg2);
24030
24031 wxPyEndAllowThreads(__tstate);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 }
24034 Py_INCREF(Py_None); resultobj = Py_None;
24035 {
24036 if (temp2)
24037 delete arg2;
24038 }
24039 return resultobj;
24040 fail:
24041 {
24042 if (temp2)
24043 delete arg2;
24044 }
24045 return NULL;
24046 }
24047
24048
24049 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24050 PyObject *obj;
24051 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24052 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24053 Py_INCREF(obj);
24054 return Py_BuildValue((char *)"");
24055 }
24056 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24057 PyObject *resultobj;
24058 wxWindow *arg1 = (wxWindow *) 0 ;
24059 int arg2 = (int) -1 ;
24060 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24061 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24062 wxSize const &arg4_defvalue = wxDefaultSize ;
24063 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24064 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24065 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24066 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24067 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
24068 wxString *arg7 = (wxString *) &arg7_defvalue ;
24069 wxPyTreeCtrl *result;
24070 wxPoint temp3 ;
24071 wxSize temp4 ;
24072 bool temp7 = False ;
24073 PyObject * obj0 = 0 ;
24074 PyObject * obj1 = 0 ;
24075 PyObject * obj2 = 0 ;
24076 PyObject * obj3 = 0 ;
24077 PyObject * obj4 = 0 ;
24078 PyObject * obj5 = 0 ;
24079 PyObject * obj6 = 0 ;
24080 char *kwnames[] = {
24081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24082 };
24083
24084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24087 if (obj1) {
24088 arg2 = (int) SWIG_AsInt(obj1);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
24091 if (obj2) {
24092 {
24093 arg3 = &temp3;
24094 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24095 }
24096 }
24097 if (obj3) {
24098 {
24099 arg4 = &temp4;
24100 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24101 }
24102 }
24103 if (obj4) {
24104 arg5 = (long) SWIG_AsLong(obj4);
24105 if (PyErr_Occurred()) SWIG_fail;
24106 }
24107 if (obj5) {
24108 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24109 SWIG_POINTER_EXCEPTION | 0)) == -1)
24110 SWIG_fail;
24111 if (arg6 == NULL) {
24112 PyErr_SetString(PyExc_TypeError,"null reference");
24113 SWIG_fail;
24114 }
24115 }
24116 if (obj6) {
24117 {
24118 arg7 = wxString_in_helper(obj6);
24119 if (arg7 == NULL) SWIG_fail;
24120 temp7 = True;
24121 }
24122 }
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24126
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 {
24131 resultobj = wxPyMake_wxObject(result);
24132 }
24133 {
24134 if (temp7)
24135 delete arg7;
24136 }
24137 return resultobj;
24138 fail:
24139 {
24140 if (temp7)
24141 delete arg7;
24142 }
24143 return NULL;
24144 }
24145
24146
24147 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24148 PyObject *resultobj;
24149 wxPyTreeCtrl *result;
24150 char *kwnames[] = {
24151 NULL
24152 };
24153
24154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24155 {
24156 PyThreadState* __tstate = wxPyBeginAllowThreads();
24157 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24158
24159 wxPyEndAllowThreads(__tstate);
24160 if (PyErr_Occurred()) SWIG_fail;
24161 }
24162 {
24163 resultobj = wxPyMake_wxObject(result);
24164 }
24165 return resultobj;
24166 fail:
24167 return NULL;
24168 }
24169
24170
24171 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24172 PyObject *resultobj;
24173 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24174 wxWindow *arg2 = (wxWindow *) 0 ;
24175 int arg3 = (int) -1 ;
24176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24178 wxSize const &arg5_defvalue = wxDefaultSize ;
24179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24180 long arg6 = (long) wxTR_DEFAULT_STYLE ;
24181 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24182 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24183 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
24184 wxString *arg8 = (wxString *) &arg8_defvalue ;
24185 bool result;
24186 wxPoint temp4 ;
24187 wxSize temp5 ;
24188 bool temp8 = False ;
24189 PyObject * obj0 = 0 ;
24190 PyObject * obj1 = 0 ;
24191 PyObject * obj2 = 0 ;
24192 PyObject * obj3 = 0 ;
24193 PyObject * obj4 = 0 ;
24194 PyObject * obj5 = 0 ;
24195 PyObject * obj6 = 0 ;
24196 PyObject * obj7 = 0 ;
24197 char *kwnames[] = {
24198 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24199 };
24200
24201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24206 if (obj2) {
24207 arg3 = (int) SWIG_AsInt(obj2);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 if (obj3) {
24211 {
24212 arg4 = &temp4;
24213 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24214 }
24215 }
24216 if (obj4) {
24217 {
24218 arg5 = &temp5;
24219 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24220 }
24221 }
24222 if (obj5) {
24223 arg6 = (long) SWIG_AsLong(obj5);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 if (obj6) {
24227 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24228 SWIG_POINTER_EXCEPTION | 0)) == -1)
24229 SWIG_fail;
24230 if (arg7 == NULL) {
24231 PyErr_SetString(PyExc_TypeError,"null reference");
24232 SWIG_fail;
24233 }
24234 }
24235 if (obj7) {
24236 {
24237 arg8 = wxString_in_helper(obj7);
24238 if (arg8 == NULL) SWIG_fail;
24239 temp8 = True;
24240 }
24241 }
24242 {
24243 PyThreadState* __tstate = wxPyBeginAllowThreads();
24244 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24245
24246 wxPyEndAllowThreads(__tstate);
24247 if (PyErr_Occurred()) SWIG_fail;
24248 }
24249 {
24250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24251 }
24252 {
24253 if (temp8)
24254 delete arg8;
24255 }
24256 return resultobj;
24257 fail:
24258 {
24259 if (temp8)
24260 delete arg8;
24261 }
24262 return NULL;
24263 }
24264
24265
24266 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24267 PyObject *resultobj;
24268 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24269 PyObject *arg2 = (PyObject *) 0 ;
24270 PyObject *arg3 = (PyObject *) 0 ;
24271 PyObject * obj0 = 0 ;
24272 PyObject * obj1 = 0 ;
24273 PyObject * obj2 = 0 ;
24274 char *kwnames[] = {
24275 (char *) "self",(char *) "self",(char *) "_class", NULL
24276 };
24277
24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24281 arg2 = obj1;
24282 arg3 = obj2;
24283 {
24284 PyThreadState* __tstate = wxPyBeginAllowThreads();
24285 (arg1)->_setCallbackInfo(arg2,arg3);
24286
24287 wxPyEndAllowThreads(__tstate);
24288 if (PyErr_Occurred()) SWIG_fail;
24289 }
24290 Py_INCREF(Py_None); resultobj = Py_None;
24291 return resultobj;
24292 fail:
24293 return NULL;
24294 }
24295
24296
24297 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24298 PyObject *resultobj;
24299 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24300 size_t result;
24301 PyObject * obj0 = 0 ;
24302 char *kwnames[] = {
24303 (char *) "self", NULL
24304 };
24305
24306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
24307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24309 {
24310 PyThreadState* __tstate = wxPyBeginAllowThreads();
24311 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
24312
24313 wxPyEndAllowThreads(__tstate);
24314 if (PyErr_Occurred()) SWIG_fail;
24315 }
24316 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24317 return resultobj;
24318 fail:
24319 return NULL;
24320 }
24321
24322
24323 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24324 PyObject *resultobj;
24325 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24326 unsigned int result;
24327 PyObject * obj0 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
24333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24335 {
24336 PyThreadState* __tstate = wxPyBeginAllowThreads();
24337 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
24338
24339 wxPyEndAllowThreads(__tstate);
24340 if (PyErr_Occurred()) SWIG_fail;
24341 }
24342 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24343 return resultobj;
24344 fail:
24345 return NULL;
24346 }
24347
24348
24349 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24350 PyObject *resultobj;
24351 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24352 unsigned int arg2 ;
24353 PyObject * obj0 = 0 ;
24354 PyObject * obj1 = 0 ;
24355 char *kwnames[] = {
24356 (char *) "self",(char *) "indent", NULL
24357 };
24358
24359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
24360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24362 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24363 if (PyErr_Occurred()) SWIG_fail;
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 (arg1)->SetIndent(arg2);
24367
24368 wxPyEndAllowThreads(__tstate);
24369 if (PyErr_Occurred()) SWIG_fail;
24370 }
24371 Py_INCREF(Py_None); resultobj = Py_None;
24372 return resultobj;
24373 fail:
24374 return NULL;
24375 }
24376
24377
24378 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24379 PyObject *resultobj;
24380 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24381 unsigned int result;
24382 PyObject * obj0 = 0 ;
24383 char *kwnames[] = {
24384 (char *) "self", NULL
24385 };
24386
24387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
24388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24398 return resultobj;
24399 fail:
24400 return NULL;
24401 }
24402
24403
24404 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24405 PyObject *resultobj;
24406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24407 unsigned int arg2 ;
24408 PyObject * obj0 = 0 ;
24409 PyObject * obj1 = 0 ;
24410 char *kwnames[] = {
24411 (char *) "self",(char *) "spacing", NULL
24412 };
24413
24414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24417 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24418 if (PyErr_Occurred()) SWIG_fail;
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 (arg1)->SetSpacing(arg2);
24422
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 Py_INCREF(Py_None); resultobj = Py_None;
24427 return resultobj;
24428 fail:
24429 return NULL;
24430 }
24431
24432
24433 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj;
24435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24436 wxImageList *result;
24437 PyObject * obj0 = 0 ;
24438 char *kwnames[] = {
24439 (char *) "self", NULL
24440 };
24441
24442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24445 {
24446 PyThreadState* __tstate = wxPyBeginAllowThreads();
24447 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24448
24449 wxPyEndAllowThreads(__tstate);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 {
24453 resultobj = wxPyMake_wxObject(result);
24454 }
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24464 wxImageList *result;
24465 PyObject * obj0 = 0 ;
24466 char *kwnames[] = {
24467 (char *) "self", NULL
24468 };
24469
24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24476
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 {
24481 resultobj = wxPyMake_wxObject(result);
24482 }
24483 return resultobj;
24484 fail:
24485 return NULL;
24486 }
24487
24488
24489 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24490 PyObject *resultobj;
24491 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24492 wxImageList *arg2 = (wxImageList *) 0 ;
24493 PyObject * obj0 = 0 ;
24494 PyObject * obj1 = 0 ;
24495 char *kwnames[] = {
24496 (char *) "self",(char *) "imageList", NULL
24497 };
24498
24499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24504 {
24505 PyThreadState* __tstate = wxPyBeginAllowThreads();
24506 (arg1)->SetImageList(arg2);
24507
24508 wxPyEndAllowThreads(__tstate);
24509 if (PyErr_Occurred()) SWIG_fail;
24510 }
24511 Py_INCREF(Py_None); resultobj = Py_None;
24512 return resultobj;
24513 fail:
24514 return NULL;
24515 }
24516
24517
24518 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24519 PyObject *resultobj;
24520 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24521 wxImageList *arg2 = (wxImageList *) 0 ;
24522 PyObject * obj0 = 0 ;
24523 PyObject * obj1 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self",(char *) "imageList", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24533 {
24534 PyThreadState* __tstate = wxPyBeginAllowThreads();
24535 (arg1)->SetStateImageList(arg2);
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 Py_INCREF(Py_None); resultobj = Py_None;
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj;
24549 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24550 wxImageList *arg2 = (wxImageList *) 0 ;
24551 PyObject * obj0 = 0 ;
24552 PyObject * obj1 = 0 ;
24553 char *kwnames[] = {
24554 (char *) "self",(char *) "imageList", NULL
24555 };
24556
24557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24561 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24562 {
24563 PyThreadState* __tstate = wxPyBeginAllowThreads();
24564 (arg1)->AssignImageList(arg2);
24565
24566 wxPyEndAllowThreads(__tstate);
24567 if (PyErr_Occurred()) SWIG_fail;
24568 }
24569 Py_INCREF(Py_None); resultobj = Py_None;
24570 return resultobj;
24571 fail:
24572 return NULL;
24573 }
24574
24575
24576 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24577 PyObject *resultobj;
24578 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24579 wxImageList *arg2 = (wxImageList *) 0 ;
24580 PyObject * obj0 = 0 ;
24581 PyObject * obj1 = 0 ;
24582 char *kwnames[] = {
24583 (char *) "self",(char *) "imageList", NULL
24584 };
24585
24586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24590 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24591 {
24592 PyThreadState* __tstate = wxPyBeginAllowThreads();
24593 (arg1)->AssignStateImageList(arg2);
24594
24595 wxPyEndAllowThreads(__tstate);
24596 if (PyErr_Occurred()) SWIG_fail;
24597 }
24598 Py_INCREF(Py_None); resultobj = Py_None;
24599 return resultobj;
24600 fail:
24601 return NULL;
24602 }
24603
24604
24605 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24606 PyObject *resultobj;
24607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24608 wxTreeItemId *arg2 = 0 ;
24609 wxString result;
24610 PyObject * obj0 = 0 ;
24611 PyObject * obj1 = 0 ;
24612 char *kwnames[] = {
24613 (char *) "self",(char *) "item", NULL
24614 };
24615
24616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24620 SWIG_POINTER_EXCEPTION | 0)) == -1)
24621 SWIG_fail;
24622 if (arg2 == NULL) {
24623 PyErr_SetString(PyExc_TypeError,"null reference");
24624 SWIG_fail;
24625 }
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 {
24634 #if wxUSE_UNICODE
24635 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24636 #else
24637 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24638 #endif
24639 }
24640 return resultobj;
24641 fail:
24642 return NULL;
24643 }
24644
24645
24646 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24647 PyObject *resultobj;
24648 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24649 wxTreeItemId *arg2 = 0 ;
24650 int arg3 = (int) wxTreeItemIcon_Normal ;
24651 int result;
24652 PyObject * obj0 = 0 ;
24653 PyObject * obj1 = 0 ;
24654 PyObject * obj2 = 0 ;
24655 char *kwnames[] = {
24656 (char *) "self",(char *) "item",(char *) "which", NULL
24657 };
24658
24659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24663 SWIG_POINTER_EXCEPTION | 0)) == -1)
24664 SWIG_fail;
24665 if (arg2 == NULL) {
24666 PyErr_SetString(PyExc_TypeError,"null reference");
24667 SWIG_fail;
24668 }
24669 if (obj2) {
24670 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 {
24674 PyThreadState* __tstate = wxPyBeginAllowThreads();
24675 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24676
24677 wxPyEndAllowThreads(__tstate);
24678 if (PyErr_Occurred()) SWIG_fail;
24679 }
24680 resultobj = SWIG_FromInt((int)result);
24681 return resultobj;
24682 fail:
24683 return NULL;
24684 }
24685
24686
24687 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24688 PyObject *resultobj;
24689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24690 wxTreeItemId *arg2 = 0 ;
24691 wxPyTreeItemData *result;
24692 PyObject * obj0 = 0 ;
24693 PyObject * obj1 = 0 ;
24694 char *kwnames[] = {
24695 (char *) "self",(char *) "item", NULL
24696 };
24697
24698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24702 SWIG_POINTER_EXCEPTION | 0)) == -1)
24703 SWIG_fail;
24704 if (arg2 == NULL) {
24705 PyErr_SetString(PyExc_TypeError,"null reference");
24706 SWIG_fail;
24707 }
24708 {
24709 PyThreadState* __tstate = wxPyBeginAllowThreads();
24710 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24711
24712 wxPyEndAllowThreads(__tstate);
24713 if (PyErr_Occurred()) SWIG_fail;
24714 }
24715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24716 return resultobj;
24717 fail:
24718 return NULL;
24719 }
24720
24721
24722 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24723 PyObject *resultobj;
24724 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24725 wxTreeItemId *arg2 = 0 ;
24726 PyObject *result;
24727 PyObject * obj0 = 0 ;
24728 PyObject * obj1 = 0 ;
24729 char *kwnames[] = {
24730 (char *) "self",(char *) "item", NULL
24731 };
24732
24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24737 SWIG_POINTER_EXCEPTION | 0)) == -1)
24738 SWIG_fail;
24739 if (arg2 == NULL) {
24740 PyErr_SetString(PyExc_TypeError,"null reference");
24741 SWIG_fail;
24742 }
24743 {
24744 PyThreadState* __tstate = wxPyBeginAllowThreads();
24745 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24746
24747 wxPyEndAllowThreads(__tstate);
24748 if (PyErr_Occurred()) SWIG_fail;
24749 }
24750 resultobj = result;
24751 return resultobj;
24752 fail:
24753 return NULL;
24754 }
24755
24756
24757 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24758 PyObject *resultobj;
24759 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24760 wxTreeItemId *arg2 = 0 ;
24761 wxColour result;
24762 PyObject * obj0 = 0 ;
24763 PyObject * obj1 = 0 ;
24764 char *kwnames[] = {
24765 (char *) "self",(char *) "item", NULL
24766 };
24767
24768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24772 SWIG_POINTER_EXCEPTION | 0)) == -1)
24773 SWIG_fail;
24774 if (arg2 == NULL) {
24775 PyErr_SetString(PyExc_TypeError,"null reference");
24776 SWIG_fail;
24777 }
24778 {
24779 PyThreadState* __tstate = wxPyBeginAllowThreads();
24780 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24781
24782 wxPyEndAllowThreads(__tstate);
24783 if (PyErr_Occurred()) SWIG_fail;
24784 }
24785 {
24786 wxColour * resultptr;
24787 resultptr = new wxColour((wxColour &) result);
24788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24789 }
24790 return resultobj;
24791 fail:
24792 return NULL;
24793 }
24794
24795
24796 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24797 PyObject *resultobj;
24798 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24799 wxTreeItemId *arg2 = 0 ;
24800 wxColour result;
24801 PyObject * obj0 = 0 ;
24802 PyObject * obj1 = 0 ;
24803 char *kwnames[] = {
24804 (char *) "self",(char *) "item", NULL
24805 };
24806
24807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24811 SWIG_POINTER_EXCEPTION | 0)) == -1)
24812 SWIG_fail;
24813 if (arg2 == NULL) {
24814 PyErr_SetString(PyExc_TypeError,"null reference");
24815 SWIG_fail;
24816 }
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24820
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 {
24825 wxColour * resultptr;
24826 resultptr = new wxColour((wxColour &) result);
24827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24828 }
24829 return resultobj;
24830 fail:
24831 return NULL;
24832 }
24833
24834
24835 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24836 PyObject *resultobj;
24837 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24838 wxTreeItemId *arg2 = 0 ;
24839 wxFont result;
24840 PyObject * obj0 = 0 ;
24841 PyObject * obj1 = 0 ;
24842 char *kwnames[] = {
24843 (char *) "self",(char *) "item", NULL
24844 };
24845
24846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24850 SWIG_POINTER_EXCEPTION | 0)) == -1)
24851 SWIG_fail;
24852 if (arg2 == NULL) {
24853 PyErr_SetString(PyExc_TypeError,"null reference");
24854 SWIG_fail;
24855 }
24856 {
24857 PyThreadState* __tstate = wxPyBeginAllowThreads();
24858 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24859
24860 wxPyEndAllowThreads(__tstate);
24861 if (PyErr_Occurred()) SWIG_fail;
24862 }
24863 {
24864 wxFont * resultptr;
24865 resultptr = new wxFont((wxFont &) result);
24866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24867 }
24868 return resultobj;
24869 fail:
24870 return NULL;
24871 }
24872
24873
24874 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24875 PyObject *resultobj;
24876 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24877 wxTreeItemId *arg2 = 0 ;
24878 wxString *arg3 = 0 ;
24879 bool temp3 = False ;
24880 PyObject * obj0 = 0 ;
24881 PyObject * obj1 = 0 ;
24882 PyObject * obj2 = 0 ;
24883 char *kwnames[] = {
24884 (char *) "self",(char *) "item",(char *) "text", NULL
24885 };
24886
24887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24891 SWIG_POINTER_EXCEPTION | 0)) == -1)
24892 SWIG_fail;
24893 if (arg2 == NULL) {
24894 PyErr_SetString(PyExc_TypeError,"null reference");
24895 SWIG_fail;
24896 }
24897 {
24898 arg3 = wxString_in_helper(obj2);
24899 if (arg3 == NULL) SWIG_fail;
24900 temp3 = True;
24901 }
24902 {
24903 PyThreadState* __tstate = wxPyBeginAllowThreads();
24904 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24905
24906 wxPyEndAllowThreads(__tstate);
24907 if (PyErr_Occurred()) SWIG_fail;
24908 }
24909 Py_INCREF(Py_None); resultobj = Py_None;
24910 {
24911 if (temp3)
24912 delete arg3;
24913 }
24914 return resultobj;
24915 fail:
24916 {
24917 if (temp3)
24918 delete arg3;
24919 }
24920 return NULL;
24921 }
24922
24923
24924 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24925 PyObject *resultobj;
24926 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24927 wxTreeItemId *arg2 = 0 ;
24928 int arg3 ;
24929 int arg4 = (int) wxTreeItemIcon_Normal ;
24930 PyObject * obj0 = 0 ;
24931 PyObject * obj1 = 0 ;
24932 PyObject * obj2 = 0 ;
24933 PyObject * obj3 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24942 SWIG_POINTER_EXCEPTION | 0)) == -1)
24943 SWIG_fail;
24944 if (arg2 == NULL) {
24945 PyErr_SetString(PyExc_TypeError,"null reference");
24946 SWIG_fail;
24947 }
24948 arg3 = (int) SWIG_AsInt(obj2);
24949 if (PyErr_Occurred()) SWIG_fail;
24950 if (obj3) {
24951 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24952 if (PyErr_Occurred()) SWIG_fail;
24953 }
24954 {
24955 PyThreadState* __tstate = wxPyBeginAllowThreads();
24956 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24957
24958 wxPyEndAllowThreads(__tstate);
24959 if (PyErr_Occurred()) SWIG_fail;
24960 }
24961 Py_INCREF(Py_None); resultobj = Py_None;
24962 return resultobj;
24963 fail:
24964 return NULL;
24965 }
24966
24967
24968 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24969 PyObject *resultobj;
24970 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24971 wxTreeItemId *arg2 = 0 ;
24972 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24973 PyObject * obj0 = 0 ;
24974 PyObject * obj1 = 0 ;
24975 PyObject * obj2 = 0 ;
24976 char *kwnames[] = {
24977 (char *) "self",(char *) "item",(char *) "data", NULL
24978 };
24979
24980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24984 SWIG_POINTER_EXCEPTION | 0)) == -1)
24985 SWIG_fail;
24986 if (arg2 == NULL) {
24987 PyErr_SetString(PyExc_TypeError,"null reference");
24988 SWIG_fail;
24989 }
24990 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24995
24996 wxPyEndAllowThreads(__tstate);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 }
24999 Py_INCREF(Py_None); resultobj = Py_None;
25000 return resultobj;
25001 fail:
25002 return NULL;
25003 }
25004
25005
25006 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25007 PyObject *resultobj;
25008 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25009 wxTreeItemId *arg2 = 0 ;
25010 PyObject *arg3 = (PyObject *) 0 ;
25011 PyObject * obj0 = 0 ;
25012 PyObject * obj1 = 0 ;
25013 PyObject * obj2 = 0 ;
25014 char *kwnames[] = {
25015 (char *) "self",(char *) "item",(char *) "obj", NULL
25016 };
25017
25018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25022 SWIG_POINTER_EXCEPTION | 0)) == -1)
25023 SWIG_fail;
25024 if (arg2 == NULL) {
25025 PyErr_SetString(PyExc_TypeError,"null reference");
25026 SWIG_fail;
25027 }
25028 arg3 = obj2;
25029 {
25030 PyThreadState* __tstate = wxPyBeginAllowThreads();
25031 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25032
25033 wxPyEndAllowThreads(__tstate);
25034 if (PyErr_Occurred()) SWIG_fail;
25035 }
25036 Py_INCREF(Py_None); resultobj = Py_None;
25037 return resultobj;
25038 fail:
25039 return NULL;
25040 }
25041
25042
25043 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25044 PyObject *resultobj;
25045 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25046 wxTreeItemId *arg2 = 0 ;
25047 bool arg3 = (bool) True ;
25048 PyObject * obj0 = 0 ;
25049 PyObject * obj1 = 0 ;
25050 PyObject * obj2 = 0 ;
25051 char *kwnames[] = {
25052 (char *) "self",(char *) "item",(char *) "has", NULL
25053 };
25054
25055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
25056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25059 SWIG_POINTER_EXCEPTION | 0)) == -1)
25060 SWIG_fail;
25061 if (arg2 == NULL) {
25062 PyErr_SetString(PyExc_TypeError,"null reference");
25063 SWIG_fail;
25064 }
25065 if (obj2) {
25066 arg3 = (bool) SWIG_AsBool(obj2);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 {
25070 PyThreadState* __tstate = wxPyBeginAllowThreads();
25071 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25072
25073 wxPyEndAllowThreads(__tstate);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 Py_INCREF(Py_None); resultobj = Py_None;
25077 return resultobj;
25078 fail:
25079 return NULL;
25080 }
25081
25082
25083 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25084 PyObject *resultobj;
25085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25086 wxTreeItemId *arg2 = 0 ;
25087 bool arg3 = (bool) True ;
25088 PyObject * obj0 = 0 ;
25089 PyObject * obj1 = 0 ;
25090 PyObject * obj2 = 0 ;
25091 char *kwnames[] = {
25092 (char *) "self",(char *) "item",(char *) "bold", NULL
25093 };
25094
25095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
25096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25099 SWIG_POINTER_EXCEPTION | 0)) == -1)
25100 SWIG_fail;
25101 if (arg2 == NULL) {
25102 PyErr_SetString(PyExc_TypeError,"null reference");
25103 SWIG_fail;
25104 }
25105 if (obj2) {
25106 arg3 = (bool) SWIG_AsBool(obj2);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 {
25110 PyThreadState* __tstate = wxPyBeginAllowThreads();
25111 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
25112
25113 wxPyEndAllowThreads(__tstate);
25114 if (PyErr_Occurred()) SWIG_fail;
25115 }
25116 Py_INCREF(Py_None); resultobj = Py_None;
25117 return resultobj;
25118 fail:
25119 return NULL;
25120 }
25121
25122
25123 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
25124 PyObject *resultobj;
25125 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25126 wxTreeItemId *arg2 = 0 ;
25127 bool arg3 = (bool) True ;
25128 PyObject * obj0 = 0 ;
25129 PyObject * obj1 = 0 ;
25130 PyObject * obj2 = 0 ;
25131 char *kwnames[] = {
25132 (char *) "self",(char *) "item",(char *) "highlight", NULL
25133 };
25134
25135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
25136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25139 SWIG_POINTER_EXCEPTION | 0)) == -1)
25140 SWIG_fail;
25141 if (arg2 == NULL) {
25142 PyErr_SetString(PyExc_TypeError,"null reference");
25143 SWIG_fail;
25144 }
25145 if (obj2) {
25146 arg3 = (bool) SWIG_AsBool(obj2);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 }
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
25156 Py_INCREF(Py_None); resultobj = Py_None;
25157 return resultobj;
25158 fail:
25159 return NULL;
25160 }
25161
25162
25163 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25164 PyObject *resultobj;
25165 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25166 wxTreeItemId *arg2 = 0 ;
25167 wxColour *arg3 = 0 ;
25168 wxColour temp3 ;
25169 PyObject * obj0 = 0 ;
25170 PyObject * obj1 = 0 ;
25171 PyObject * obj2 = 0 ;
25172 char *kwnames[] = {
25173 (char *) "self",(char *) "item",(char *) "col", NULL
25174 };
25175
25176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25180 SWIG_POINTER_EXCEPTION | 0)) == -1)
25181 SWIG_fail;
25182 if (arg2 == NULL) {
25183 PyErr_SetString(PyExc_TypeError,"null reference");
25184 SWIG_fail;
25185 }
25186 {
25187 arg3 = &temp3;
25188 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25189 }
25190 {
25191 PyThreadState* __tstate = wxPyBeginAllowThreads();
25192 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25193
25194 wxPyEndAllowThreads(__tstate);
25195 if (PyErr_Occurred()) SWIG_fail;
25196 }
25197 Py_INCREF(Py_None); resultobj = Py_None;
25198 return resultobj;
25199 fail:
25200 return NULL;
25201 }
25202
25203
25204 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25205 PyObject *resultobj;
25206 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25207 wxTreeItemId *arg2 = 0 ;
25208 wxColour *arg3 = 0 ;
25209 wxColour temp3 ;
25210 PyObject * obj0 = 0 ;
25211 PyObject * obj1 = 0 ;
25212 PyObject * obj2 = 0 ;
25213 char *kwnames[] = {
25214 (char *) "self",(char *) "item",(char *) "col", NULL
25215 };
25216
25217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25221 SWIG_POINTER_EXCEPTION | 0)) == -1)
25222 SWIG_fail;
25223 if (arg2 == NULL) {
25224 PyErr_SetString(PyExc_TypeError,"null reference");
25225 SWIG_fail;
25226 }
25227 {
25228 arg3 = &temp3;
25229 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25230 }
25231 {
25232 PyThreadState* __tstate = wxPyBeginAllowThreads();
25233 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25234
25235 wxPyEndAllowThreads(__tstate);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
25238 Py_INCREF(Py_None); resultobj = Py_None;
25239 return resultobj;
25240 fail:
25241 return NULL;
25242 }
25243
25244
25245 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25246 PyObject *resultobj;
25247 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25248 wxTreeItemId *arg2 = 0 ;
25249 wxFont *arg3 = 0 ;
25250 PyObject * obj0 = 0 ;
25251 PyObject * obj1 = 0 ;
25252 PyObject * obj2 = 0 ;
25253 char *kwnames[] = {
25254 (char *) "self",(char *) "item",(char *) "font", NULL
25255 };
25256
25257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
25258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25261 SWIG_POINTER_EXCEPTION | 0)) == -1)
25262 SWIG_fail;
25263 if (arg2 == NULL) {
25264 PyErr_SetString(PyExc_TypeError,"null reference");
25265 SWIG_fail;
25266 }
25267 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
25268 SWIG_POINTER_EXCEPTION | 0)) == -1)
25269 SWIG_fail;
25270 if (arg3 == NULL) {
25271 PyErr_SetString(PyExc_TypeError,"null reference");
25272 SWIG_fail;
25273 }
25274 {
25275 PyThreadState* __tstate = wxPyBeginAllowThreads();
25276 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
25277
25278 wxPyEndAllowThreads(__tstate);
25279 if (PyErr_Occurred()) SWIG_fail;
25280 }
25281 Py_INCREF(Py_None); resultobj = Py_None;
25282 return resultobj;
25283 fail:
25284 return NULL;
25285 }
25286
25287
25288 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25289 PyObject *resultobj;
25290 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25291 wxTreeItemId *arg2 = 0 ;
25292 bool result;
25293 PyObject * obj0 = 0 ;
25294 PyObject * obj1 = 0 ;
25295 char *kwnames[] = {
25296 (char *) "self",(char *) "item", NULL
25297 };
25298
25299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
25300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25302 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25303 SWIG_POINTER_EXCEPTION | 0)) == -1)
25304 SWIG_fail;
25305 if (arg2 == NULL) {
25306 PyErr_SetString(PyExc_TypeError,"null reference");
25307 SWIG_fail;
25308 }
25309 {
25310 PyThreadState* __tstate = wxPyBeginAllowThreads();
25311 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
25312
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 {
25317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25318 }
25319 return resultobj;
25320 fail:
25321 return NULL;
25322 }
25323
25324
25325 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25326 PyObject *resultobj;
25327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25328 wxTreeItemId *arg2 = 0 ;
25329 bool result;
25330 PyObject * obj0 = 0 ;
25331 PyObject * obj1 = 0 ;
25332 char *kwnames[] = {
25333 (char *) "self",(char *) "item", NULL
25334 };
25335
25336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
25337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25340 SWIG_POINTER_EXCEPTION | 0)) == -1)
25341 SWIG_fail;
25342 if (arg2 == NULL) {
25343 PyErr_SetString(PyExc_TypeError,"null reference");
25344 SWIG_fail;
25345 }
25346 {
25347 PyThreadState* __tstate = wxPyBeginAllowThreads();
25348 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
25349
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 {
25354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25355 }
25356 return resultobj;
25357 fail:
25358 return NULL;
25359 }
25360
25361
25362 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
25363 PyObject *resultobj;
25364 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25365 wxTreeItemId *arg2 = 0 ;
25366 bool result;
25367 PyObject * obj0 = 0 ;
25368 PyObject * obj1 = 0 ;
25369 char *kwnames[] = {
25370 (char *) "self",(char *) "item", NULL
25371 };
25372
25373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
25374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25377 SWIG_POINTER_EXCEPTION | 0)) == -1)
25378 SWIG_fail;
25379 if (arg2 == NULL) {
25380 PyErr_SetString(PyExc_TypeError,"null reference");
25381 SWIG_fail;
25382 }
25383 {
25384 PyThreadState* __tstate = wxPyBeginAllowThreads();
25385 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
25386
25387 wxPyEndAllowThreads(__tstate);
25388 if (PyErr_Occurred()) SWIG_fail;
25389 }
25390 {
25391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25392 }
25393 return resultobj;
25394 fail:
25395 return NULL;
25396 }
25397
25398
25399 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
25400 PyObject *resultobj;
25401 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25402 wxTreeItemId *arg2 = 0 ;
25403 bool result;
25404 PyObject * obj0 = 0 ;
25405 PyObject * obj1 = 0 ;
25406 char *kwnames[] = {
25407 (char *) "self",(char *) "item", NULL
25408 };
25409
25410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
25411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25414 SWIG_POINTER_EXCEPTION | 0)) == -1)
25415 SWIG_fail;
25416 if (arg2 == NULL) {
25417 PyErr_SetString(PyExc_TypeError,"null reference");
25418 SWIG_fail;
25419 }
25420 {
25421 PyThreadState* __tstate = wxPyBeginAllowThreads();
25422 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25423
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 {
25428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25429 }
25430 return resultobj;
25431 fail:
25432 return NULL;
25433 }
25434
25435
25436 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25437 PyObject *resultobj;
25438 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25439 wxTreeItemId *arg2 = 0 ;
25440 bool result;
25441 PyObject * obj0 = 0 ;
25442 PyObject * obj1 = 0 ;
25443 char *kwnames[] = {
25444 (char *) "self",(char *) "item", NULL
25445 };
25446
25447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
25448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25451 SWIG_POINTER_EXCEPTION | 0)) == -1)
25452 SWIG_fail;
25453 if (arg2 == NULL) {
25454 PyErr_SetString(PyExc_TypeError,"null reference");
25455 SWIG_fail;
25456 }
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25460
25461 wxPyEndAllowThreads(__tstate);
25462 if (PyErr_Occurred()) SWIG_fail;
25463 }
25464 {
25465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25466 }
25467 return resultobj;
25468 fail:
25469 return NULL;
25470 }
25471
25472
25473 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25474 PyObject *resultobj;
25475 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25476 wxTreeItemId *arg2 = 0 ;
25477 bool arg3 = (bool) True ;
25478 size_t result;
25479 PyObject * obj0 = 0 ;
25480 PyObject * obj1 = 0 ;
25481 PyObject * obj2 = 0 ;
25482 char *kwnames[] = {
25483 (char *) "self",(char *) "item",(char *) "recursively", NULL
25484 };
25485
25486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
25487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25490 SWIG_POINTER_EXCEPTION | 0)) == -1)
25491 SWIG_fail;
25492 if (arg2 == NULL) {
25493 PyErr_SetString(PyExc_TypeError,"null reference");
25494 SWIG_fail;
25495 }
25496 if (obj2) {
25497 arg3 = (bool) SWIG_AsBool(obj2);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
25500 {
25501 PyThreadState* __tstate = wxPyBeginAllowThreads();
25502 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25503
25504 wxPyEndAllowThreads(__tstate);
25505 if (PyErr_Occurred()) SWIG_fail;
25506 }
25507 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25508 return resultobj;
25509 fail:
25510 return NULL;
25511 }
25512
25513
25514 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25515 PyObject *resultobj;
25516 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25517 wxTreeItemId result;
25518 PyObject * obj0 = 0 ;
25519 char *kwnames[] = {
25520 (char *) "self", NULL
25521 };
25522
25523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25526 {
25527 PyThreadState* __tstate = wxPyBeginAllowThreads();
25528 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25529
25530 wxPyEndAllowThreads(__tstate);
25531 if (PyErr_Occurred()) SWIG_fail;
25532 }
25533 {
25534 wxTreeItemId * resultptr;
25535 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25537 }
25538 return resultobj;
25539 fail:
25540 return NULL;
25541 }
25542
25543
25544 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25545 PyObject *resultobj;
25546 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25547 wxTreeItemId result;
25548 PyObject * obj0 = 0 ;
25549 char *kwnames[] = {
25550 (char *) "self", NULL
25551 };
25552
25553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25556 {
25557 PyThreadState* __tstate = wxPyBeginAllowThreads();
25558 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25559
25560 wxPyEndAllowThreads(__tstate);
25561 if (PyErr_Occurred()) SWIG_fail;
25562 }
25563 {
25564 wxTreeItemId * resultptr;
25565 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25567 }
25568 return resultobj;
25569 fail:
25570 return NULL;
25571 }
25572
25573
25574 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25575 PyObject *resultobj;
25576 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25577 PyObject *result;
25578 PyObject * obj0 = 0 ;
25579 char *kwnames[] = {
25580 (char *) "self", NULL
25581 };
25582
25583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25586 {
25587 PyThreadState* __tstate = wxPyBeginAllowThreads();
25588 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25589
25590 wxPyEndAllowThreads(__tstate);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 resultobj = result;
25594 return resultobj;
25595 fail:
25596 return NULL;
25597 }
25598
25599
25600 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25601 PyObject *resultobj;
25602 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25603 wxTreeItemId *arg2 = 0 ;
25604 wxTreeItemId result;
25605 PyObject * obj0 = 0 ;
25606 PyObject * obj1 = 0 ;
25607 char *kwnames[] = {
25608 (char *) "self",(char *) "item", NULL
25609 };
25610
25611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25615 SWIG_POINTER_EXCEPTION | 0)) == -1)
25616 SWIG_fail;
25617 if (arg2 == NULL) {
25618 PyErr_SetString(PyExc_TypeError,"null reference");
25619 SWIG_fail;
25620 }
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 {
25629 wxTreeItemId * resultptr;
25630 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25632 }
25633 return resultobj;
25634 fail:
25635 return NULL;
25636 }
25637
25638
25639 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25640 PyObject *resultobj;
25641 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25642 wxTreeItemId *arg2 = 0 ;
25643 PyObject *result;
25644 PyObject * obj0 = 0 ;
25645 PyObject * obj1 = 0 ;
25646 char *kwnames[] = {
25647 (char *) "self",(char *) "item", NULL
25648 };
25649
25650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25654 SWIG_POINTER_EXCEPTION | 0)) == -1)
25655 SWIG_fail;
25656 if (arg2 == NULL) {
25657 PyErr_SetString(PyExc_TypeError,"null reference");
25658 SWIG_fail;
25659 }
25660 {
25661 PyThreadState* __tstate = wxPyBeginAllowThreads();
25662 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25663
25664 wxPyEndAllowThreads(__tstate);
25665 if (PyErr_Occurred()) SWIG_fail;
25666 }
25667 resultobj = result;
25668 return resultobj;
25669 fail:
25670 return NULL;
25671 }
25672
25673
25674 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25675 PyObject *resultobj;
25676 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25677 wxTreeItemId *arg2 = 0 ;
25678 void *arg3 = (void *) 0 ;
25679 PyObject *result;
25680 PyObject * obj0 = 0 ;
25681 PyObject * obj1 = 0 ;
25682 PyObject * obj2 = 0 ;
25683 char *kwnames[] = {
25684 (char *) "self",(char *) "item",(char *) "cookie", NULL
25685 };
25686
25687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25691 SWIG_POINTER_EXCEPTION | 0)) == -1)
25692 SWIG_fail;
25693 if (arg2 == NULL) {
25694 PyErr_SetString(PyExc_TypeError,"null reference");
25695 SWIG_fail;
25696 }
25697 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25698 {
25699 PyThreadState* __tstate = wxPyBeginAllowThreads();
25700 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25701
25702 wxPyEndAllowThreads(__tstate);
25703 if (PyErr_Occurred()) SWIG_fail;
25704 }
25705 resultobj = result;
25706 return resultobj;
25707 fail:
25708 return NULL;
25709 }
25710
25711
25712 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25713 PyObject *resultobj;
25714 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25715 wxTreeItemId *arg2 = 0 ;
25716 wxTreeItemId result;
25717 PyObject * obj0 = 0 ;
25718 PyObject * obj1 = 0 ;
25719 char *kwnames[] = {
25720 (char *) "self",(char *) "item", NULL
25721 };
25722
25723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25727 SWIG_POINTER_EXCEPTION | 0)) == -1)
25728 SWIG_fail;
25729 if (arg2 == NULL) {
25730 PyErr_SetString(PyExc_TypeError,"null reference");
25731 SWIG_fail;
25732 }
25733 {
25734 PyThreadState* __tstate = wxPyBeginAllowThreads();
25735 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25736
25737 wxPyEndAllowThreads(__tstate);
25738 if (PyErr_Occurred()) SWIG_fail;
25739 }
25740 {
25741 wxTreeItemId * resultptr;
25742 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25744 }
25745 return resultobj;
25746 fail:
25747 return NULL;
25748 }
25749
25750
25751 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25752 PyObject *resultobj;
25753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25754 wxTreeItemId *arg2 = 0 ;
25755 wxTreeItemId result;
25756 PyObject * obj0 = 0 ;
25757 PyObject * obj1 = 0 ;
25758 char *kwnames[] = {
25759 (char *) "self",(char *) "item", NULL
25760 };
25761
25762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25766 SWIG_POINTER_EXCEPTION | 0)) == -1)
25767 SWIG_fail;
25768 if (arg2 == NULL) {
25769 PyErr_SetString(PyExc_TypeError,"null reference");
25770 SWIG_fail;
25771 }
25772 {
25773 PyThreadState* __tstate = wxPyBeginAllowThreads();
25774 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25775
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
25779 {
25780 wxTreeItemId * resultptr;
25781 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25782 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25783 }
25784 return resultobj;
25785 fail:
25786 return NULL;
25787 }
25788
25789
25790 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25791 PyObject *resultobj;
25792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25793 wxTreeItemId *arg2 = 0 ;
25794 wxTreeItemId result;
25795 PyObject * obj0 = 0 ;
25796 PyObject * obj1 = 0 ;
25797 char *kwnames[] = {
25798 (char *) "self",(char *) "item", NULL
25799 };
25800
25801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25805 SWIG_POINTER_EXCEPTION | 0)) == -1)
25806 SWIG_fail;
25807 if (arg2 == NULL) {
25808 PyErr_SetString(PyExc_TypeError,"null reference");
25809 SWIG_fail;
25810 }
25811 {
25812 PyThreadState* __tstate = wxPyBeginAllowThreads();
25813 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25814
25815 wxPyEndAllowThreads(__tstate);
25816 if (PyErr_Occurred()) SWIG_fail;
25817 }
25818 {
25819 wxTreeItemId * resultptr;
25820 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25822 }
25823 return resultobj;
25824 fail:
25825 return NULL;
25826 }
25827
25828
25829 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25830 PyObject *resultobj;
25831 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25832 wxTreeItemId result;
25833 PyObject * obj0 = 0 ;
25834 char *kwnames[] = {
25835 (char *) "self", NULL
25836 };
25837
25838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25841 {
25842 PyThreadState* __tstate = wxPyBeginAllowThreads();
25843 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25844
25845 wxPyEndAllowThreads(__tstate);
25846 if (PyErr_Occurred()) SWIG_fail;
25847 }
25848 {
25849 wxTreeItemId * resultptr;
25850 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25851 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25852 }
25853 return resultobj;
25854 fail:
25855 return NULL;
25856 }
25857
25858
25859 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25860 PyObject *resultobj;
25861 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25862 wxTreeItemId *arg2 = 0 ;
25863 wxTreeItemId result;
25864 PyObject * obj0 = 0 ;
25865 PyObject * obj1 = 0 ;
25866 char *kwnames[] = {
25867 (char *) "self",(char *) "item", NULL
25868 };
25869
25870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25874 SWIG_POINTER_EXCEPTION | 0)) == -1)
25875 SWIG_fail;
25876 if (arg2 == NULL) {
25877 PyErr_SetString(PyExc_TypeError,"null reference");
25878 SWIG_fail;
25879 }
25880 {
25881 PyThreadState* __tstate = wxPyBeginAllowThreads();
25882 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25883
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 {
25888 wxTreeItemId * resultptr;
25889 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25891 }
25892 return resultobj;
25893 fail:
25894 return NULL;
25895 }
25896
25897
25898 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25899 PyObject *resultobj;
25900 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25901 wxTreeItemId *arg2 = 0 ;
25902 wxTreeItemId result;
25903 PyObject * obj0 = 0 ;
25904 PyObject * obj1 = 0 ;
25905 char *kwnames[] = {
25906 (char *) "self",(char *) "item", NULL
25907 };
25908
25909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25912 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25913 SWIG_POINTER_EXCEPTION | 0)) == -1)
25914 SWIG_fail;
25915 if (arg2 == NULL) {
25916 PyErr_SetString(PyExc_TypeError,"null reference");
25917 SWIG_fail;
25918 }
25919 {
25920 PyThreadState* __tstate = wxPyBeginAllowThreads();
25921 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25922
25923 wxPyEndAllowThreads(__tstate);
25924 if (PyErr_Occurred()) SWIG_fail;
25925 }
25926 {
25927 wxTreeItemId * resultptr;
25928 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25929 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25930 }
25931 return resultobj;
25932 fail:
25933 return NULL;
25934 }
25935
25936
25937 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25938 PyObject *resultobj;
25939 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25940 wxString *arg2 = 0 ;
25941 int arg3 = (int) -1 ;
25942 int arg4 = (int) -1 ;
25943 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25944 wxTreeItemId result;
25945 bool temp2 = False ;
25946 PyObject * obj0 = 0 ;
25947 PyObject * obj1 = 0 ;
25948 PyObject * obj2 = 0 ;
25949 PyObject * obj3 = 0 ;
25950 PyObject * obj4 = 0 ;
25951 char *kwnames[] = {
25952 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25953 };
25954
25955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25958 {
25959 arg2 = wxString_in_helper(obj1);
25960 if (arg2 == NULL) SWIG_fail;
25961 temp2 = True;
25962 }
25963 if (obj2) {
25964 arg3 = (int) SWIG_AsInt(obj2);
25965 if (PyErr_Occurred()) SWIG_fail;
25966 }
25967 if (obj3) {
25968 arg4 = (int) SWIG_AsInt(obj3);
25969 if (PyErr_Occurred()) SWIG_fail;
25970 }
25971 if (obj4) {
25972 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25974 }
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25978
25979 wxPyEndAllowThreads(__tstate);
25980 if (PyErr_Occurred()) SWIG_fail;
25981 }
25982 {
25983 wxTreeItemId * resultptr;
25984 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25985 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25986 }
25987 {
25988 if (temp2)
25989 delete arg2;
25990 }
25991 return resultobj;
25992 fail:
25993 {
25994 if (temp2)
25995 delete arg2;
25996 }
25997 return NULL;
25998 }
25999
26000
26001 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26002 PyObject *resultobj;
26003 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26004 wxTreeItemId *arg2 = 0 ;
26005 wxString *arg3 = 0 ;
26006 int arg4 = (int) -1 ;
26007 int arg5 = (int) -1 ;
26008 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26009 wxTreeItemId result;
26010 bool temp3 = False ;
26011 PyObject * obj0 = 0 ;
26012 PyObject * obj1 = 0 ;
26013 PyObject * obj2 = 0 ;
26014 PyObject * obj3 = 0 ;
26015 PyObject * obj4 = 0 ;
26016 PyObject * obj5 = 0 ;
26017 char *kwnames[] = {
26018 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26019 };
26020
26021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26025 SWIG_POINTER_EXCEPTION | 0)) == -1)
26026 SWIG_fail;
26027 if (arg2 == NULL) {
26028 PyErr_SetString(PyExc_TypeError,"null reference");
26029 SWIG_fail;
26030 }
26031 {
26032 arg3 = wxString_in_helper(obj2);
26033 if (arg3 == NULL) SWIG_fail;
26034 temp3 = True;
26035 }
26036 if (obj3) {
26037 arg4 = (int) SWIG_AsInt(obj3);
26038 if (PyErr_Occurred()) SWIG_fail;
26039 }
26040 if (obj4) {
26041 arg5 = (int) SWIG_AsInt(obj4);
26042 if (PyErr_Occurred()) SWIG_fail;
26043 }
26044 if (obj5) {
26045 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26047 }
26048 {
26049 PyThreadState* __tstate = wxPyBeginAllowThreads();
26050 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26051
26052 wxPyEndAllowThreads(__tstate);
26053 if (PyErr_Occurred()) SWIG_fail;
26054 }
26055 {
26056 wxTreeItemId * resultptr;
26057 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26058 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26059 }
26060 {
26061 if (temp3)
26062 delete arg3;
26063 }
26064 return resultobj;
26065 fail:
26066 {
26067 if (temp3)
26068 delete arg3;
26069 }
26070 return NULL;
26071 }
26072
26073
26074 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26075 PyObject *resultobj;
26076 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26077 wxTreeItemId *arg2 = 0 ;
26078 wxTreeItemId *arg3 = 0 ;
26079 wxString *arg4 = 0 ;
26080 int arg5 = (int) -1 ;
26081 int arg6 = (int) -1 ;
26082 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26083 wxTreeItemId result;
26084 bool temp4 = False ;
26085 PyObject * obj0 = 0 ;
26086 PyObject * obj1 = 0 ;
26087 PyObject * obj2 = 0 ;
26088 PyObject * obj3 = 0 ;
26089 PyObject * obj4 = 0 ;
26090 PyObject * obj5 = 0 ;
26091 PyObject * obj6 = 0 ;
26092 char *kwnames[] = {
26093 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26094 };
26095
26096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26100 SWIG_POINTER_EXCEPTION | 0)) == -1)
26101 SWIG_fail;
26102 if (arg2 == NULL) {
26103 PyErr_SetString(PyExc_TypeError,"null reference");
26104 SWIG_fail;
26105 }
26106 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26107 SWIG_POINTER_EXCEPTION | 0)) == -1)
26108 SWIG_fail;
26109 if (arg3 == NULL) {
26110 PyErr_SetString(PyExc_TypeError,"null reference");
26111 SWIG_fail;
26112 }
26113 {
26114 arg4 = wxString_in_helper(obj3);
26115 if (arg4 == NULL) SWIG_fail;
26116 temp4 = True;
26117 }
26118 if (obj4) {
26119 arg5 = (int) SWIG_AsInt(obj4);
26120 if (PyErr_Occurred()) SWIG_fail;
26121 }
26122 if (obj5) {
26123 arg6 = (int) SWIG_AsInt(obj5);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
26126 if (obj6) {
26127 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26129 }
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 {
26138 wxTreeItemId * resultptr;
26139 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26140 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26141 }
26142 {
26143 if (temp4)
26144 delete arg4;
26145 }
26146 return resultobj;
26147 fail:
26148 {
26149 if (temp4)
26150 delete arg4;
26151 }
26152 return NULL;
26153 }
26154
26155
26156 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
26157 PyObject *resultobj;
26158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26159 wxTreeItemId *arg2 = 0 ;
26160 size_t arg3 ;
26161 wxString *arg4 = 0 ;
26162 int arg5 = (int) -1 ;
26163 int arg6 = (int) -1 ;
26164 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26165 wxTreeItemId result;
26166 bool temp4 = False ;
26167 PyObject * obj0 = 0 ;
26168 PyObject * obj1 = 0 ;
26169 PyObject * obj2 = 0 ;
26170 PyObject * obj3 = 0 ;
26171 PyObject * obj4 = 0 ;
26172 PyObject * obj5 = 0 ;
26173 PyObject * obj6 = 0 ;
26174 char *kwnames[] = {
26175 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26176 };
26177
26178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26182 SWIG_POINTER_EXCEPTION | 0)) == -1)
26183 SWIG_fail;
26184 if (arg2 == NULL) {
26185 PyErr_SetString(PyExc_TypeError,"null reference");
26186 SWIG_fail;
26187 }
26188 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
26189 if (PyErr_Occurred()) SWIG_fail;
26190 {
26191 arg4 = wxString_in_helper(obj3);
26192 if (arg4 == NULL) SWIG_fail;
26193 temp4 = True;
26194 }
26195 if (obj4) {
26196 arg5 = (int) SWIG_AsInt(obj4);
26197 if (PyErr_Occurred()) SWIG_fail;
26198 }
26199 if (obj5) {
26200 arg6 = (int) SWIG_AsInt(obj5);
26201 if (PyErr_Occurred()) SWIG_fail;
26202 }
26203 if (obj6) {
26204 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26206 }
26207 {
26208 PyThreadState* __tstate = wxPyBeginAllowThreads();
26209 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26210
26211 wxPyEndAllowThreads(__tstate);
26212 if (PyErr_Occurred()) SWIG_fail;
26213 }
26214 {
26215 wxTreeItemId * resultptr;
26216 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26217 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26218 }
26219 {
26220 if (temp4)
26221 delete arg4;
26222 }
26223 return resultobj;
26224 fail:
26225 {
26226 if (temp4)
26227 delete arg4;
26228 }
26229 return NULL;
26230 }
26231
26232
26233 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26234 PyObject *resultobj;
26235 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26236 wxTreeItemId *arg2 = 0 ;
26237 wxString *arg3 = 0 ;
26238 int arg4 = (int) -1 ;
26239 int arg5 = (int) -1 ;
26240 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26241 wxTreeItemId result;
26242 bool temp3 = False ;
26243 PyObject * obj0 = 0 ;
26244 PyObject * obj1 = 0 ;
26245 PyObject * obj2 = 0 ;
26246 PyObject * obj3 = 0 ;
26247 PyObject * obj4 = 0 ;
26248 PyObject * obj5 = 0 ;
26249 char *kwnames[] = {
26250 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26251 };
26252
26253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26257 SWIG_POINTER_EXCEPTION | 0)) == -1)
26258 SWIG_fail;
26259 if (arg2 == NULL) {
26260 PyErr_SetString(PyExc_TypeError,"null reference");
26261 SWIG_fail;
26262 }
26263 {
26264 arg3 = wxString_in_helper(obj2);
26265 if (arg3 == NULL) SWIG_fail;
26266 temp3 = True;
26267 }
26268 if (obj3) {
26269 arg4 = (int) SWIG_AsInt(obj3);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
26272 if (obj4) {
26273 arg5 = (int) SWIG_AsInt(obj4);
26274 if (PyErr_Occurred()) SWIG_fail;
26275 }
26276 if (obj5) {
26277 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26279 }
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26283
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 {
26288 wxTreeItemId * resultptr;
26289 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26291 }
26292 {
26293 if (temp3)
26294 delete arg3;
26295 }
26296 return resultobj;
26297 fail:
26298 {
26299 if (temp3)
26300 delete arg3;
26301 }
26302 return NULL;
26303 }
26304
26305
26306 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
26307 PyObject *resultobj;
26308 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26309 wxTreeItemId *arg2 = 0 ;
26310 PyObject * obj0 = 0 ;
26311 PyObject * obj1 = 0 ;
26312 char *kwnames[] = {
26313 (char *) "self",(char *) "item", NULL
26314 };
26315
26316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
26317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26320 SWIG_POINTER_EXCEPTION | 0)) == -1)
26321 SWIG_fail;
26322 if (arg2 == NULL) {
26323 PyErr_SetString(PyExc_TypeError,"null reference");
26324 SWIG_fail;
26325 }
26326 {
26327 PyThreadState* __tstate = wxPyBeginAllowThreads();
26328 (arg1)->Delete((wxTreeItemId const &)*arg2);
26329
26330 wxPyEndAllowThreads(__tstate);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 }
26333 Py_INCREF(Py_None); resultobj = Py_None;
26334 return resultobj;
26335 fail:
26336 return NULL;
26337 }
26338
26339
26340 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26341 PyObject *resultobj;
26342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26343 wxTreeItemId *arg2 = 0 ;
26344 PyObject * obj0 = 0 ;
26345 PyObject * obj1 = 0 ;
26346 char *kwnames[] = {
26347 (char *) "self",(char *) "item", NULL
26348 };
26349
26350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
26351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26354 SWIG_POINTER_EXCEPTION | 0)) == -1)
26355 SWIG_fail;
26356 if (arg2 == NULL) {
26357 PyErr_SetString(PyExc_TypeError,"null reference");
26358 SWIG_fail;
26359 }
26360 {
26361 PyThreadState* __tstate = wxPyBeginAllowThreads();
26362 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
26363
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 Py_INCREF(Py_None); resultobj = Py_None;
26368 return resultobj;
26369 fail:
26370 return NULL;
26371 }
26372
26373
26374 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26375 PyObject *resultobj;
26376 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26377 PyObject * obj0 = 0 ;
26378 char *kwnames[] = {
26379 (char *) "self", NULL
26380 };
26381
26382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
26383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26385 {
26386 PyThreadState* __tstate = wxPyBeginAllowThreads();
26387 (arg1)->DeleteAllItems();
26388
26389 wxPyEndAllowThreads(__tstate);
26390 if (PyErr_Occurred()) SWIG_fail;
26391 }
26392 Py_INCREF(Py_None); resultobj = Py_None;
26393 return resultobj;
26394 fail:
26395 return NULL;
26396 }
26397
26398
26399 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
26400 PyObject *resultobj;
26401 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26402 wxTreeItemId *arg2 = 0 ;
26403 PyObject * obj0 = 0 ;
26404 PyObject * obj1 = 0 ;
26405 char *kwnames[] = {
26406 (char *) "self",(char *) "item", NULL
26407 };
26408
26409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
26410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26413 SWIG_POINTER_EXCEPTION | 0)) == -1)
26414 SWIG_fail;
26415 if (arg2 == NULL) {
26416 PyErr_SetString(PyExc_TypeError,"null reference");
26417 SWIG_fail;
26418 }
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 (arg1)->Expand((wxTreeItemId const &)*arg2);
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 Py_INCREF(Py_None); resultobj = Py_None;
26427 return resultobj;
26428 fail:
26429 return NULL;
26430 }
26431
26432
26433 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
26434 PyObject *resultobj;
26435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26436 wxTreeItemId *arg2 = 0 ;
26437 PyObject * obj0 = 0 ;
26438 PyObject * obj1 = 0 ;
26439 char *kwnames[] = {
26440 (char *) "self",(char *) "item", NULL
26441 };
26442
26443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
26444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26447 SWIG_POINTER_EXCEPTION | 0)) == -1)
26448 SWIG_fail;
26449 if (arg2 == NULL) {
26450 PyErr_SetString(PyExc_TypeError,"null reference");
26451 SWIG_fail;
26452 }
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26456
26457 wxPyEndAllowThreads(__tstate);
26458 if (PyErr_Occurred()) SWIG_fail;
26459 }
26460 Py_INCREF(Py_None); resultobj = Py_None;
26461 return resultobj;
26462 fail:
26463 return NULL;
26464 }
26465
26466
26467 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
26468 PyObject *resultobj;
26469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26470 wxTreeItemId *arg2 = 0 ;
26471 PyObject * obj0 = 0 ;
26472 PyObject * obj1 = 0 ;
26473 char *kwnames[] = {
26474 (char *) "self",(char *) "item", NULL
26475 };
26476
26477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
26478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26481 SWIG_POINTER_EXCEPTION | 0)) == -1)
26482 SWIG_fail;
26483 if (arg2 == NULL) {
26484 PyErr_SetString(PyExc_TypeError,"null reference");
26485 SWIG_fail;
26486 }
26487 {
26488 PyThreadState* __tstate = wxPyBeginAllowThreads();
26489 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26490
26491 wxPyEndAllowThreads(__tstate);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 }
26494 Py_INCREF(Py_None); resultobj = Py_None;
26495 return resultobj;
26496 fail:
26497 return NULL;
26498 }
26499
26500
26501 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
26502 PyObject *resultobj;
26503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26504 wxTreeItemId *arg2 = 0 ;
26505 PyObject * obj0 = 0 ;
26506 PyObject * obj1 = 0 ;
26507 char *kwnames[] = {
26508 (char *) "self",(char *) "item", NULL
26509 };
26510
26511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
26512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26515 SWIG_POINTER_EXCEPTION | 0)) == -1)
26516 SWIG_fail;
26517 if (arg2 == NULL) {
26518 PyErr_SetString(PyExc_TypeError,"null reference");
26519 SWIG_fail;
26520 }
26521 {
26522 PyThreadState* __tstate = wxPyBeginAllowThreads();
26523 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26524
26525 wxPyEndAllowThreads(__tstate);
26526 if (PyErr_Occurred()) SWIG_fail;
26527 }
26528 Py_INCREF(Py_None); resultobj = Py_None;
26529 return resultobj;
26530 fail:
26531 return NULL;
26532 }
26533
26534
26535 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
26536 PyObject *resultobj;
26537 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26538 PyObject * obj0 = 0 ;
26539 char *kwnames[] = {
26540 (char *) "self", NULL
26541 };
26542
26543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
26544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26546 {
26547 PyThreadState* __tstate = wxPyBeginAllowThreads();
26548 (arg1)->Unselect();
26549
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 Py_INCREF(Py_None); resultobj = Py_None;
26554 return resultobj;
26555 fail:
26556 return NULL;
26557 }
26558
26559
26560 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26561 PyObject *resultobj;
26562 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26563 wxTreeItemId *arg2 = 0 ;
26564 PyObject * obj0 = 0 ;
26565 PyObject * obj1 = 0 ;
26566 char *kwnames[] = {
26567 (char *) "self",(char *) "item", NULL
26568 };
26569
26570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26573 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26574 SWIG_POINTER_EXCEPTION | 0)) == -1)
26575 SWIG_fail;
26576 if (arg2 == NULL) {
26577 PyErr_SetString(PyExc_TypeError,"null reference");
26578 SWIG_fail;
26579 }
26580 {
26581 PyThreadState* __tstate = wxPyBeginAllowThreads();
26582 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26583
26584 wxPyEndAllowThreads(__tstate);
26585 if (PyErr_Occurred()) SWIG_fail;
26586 }
26587 Py_INCREF(Py_None); resultobj = Py_None;
26588 return resultobj;
26589 fail:
26590 return NULL;
26591 }
26592
26593
26594 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26595 PyObject *resultobj;
26596 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26597 PyObject * obj0 = 0 ;
26598 char *kwnames[] = {
26599 (char *) "self", NULL
26600 };
26601
26602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26605 {
26606 PyThreadState* __tstate = wxPyBeginAllowThreads();
26607 (arg1)->UnselectAll();
26608
26609 wxPyEndAllowThreads(__tstate);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
26612 Py_INCREF(Py_None); resultobj = Py_None;
26613 return resultobj;
26614 fail:
26615 return NULL;
26616 }
26617
26618
26619 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26620 PyObject *resultobj;
26621 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26622 wxTreeItemId *arg2 = 0 ;
26623 bool arg3 = (bool) True ;
26624 PyObject * obj0 = 0 ;
26625 PyObject * obj1 = 0 ;
26626 PyObject * obj2 = 0 ;
26627 char *kwnames[] = {
26628 (char *) "self",(char *) "item",(char *) "select", NULL
26629 };
26630
26631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26635 SWIG_POINTER_EXCEPTION | 0)) == -1)
26636 SWIG_fail;
26637 if (arg2 == NULL) {
26638 PyErr_SetString(PyExc_TypeError,"null reference");
26639 SWIG_fail;
26640 }
26641 if (obj2) {
26642 arg3 = (bool) SWIG_AsBool(obj2);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26648
26649 wxPyEndAllowThreads(__tstate);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 }
26652 Py_INCREF(Py_None); resultobj = Py_None;
26653 return resultobj;
26654 fail:
26655 return NULL;
26656 }
26657
26658
26659 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26660 PyObject *resultobj;
26661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26662 wxTreeItemId *arg2 = 0 ;
26663 PyObject * obj0 = 0 ;
26664 PyObject * obj1 = 0 ;
26665 char *kwnames[] = {
26666 (char *) "self",(char *) "item", NULL
26667 };
26668
26669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26673 SWIG_POINTER_EXCEPTION | 0)) == -1)
26674 SWIG_fail;
26675 if (arg2 == NULL) {
26676 PyErr_SetString(PyExc_TypeError,"null reference");
26677 SWIG_fail;
26678 }
26679 {
26680 PyThreadState* __tstate = wxPyBeginAllowThreads();
26681 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26682
26683 wxPyEndAllowThreads(__tstate);
26684 if (PyErr_Occurred()) SWIG_fail;
26685 }
26686 Py_INCREF(Py_None); resultobj = Py_None;
26687 return resultobj;
26688 fail:
26689 return NULL;
26690 }
26691
26692
26693 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26694 PyObject *resultobj;
26695 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26696 wxTreeItemId *arg2 = 0 ;
26697 PyObject * obj0 = 0 ;
26698 PyObject * obj1 = 0 ;
26699 char *kwnames[] = {
26700 (char *) "self",(char *) "item", NULL
26701 };
26702
26703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26707 SWIG_POINTER_EXCEPTION | 0)) == -1)
26708 SWIG_fail;
26709 if (arg2 == NULL) {
26710 PyErr_SetString(PyExc_TypeError,"null reference");
26711 SWIG_fail;
26712 }
26713 {
26714 PyThreadState* __tstate = wxPyBeginAllowThreads();
26715 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26716
26717 wxPyEndAllowThreads(__tstate);
26718 if (PyErr_Occurred()) SWIG_fail;
26719 }
26720 Py_INCREF(Py_None); resultobj = Py_None;
26721 return resultobj;
26722 fail:
26723 return NULL;
26724 }
26725
26726
26727 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26728 PyObject *resultobj;
26729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26730 wxTreeItemId *arg2 = 0 ;
26731 PyObject * obj0 = 0 ;
26732 PyObject * obj1 = 0 ;
26733 char *kwnames[] = {
26734 (char *) "self",(char *) "item", NULL
26735 };
26736
26737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26741 SWIG_POINTER_EXCEPTION | 0)) == -1)
26742 SWIG_fail;
26743 if (arg2 == NULL) {
26744 PyErr_SetString(PyExc_TypeError,"null reference");
26745 SWIG_fail;
26746 }
26747 {
26748 PyThreadState* __tstate = wxPyBeginAllowThreads();
26749 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26750
26751 wxPyEndAllowThreads(__tstate);
26752 if (PyErr_Occurred()) SWIG_fail;
26753 }
26754 Py_INCREF(Py_None); resultobj = Py_None;
26755 return resultobj;
26756 fail:
26757 return NULL;
26758 }
26759
26760
26761 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26762 PyObject *resultobj;
26763 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26764 wxTreeItemId *arg2 = 0 ;
26765 PyObject * obj0 = 0 ;
26766 PyObject * obj1 = 0 ;
26767 char *kwnames[] = {
26768 (char *) "self",(char *) "item", NULL
26769 };
26770
26771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26775 SWIG_POINTER_EXCEPTION | 0)) == -1)
26776 SWIG_fail;
26777 if (arg2 == NULL) {
26778 PyErr_SetString(PyExc_TypeError,"null reference");
26779 SWIG_fail;
26780 }
26781 {
26782 PyThreadState* __tstate = wxPyBeginAllowThreads();
26783 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26784
26785 wxPyEndAllowThreads(__tstate);
26786 if (PyErr_Occurred()) SWIG_fail;
26787 }
26788 Py_INCREF(Py_None); resultobj = Py_None;
26789 return resultobj;
26790 fail:
26791 return NULL;
26792 }
26793
26794
26795 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26796 PyObject *resultobj;
26797 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26798 wxTextCtrl *result;
26799 PyObject * obj0 = 0 ;
26800 char *kwnames[] = {
26801 (char *) "self", NULL
26802 };
26803
26804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26807 {
26808 PyThreadState* __tstate = wxPyBeginAllowThreads();
26809 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26810
26811 wxPyEndAllowThreads(__tstate);
26812 if (PyErr_Occurred()) SWIG_fail;
26813 }
26814 {
26815 resultobj = wxPyMake_wxObject(result);
26816 }
26817 return resultobj;
26818 fail:
26819 return NULL;
26820 }
26821
26822
26823 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26824 PyObject *resultobj;
26825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26826 wxTreeItemId *arg2 = 0 ;
26827 bool arg3 = (bool) False ;
26828 PyObject * obj0 = 0 ;
26829 PyObject * obj1 = 0 ;
26830 PyObject * obj2 = 0 ;
26831 char *kwnames[] = {
26832 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26833 };
26834
26835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
26836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26839 SWIG_POINTER_EXCEPTION | 0)) == -1)
26840 SWIG_fail;
26841 if (arg2 == NULL) {
26842 PyErr_SetString(PyExc_TypeError,"null reference");
26843 SWIG_fail;
26844 }
26845 if (obj2) {
26846 arg3 = (bool) SWIG_AsBool(obj2);
26847 if (PyErr_Occurred()) SWIG_fail;
26848 }
26849 {
26850 PyThreadState* __tstate = wxPyBeginAllowThreads();
26851 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
26852
26853 wxPyEndAllowThreads(__tstate);
26854 if (PyErr_Occurred()) SWIG_fail;
26855 }
26856 Py_INCREF(Py_None); resultobj = Py_None;
26857 return resultobj;
26858 fail:
26859 return NULL;
26860 }
26861
26862
26863 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26864 PyObject *resultobj;
26865 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26866 wxTreeItemId *arg2 = 0 ;
26867 PyObject * obj0 = 0 ;
26868 PyObject * obj1 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "self",(char *) "item", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26877 SWIG_POINTER_EXCEPTION | 0)) == -1)
26878 SWIG_fail;
26879 if (arg2 == NULL) {
26880 PyErr_SetString(PyExc_TypeError,"null reference");
26881 SWIG_fail;
26882 }
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26886
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 Py_INCREF(Py_None); resultobj = Py_None;
26891 return resultobj;
26892 fail:
26893 return NULL;
26894 }
26895
26896
26897 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26898 PyObject *resultobj;
26899 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26900 wxPoint *arg2 = 0 ;
26901 int *arg3 = 0 ;
26902 wxTreeItemId result;
26903 wxPoint temp2 ;
26904 int temp3 ;
26905 PyObject * obj0 = 0 ;
26906 PyObject * obj1 = 0 ;
26907 char *kwnames[] = {
26908 (char *) "self",(char *) "point", NULL
26909 };
26910
26911 arg3 = &temp3;
26912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26915 {
26916 arg2 = &temp2;
26917 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26918 }
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 {
26927 wxTreeItemId * resultptr;
26928 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26929 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26930 }
26931 {
26932 PyObject *o = PyInt_FromLong((long) (*arg3));
26933 resultobj = t_output_helper(resultobj,o);
26934 }
26935 return resultobj;
26936 fail:
26937 return NULL;
26938 }
26939
26940
26941 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26942 PyObject *resultobj;
26943 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26944 wxTreeItemId *arg2 = 0 ;
26945 bool arg3 = (bool) False ;
26946 PyObject *result;
26947 PyObject * obj0 = 0 ;
26948 PyObject * obj1 = 0 ;
26949 PyObject * obj2 = 0 ;
26950 char *kwnames[] = {
26951 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26952 };
26953
26954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26958 SWIG_POINTER_EXCEPTION | 0)) == -1)
26959 SWIG_fail;
26960 if (arg2 == NULL) {
26961 PyErr_SetString(PyExc_TypeError,"null reference");
26962 SWIG_fail;
26963 }
26964 if (obj2) {
26965 arg3 = (bool) SWIG_AsBool(obj2);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 {
26969 PyThreadState* __tstate = wxPyBeginAllowThreads();
26970 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26971
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 resultobj = result;
26976 return resultobj;
26977 fail:
26978 return NULL;
26979 }
26980
26981
26982 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26983 PyObject *obj;
26984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26985 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26986 Py_INCREF(obj);
26987 return Py_BuildValue((char *)"");
26988 }
26989 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
26990 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26991 return 1;
26992 }
26993
26994
26995 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26996 PyObject *pyobj;
26997
26998 {
26999 #if wxUSE_UNICODE
27000 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27001 #else
27002 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27003 #endif
27004 }
27005 return pyobj;
27006 }
27007
27008
27009 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj;
27011 wxWindow *arg1 = (wxWindow *) 0 ;
27012 int arg2 = (int) (int)-1 ;
27013 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
27014 wxString *arg3 = (wxString *) &arg3_defvalue ;
27015 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27016 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27017 wxSize const &arg5_defvalue = wxDefaultSize ;
27018 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27019 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27020 wxString const &arg7_defvalue = wxPyEmptyString ;
27021 wxString *arg7 = (wxString *) &arg7_defvalue ;
27022 int arg8 = (int) 0 ;
27023 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
27024 wxString *arg9 = (wxString *) &arg9_defvalue ;
27025 wxGenericDirCtrl *result;
27026 bool temp3 = False ;
27027 wxPoint temp4 ;
27028 wxSize temp5 ;
27029 bool temp7 = False ;
27030 bool temp9 = False ;
27031 PyObject * obj0 = 0 ;
27032 PyObject * obj1 = 0 ;
27033 PyObject * obj2 = 0 ;
27034 PyObject * obj3 = 0 ;
27035 PyObject * obj4 = 0 ;
27036 PyObject * obj5 = 0 ;
27037 PyObject * obj6 = 0 ;
27038 PyObject * obj7 = 0 ;
27039 PyObject * obj8 = 0 ;
27040 char *kwnames[] = {
27041 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27042 };
27043
27044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
27045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27047 if (obj1) {
27048 arg2 = (int const) SWIG_AsInt(obj1);
27049 if (PyErr_Occurred()) SWIG_fail;
27050 }
27051 if (obj2) {
27052 {
27053 arg3 = wxString_in_helper(obj2);
27054 if (arg3 == NULL) SWIG_fail;
27055 temp3 = True;
27056 }
27057 }
27058 if (obj3) {
27059 {
27060 arg4 = &temp4;
27061 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27062 }
27063 }
27064 if (obj4) {
27065 {
27066 arg5 = &temp5;
27067 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27068 }
27069 }
27070 if (obj5) {
27071 arg6 = (long) SWIG_AsLong(obj5);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
27074 if (obj6) {
27075 {
27076 arg7 = wxString_in_helper(obj6);
27077 if (arg7 == NULL) SWIG_fail;
27078 temp7 = True;
27079 }
27080 }
27081 if (obj7) {
27082 arg8 = (int) SWIG_AsInt(obj7);
27083 if (PyErr_Occurred()) SWIG_fail;
27084 }
27085 if (obj8) {
27086 {
27087 arg9 = wxString_in_helper(obj8);
27088 if (arg9 == NULL) SWIG_fail;
27089 temp9 = True;
27090 }
27091 }
27092 {
27093 PyThreadState* __tstate = wxPyBeginAllowThreads();
27094 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27095
27096 wxPyEndAllowThreads(__tstate);
27097 if (PyErr_Occurred()) SWIG_fail;
27098 }
27099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27100 {
27101 if (temp3)
27102 delete arg3;
27103 }
27104 {
27105 if (temp7)
27106 delete arg7;
27107 }
27108 {
27109 if (temp9)
27110 delete arg9;
27111 }
27112 return resultobj;
27113 fail:
27114 {
27115 if (temp3)
27116 delete arg3;
27117 }
27118 {
27119 if (temp7)
27120 delete arg7;
27121 }
27122 {
27123 if (temp9)
27124 delete arg9;
27125 }
27126 return NULL;
27127 }
27128
27129
27130 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27131 PyObject *resultobj;
27132 wxGenericDirCtrl *result;
27133 char *kwnames[] = {
27134 NULL
27135 };
27136
27137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
27138 {
27139 PyThreadState* __tstate = wxPyBeginAllowThreads();
27140 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
27141
27142 wxPyEndAllowThreads(__tstate);
27143 if (PyErr_Occurred()) SWIG_fail;
27144 }
27145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27146 return resultobj;
27147 fail:
27148 return NULL;
27149 }
27150
27151
27152 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27153 PyObject *resultobj;
27154 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27155 wxWindow *arg2 = (wxWindow *) 0 ;
27156 int arg3 = (int) (int)-1 ;
27157 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
27158 wxString *arg4 = (wxString *) &arg4_defvalue ;
27159 wxPoint const &arg5_defvalue = wxDefaultPosition ;
27160 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
27161 wxSize const &arg6_defvalue = wxDefaultSize ;
27162 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
27163 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27164 wxString const &arg8_defvalue = wxPyEmptyString ;
27165 wxString *arg8 = (wxString *) &arg8_defvalue ;
27166 int arg9 = (int) 0 ;
27167 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
27168 wxString *arg10 = (wxString *) &arg10_defvalue ;
27169 bool result;
27170 bool temp4 = False ;
27171 wxPoint temp5 ;
27172 wxSize temp6 ;
27173 bool temp8 = False ;
27174 bool temp10 = False ;
27175 PyObject * obj0 = 0 ;
27176 PyObject * obj1 = 0 ;
27177 PyObject * obj2 = 0 ;
27178 PyObject * obj3 = 0 ;
27179 PyObject * obj4 = 0 ;
27180 PyObject * obj5 = 0 ;
27181 PyObject * obj6 = 0 ;
27182 PyObject * obj7 = 0 ;
27183 PyObject * obj8 = 0 ;
27184 PyObject * obj9 = 0 ;
27185 char *kwnames[] = {
27186 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27187 };
27188
27189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
27190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27194 if (obj2) {
27195 arg3 = (int const) SWIG_AsInt(obj2);
27196 if (PyErr_Occurred()) SWIG_fail;
27197 }
27198 if (obj3) {
27199 {
27200 arg4 = wxString_in_helper(obj3);
27201 if (arg4 == NULL) SWIG_fail;
27202 temp4 = True;
27203 }
27204 }
27205 if (obj4) {
27206 {
27207 arg5 = &temp5;
27208 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
27209 }
27210 }
27211 if (obj5) {
27212 {
27213 arg6 = &temp6;
27214 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
27215 }
27216 }
27217 if (obj6) {
27218 arg7 = (long) SWIG_AsLong(obj6);
27219 if (PyErr_Occurred()) SWIG_fail;
27220 }
27221 if (obj7) {
27222 {
27223 arg8 = wxString_in_helper(obj7);
27224 if (arg8 == NULL) SWIG_fail;
27225 temp8 = True;
27226 }
27227 }
27228 if (obj8) {
27229 arg9 = (int) SWIG_AsInt(obj8);
27230 if (PyErr_Occurred()) SWIG_fail;
27231 }
27232 if (obj9) {
27233 {
27234 arg10 = wxString_in_helper(obj9);
27235 if (arg10 == NULL) SWIG_fail;
27236 temp10 = True;
27237 }
27238 }
27239 {
27240 PyThreadState* __tstate = wxPyBeginAllowThreads();
27241 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
27242
27243 wxPyEndAllowThreads(__tstate);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
27246 {
27247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27248 }
27249 {
27250 if (temp4)
27251 delete arg4;
27252 }
27253 {
27254 if (temp8)
27255 delete arg8;
27256 }
27257 {
27258 if (temp10)
27259 delete arg10;
27260 }
27261 return resultobj;
27262 fail:
27263 {
27264 if (temp4)
27265 delete arg4;
27266 }
27267 {
27268 if (temp8)
27269 delete arg8;
27270 }
27271 {
27272 if (temp10)
27273 delete arg10;
27274 }
27275 return NULL;
27276 }
27277
27278
27279 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27280 PyObject *resultobj;
27281 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27282 wxString *arg2 = 0 ;
27283 bool result;
27284 bool temp2 = False ;
27285 PyObject * obj0 = 0 ;
27286 PyObject * obj1 = 0 ;
27287 char *kwnames[] = {
27288 (char *) "self",(char *) "path", NULL
27289 };
27290
27291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
27292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27294 {
27295 arg2 = wxString_in_helper(obj1);
27296 if (arg2 == NULL) SWIG_fail;
27297 temp2 = True;
27298 }
27299 {
27300 PyThreadState* __tstate = wxPyBeginAllowThreads();
27301 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
27302
27303 wxPyEndAllowThreads(__tstate);
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
27306 {
27307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27308 }
27309 {
27310 if (temp2)
27311 delete arg2;
27312 }
27313 return resultobj;
27314 fail:
27315 {
27316 if (temp2)
27317 delete arg2;
27318 }
27319 return NULL;
27320 }
27321
27322
27323 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27324 PyObject *resultobj;
27325 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27326 wxString result;
27327 PyObject * obj0 = 0 ;
27328 char *kwnames[] = {
27329 (char *) "self", NULL
27330 };
27331
27332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
27333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27335 {
27336 PyThreadState* __tstate = wxPyBeginAllowThreads();
27337 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
27338
27339 wxPyEndAllowThreads(__tstate);
27340 if (PyErr_Occurred()) SWIG_fail;
27341 }
27342 {
27343 #if wxUSE_UNICODE
27344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27345 #else
27346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27347 #endif
27348 }
27349 return resultobj;
27350 fail:
27351 return NULL;
27352 }
27353
27354
27355 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27356 PyObject *resultobj;
27357 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27358 wxString *arg2 = 0 ;
27359 bool temp2 = False ;
27360 PyObject * obj0 = 0 ;
27361 PyObject * obj1 = 0 ;
27362 char *kwnames[] = {
27363 (char *) "self",(char *) "path", NULL
27364 };
27365
27366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
27367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27369 {
27370 arg2 = wxString_in_helper(obj1);
27371 if (arg2 == NULL) SWIG_fail;
27372 temp2 = True;
27373 }
27374 {
27375 PyThreadState* __tstate = wxPyBeginAllowThreads();
27376 (arg1)->SetDefaultPath((wxString const &)*arg2);
27377
27378 wxPyEndAllowThreads(__tstate);
27379 if (PyErr_Occurred()) SWIG_fail;
27380 }
27381 Py_INCREF(Py_None); resultobj = Py_None;
27382 {
27383 if (temp2)
27384 delete arg2;
27385 }
27386 return resultobj;
27387 fail:
27388 {
27389 if (temp2)
27390 delete arg2;
27391 }
27392 return NULL;
27393 }
27394
27395
27396 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27397 PyObject *resultobj;
27398 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27399 wxString result;
27400 PyObject * obj0 = 0 ;
27401 char *kwnames[] = {
27402 (char *) "self", NULL
27403 };
27404
27405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
27406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27408 {
27409 PyThreadState* __tstate = wxPyBeginAllowThreads();
27410 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
27411
27412 wxPyEndAllowThreads(__tstate);
27413 if (PyErr_Occurred()) SWIG_fail;
27414 }
27415 {
27416 #if wxUSE_UNICODE
27417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27418 #else
27419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27420 #endif
27421 }
27422 return resultobj;
27423 fail:
27424 return NULL;
27425 }
27426
27427
27428 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
27429 PyObject *resultobj;
27430 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27431 wxString result;
27432 PyObject * obj0 = 0 ;
27433 char *kwnames[] = {
27434 (char *) "self", NULL
27435 };
27436
27437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
27438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
27442 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27443
27444 wxPyEndAllowThreads(__tstate);
27445 if (PyErr_Occurred()) SWIG_fail;
27446 }
27447 {
27448 #if wxUSE_UNICODE
27449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27450 #else
27451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27452 #endif
27453 }
27454 return resultobj;
27455 fail:
27456 return NULL;
27457 }
27458
27459
27460 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27461 PyObject *resultobj;
27462 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27463 wxString *arg2 = 0 ;
27464 bool temp2 = False ;
27465 PyObject * obj0 = 0 ;
27466 PyObject * obj1 = 0 ;
27467 char *kwnames[] = {
27468 (char *) "self",(char *) "path", NULL
27469 };
27470
27471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
27472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27474 {
27475 arg2 = wxString_in_helper(obj1);
27476 if (arg2 == NULL) SWIG_fail;
27477 temp2 = True;
27478 }
27479 {
27480 PyThreadState* __tstate = wxPyBeginAllowThreads();
27481 (arg1)->SetPath((wxString const &)*arg2);
27482
27483 wxPyEndAllowThreads(__tstate);
27484 if (PyErr_Occurred()) SWIG_fail;
27485 }
27486 Py_INCREF(Py_None); resultobj = Py_None;
27487 {
27488 if (temp2)
27489 delete arg2;
27490 }
27491 return resultobj;
27492 fail:
27493 {
27494 if (temp2)
27495 delete arg2;
27496 }
27497 return NULL;
27498 }
27499
27500
27501 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27502 PyObject *resultobj;
27503 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27504 bool arg2 ;
27505 PyObject * obj0 = 0 ;
27506 PyObject * obj1 = 0 ;
27507 char *kwnames[] = {
27508 (char *) "self",(char *) "show", NULL
27509 };
27510
27511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
27512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27514 arg2 = (bool) SWIG_AsBool(obj1);
27515 if (PyErr_Occurred()) SWIG_fail;
27516 {
27517 PyThreadState* __tstate = wxPyBeginAllowThreads();
27518 (arg1)->ShowHidden(arg2);
27519
27520 wxPyEndAllowThreads(__tstate);
27521 if (PyErr_Occurred()) SWIG_fail;
27522 }
27523 Py_INCREF(Py_None); resultobj = Py_None;
27524 return resultobj;
27525 fail:
27526 return NULL;
27527 }
27528
27529
27530 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27531 PyObject *resultobj;
27532 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27533 bool result;
27534 PyObject * obj0 = 0 ;
27535 char *kwnames[] = {
27536 (char *) "self", NULL
27537 };
27538
27539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
27540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27542 {
27543 PyThreadState* __tstate = wxPyBeginAllowThreads();
27544 result = (bool)(arg1)->GetShowHidden();
27545
27546 wxPyEndAllowThreads(__tstate);
27547 if (PyErr_Occurred()) SWIG_fail;
27548 }
27549 {
27550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27551 }
27552 return resultobj;
27553 fail:
27554 return NULL;
27555 }
27556
27557
27558 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27559 PyObject *resultobj;
27560 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27561 wxString result;
27562 PyObject * obj0 = 0 ;
27563 char *kwnames[] = {
27564 (char *) "self", NULL
27565 };
27566
27567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
27568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27570 {
27571 PyThreadState* __tstate = wxPyBeginAllowThreads();
27572 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27573
27574 wxPyEndAllowThreads(__tstate);
27575 if (PyErr_Occurred()) SWIG_fail;
27576 }
27577 {
27578 #if wxUSE_UNICODE
27579 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27580 #else
27581 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27582 #endif
27583 }
27584 return resultobj;
27585 fail:
27586 return NULL;
27587 }
27588
27589
27590 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27591 PyObject *resultobj;
27592 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27593 wxString *arg2 = 0 ;
27594 bool temp2 = False ;
27595 PyObject * obj0 = 0 ;
27596 PyObject * obj1 = 0 ;
27597 char *kwnames[] = {
27598 (char *) "self",(char *) "filter", NULL
27599 };
27600
27601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27604 {
27605 arg2 = wxString_in_helper(obj1);
27606 if (arg2 == NULL) SWIG_fail;
27607 temp2 = True;
27608 }
27609 {
27610 PyThreadState* __tstate = wxPyBeginAllowThreads();
27611 (arg1)->SetFilter((wxString const &)*arg2);
27612
27613 wxPyEndAllowThreads(__tstate);
27614 if (PyErr_Occurred()) SWIG_fail;
27615 }
27616 Py_INCREF(Py_None); resultobj = Py_None;
27617 {
27618 if (temp2)
27619 delete arg2;
27620 }
27621 return resultobj;
27622 fail:
27623 {
27624 if (temp2)
27625 delete arg2;
27626 }
27627 return NULL;
27628 }
27629
27630
27631 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27632 PyObject *resultobj;
27633 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27634 int result;
27635 PyObject * obj0 = 0 ;
27636 char *kwnames[] = {
27637 (char *) "self", NULL
27638 };
27639
27640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27643 {
27644 PyThreadState* __tstate = wxPyBeginAllowThreads();
27645 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27646
27647 wxPyEndAllowThreads(__tstate);
27648 if (PyErr_Occurred()) SWIG_fail;
27649 }
27650 resultobj = SWIG_FromInt((int)result);
27651 return resultobj;
27652 fail:
27653 return NULL;
27654 }
27655
27656
27657 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27658 PyObject *resultobj;
27659 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27660 int arg2 ;
27661 PyObject * obj0 = 0 ;
27662 PyObject * obj1 = 0 ;
27663 char *kwnames[] = {
27664 (char *) "self",(char *) "n", NULL
27665 };
27666
27667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27670 arg2 = (int) SWIG_AsInt(obj1);
27671 if (PyErr_Occurred()) SWIG_fail;
27672 {
27673 PyThreadState* __tstate = wxPyBeginAllowThreads();
27674 (arg1)->SetFilterIndex(arg2);
27675
27676 wxPyEndAllowThreads(__tstate);
27677 if (PyErr_Occurred()) SWIG_fail;
27678 }
27679 Py_INCREF(Py_None); resultobj = Py_None;
27680 return resultobj;
27681 fail:
27682 return NULL;
27683 }
27684
27685
27686 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27687 PyObject *resultobj;
27688 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27689 wxTreeItemId result;
27690 PyObject * obj0 = 0 ;
27691 char *kwnames[] = {
27692 (char *) "self", NULL
27693 };
27694
27695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27698 {
27699 PyThreadState* __tstate = wxPyBeginAllowThreads();
27700 result = (arg1)->GetRootId();
27701
27702 wxPyEndAllowThreads(__tstate);
27703 if (PyErr_Occurred()) SWIG_fail;
27704 }
27705 {
27706 wxTreeItemId * resultptr;
27707 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27709 }
27710 return resultobj;
27711 fail:
27712 return NULL;
27713 }
27714
27715
27716 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27717 PyObject *resultobj;
27718 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27719 wxPyTreeCtrl *result;
27720 PyObject * obj0 = 0 ;
27721 char *kwnames[] = {
27722 (char *) "self", NULL
27723 };
27724
27725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27728 {
27729 PyThreadState* __tstate = wxPyBeginAllowThreads();
27730 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27731
27732 wxPyEndAllowThreads(__tstate);
27733 if (PyErr_Occurred()) SWIG_fail;
27734 }
27735 {
27736 resultobj = wxPyMake_wxObject(result);
27737 }
27738 return resultobj;
27739 fail:
27740 return NULL;
27741 }
27742
27743
27744 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27745 PyObject *resultobj;
27746 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27747 wxDirFilterListCtrl *result;
27748 PyObject * obj0 = 0 ;
27749 char *kwnames[] = {
27750 (char *) "self", NULL
27751 };
27752
27753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27756 {
27757 PyThreadState* __tstate = wxPyBeginAllowThreads();
27758 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27759
27760 wxPyEndAllowThreads(__tstate);
27761 if (PyErr_Occurred()) SWIG_fail;
27762 }
27763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27764 return resultobj;
27765 fail:
27766 return NULL;
27767 }
27768
27769
27770 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27771 PyObject *resultobj;
27772 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27773 wxTreeItemId arg2 ;
27774 wxString *arg3 = 0 ;
27775 bool *arg4 = 0 ;
27776 wxTreeItemId result;
27777 wxTreeItemId *argp2 ;
27778 bool temp3 = False ;
27779 bool temp4 ;
27780 PyObject * obj0 = 0 ;
27781 PyObject * obj1 = 0 ;
27782 PyObject * obj2 = 0 ;
27783 char *kwnames[] = {
27784 (char *) "self",(char *) "parentId",(char *) "path", NULL
27785 };
27786
27787 arg4 = &temp4;
27788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27791 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27792 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27793 arg2 = *argp2;
27794 {
27795 arg3 = wxString_in_helper(obj2);
27796 if (arg3 == NULL) SWIG_fail;
27797 temp3 = True;
27798 }
27799 {
27800 PyThreadState* __tstate = wxPyBeginAllowThreads();
27801 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27802
27803 wxPyEndAllowThreads(__tstate);
27804 if (PyErr_Occurred()) SWIG_fail;
27805 }
27806 {
27807 wxTreeItemId * resultptr;
27808 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27809 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27810 }
27811 {
27812 PyObject *o = PyInt_FromLong((long) (*arg4));
27813 resultobj = t_output_helper(resultobj,o);
27814 }
27815 {
27816 if (temp3)
27817 delete arg3;
27818 }
27819 return resultobj;
27820 fail:
27821 {
27822 if (temp3)
27823 delete arg3;
27824 }
27825 return NULL;
27826 }
27827
27828
27829 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27830 PyObject *resultobj;
27831 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27832 PyObject * obj0 = 0 ;
27833 char *kwnames[] = {
27834 (char *) "self", NULL
27835 };
27836
27837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27840 {
27841 PyThreadState* __tstate = wxPyBeginAllowThreads();
27842 (arg1)->DoResize();
27843
27844 wxPyEndAllowThreads(__tstate);
27845 if (PyErr_Occurred()) SWIG_fail;
27846 }
27847 Py_INCREF(Py_None); resultobj = Py_None;
27848 return resultobj;
27849 fail:
27850 return NULL;
27851 }
27852
27853
27854 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27855 PyObject *resultobj;
27856 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27857 PyObject * obj0 = 0 ;
27858 char *kwnames[] = {
27859 (char *) "self", NULL
27860 };
27861
27862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27865 {
27866 PyThreadState* __tstate = wxPyBeginAllowThreads();
27867 (arg1)->ReCreateTree();
27868
27869 wxPyEndAllowThreads(__tstate);
27870 if (PyErr_Occurred()) SWIG_fail;
27871 }
27872 Py_INCREF(Py_None); resultobj = Py_None;
27873 return resultobj;
27874 fail:
27875 return NULL;
27876 }
27877
27878
27879 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27880 PyObject *obj;
27881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27882 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27883 Py_INCREF(obj);
27884 return Py_BuildValue((char *)"");
27885 }
27886 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27887 PyObject *resultobj;
27888 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27889 int arg2 = (int) (int)-1 ;
27890 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27891 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27892 wxSize const &arg4_defvalue = wxDefaultSize ;
27893 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27894 long arg5 = (long) 0 ;
27895 wxDirFilterListCtrl *result;
27896 wxPoint temp3 ;
27897 wxSize temp4 ;
27898 PyObject * obj0 = 0 ;
27899 PyObject * obj1 = 0 ;
27900 PyObject * obj2 = 0 ;
27901 PyObject * obj3 = 0 ;
27902 PyObject * obj4 = 0 ;
27903 char *kwnames[] = {
27904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27905 };
27906
27907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27910 if (obj1) {
27911 arg2 = (int const) SWIG_AsInt(obj1);
27912 if (PyErr_Occurred()) SWIG_fail;
27913 }
27914 if (obj2) {
27915 {
27916 arg3 = &temp3;
27917 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27918 }
27919 }
27920 if (obj3) {
27921 {
27922 arg4 = &temp4;
27923 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27924 }
27925 }
27926 if (obj4) {
27927 arg5 = (long) SWIG_AsLong(obj4);
27928 if (PyErr_Occurred()) SWIG_fail;
27929 }
27930 {
27931 PyThreadState* __tstate = wxPyBeginAllowThreads();
27932 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27933
27934 wxPyEndAllowThreads(__tstate);
27935 if (PyErr_Occurred()) SWIG_fail;
27936 }
27937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27938 return resultobj;
27939 fail:
27940 return NULL;
27941 }
27942
27943
27944 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27945 PyObject *resultobj;
27946 wxDirFilterListCtrl *result;
27947 char *kwnames[] = {
27948 NULL
27949 };
27950
27951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27952 {
27953 PyThreadState* __tstate = wxPyBeginAllowThreads();
27954 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27955
27956 wxPyEndAllowThreads(__tstate);
27957 if (PyErr_Occurred()) SWIG_fail;
27958 }
27959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27960 return resultobj;
27961 fail:
27962 return NULL;
27963 }
27964
27965
27966 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27967 PyObject *resultobj;
27968 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27969 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27970 int arg3 = (int) (int)-1 ;
27971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27973 wxSize const &arg5_defvalue = wxDefaultSize ;
27974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27975 long arg6 = (long) 0 ;
27976 bool result;
27977 wxPoint temp4 ;
27978 wxSize temp5 ;
27979 PyObject * obj0 = 0 ;
27980 PyObject * obj1 = 0 ;
27981 PyObject * obj2 = 0 ;
27982 PyObject * obj3 = 0 ;
27983 PyObject * obj4 = 0 ;
27984 PyObject * obj5 = 0 ;
27985 char *kwnames[] = {
27986 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27987 };
27988
27989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27994 if (obj2) {
27995 arg3 = (int const) SWIG_AsInt(obj2);
27996 if (PyErr_Occurred()) SWIG_fail;
27997 }
27998 if (obj3) {
27999 {
28000 arg4 = &temp4;
28001 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28002 }
28003 }
28004 if (obj4) {
28005 {
28006 arg5 = &temp5;
28007 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28008 }
28009 }
28010 if (obj5) {
28011 arg6 = (long) SWIG_AsLong(obj5);
28012 if (PyErr_Occurred()) SWIG_fail;
28013 }
28014 {
28015 PyThreadState* __tstate = wxPyBeginAllowThreads();
28016 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
28017
28018 wxPyEndAllowThreads(__tstate);
28019 if (PyErr_Occurred()) SWIG_fail;
28020 }
28021 {
28022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28023 }
28024 return resultobj;
28025 fail:
28026 return NULL;
28027 }
28028
28029
28030 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
28031 PyObject *resultobj;
28032 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28033 wxString *arg2 = 0 ;
28034 int arg3 ;
28035 bool temp2 = False ;
28036 PyObject * obj0 = 0 ;
28037 PyObject * obj1 = 0 ;
28038 PyObject * obj2 = 0 ;
28039 char *kwnames[] = {
28040 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28041 };
28042
28043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
28044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28046 {
28047 arg2 = wxString_in_helper(obj1);
28048 if (arg2 == NULL) SWIG_fail;
28049 temp2 = True;
28050 }
28051 arg3 = (int) SWIG_AsInt(obj2);
28052 if (PyErr_Occurred()) SWIG_fail;
28053 {
28054 PyThreadState* __tstate = wxPyBeginAllowThreads();
28055 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
28056
28057 wxPyEndAllowThreads(__tstate);
28058 if (PyErr_Occurred()) SWIG_fail;
28059 }
28060 Py_INCREF(Py_None); resultobj = Py_None;
28061 {
28062 if (temp2)
28063 delete arg2;
28064 }
28065 return resultobj;
28066 fail:
28067 {
28068 if (temp2)
28069 delete arg2;
28070 }
28071 return NULL;
28072 }
28073
28074
28075 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
28076 PyObject *obj;
28077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28078 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28079 Py_INCREF(obj);
28080 return Py_BuildValue((char *)"");
28081 }
28082 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28083 PyObject *resultobj;
28084 wxWindow *arg1 = (wxWindow *) 0 ;
28085 int arg2 ;
28086 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28087 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28088 wxSize const &arg4_defvalue = wxDefaultSize ;
28089 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28090 long arg5 = (long) 0 ;
28091 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28092 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28093 wxString const &arg7_defvalue = wxPyControlNameStr ;
28094 wxString *arg7 = (wxString *) &arg7_defvalue ;
28095 wxPyControl *result;
28096 wxPoint temp3 ;
28097 wxSize temp4 ;
28098 bool temp7 = False ;
28099 PyObject * obj0 = 0 ;
28100 PyObject * obj1 = 0 ;
28101 PyObject * obj2 = 0 ;
28102 PyObject * obj3 = 0 ;
28103 PyObject * obj4 = 0 ;
28104 PyObject * obj5 = 0 ;
28105 PyObject * obj6 = 0 ;
28106 char *kwnames[] = {
28107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28108 };
28109
28110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28113 arg2 = (int const) SWIG_AsInt(obj1);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 if (obj2) {
28116 {
28117 arg3 = &temp3;
28118 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28119 }
28120 }
28121 if (obj3) {
28122 {
28123 arg4 = &temp4;
28124 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28125 }
28126 }
28127 if (obj4) {
28128 arg5 = (long) SWIG_AsLong(obj4);
28129 if (PyErr_Occurred()) SWIG_fail;
28130 }
28131 if (obj5) {
28132 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
28133 SWIG_POINTER_EXCEPTION | 0)) == -1)
28134 SWIG_fail;
28135 if (arg6 == NULL) {
28136 PyErr_SetString(PyExc_TypeError,"null reference");
28137 SWIG_fail;
28138 }
28139 }
28140 if (obj6) {
28141 {
28142 arg7 = wxString_in_helper(obj6);
28143 if (arg7 == NULL) SWIG_fail;
28144 temp7 = True;
28145 }
28146 }
28147 {
28148 PyThreadState* __tstate = wxPyBeginAllowThreads();
28149 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28150
28151 wxPyEndAllowThreads(__tstate);
28152 if (PyErr_Occurred()) SWIG_fail;
28153 }
28154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28155 {
28156 if (temp7)
28157 delete arg7;
28158 }
28159 return resultobj;
28160 fail:
28161 {
28162 if (temp7)
28163 delete arg7;
28164 }
28165 return NULL;
28166 }
28167
28168
28169 static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28170 PyObject *resultobj;
28171 wxPyControl *result;
28172 char *kwnames[] = {
28173 NULL
28174 };
28175
28176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
28177 {
28178 PyThreadState* __tstate = wxPyBeginAllowThreads();
28179 result = (wxPyControl *)new wxPyControl();
28180
28181 wxPyEndAllowThreads(__tstate);
28182 if (PyErr_Occurred()) SWIG_fail;
28183 }
28184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28185 return resultobj;
28186 fail:
28187 return NULL;
28188 }
28189
28190
28191 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28192 PyObject *resultobj;
28193 wxPyControl *arg1 = (wxPyControl *) 0 ;
28194 PyObject *arg2 = (PyObject *) 0 ;
28195 PyObject *arg3 = (PyObject *) 0 ;
28196 PyObject * obj0 = 0 ;
28197 PyObject * obj1 = 0 ;
28198 PyObject * obj2 = 0 ;
28199 char *kwnames[] = {
28200 (char *) "self",(char *) "self",(char *) "_class", NULL
28201 };
28202
28203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28206 arg2 = obj1;
28207 arg3 = obj2;
28208 {
28209 PyThreadState* __tstate = wxPyBeginAllowThreads();
28210 (arg1)->_setCallbackInfo(arg2,arg3);
28211
28212 wxPyEndAllowThreads(__tstate);
28213 if (PyErr_Occurred()) SWIG_fail;
28214 }
28215 Py_INCREF(Py_None); resultobj = Py_None;
28216 return resultobj;
28217 fail:
28218 return NULL;
28219 }
28220
28221
28222 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28223 PyObject *resultobj;
28224 wxPyControl *arg1 = (wxPyControl *) 0 ;
28225 int arg2 ;
28226 int arg3 ;
28227 int arg4 ;
28228 int arg5 ;
28229 PyObject * obj0 = 0 ;
28230 PyObject * obj1 = 0 ;
28231 PyObject * obj2 = 0 ;
28232 PyObject * obj3 = 0 ;
28233 PyObject * obj4 = 0 ;
28234 char *kwnames[] = {
28235 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28236 };
28237
28238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28241 arg2 = (int) SWIG_AsInt(obj1);
28242 if (PyErr_Occurred()) SWIG_fail;
28243 arg3 = (int) SWIG_AsInt(obj2);
28244 if (PyErr_Occurred()) SWIG_fail;
28245 arg4 = (int) SWIG_AsInt(obj3);
28246 if (PyErr_Occurred()) SWIG_fail;
28247 arg5 = (int) SWIG_AsInt(obj4);
28248 if (PyErr_Occurred()) SWIG_fail;
28249 {
28250 PyThreadState* __tstate = wxPyBeginAllowThreads();
28251 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
28252
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
28256 Py_INCREF(Py_None); resultobj = Py_None;
28257 return resultobj;
28258 fail:
28259 return NULL;
28260 }
28261
28262
28263 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28264 PyObject *resultobj;
28265 wxPyControl *arg1 = (wxPyControl *) 0 ;
28266 int arg2 ;
28267 int arg3 ;
28268 int arg4 ;
28269 int arg5 ;
28270 int arg6 = (int) wxSIZE_AUTO ;
28271 PyObject * obj0 = 0 ;
28272 PyObject * obj1 = 0 ;
28273 PyObject * obj2 = 0 ;
28274 PyObject * obj3 = 0 ;
28275 PyObject * obj4 = 0 ;
28276 PyObject * obj5 = 0 ;
28277 char *kwnames[] = {
28278 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28279 };
28280
28281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28284 arg2 = (int) SWIG_AsInt(obj1);
28285 if (PyErr_Occurred()) SWIG_fail;
28286 arg3 = (int) SWIG_AsInt(obj2);
28287 if (PyErr_Occurred()) SWIG_fail;
28288 arg4 = (int) SWIG_AsInt(obj3);
28289 if (PyErr_Occurred()) SWIG_fail;
28290 arg5 = (int) SWIG_AsInt(obj4);
28291 if (PyErr_Occurred()) SWIG_fail;
28292 if (obj5) {
28293 arg6 = (int) SWIG_AsInt(obj5);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 {
28297 PyThreadState* __tstate = wxPyBeginAllowThreads();
28298 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
28299
28300 wxPyEndAllowThreads(__tstate);
28301 if (PyErr_Occurred()) SWIG_fail;
28302 }
28303 Py_INCREF(Py_None); resultobj = Py_None;
28304 return resultobj;
28305 fail:
28306 return NULL;
28307 }
28308
28309
28310 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28311 PyObject *resultobj;
28312 wxPyControl *arg1 = (wxPyControl *) 0 ;
28313 int arg2 ;
28314 int arg3 ;
28315 PyObject * obj0 = 0 ;
28316 PyObject * obj1 = 0 ;
28317 PyObject * obj2 = 0 ;
28318 char *kwnames[] = {
28319 (char *) "self",(char *) "width",(char *) "height", NULL
28320 };
28321
28322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28325 arg2 = (int) SWIG_AsInt(obj1);
28326 if (PyErr_Occurred()) SWIG_fail;
28327 arg3 = (int) SWIG_AsInt(obj2);
28328 if (PyErr_Occurred()) SWIG_fail;
28329 {
28330 PyThreadState* __tstate = wxPyBeginAllowThreads();
28331 (arg1)->base_DoSetClientSize(arg2,arg3);
28332
28333 wxPyEndAllowThreads(__tstate);
28334 if (PyErr_Occurred()) SWIG_fail;
28335 }
28336 Py_INCREF(Py_None); resultobj = Py_None;
28337 return resultobj;
28338 fail:
28339 return NULL;
28340 }
28341
28342
28343 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28344 PyObject *resultobj;
28345 wxPyControl *arg1 = (wxPyControl *) 0 ;
28346 int arg2 ;
28347 int arg3 ;
28348 PyObject * obj0 = 0 ;
28349 PyObject * obj1 = 0 ;
28350 PyObject * obj2 = 0 ;
28351 char *kwnames[] = {
28352 (char *) "self",(char *) "x",(char *) "y", NULL
28353 };
28354
28355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28358 arg2 = (int) SWIG_AsInt(obj1);
28359 if (PyErr_Occurred()) SWIG_fail;
28360 arg3 = (int) SWIG_AsInt(obj2);
28361 if (PyErr_Occurred()) SWIG_fail;
28362 {
28363 PyThreadState* __tstate = wxPyBeginAllowThreads();
28364 (arg1)->base_DoSetVirtualSize(arg2,arg3);
28365
28366 wxPyEndAllowThreads(__tstate);
28367 if (PyErr_Occurred()) SWIG_fail;
28368 }
28369 Py_INCREF(Py_None); resultobj = Py_None;
28370 return resultobj;
28371 fail:
28372 return NULL;
28373 }
28374
28375
28376 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28377 PyObject *resultobj;
28378 wxPyControl *arg1 = (wxPyControl *) 0 ;
28379 int *arg2 = (int *) 0 ;
28380 int *arg3 = (int *) 0 ;
28381 int temp2 ;
28382 int temp3 ;
28383 PyObject * obj0 = 0 ;
28384 char *kwnames[] = {
28385 (char *) "self", NULL
28386 };
28387
28388 arg2 = &temp2;
28389 arg3 = &temp3;
28390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
28391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28393 {
28394 PyThreadState* __tstate = wxPyBeginAllowThreads();
28395 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
28396
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
28400 Py_INCREF(Py_None); resultobj = Py_None;
28401 {
28402 PyObject *o = PyInt_FromLong((long) (*arg2));
28403 resultobj = t_output_helper(resultobj,o);
28404 }
28405 {
28406 PyObject *o = PyInt_FromLong((long) (*arg3));
28407 resultobj = t_output_helper(resultobj,o);
28408 }
28409 return resultobj;
28410 fail:
28411 return NULL;
28412 }
28413
28414
28415 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28416 PyObject *resultobj;
28417 wxPyControl *arg1 = (wxPyControl *) 0 ;
28418 int *arg2 = (int *) 0 ;
28419 int *arg3 = (int *) 0 ;
28420 int temp2 ;
28421 int temp3 ;
28422 PyObject * obj0 = 0 ;
28423 char *kwnames[] = {
28424 (char *) "self", NULL
28425 };
28426
28427 arg2 = &temp2;
28428 arg3 = &temp3;
28429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
28430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28432 {
28433 PyThreadState* __tstate = wxPyBeginAllowThreads();
28434 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
28435
28436 wxPyEndAllowThreads(__tstate);
28437 if (PyErr_Occurred()) SWIG_fail;
28438 }
28439 Py_INCREF(Py_None); resultobj = Py_None;
28440 {
28441 PyObject *o = PyInt_FromLong((long) (*arg2));
28442 resultobj = t_output_helper(resultobj,o);
28443 }
28444 {
28445 PyObject *o = PyInt_FromLong((long) (*arg3));
28446 resultobj = t_output_helper(resultobj,o);
28447 }
28448 return resultobj;
28449 fail:
28450 return NULL;
28451 }
28452
28453
28454 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28455 PyObject *resultobj;
28456 wxPyControl *arg1 = (wxPyControl *) 0 ;
28457 int *arg2 = (int *) 0 ;
28458 int *arg3 = (int *) 0 ;
28459 int temp2 ;
28460 int temp3 ;
28461 PyObject * obj0 = 0 ;
28462 char *kwnames[] = {
28463 (char *) "self", NULL
28464 };
28465
28466 arg2 = &temp2;
28467 arg3 = &temp3;
28468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
28469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28471 {
28472 PyThreadState* __tstate = wxPyBeginAllowThreads();
28473 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28474
28475 wxPyEndAllowThreads(__tstate);
28476 if (PyErr_Occurred()) SWIG_fail;
28477 }
28478 Py_INCREF(Py_None); resultobj = Py_None;
28479 {
28480 PyObject *o = PyInt_FromLong((long) (*arg2));
28481 resultobj = t_output_helper(resultobj,o);
28482 }
28483 {
28484 PyObject *o = PyInt_FromLong((long) (*arg3));
28485 resultobj = t_output_helper(resultobj,o);
28486 }
28487 return resultobj;
28488 fail:
28489 return NULL;
28490 }
28491
28492
28493 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28494 PyObject *resultobj;
28495 wxPyControl *arg1 = (wxPyControl *) 0 ;
28496 wxSize result;
28497 PyObject * obj0 = 0 ;
28498 char *kwnames[] = {
28499 (char *) "self", NULL
28500 };
28501
28502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
28503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28505 {
28506 PyThreadState* __tstate = wxPyBeginAllowThreads();
28507 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28508
28509 wxPyEndAllowThreads(__tstate);
28510 if (PyErr_Occurred()) SWIG_fail;
28511 }
28512 {
28513 wxSize * resultptr;
28514 resultptr = new wxSize((wxSize &) result);
28515 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28516 }
28517 return resultobj;
28518 fail:
28519 return NULL;
28520 }
28521
28522
28523 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28524 PyObject *resultobj;
28525 wxPyControl *arg1 = (wxPyControl *) 0 ;
28526 wxSize result;
28527 PyObject * obj0 = 0 ;
28528 char *kwnames[] = {
28529 (char *) "self", NULL
28530 };
28531
28532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
28533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28535 {
28536 PyThreadState* __tstate = wxPyBeginAllowThreads();
28537 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28538
28539 wxPyEndAllowThreads(__tstate);
28540 if (PyErr_Occurred()) SWIG_fail;
28541 }
28542 {
28543 wxSize * resultptr;
28544 resultptr = new wxSize((wxSize &) result);
28545 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28546 }
28547 return resultobj;
28548 fail:
28549 return NULL;
28550 }
28551
28552
28553 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
28554 PyObject *resultobj;
28555 wxPyControl *arg1 = (wxPyControl *) 0 ;
28556 PyObject * obj0 = 0 ;
28557 char *kwnames[] = {
28558 (char *) "self", NULL
28559 };
28560
28561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
28562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28564 {
28565 PyThreadState* __tstate = wxPyBeginAllowThreads();
28566 (arg1)->base_InitDialog();
28567
28568 wxPyEndAllowThreads(__tstate);
28569 if (PyErr_Occurred()) SWIG_fail;
28570 }
28571 Py_INCREF(Py_None); resultobj = Py_None;
28572 return resultobj;
28573 fail:
28574 return NULL;
28575 }
28576
28577
28578 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28579 PyObject *resultobj;
28580 wxPyControl *arg1 = (wxPyControl *) 0 ;
28581 bool result;
28582 PyObject * obj0 = 0 ;
28583 char *kwnames[] = {
28584 (char *) "self", NULL
28585 };
28586
28587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
28588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28590 {
28591 PyThreadState* __tstate = wxPyBeginAllowThreads();
28592 result = (bool)(arg1)->base_TransferDataToWindow();
28593
28594 wxPyEndAllowThreads(__tstate);
28595 if (PyErr_Occurred()) SWIG_fail;
28596 }
28597 {
28598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28599 }
28600 return resultobj;
28601 fail:
28602 return NULL;
28603 }
28604
28605
28606 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28607 PyObject *resultobj;
28608 wxPyControl *arg1 = (wxPyControl *) 0 ;
28609 bool result;
28610 PyObject * obj0 = 0 ;
28611 char *kwnames[] = {
28612 (char *) "self", NULL
28613 };
28614
28615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28618 {
28619 PyThreadState* __tstate = wxPyBeginAllowThreads();
28620 result = (bool)(arg1)->base_TransferDataFromWindow();
28621
28622 wxPyEndAllowThreads(__tstate);
28623 if (PyErr_Occurred()) SWIG_fail;
28624 }
28625 {
28626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28627 }
28628 return resultobj;
28629 fail:
28630 return NULL;
28631 }
28632
28633
28634 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28635 PyObject *resultobj;
28636 wxPyControl *arg1 = (wxPyControl *) 0 ;
28637 bool result;
28638 PyObject * obj0 = 0 ;
28639 char *kwnames[] = {
28640 (char *) "self", NULL
28641 };
28642
28643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28646 {
28647 PyThreadState* __tstate = wxPyBeginAllowThreads();
28648 result = (bool)(arg1)->base_Validate();
28649
28650 wxPyEndAllowThreads(__tstate);
28651 if (PyErr_Occurred()) SWIG_fail;
28652 }
28653 {
28654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28655 }
28656 return resultobj;
28657 fail:
28658 return NULL;
28659 }
28660
28661
28662 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28663 PyObject *resultobj;
28664 wxPyControl *arg1 = (wxPyControl *) 0 ;
28665 bool result;
28666 PyObject * obj0 = 0 ;
28667 char *kwnames[] = {
28668 (char *) "self", NULL
28669 };
28670
28671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28674 {
28675 PyThreadState* __tstate = wxPyBeginAllowThreads();
28676 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28677
28678 wxPyEndAllowThreads(__tstate);
28679 if (PyErr_Occurred()) SWIG_fail;
28680 }
28681 {
28682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28683 }
28684 return resultobj;
28685 fail:
28686 return NULL;
28687 }
28688
28689
28690 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28691 PyObject *resultobj;
28692 wxPyControl *arg1 = (wxPyControl *) 0 ;
28693 bool result;
28694 PyObject * obj0 = 0 ;
28695 char *kwnames[] = {
28696 (char *) "self", NULL
28697 };
28698
28699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28702 {
28703 PyThreadState* __tstate = wxPyBeginAllowThreads();
28704 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28705
28706 wxPyEndAllowThreads(__tstate);
28707 if (PyErr_Occurred()) SWIG_fail;
28708 }
28709 {
28710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28711 }
28712 return resultobj;
28713 fail:
28714 return NULL;
28715 }
28716
28717
28718 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28719 PyObject *resultobj;
28720 wxPyControl *arg1 = (wxPyControl *) 0 ;
28721 wxSize result;
28722 PyObject * obj0 = 0 ;
28723 char *kwnames[] = {
28724 (char *) "self", NULL
28725 };
28726
28727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28730 {
28731 PyThreadState* __tstate = wxPyBeginAllowThreads();
28732 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28733
28734 wxPyEndAllowThreads(__tstate);
28735 if (PyErr_Occurred()) SWIG_fail;
28736 }
28737 {
28738 wxSize * resultptr;
28739 resultptr = new wxSize((wxSize &) result);
28740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28741 }
28742 return resultobj;
28743 fail:
28744 return NULL;
28745 }
28746
28747
28748 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28749 PyObject *resultobj;
28750 wxPyControl *arg1 = (wxPyControl *) 0 ;
28751 wxWindow *arg2 = (wxWindow *) 0 ;
28752 PyObject * obj0 = 0 ;
28753 PyObject * obj1 = 0 ;
28754 char *kwnames[] = {
28755 (char *) "self",(char *) "child", NULL
28756 };
28757
28758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28763 {
28764 PyThreadState* __tstate = wxPyBeginAllowThreads();
28765 (arg1)->base_AddChild(arg2);
28766
28767 wxPyEndAllowThreads(__tstate);
28768 if (PyErr_Occurred()) SWIG_fail;
28769 }
28770 Py_INCREF(Py_None); resultobj = Py_None;
28771 return resultobj;
28772 fail:
28773 return NULL;
28774 }
28775
28776
28777 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28778 PyObject *resultobj;
28779 wxPyControl *arg1 = (wxPyControl *) 0 ;
28780 wxWindow *arg2 = (wxWindow *) 0 ;
28781 PyObject * obj0 = 0 ;
28782 PyObject * obj1 = 0 ;
28783 char *kwnames[] = {
28784 (char *) "self",(char *) "child", NULL
28785 };
28786
28787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28792 {
28793 PyThreadState* __tstate = wxPyBeginAllowThreads();
28794 (arg1)->base_RemoveChild(arg2);
28795
28796 wxPyEndAllowThreads(__tstate);
28797 if (PyErr_Occurred()) SWIG_fail;
28798 }
28799 Py_INCREF(Py_None); resultobj = Py_None;
28800 return resultobj;
28801 fail:
28802 return NULL;
28803 }
28804
28805
28806 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28807 PyObject *resultobj;
28808 wxPyControl *arg1 = (wxPyControl *) 0 ;
28809 bool result;
28810 PyObject * obj0 = 0 ;
28811 char *kwnames[] = {
28812 (char *) "self", NULL
28813 };
28814
28815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
28816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28818 {
28819 PyThreadState* __tstate = wxPyBeginAllowThreads();
28820 result = (bool)(arg1)->base_ShouldInheritColours();
28821
28822 wxPyEndAllowThreads(__tstate);
28823 if (PyErr_Occurred()) SWIG_fail;
28824 }
28825 {
28826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28827 }
28828 return resultobj;
28829 fail:
28830 return NULL;
28831 }
28832
28833
28834 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
28835 PyObject *resultobj;
28836 wxPyControl *arg1 = (wxPyControl *) 0 ;
28837 wxColour *arg2 = 0 ;
28838 wxColour temp2 ;
28839 PyObject * obj0 = 0 ;
28840 PyObject * obj1 = 0 ;
28841 char *kwnames[] = {
28842 (char *) "self",(char *) "c", NULL
28843 };
28844
28845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
28846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28848 {
28849 arg2 = &temp2;
28850 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28851 }
28852 {
28853 PyThreadState* __tstate = wxPyBeginAllowThreads();
28854 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
28855
28856 wxPyEndAllowThreads(__tstate);
28857 if (PyErr_Occurred()) SWIG_fail;
28858 }
28859 Py_INCREF(Py_None); resultobj = Py_None;
28860 return resultobj;
28861 fail:
28862 return NULL;
28863 }
28864
28865
28866 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28867 PyObject *obj;
28868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28869 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28870 Py_INCREF(obj);
28871 return Py_BuildValue((char *)"");
28872 }
28873 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28874 PyObject *resultobj;
28875 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28876 int arg2 = (int) 0 ;
28877 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28878 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28879 wxHelpEvent *result;
28880 wxPoint temp3 ;
28881 PyObject * obj0 = 0 ;
28882 PyObject * obj1 = 0 ;
28883 PyObject * obj2 = 0 ;
28884 char *kwnames[] = {
28885 (char *) "type",(char *) "winid",(char *) "pt", NULL
28886 };
28887
28888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28889 if (obj0) {
28890 arg1 = (wxEventType) SWIG_AsInt(obj0);
28891 if (PyErr_Occurred()) SWIG_fail;
28892 }
28893 if (obj1) {
28894 arg2 = (int) SWIG_AsInt(obj1);
28895 if (PyErr_Occurred()) SWIG_fail;
28896 }
28897 if (obj2) {
28898 {
28899 arg3 = &temp3;
28900 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28901 }
28902 }
28903 {
28904 PyThreadState* __tstate = wxPyBeginAllowThreads();
28905 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28906
28907 wxPyEndAllowThreads(__tstate);
28908 if (PyErr_Occurred()) SWIG_fail;
28909 }
28910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28911 return resultobj;
28912 fail:
28913 return NULL;
28914 }
28915
28916
28917 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28918 PyObject *resultobj;
28919 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28920 wxPoint result;
28921 PyObject * obj0 = 0 ;
28922 char *kwnames[] = {
28923 (char *) "self", NULL
28924 };
28925
28926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28929 {
28930 PyThreadState* __tstate = wxPyBeginAllowThreads();
28931 result = ((wxHelpEvent const *)arg1)->GetPosition();
28932
28933 wxPyEndAllowThreads(__tstate);
28934 if (PyErr_Occurred()) SWIG_fail;
28935 }
28936 {
28937 wxPoint * resultptr;
28938 resultptr = new wxPoint((wxPoint &) result);
28939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28940 }
28941 return resultobj;
28942 fail:
28943 return NULL;
28944 }
28945
28946
28947 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28948 PyObject *resultobj;
28949 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28950 wxPoint *arg2 = 0 ;
28951 wxPoint temp2 ;
28952 PyObject * obj0 = 0 ;
28953 PyObject * obj1 = 0 ;
28954 char *kwnames[] = {
28955 (char *) "self",(char *) "pos", NULL
28956 };
28957
28958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28961 {
28962 arg2 = &temp2;
28963 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28964 }
28965 {
28966 PyThreadState* __tstate = wxPyBeginAllowThreads();
28967 (arg1)->SetPosition((wxPoint const &)*arg2);
28968
28969 wxPyEndAllowThreads(__tstate);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 }
28972 Py_INCREF(Py_None); resultobj = Py_None;
28973 return resultobj;
28974 fail:
28975 return NULL;
28976 }
28977
28978
28979 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28980 PyObject *resultobj;
28981 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28982 wxString *result;
28983 PyObject * obj0 = 0 ;
28984 char *kwnames[] = {
28985 (char *) "self", NULL
28986 };
28987
28988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28991 {
28992 PyThreadState* __tstate = wxPyBeginAllowThreads();
28993 {
28994 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28995 result = (wxString *) &_result_ref;
28996 }
28997
28998 wxPyEndAllowThreads(__tstate);
28999 if (PyErr_Occurred()) SWIG_fail;
29000 }
29001 {
29002 #if wxUSE_UNICODE
29003 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29004 #else
29005 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29006 #endif
29007 }
29008 return resultobj;
29009 fail:
29010 return NULL;
29011 }
29012
29013
29014 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29015 PyObject *resultobj;
29016 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29017 wxString *arg2 = 0 ;
29018 bool temp2 = False ;
29019 PyObject * obj0 = 0 ;
29020 PyObject * obj1 = 0 ;
29021 char *kwnames[] = {
29022 (char *) "self",(char *) "link", NULL
29023 };
29024
29025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
29026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29028 {
29029 arg2 = wxString_in_helper(obj1);
29030 if (arg2 == NULL) SWIG_fail;
29031 temp2 = True;
29032 }
29033 {
29034 PyThreadState* __tstate = wxPyBeginAllowThreads();
29035 (arg1)->SetLink((wxString const &)*arg2);
29036
29037 wxPyEndAllowThreads(__tstate);
29038 if (PyErr_Occurred()) SWIG_fail;
29039 }
29040 Py_INCREF(Py_None); resultobj = Py_None;
29041 {
29042 if (temp2)
29043 delete arg2;
29044 }
29045 return resultobj;
29046 fail:
29047 {
29048 if (temp2)
29049 delete arg2;
29050 }
29051 return NULL;
29052 }
29053
29054
29055 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29056 PyObject *resultobj;
29057 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29058 wxString *result;
29059 PyObject * obj0 = 0 ;
29060 char *kwnames[] = {
29061 (char *) "self", NULL
29062 };
29063
29064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
29065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29067 {
29068 PyThreadState* __tstate = wxPyBeginAllowThreads();
29069 {
29070 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
29071 result = (wxString *) &_result_ref;
29072 }
29073
29074 wxPyEndAllowThreads(__tstate);
29075 if (PyErr_Occurred()) SWIG_fail;
29076 }
29077 {
29078 #if wxUSE_UNICODE
29079 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29080 #else
29081 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29082 #endif
29083 }
29084 return resultobj;
29085 fail:
29086 return NULL;
29087 }
29088
29089
29090 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29091 PyObject *resultobj;
29092 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29093 wxString *arg2 = 0 ;
29094 bool temp2 = False ;
29095 PyObject * obj0 = 0 ;
29096 PyObject * obj1 = 0 ;
29097 char *kwnames[] = {
29098 (char *) "self",(char *) "target", NULL
29099 };
29100
29101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
29102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29104 {
29105 arg2 = wxString_in_helper(obj1);
29106 if (arg2 == NULL) SWIG_fail;
29107 temp2 = True;
29108 }
29109 {
29110 PyThreadState* __tstate = wxPyBeginAllowThreads();
29111 (arg1)->SetTarget((wxString const &)*arg2);
29112
29113 wxPyEndAllowThreads(__tstate);
29114 if (PyErr_Occurred()) SWIG_fail;
29115 }
29116 Py_INCREF(Py_None); resultobj = Py_None;
29117 {
29118 if (temp2)
29119 delete arg2;
29120 }
29121 return resultobj;
29122 fail:
29123 {
29124 if (temp2)
29125 delete arg2;
29126 }
29127 return NULL;
29128 }
29129
29130
29131 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
29132 PyObject *obj;
29133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29134 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
29135 Py_INCREF(obj);
29136 return Py_BuildValue((char *)"");
29137 }
29138 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29139 PyObject *resultobj;
29140 wxWindow *arg1 = (wxWindow *) NULL ;
29141 bool arg2 = (bool) True ;
29142 wxContextHelp *result;
29143 PyObject * obj0 = 0 ;
29144 PyObject * obj1 = 0 ;
29145 char *kwnames[] = {
29146 (char *) "window",(char *) "doNow", NULL
29147 };
29148
29149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
29150 if (obj0) {
29151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29153 }
29154 if (obj1) {
29155 arg2 = (bool) SWIG_AsBool(obj1);
29156 if (PyErr_Occurred()) SWIG_fail;
29157 }
29158 {
29159 PyThreadState* __tstate = wxPyBeginAllowThreads();
29160 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
29161
29162 wxPyEndAllowThreads(__tstate);
29163 if (PyErr_Occurred()) SWIG_fail;
29164 }
29165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
29166 return resultobj;
29167 fail:
29168 return NULL;
29169 }
29170
29171
29172 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29173 PyObject *resultobj;
29174 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29175 PyObject * obj0 = 0 ;
29176 char *kwnames[] = {
29177 (char *) "self", NULL
29178 };
29179
29180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
29181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29183 {
29184 PyThreadState* __tstate = wxPyBeginAllowThreads();
29185 delete arg1;
29186
29187 wxPyEndAllowThreads(__tstate);
29188 if (PyErr_Occurred()) SWIG_fail;
29189 }
29190 Py_INCREF(Py_None); resultobj = Py_None;
29191 return resultobj;
29192 fail:
29193 return NULL;
29194 }
29195
29196
29197 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29198 PyObject *resultobj;
29199 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29200 wxWindow *arg2 = (wxWindow *) NULL ;
29201 bool result;
29202 PyObject * obj0 = 0 ;
29203 PyObject * obj1 = 0 ;
29204 char *kwnames[] = {
29205 (char *) "self",(char *) "window", NULL
29206 };
29207
29208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
29209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29211 if (obj1) {
29212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29214 }
29215 {
29216 PyThreadState* __tstate = wxPyBeginAllowThreads();
29217 result = (bool)(arg1)->BeginContextHelp(arg2);
29218
29219 wxPyEndAllowThreads(__tstate);
29220 if (PyErr_Occurred()) SWIG_fail;
29221 }
29222 {
29223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29224 }
29225 return resultobj;
29226 fail:
29227 return NULL;
29228 }
29229
29230
29231 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29232 PyObject *resultobj;
29233 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29234 bool result;
29235 PyObject * obj0 = 0 ;
29236 char *kwnames[] = {
29237 (char *) "self", NULL
29238 };
29239
29240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
29241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29243 {
29244 PyThreadState* __tstate = wxPyBeginAllowThreads();
29245 result = (bool)(arg1)->EndContextHelp();
29246
29247 wxPyEndAllowThreads(__tstate);
29248 if (PyErr_Occurred()) SWIG_fail;
29249 }
29250 {
29251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29252 }
29253 return resultobj;
29254 fail:
29255 return NULL;
29256 }
29257
29258
29259 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
29260 PyObject *obj;
29261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29262 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
29263 Py_INCREF(obj);
29264 return Py_BuildValue((char *)"");
29265 }
29266 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
29267 PyObject *resultobj;
29268 wxWindow *arg1 = (wxWindow *) 0 ;
29269 int arg2 = (int) wxID_CONTEXT_HELP ;
29270 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29271 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29272 wxSize const &arg4_defvalue = wxDefaultSize ;
29273 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29274 long arg5 = (long) wxBU_AUTODRAW ;
29275 wxContextHelpButton *result;
29276 wxPoint temp3 ;
29277 wxSize temp4 ;
29278 PyObject * obj0 = 0 ;
29279 PyObject * obj1 = 0 ;
29280 PyObject * obj2 = 0 ;
29281 PyObject * obj3 = 0 ;
29282 PyObject * obj4 = 0 ;
29283 char *kwnames[] = {
29284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29285 };
29286
29287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29290 if (obj1) {
29291 arg2 = (int) SWIG_AsInt(obj1);
29292 if (PyErr_Occurred()) SWIG_fail;
29293 }
29294 if (obj2) {
29295 {
29296 arg3 = &temp3;
29297 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29298 }
29299 }
29300 if (obj3) {
29301 {
29302 arg4 = &temp4;
29303 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29304 }
29305 }
29306 if (obj4) {
29307 arg5 = (long) SWIG_AsLong(obj4);
29308 if (PyErr_Occurred()) SWIG_fail;
29309 }
29310 {
29311 PyThreadState* __tstate = wxPyBeginAllowThreads();
29312 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29313
29314 wxPyEndAllowThreads(__tstate);
29315 if (PyErr_Occurred()) SWIG_fail;
29316 }
29317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
29318 return resultobj;
29319 fail:
29320 return NULL;
29321 }
29322
29323
29324 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
29325 PyObject *obj;
29326 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29327 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
29328 Py_INCREF(obj);
29329 return Py_BuildValue((char *)"");
29330 }
29331 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
29332 PyObject *resultobj;
29333 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29334 wxHelpProvider *result;
29335 PyObject * obj0 = 0 ;
29336 char *kwnames[] = {
29337 (char *) "helpProvider", NULL
29338 };
29339
29340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
29341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29343 {
29344 PyThreadState* __tstate = wxPyBeginAllowThreads();
29345 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
29346
29347 wxPyEndAllowThreads(__tstate);
29348 if (PyErr_Occurred()) SWIG_fail;
29349 }
29350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29351 return resultobj;
29352 fail:
29353 return NULL;
29354 }
29355
29356
29357 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
29358 PyObject *resultobj;
29359 wxHelpProvider *result;
29360 char *kwnames[] = {
29361 NULL
29362 };
29363
29364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
29365 {
29366 PyThreadState* __tstate = wxPyBeginAllowThreads();
29367 result = (wxHelpProvider *)wxHelpProvider::Get();
29368
29369 wxPyEndAllowThreads(__tstate);
29370 if (PyErr_Occurred()) SWIG_fail;
29371 }
29372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29373 return resultobj;
29374 fail:
29375 return NULL;
29376 }
29377
29378
29379 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29380 PyObject *resultobj;
29381 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29382 wxWindow *arg2 = (wxWindow *) 0 ;
29383 wxString result;
29384 PyObject * obj0 = 0 ;
29385 PyObject * obj1 = 0 ;
29386 char *kwnames[] = {
29387 (char *) "self",(char *) "window", NULL
29388 };
29389
29390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
29391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29395 {
29396 PyThreadState* __tstate = wxPyBeginAllowThreads();
29397 result = (arg1)->GetHelp((wxWindow const *)arg2);
29398
29399 wxPyEndAllowThreads(__tstate);
29400 if (PyErr_Occurred()) SWIG_fail;
29401 }
29402 {
29403 #if wxUSE_UNICODE
29404 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29405 #else
29406 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29407 #endif
29408 }
29409 return resultobj;
29410 fail:
29411 return NULL;
29412 }
29413
29414
29415 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29416 PyObject *resultobj;
29417 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29418 wxWindow *arg2 = (wxWindow *) 0 ;
29419 bool result;
29420 PyObject * obj0 = 0 ;
29421 PyObject * obj1 = 0 ;
29422 char *kwnames[] = {
29423 (char *) "self",(char *) "window", NULL
29424 };
29425
29426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
29427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29431 {
29432 PyThreadState* __tstate = wxPyBeginAllowThreads();
29433 result = (bool)(arg1)->ShowHelp(arg2);
29434
29435 wxPyEndAllowThreads(__tstate);
29436 if (PyErr_Occurred()) SWIG_fail;
29437 }
29438 {
29439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29440 }
29441 return resultobj;
29442 fail:
29443 return NULL;
29444 }
29445
29446
29447 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29448 PyObject *resultobj;
29449 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29450 wxWindow *arg2 = (wxWindow *) 0 ;
29451 wxString *arg3 = 0 ;
29452 bool temp3 = False ;
29453 PyObject * obj0 = 0 ;
29454 PyObject * obj1 = 0 ;
29455 PyObject * obj2 = 0 ;
29456 char *kwnames[] = {
29457 (char *) "self",(char *) "window",(char *) "text", NULL
29458 };
29459
29460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
29461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29465 {
29466 arg3 = wxString_in_helper(obj2);
29467 if (arg3 == NULL) SWIG_fail;
29468 temp3 = True;
29469 }
29470 {
29471 PyThreadState* __tstate = wxPyBeginAllowThreads();
29472 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29473
29474 wxPyEndAllowThreads(__tstate);
29475 if (PyErr_Occurred()) SWIG_fail;
29476 }
29477 Py_INCREF(Py_None); resultobj = Py_None;
29478 {
29479 if (temp3)
29480 delete arg3;
29481 }
29482 return resultobj;
29483 fail:
29484 {
29485 if (temp3)
29486 delete arg3;
29487 }
29488 return NULL;
29489 }
29490
29491
29492 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
29493 PyObject *resultobj;
29494 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29495 int arg2 ;
29496 wxString *arg3 = 0 ;
29497 bool temp3 = False ;
29498 PyObject * obj0 = 0 ;
29499 PyObject * obj1 = 0 ;
29500 PyObject * obj2 = 0 ;
29501 char *kwnames[] = {
29502 (char *) "self",(char *) "id",(char *) "text", NULL
29503 };
29504
29505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
29506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29508 arg2 = (int) SWIG_AsInt(obj1);
29509 if (PyErr_Occurred()) SWIG_fail;
29510 {
29511 arg3 = wxString_in_helper(obj2);
29512 if (arg3 == NULL) SWIG_fail;
29513 temp3 = True;
29514 }
29515 {
29516 PyThreadState* __tstate = wxPyBeginAllowThreads();
29517 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29518
29519 wxPyEndAllowThreads(__tstate);
29520 if (PyErr_Occurred()) SWIG_fail;
29521 }
29522 Py_INCREF(Py_None); resultobj = Py_None;
29523 {
29524 if (temp3)
29525 delete arg3;
29526 }
29527 return resultobj;
29528 fail:
29529 {
29530 if (temp3)
29531 delete arg3;
29532 }
29533 return NULL;
29534 }
29535
29536
29537 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29538 PyObject *resultobj;
29539 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29540 wxWindow *arg2 = (wxWindow *) 0 ;
29541 PyObject * obj0 = 0 ;
29542 PyObject * obj1 = 0 ;
29543 char *kwnames[] = {
29544 (char *) "self",(char *) "window", NULL
29545 };
29546
29547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29552 {
29553 PyThreadState* __tstate = wxPyBeginAllowThreads();
29554 (arg1)->RemoveHelp(arg2);
29555
29556 wxPyEndAllowThreads(__tstate);
29557 if (PyErr_Occurred()) SWIG_fail;
29558 }
29559 Py_INCREF(Py_None); resultobj = Py_None;
29560 return resultobj;
29561 fail:
29562 return NULL;
29563 }
29564
29565
29566 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29567 PyObject *resultobj;
29568 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29569 PyObject * obj0 = 0 ;
29570 char *kwnames[] = {
29571 (char *) "self", NULL
29572 };
29573
29574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
29575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29577 {
29578 PyThreadState* __tstate = wxPyBeginAllowThreads();
29579 wxHelpProvider_Destroy(arg1);
29580
29581 wxPyEndAllowThreads(__tstate);
29582 if (PyErr_Occurred()) SWIG_fail;
29583 }
29584 Py_INCREF(Py_None); resultobj = Py_None;
29585 return resultobj;
29586 fail:
29587 return NULL;
29588 }
29589
29590
29591 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
29592 PyObject *obj;
29593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29594 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29595 Py_INCREF(obj);
29596 return Py_BuildValue((char *)"");
29597 }
29598 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
29599 PyObject *resultobj;
29600 wxSimpleHelpProvider *result;
29601 char *kwnames[] = {
29602 NULL
29603 };
29604
29605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29606 {
29607 PyThreadState* __tstate = wxPyBeginAllowThreads();
29608 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29609
29610 wxPyEndAllowThreads(__tstate);
29611 if (PyErr_Occurred()) SWIG_fail;
29612 }
29613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
29614 return resultobj;
29615 fail:
29616 return NULL;
29617 }
29618
29619
29620 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
29621 PyObject *obj;
29622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29623 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29624 Py_INCREF(obj);
29625 return Py_BuildValue((char *)"");
29626 }
29627 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29628 PyObject *resultobj;
29629 wxBitmap *arg1 = 0 ;
29630 wxCursor const &arg2_defvalue = wxNullCursor ;
29631 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29632 wxGenericDragImage *result;
29633 PyObject * obj0 = 0 ;
29634 PyObject * obj1 = 0 ;
29635 char *kwnames[] = {
29636 (char *) "image",(char *) "cursor", NULL
29637 };
29638
29639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
29640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29641 SWIG_POINTER_EXCEPTION | 0)) == -1)
29642 SWIG_fail;
29643 if (arg1 == NULL) {
29644 PyErr_SetString(PyExc_TypeError,"null reference");
29645 SWIG_fail;
29646 }
29647 if (obj1) {
29648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29649 SWIG_POINTER_EXCEPTION | 0)) == -1)
29650 SWIG_fail;
29651 if (arg2 == NULL) {
29652 PyErr_SetString(PyExc_TypeError,"null reference");
29653 SWIG_fail;
29654 }
29655 }
29656 {
29657 PyThreadState* __tstate = wxPyBeginAllowThreads();
29658 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29659
29660 wxPyEndAllowThreads(__tstate);
29661 if (PyErr_Occurred()) SWIG_fail;
29662 }
29663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29664 return resultobj;
29665 fail:
29666 return NULL;
29667 }
29668
29669
29670 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
29671 PyObject *resultobj;
29672 wxIcon *arg1 = 0 ;
29673 wxCursor const &arg2_defvalue = wxNullCursor ;
29674 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29675 wxGenericDragImage *result;
29676 PyObject * obj0 = 0 ;
29677 PyObject * obj1 = 0 ;
29678 char *kwnames[] = {
29679 (char *) "image",(char *) "cursor", NULL
29680 };
29681
29682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
29683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29684 SWIG_POINTER_EXCEPTION | 0)) == -1)
29685 SWIG_fail;
29686 if (arg1 == NULL) {
29687 PyErr_SetString(PyExc_TypeError,"null reference");
29688 SWIG_fail;
29689 }
29690 if (obj1) {
29691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29692 SWIG_POINTER_EXCEPTION | 0)) == -1)
29693 SWIG_fail;
29694 if (arg2 == NULL) {
29695 PyErr_SetString(PyExc_TypeError,"null reference");
29696 SWIG_fail;
29697 }
29698 }
29699 {
29700 PyThreadState* __tstate = wxPyBeginAllowThreads();
29701 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29702
29703 wxPyEndAllowThreads(__tstate);
29704 if (PyErr_Occurred()) SWIG_fail;
29705 }
29706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29707 return resultobj;
29708 fail:
29709 return NULL;
29710 }
29711
29712
29713 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
29714 PyObject *resultobj;
29715 wxString *arg1 = 0 ;
29716 wxCursor const &arg2_defvalue = wxNullCursor ;
29717 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29718 wxGenericDragImage *result;
29719 bool temp1 = False ;
29720 PyObject * obj0 = 0 ;
29721 PyObject * obj1 = 0 ;
29722 char *kwnames[] = {
29723 (char *) "str",(char *) "cursor", NULL
29724 };
29725
29726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29727 {
29728 arg1 = wxString_in_helper(obj0);
29729 if (arg1 == NULL) SWIG_fail;
29730 temp1 = True;
29731 }
29732 if (obj1) {
29733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29734 SWIG_POINTER_EXCEPTION | 0)) == -1)
29735 SWIG_fail;
29736 if (arg2 == NULL) {
29737 PyErr_SetString(PyExc_TypeError,"null reference");
29738 SWIG_fail;
29739 }
29740 }
29741 {
29742 PyThreadState* __tstate = wxPyBeginAllowThreads();
29743 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29744
29745 wxPyEndAllowThreads(__tstate);
29746 if (PyErr_Occurred()) SWIG_fail;
29747 }
29748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29749 {
29750 if (temp1)
29751 delete arg1;
29752 }
29753 return resultobj;
29754 fail:
29755 {
29756 if (temp1)
29757 delete arg1;
29758 }
29759 return NULL;
29760 }
29761
29762
29763 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29764 PyObject *resultobj;
29765 wxPyTreeCtrl *arg1 = 0 ;
29766 wxTreeItemId *arg2 = 0 ;
29767 wxGenericDragImage *result;
29768 PyObject * obj0 = 0 ;
29769 PyObject * obj1 = 0 ;
29770 char *kwnames[] = {
29771 (char *) "treeCtrl",(char *) "id", NULL
29772 };
29773
29774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29776 SWIG_POINTER_EXCEPTION | 0)) == -1)
29777 SWIG_fail;
29778 if (arg1 == NULL) {
29779 PyErr_SetString(PyExc_TypeError,"null reference");
29780 SWIG_fail;
29781 }
29782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29783 SWIG_POINTER_EXCEPTION | 0)) == -1)
29784 SWIG_fail;
29785 if (arg2 == NULL) {
29786 PyErr_SetString(PyExc_TypeError,"null reference");
29787 SWIG_fail;
29788 }
29789 {
29790 PyThreadState* __tstate = wxPyBeginAllowThreads();
29791 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29792
29793 wxPyEndAllowThreads(__tstate);
29794 if (PyErr_Occurred()) SWIG_fail;
29795 }
29796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29797 return resultobj;
29798 fail:
29799 return NULL;
29800 }
29801
29802
29803 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29804 PyObject *resultobj;
29805 wxPyListCtrl *arg1 = 0 ;
29806 long arg2 ;
29807 wxGenericDragImage *result;
29808 PyObject * obj0 = 0 ;
29809 PyObject * obj1 = 0 ;
29810 char *kwnames[] = {
29811 (char *) "listCtrl",(char *) "id", NULL
29812 };
29813
29814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29816 SWIG_POINTER_EXCEPTION | 0)) == -1)
29817 SWIG_fail;
29818 if (arg1 == NULL) {
29819 PyErr_SetString(PyExc_TypeError,"null reference");
29820 SWIG_fail;
29821 }
29822 arg2 = (long) SWIG_AsLong(obj1);
29823 if (PyErr_Occurred()) SWIG_fail;
29824 {
29825 PyThreadState* __tstate = wxPyBeginAllowThreads();
29826 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29827
29828 wxPyEndAllowThreads(__tstate);
29829 if (PyErr_Occurred()) SWIG_fail;
29830 }
29831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29832 return resultobj;
29833 fail:
29834 return NULL;
29835 }
29836
29837
29838 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29839 PyObject *resultobj;
29840 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29841 PyObject * obj0 = 0 ;
29842 char *kwnames[] = {
29843 (char *) "self", NULL
29844 };
29845
29846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29849 {
29850 PyThreadState* __tstate = wxPyBeginAllowThreads();
29851 delete arg1;
29852
29853 wxPyEndAllowThreads(__tstate);
29854 if (PyErr_Occurred()) SWIG_fail;
29855 }
29856 Py_INCREF(Py_None); resultobj = Py_None;
29857 return resultobj;
29858 fail:
29859 return NULL;
29860 }
29861
29862
29863 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29864 PyObject *resultobj;
29865 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29866 wxBitmap *arg2 = (wxBitmap *) 0 ;
29867 PyObject * obj0 = 0 ;
29868 PyObject * obj1 = 0 ;
29869 char *kwnames[] = {
29870 (char *) "self",(char *) "bitmap", NULL
29871 };
29872
29873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29878 {
29879 PyThreadState* __tstate = wxPyBeginAllowThreads();
29880 (arg1)->SetBackingBitmap(arg2);
29881
29882 wxPyEndAllowThreads(__tstate);
29883 if (PyErr_Occurred()) SWIG_fail;
29884 }
29885 Py_INCREF(Py_None); resultobj = Py_None;
29886 return resultobj;
29887 fail:
29888 return NULL;
29889 }
29890
29891
29892 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29893 PyObject *resultobj;
29894 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29895 wxPoint *arg2 = 0 ;
29896 wxWindow *arg3 = (wxWindow *) 0 ;
29897 bool arg4 = (bool) False ;
29898 wxRect *arg5 = (wxRect *) NULL ;
29899 bool result;
29900 wxPoint temp2 ;
29901 PyObject * obj0 = 0 ;
29902 PyObject * obj1 = 0 ;
29903 PyObject * obj2 = 0 ;
29904 PyObject * obj3 = 0 ;
29905 PyObject * obj4 = 0 ;
29906 char *kwnames[] = {
29907 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29908 };
29909
29910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29913 {
29914 arg2 = &temp2;
29915 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29916 }
29917 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29919 if (obj3) {
29920 arg4 = (bool) SWIG_AsBool(obj3);
29921 if (PyErr_Occurred()) SWIG_fail;
29922 }
29923 if (obj4) {
29924 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29926 }
29927 {
29928 PyThreadState* __tstate = wxPyBeginAllowThreads();
29929 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29930
29931 wxPyEndAllowThreads(__tstate);
29932 if (PyErr_Occurred()) SWIG_fail;
29933 }
29934 {
29935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29936 }
29937 return resultobj;
29938 fail:
29939 return NULL;
29940 }
29941
29942
29943 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29944 PyObject *resultobj;
29945 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29946 wxPoint *arg2 = 0 ;
29947 wxWindow *arg3 = (wxWindow *) 0 ;
29948 wxWindow *arg4 = (wxWindow *) 0 ;
29949 bool result;
29950 wxPoint temp2 ;
29951 PyObject * obj0 = 0 ;
29952 PyObject * obj1 = 0 ;
29953 PyObject * obj2 = 0 ;
29954 PyObject * obj3 = 0 ;
29955 char *kwnames[] = {
29956 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29957 };
29958
29959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29962 {
29963 arg2 = &temp2;
29964 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29965 }
29966 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29968 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29970 {
29971 PyThreadState* __tstate = wxPyBeginAllowThreads();
29972 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29973
29974 wxPyEndAllowThreads(__tstate);
29975 if (PyErr_Occurred()) SWIG_fail;
29976 }
29977 {
29978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29979 }
29980 return resultobj;
29981 fail:
29982 return NULL;
29983 }
29984
29985
29986 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29987 PyObject *resultobj;
29988 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29989 bool result;
29990 PyObject * obj0 = 0 ;
29991 char *kwnames[] = {
29992 (char *) "self", NULL
29993 };
29994
29995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29998 {
29999 PyThreadState* __tstate = wxPyBeginAllowThreads();
30000 result = (bool)(arg1)->EndDrag();
30001
30002 wxPyEndAllowThreads(__tstate);
30003 if (PyErr_Occurred()) SWIG_fail;
30004 }
30005 {
30006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30007 }
30008 return resultobj;
30009 fail:
30010 return NULL;
30011 }
30012
30013
30014 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
30015 PyObject *resultobj;
30016 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30017 wxPoint *arg2 = 0 ;
30018 bool result;
30019 wxPoint temp2 ;
30020 PyObject * obj0 = 0 ;
30021 PyObject * obj1 = 0 ;
30022 char *kwnames[] = {
30023 (char *) "self",(char *) "pt", NULL
30024 };
30025
30026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
30027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30029 {
30030 arg2 = &temp2;
30031 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30032 }
30033 {
30034 PyThreadState* __tstate = wxPyBeginAllowThreads();
30035 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
30036
30037 wxPyEndAllowThreads(__tstate);
30038 if (PyErr_Occurred()) SWIG_fail;
30039 }
30040 {
30041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30042 }
30043 return resultobj;
30044 fail:
30045 return NULL;
30046 }
30047
30048
30049 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30050 PyObject *resultobj;
30051 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30052 bool result;
30053 PyObject * obj0 = 0 ;
30054 char *kwnames[] = {
30055 (char *) "self", NULL
30056 };
30057
30058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
30059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30061 {
30062 PyThreadState* __tstate = wxPyBeginAllowThreads();
30063 result = (bool)(arg1)->Show();
30064
30065 wxPyEndAllowThreads(__tstate);
30066 if (PyErr_Occurred()) SWIG_fail;
30067 }
30068 {
30069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30070 }
30071 return resultobj;
30072 fail:
30073 return NULL;
30074 }
30075
30076
30077 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30078 PyObject *resultobj;
30079 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30080 bool result;
30081 PyObject * obj0 = 0 ;
30082 char *kwnames[] = {
30083 (char *) "self", NULL
30084 };
30085
30086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
30087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30089 {
30090 PyThreadState* __tstate = wxPyBeginAllowThreads();
30091 result = (bool)(arg1)->Hide();
30092
30093 wxPyEndAllowThreads(__tstate);
30094 if (PyErr_Occurred()) SWIG_fail;
30095 }
30096 {
30097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30098 }
30099 return resultobj;
30100 fail:
30101 return NULL;
30102 }
30103
30104
30105 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
30106 PyObject *resultobj;
30107 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30108 wxPoint *arg2 = 0 ;
30109 wxRect result;
30110 wxPoint temp2 ;
30111 PyObject * obj0 = 0 ;
30112 PyObject * obj1 = 0 ;
30113 char *kwnames[] = {
30114 (char *) "self",(char *) "pos", NULL
30115 };
30116
30117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
30118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30120 {
30121 arg2 = &temp2;
30122 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30123 }
30124 {
30125 PyThreadState* __tstate = wxPyBeginAllowThreads();
30126 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
30127
30128 wxPyEndAllowThreads(__tstate);
30129 if (PyErr_Occurred()) SWIG_fail;
30130 }
30131 {
30132 wxRect * resultptr;
30133 resultptr = new wxRect((wxRect &) result);
30134 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
30135 }
30136 return resultobj;
30137 fail:
30138 return NULL;
30139 }
30140
30141
30142 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30143 PyObject *resultobj;
30144 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30145 wxDC *arg2 = 0 ;
30146 wxPoint *arg3 = 0 ;
30147 bool result;
30148 wxPoint temp3 ;
30149 PyObject * obj0 = 0 ;
30150 PyObject * obj1 = 0 ;
30151 PyObject * obj2 = 0 ;
30152 char *kwnames[] = {
30153 (char *) "self",(char *) "dc",(char *) "pos", NULL
30154 };
30155
30156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
30157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30160 SWIG_POINTER_EXCEPTION | 0)) == -1)
30161 SWIG_fail;
30162 if (arg2 == NULL) {
30163 PyErr_SetString(PyExc_TypeError,"null reference");
30164 SWIG_fail;
30165 }
30166 {
30167 arg3 = &temp3;
30168 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30169 }
30170 {
30171 PyThreadState* __tstate = wxPyBeginAllowThreads();
30172 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
30173
30174 wxPyEndAllowThreads(__tstate);
30175 if (PyErr_Occurred()) SWIG_fail;
30176 }
30177 {
30178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30179 }
30180 return resultobj;
30181 fail:
30182 return NULL;
30183 }
30184
30185
30186 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30187 PyObject *resultobj;
30188 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30189 wxDC *arg2 = 0 ;
30190 wxMemoryDC *arg3 = 0 ;
30191 wxRect *arg4 = 0 ;
30192 wxRect *arg5 = 0 ;
30193 bool result;
30194 wxRect temp4 ;
30195 wxRect temp5 ;
30196 PyObject * obj0 = 0 ;
30197 PyObject * obj1 = 0 ;
30198 PyObject * obj2 = 0 ;
30199 PyObject * obj3 = 0 ;
30200 PyObject * obj4 = 0 ;
30201 char *kwnames[] = {
30202 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30203 };
30204
30205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30209 SWIG_POINTER_EXCEPTION | 0)) == -1)
30210 SWIG_fail;
30211 if (arg2 == NULL) {
30212 PyErr_SetString(PyExc_TypeError,"null reference");
30213 SWIG_fail;
30214 }
30215 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
30216 SWIG_POINTER_EXCEPTION | 0)) == -1)
30217 SWIG_fail;
30218 if (arg3 == NULL) {
30219 PyErr_SetString(PyExc_TypeError,"null reference");
30220 SWIG_fail;
30221 }
30222 {
30223 arg4 = &temp4;
30224 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
30225 }
30226 {
30227 arg5 = &temp5;
30228 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
30229 }
30230 {
30231 PyThreadState* __tstate = wxPyBeginAllowThreads();
30232 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
30233
30234 wxPyEndAllowThreads(__tstate);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 }
30237 {
30238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30239 }
30240 return resultobj;
30241 fail:
30242 return NULL;
30243 }
30244
30245
30246 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30247 PyObject *resultobj;
30248 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30249 wxPoint *arg2 = 0 ;
30250 wxPoint *arg3 = 0 ;
30251 bool arg4 ;
30252 bool arg5 ;
30253 bool result;
30254 wxPoint temp2 ;
30255 wxPoint temp3 ;
30256 PyObject * obj0 = 0 ;
30257 PyObject * obj1 = 0 ;
30258 PyObject * obj2 = 0 ;
30259 PyObject * obj3 = 0 ;
30260 PyObject * obj4 = 0 ;
30261 char *kwnames[] = {
30262 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30263 };
30264
30265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30268 {
30269 arg2 = &temp2;
30270 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30271 }
30272 {
30273 arg3 = &temp3;
30274 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30275 }
30276 arg4 = (bool) SWIG_AsBool(obj3);
30277 if (PyErr_Occurred()) SWIG_fail;
30278 arg5 = (bool) SWIG_AsBool(obj4);
30279 if (PyErr_Occurred()) SWIG_fail;
30280 {
30281 PyThreadState* __tstate = wxPyBeginAllowThreads();
30282 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
30283
30284 wxPyEndAllowThreads(__tstate);
30285 if (PyErr_Occurred()) SWIG_fail;
30286 }
30287 {
30288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30289 }
30290 return resultobj;
30291 fail:
30292 return NULL;
30293 }
30294
30295
30296 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
30297 PyObject *obj;
30298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30299 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
30300 Py_INCREF(obj);
30301 return Py_BuildValue((char *)"");
30302 }
30303 static PyMethodDef SwigMethods[] = {
30304 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
30305 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
30306 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
30307 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
30308 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30309 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
30310 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
30311 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
30312 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
30313 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30314 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30315 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30316 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30317 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30318 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30321 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
30323 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
30324 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
30325 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
30326 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
30327 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
30328 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30329 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30330 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30331 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
30332 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
30333 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
30334 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
30335 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
30336 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
30337 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
30338 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
30339 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
30340 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30341 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
30342 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
30343 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
30344 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
30345 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
30346 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30347 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30348 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
30349 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
30350 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
30351 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30352 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30353 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30354 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
30355 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30356 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
30357 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
30358 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30359 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
30360 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
30361 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
30362 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
30363 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
30364 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
30365 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
30366 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
30367 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
30368 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
30369 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30370 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30371 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
30372 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
30373 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
30374 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
30375 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
30376 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
30377 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
30378 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
30379 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
30380 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
30381 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
30382 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30383 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
30384 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
30385 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
30386 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
30387 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
30388 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
30389 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
30390 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
30391 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30392 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
30393 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
30394 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
30395 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
30396 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
30397 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
30398 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
30399 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
30400 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
30401 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
30402 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30403 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
30404 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
30405 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
30406 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30407 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
30408 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
30409 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
30410 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30411 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
30412 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
30413 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
30414 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30415 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30416 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
30417 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
30418 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
30419 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
30420 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30421 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
30422 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
30423 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
30424 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
30425 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
30426 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
30427 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
30428 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
30429 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30430 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30431 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30432 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
30433 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
30434 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30435 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
30436 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
30437 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30438 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30439 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30440 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
30441 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
30442 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
30443 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
30444 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
30445 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30446 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30447 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30448 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
30449 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
30450 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30451 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
30452 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
30453 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
30454 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
30455 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
30456 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
30457 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
30458 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30459 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30460 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30461 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
30462 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
30463 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
30464 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
30465 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
30466 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
30467 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
30468 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
30469 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30470 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30471 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
30472 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
30473 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
30474 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
30475 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
30476 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
30477 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
30478 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
30479 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
30480 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
30481 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
30482 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
30483 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
30484 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30485 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30486 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
30487 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
30488 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
30489 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30490 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
30491 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
30492 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
30493 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
30494 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
30495 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
30496 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
30497 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
30498 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
30499 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
30500 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30501 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30502 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30503 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30504 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30505 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
30506 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
30507 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
30508 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
30509 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
30510 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
30511 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
30512 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
30513 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
30514 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
30515 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
30516 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
30517 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
30518 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
30519 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
30520 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30521 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
30522 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30523 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
30524 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
30525 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30526 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
30527 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
30528 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
30529 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
30530 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
30531 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30532 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
30533 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
30534 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30535 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
30536 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
30537 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
30538 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
30539 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
30540 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
30541 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
30542 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30543 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30544 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30545 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
30546 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
30547 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
30548 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
30549 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30550 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
30551 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
30552 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30553 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30554 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
30555 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
30556 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
30557 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
30558 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30559 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
30560 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30561 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30562 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
30563 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
30564 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
30565 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
30566 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
30567 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
30568 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30569 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30570 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30571 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
30572 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
30573 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
30574 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
30575 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30576 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30577 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
30578 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
30579 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
30580 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
30581 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
30582 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
30583 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
30584 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
30585 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
30586 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
30587 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
30588 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
30589 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30590 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
30591 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30592 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
30593 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
30594 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
30595 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
30596 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
30597 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
30598 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
30599 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
30600 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
30601 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
30602 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
30603 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
30604 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
30605 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
30606 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30607 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30608 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
30609 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
30610 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
30611 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
30612 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30613 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
30614 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
30615 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30616 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30617 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30618 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
30619 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
30620 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30621 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30622 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
30623 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
30624 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
30625 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
30626 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
30627 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30628 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
30629 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
30630 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
30631 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
30632 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
30633 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
30634 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
30635 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
30636 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
30637 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
30638 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
30639 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30640 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
30641 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
30642 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
30643 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30644 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
30645 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
30646 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
30647 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
30648 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
30649 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
30650 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
30651 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
30652 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
30653 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
30654 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
30655 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
30656 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30657 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30658 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
30659 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
30660 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
30661 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30662 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30663 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
30664 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
30665 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
30666 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
30667 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
30668 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
30669 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
30670 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
30671 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
30672 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
30673 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
30674 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
30675 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
30676 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30677 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30678 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30679 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
30680 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
30681 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
30682 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
30683 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
30684 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30685 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
30686 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
30687 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30688 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30689 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
30690 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
30691 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
30692 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
30693 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
30694 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
30695 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
30696 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
30697 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
30698 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
30699 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
30700 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
30701 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
30702 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
30703 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
30704 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
30705 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
30706 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
30707 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
30708 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
30709 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
30710 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
30711 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30712 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
30713 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
30714 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
30715 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
30716 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
30717 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30718 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30719 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30720 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30721 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
30722 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
30723 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
30724 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30725 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
30726 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
30727 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
30728 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30729 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
30730 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
30731 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
30732 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
30733 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30734 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30735 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
30736 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30737 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
30738 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
30739 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
30740 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
30741 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
30742 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
30743 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30744 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
30745 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
30746 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30747 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30748 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30749 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30750 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30751 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30752 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30753 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30754 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30755 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
30756 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
30757 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
30758 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
30759 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
30760 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
30761 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
30762 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
30763 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
30764 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
30765 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
30766 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
30767 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
30768 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
30769 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
30770 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
30771 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30772 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30773 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
30774 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
30775 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
30776 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
30777 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
30778 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
30779 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
30780 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
30781 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
30782 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
30783 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
30784 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
30785 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30786 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30787 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
30788 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
30789 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
30790 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
30791 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30792 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30793 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30794 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30795 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30796 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30797 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30798 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30799 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30800 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30801 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30802 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30803 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30804 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30805 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30806 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30807 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30808 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30809 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30810 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30811 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30812 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30813 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30814 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30815 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30816 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30817 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30818 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30819 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30820 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30821 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30822 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30823 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30824 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30825 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30826 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30827 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30828 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30829 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30830 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30831 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30832 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30833 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30834 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30835 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30836 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30837 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30838 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30839 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30840 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30841 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30842 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30843 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30844 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30845 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30846 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30847 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30848 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30849 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30850 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30851 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30852 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30853 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30854 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30855 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30856 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30857 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30858 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30859 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30860 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30861 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30862 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30863 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30864 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30865 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30866 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30867 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30868 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30869 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30870 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30871 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30872 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30873 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30874 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30875 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
30876 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30877 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30878 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30879 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30880 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30881 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30882 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30883 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30884 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30885 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30886 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
30887 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30888 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30889 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30890 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30891 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30892 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30893 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30894 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30895 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30896 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30897 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30898 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30899 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30900 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30901 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30902 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30903 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30904 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30905 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30906 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30907 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30908 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30909 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30910 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30911 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30912 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30913 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30914 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30915 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30916 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30917 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30918 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30919 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30920 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30921 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30922 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30923 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30924 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30925 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30926 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30927 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30928 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30929 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30930 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30931 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30932 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30933 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30934 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30935 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30936 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30937 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30938 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30939 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30940 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30941 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30942 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30943 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30944 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30945 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30946 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30947 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30948 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
30949 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30950 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30951 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30952 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30953 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30954 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30955 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30956 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30957 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30958 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30959 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30960 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30961 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30962 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30963 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30964 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30965 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30966 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30967 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30968 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30969 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30970 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30971 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30972 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30973 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30974 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30975 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30976 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30977 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30978 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
30979 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30980 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30981 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30982 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30983 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30984 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30985 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30986 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30987 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30988 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30989 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30990 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30991 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30992 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30993 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30994 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30995 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30996 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30997 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30998 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30999 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
31000 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
31001 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
31002 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31003 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
31004 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
31005 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
31006 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
31007 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31008 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
31009 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
31010 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
31011 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
31012 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
31013 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
31014 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
31015 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
31016 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
31017 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31018 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
31019 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31020 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
31021 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
31022 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
31023 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31024 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
31025 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
31026 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31027 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31028 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31029 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
31030 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31031 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31032 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
31033 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
31034 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
31035 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
31036 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
31037 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
31038 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
31039 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31040 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31041 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
31042 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31043 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31044 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
31045 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
31046 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
31047 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
31048 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31049 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31050 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31051 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
31052 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
31053 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
31054 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
31055 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31056 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
31057 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
31058 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
31059 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31060 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
31061 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
31062 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
31063 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31064 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
31065 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
31066 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
31067 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
31068 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
31069 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
31070 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
31071 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
31072 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
31073 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
31074 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
31075 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
31076 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
31077 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
31078 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31079 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31080 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
31081 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
31082 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
31083 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
31084 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
31085 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31086 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31087 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
31088 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
31089 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
31090 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
31091 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
31092 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
31093 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
31094 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
31095 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
31096 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
31097 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
31098 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
31099 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
31100 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
31101 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
31102 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
31103 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
31104 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
31105 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
31106 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
31107 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
31108 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
31109 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
31110 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
31111 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
31112 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
31113 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
31114 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
31115 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
31116 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
31117 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
31118 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
31119 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
31120 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
31121 { NULL, NULL }
31122 };
31123
31124
31125 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31126
31127 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
31128 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31129 }
31130 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
31131 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
31132 }
31133 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
31134 return (void *)((wxSizer *) ((wxBoxSizer *) x));
31135 }
31136 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
31137 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
31138 }
31139 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
31140 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31141 }
31142 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
31143 return (void *)((wxSizer *) ((wxGridSizer *) x));
31144 }
31145 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
31146 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
31147 }
31148 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
31149 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
31150 }
31151 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
31152 return (void *)((wxSizer *) ((wxPySizer *) x));
31153 }
31154 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
31155 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
31156 }
31157 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31158 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31159 }
31160 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31161 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31162 }
31163 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31164 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31165 }
31166 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31167 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31168 }
31169 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31170 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31171 }
31172 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
31173 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31174 }
31175 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31176 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31177 }
31178 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31179 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31180 }
31181 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31182 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31183 }
31184 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
31185 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
31186 }
31187 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
31188 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31189 }
31190 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31191 return (void *)((wxEvent *) ((wxPyEvent *) x));
31192 }
31193 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31194 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31195 }
31196 static void *_p_wxListEventTo_p_wxEvent(void *x) {
31197 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31198 }
31199 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
31200 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31201 }
31202 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
31203 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31204 }
31205 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
31206 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
31207 }
31208 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31209 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31210 }
31211 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31212 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31213 }
31214 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31215 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31216 }
31217 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31218 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31219 }
31220 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31221 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31222 }
31223 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31224 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31225 }
31226 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31227 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31228 }
31229 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31230 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31231 }
31232 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31233 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31234 }
31235 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31236 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31237 }
31238 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31239 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31240 }
31241 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31242 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31243 }
31244 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31245 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31246 }
31247 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31248 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31249 }
31250 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31251 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31252 }
31253 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31254 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31255 }
31256 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31257 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31258 }
31259 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31260 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31261 }
31262 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31263 return (void *)((wxEvent *) ((wxShowEvent *) x));
31264 }
31265 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31266 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31267 }
31268 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31269 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31270 }
31271 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31272 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31273 }
31274 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31275 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31276 }
31277 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31278 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31279 }
31280 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31281 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31282 }
31283 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
31284 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31285 }
31286 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
31287 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31288 }
31289 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
31290 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31291 }
31292 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
31293 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
31294 }
31295 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
31296 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
31297 }
31298 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
31299 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
31300 }
31301 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
31302 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31303 }
31304 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
31305 return (void *)((wxPyListCtrl *) ((wxListView *) x));
31306 }
31307 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
31308 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31309 }
31310 static void *_p_wxListBoxTo_p_wxControl(void *x) {
31311 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
31312 }
31313 static void *_p_wxChoiceTo_p_wxControl(void *x) {
31314 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
31315 }
31316 static void *_p_wxToolBarTo_p_wxControl(void *x) {
31317 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
31318 }
31319 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
31320 return (void *)((wxControl *) ((wxStaticBitmap *) x));
31321 }
31322 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
31323 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31324 }
31325 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
31326 return (void *)((wxControl *) ((wxSpinCtrl *) x));
31327 }
31328 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
31329 return (void *)((wxControl *) ((wxStaticBox *) x));
31330 }
31331 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
31332 return (void *)((wxControl *) ((wxPyListCtrl *) x));
31333 }
31334 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
31335 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
31336 }
31337 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
31338 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31339 }
31340 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
31341 return (void *)((wxControl *) ((wxScrollBar *) x));
31342 }
31343 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
31344 return (void *)((wxControl *) ((wxBookCtrl *) x));
31345 }
31346 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
31347 return (void *)((wxControl *) ((wxRadioButton *) x));
31348 }
31349 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
31350 return (void *)((wxControl *) ((wxToggleButton *) x));
31351 }
31352 static void *_p_wxGaugeTo_p_wxControl(void *x) {
31353 return (void *)((wxControl *) ((wxGauge *) x));
31354 }
31355 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
31356 return (void *)((wxControl *) ((wxToolBarBase *) x));
31357 }
31358 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
31359 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
31360 }
31361 static void *_p_wxButtonTo_p_wxControl(void *x) {
31362 return (void *)((wxControl *) ((wxButton *) x));
31363 }
31364 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
31365 return (void *)((wxControl *) ((wxSpinButton *) x));
31366 }
31367 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
31368 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31369 }
31370 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
31371 return (void *)((wxControl *) ((wxControlWithItems *) x));
31372 }
31373 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
31374 return (void *)((wxControl *) ((wxRadioBox *) x));
31375 }
31376 static void *_p_wxNotebookTo_p_wxControl(void *x) {
31377 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
31378 }
31379 static void *_p_wxListbookTo_p_wxControl(void *x) {
31380 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
31381 }
31382 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
31383 return (void *)((wxControl *) ((wxCheckBox *) x));
31384 }
31385 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
31386 return (void *)((wxControl *) ((wxTextCtrl *) x));
31387 }
31388 static void *_p_wxListViewTo_p_wxControl(void *x) {
31389 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
31390 }
31391 static void *_p_wxSliderTo_p_wxControl(void *x) {
31392 return (void *)((wxControl *) ((wxSlider *) x));
31393 }
31394 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
31395 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
31396 }
31397 static void *_p_wxPyControlTo_p_wxControl(void *x) {
31398 return (void *)((wxControl *) ((wxPyControl *) x));
31399 }
31400 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
31401 return (void *)((wxControl *) ((wxStaticLine *) x));
31402 }
31403 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
31404 return (void *)((wxControl *) ((wxStaticText *) x));
31405 }
31406 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
31407 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
31408 }
31409 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
31410 return (void *)((wxChoice *) ((wxComboBox *) x));
31411 }
31412 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
31413 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
31414 }
31415 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
31416 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
31417 }
31418 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
31419 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31420 }
31421 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
31422 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
31423 }
31424 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
31425 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
31426 }
31427 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
31428 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31429 }
31430 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
31431 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
31432 }
31433 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
31434 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31435 }
31436 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31437 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31438 }
31439 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31440 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31441 }
31442 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31443 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31444 }
31445 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
31446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31447 }
31448 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31449 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31450 }
31451 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
31452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31453 }
31454 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31456 }
31457 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31458 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31459 }
31460 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31461 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31462 }
31463 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31464 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31465 }
31466 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31468 }
31469 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31470 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31471 }
31472 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31474 }
31475 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31476 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31477 }
31478 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31479 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31480 }
31481 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31482 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31483 }
31484 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31485 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31486 }
31487 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31488 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31489 }
31490 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31491 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31492 }
31493 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31494 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31495 }
31496 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31497 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31498 }
31499 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31500 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31501 }
31502 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31503 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31504 }
31505 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31506 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31507 }
31508 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31509 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31510 }
31511 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31512 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31513 }
31514 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31515 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31516 }
31517 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31518 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31519 }
31520 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31521 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31522 }
31523 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31524 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31525 }
31526 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31527 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31528 }
31529 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31530 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31531 }
31532 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31533 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31534 }
31535 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31536 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31537 }
31538 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31539 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31540 }
31541 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31542 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31543 }
31544 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31545 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31546 }
31547 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31548 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31549 }
31550 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31551 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31552 }
31553 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31554 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31555 }
31556 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31557 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31558 }
31559 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31560 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31561 }
31562 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31563 return (void *)((wxButton *) ((wxBitmapButton *) x));
31564 }
31565 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31566 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31567 }
31568 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31569 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31570 }
31571 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31572 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31573 }
31574 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31575 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31576 }
31577 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31578 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31579 }
31580 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31581 return (void *)((wxObject *) ((wxSizerItem *) x));
31582 }
31583 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31584 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31585 }
31586 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31587 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31588 }
31589 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31590 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31591 }
31592 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31593 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31594 }
31595 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31596 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31597 }
31598 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31599 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31600 }
31601 static void *_p_wxSizerTo_p_wxObject(void *x) {
31602 return (void *)((wxObject *) ((wxSizer *) x));
31603 }
31604 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31605 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31606 }
31607 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31609 }
31610 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31612 }
31613 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31614 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31615 }
31616 static void *_p_wxEventTo_p_wxObject(void *x) {
31617 return (void *)((wxObject *) ((wxEvent *) x));
31618 }
31619 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31620 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31621 }
31622 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31623 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31624 }
31625 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31626 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31627 }
31628 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31630 }
31631 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31633 }
31634 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31636 }
31637 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31638 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31639 }
31640 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31641 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31642 }
31643 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31644 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31645 }
31646 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31647 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31648 }
31649 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31650 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31651 }
31652 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31653 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31654 }
31655 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31657 }
31658 static void *_p_wxControlTo_p_wxObject(void *x) {
31659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31660 }
31661 static void *_p_wxPyControlTo_p_wxObject(void *x) {
31662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31663 }
31664 static void *_p_wxGaugeTo_p_wxObject(void *x) {
31665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31666 }
31667 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31669 }
31670 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31672 }
31673 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31675 }
31676 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31677 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31678 }
31679 static void *_p_wxChoiceTo_p_wxObject(void *x) {
31680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31681 }
31682 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31683 return (void *)((wxObject *) ((wxFSFile *) x));
31684 }
31685 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31686 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31687 }
31688 static void *_p_wxListViewTo_p_wxObject(void *x) {
31689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31690 }
31691 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31693 }
31694 static void *_p_wxNotebookTo_p_wxObject(void *x) {
31695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31696 }
31697 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31698 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31699 }
31700 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31701 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31702 }
31703 static void *_p_wxListbookTo_p_wxObject(void *x) {
31704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31705 }
31706 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31707 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31708 }
31709 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31711 }
31712 static void *_p_wxSliderTo_p_wxObject(void *x) {
31713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31714 }
31715 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31716 return (void *)((wxObject *) ((wxMenuItem *) x));
31717 }
31718 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31719 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31720 }
31721 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31722 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31723 }
31724 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31725 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31726 }
31727 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31728 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31729 }
31730 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31731 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31732 }
31733 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31734 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31735 }
31736 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31737 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31738 }
31739 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31740 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31741 }
31742 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31743 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31744 }
31745 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31746 return (void *)((wxObject *) ((wxContextHelp *) x));
31747 }
31748 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31749 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31750 }
31751 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31752 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31753 }
31754 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31755 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31756 }
31757 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31758 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31759 }
31760 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31761 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31762 }
31763 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31764 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31765 }
31766 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31767 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31768 }
31769 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31770 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31771 }
31772 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31773 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31774 }
31775 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31776 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31777 }
31778 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31779 return (void *)((wxObject *) ((wxImageHandler *) x));
31780 }
31781 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31782 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31783 }
31784 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31785 return (void *)((wxObject *) ((wxEvtHandler *) x));
31786 }
31787 static void *_p_wxListEventTo_p_wxObject(void *x) {
31788 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31789 }
31790 static void *_p_wxListBoxTo_p_wxObject(void *x) {
31791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31792 }
31793 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31795 }
31796 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31798 }
31799 static void *_p_wxButtonTo_p_wxObject(void *x) {
31800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31801 }
31802 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31804 }
31805 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31807 }
31808 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31810 }
31811 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31812 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31813 }
31814 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31816 }
31817 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31819 }
31820 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31822 }
31823 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31825 }
31826 static void *_p_wxListItemTo_p_wxObject(void *x) {
31827 return (void *)((wxObject *) ((wxListItem *) x));
31828 }
31829 static void *_p_wxImageTo_p_wxObject(void *x) {
31830 return (void *)((wxObject *) ((wxImage *) x));
31831 }
31832 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31833 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31834 }
31835 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31836 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31837 }
31838 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31839 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31840 }
31841 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31842 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31843 }
31844 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31846 }
31847 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31848 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31849 }
31850 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31851 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31852 }
31853 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31854 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31855 }
31856 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31857 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31858 }
31859 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31860 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31861 }
31862 static void *_p_wxWindowTo_p_wxObject(void *x) {
31863 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31864 }
31865 static void *_p_wxMenuTo_p_wxObject(void *x) {
31866 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31867 }
31868 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31870 }
31871 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31872 return (void *)((wxObject *) ((wxFileSystem *) x));
31873 }
31874 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31875 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31876 }
31877 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31878 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31879 }
31880 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31881 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31882 }
31883 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31884 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31885 }
31886 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31887 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31888 }
31889 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31890 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31891 }
31892 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31893 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31894 }
31895 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31896 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31897 }
31898 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31899 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31900 }
31901 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31903 }
31904 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31905 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31906 }
31907 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31908 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31909 }
31910 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31911 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31912 }
31913 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31915 }
31916 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31917 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31918 }
31919 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31921 }
31922 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31923 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31924 }
31925 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31926 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31927 }
31928 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31929 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31930 }
31931 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31932 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31933 }
31934 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31935 return (void *)((wxWindow *) ((wxMenuBar *) x));
31936 }
31937 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31938 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31939 }
31940 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31941 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31942 }
31943 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31944 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31945 }
31946 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31947 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31948 }
31949 static void *_p_wxControlTo_p_wxWindow(void *x) {
31950 return (void *)((wxWindow *) ((wxControl *) x));
31951 }
31952 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31953 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31954 }
31955 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31956 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31957 }
31958 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31959 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31960 }
31961 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31962 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31963 }
31964 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31965 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31966 }
31967 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31968 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31969 }
31970 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31971 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31972 }
31973 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31974 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31975 }
31976 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31977 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31978 }
31979 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31980 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31981 }
31982 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31983 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31984 }
31985 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31986 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31987 }
31988 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31989 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31990 }
31991 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31992 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31993 }
31994 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31995 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31996 }
31997 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31998 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31999 }
32000 static void *_p_wxListViewTo_p_wxWindow(void *x) {
32001 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32002 }
32003 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
32004 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32005 }
32006 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
32007 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
32008 }
32009 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
32010 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
32011 }
32012 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
32013 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
32014 }
32015 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
32016 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
32017 }
32018 static void *_p_wxSliderTo_p_wxWindow(void *x) {
32019 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
32020 }
32021 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
32022 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
32023 }
32024 static void *_p_wxButtonTo_p_wxWindow(void *x) {
32025 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
32026 }
32027 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
32028 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
32029 }
32030 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
32031 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32032 }
32033 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
32034 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
32035 }
32036 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32037 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32038 }
32039 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
32040 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32041 }
32042 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
32043 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
32044 }
32045 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32046 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32047 }
32048 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32049 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32050 }
32051 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32052 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32053 }
32054 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32055 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32056 }
32057 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
32058 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32059 }
32060 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
32061 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32062 }
32063 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
32064 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
32065 }
32066 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32067 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32068 }
32069 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
32070 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
32071 }
32072 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
32073 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
32074 }
32075 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
32076 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
32077 }
32078 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32079 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32080 }
32081 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32082 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32083 }
32084 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
32085 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
32086 }
32087 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
32088 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
32089 }
32090 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
32091 return (void *)((wxControlWithItems *) ((wxChoice *) x));
32092 }
32093 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
32094 return (void *)((wxControlWithItems *) ((wxListBox *) x));
32095 }
32096 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
32097 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
32098 }
32099 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
32100 return (void *)((wxValidator *) ((wxPyValidator *) x));
32101 }
32102 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}};
32103 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}};
32104 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}};
32105 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}};
32106 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}};
32107 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}};
32108 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}};
32109 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}};
32110 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}};
32111 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}};
32112 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}};
32113 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}};
32114 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}};
32115 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}};
32116 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}};
32117 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}};
32118 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}};
32119 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}};
32120 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}};
32121 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}};
32122 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 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}};
32123 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}};
32124 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}};
32125 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}};
32126 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}};
32127 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}};
32128 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}};
32129 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}};
32130 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}};
32131 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}};
32132 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}};
32133 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}};
32134 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}};
32135 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}};
32136 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}};
32137 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}};
32138 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}};
32139 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}};
32140 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}};
32141 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}};
32142 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}};
32143 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}};
32144 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}};
32145 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}};
32146 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}};
32147 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}};
32148 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}};
32149 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}};
32150 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}};
32151 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}};
32152 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}};
32153 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}};
32154 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}};
32155 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}};
32156 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}};
32157 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}};
32158 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}};
32159 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}};
32160 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}};
32161 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}};
32162 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}};
32163 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}};
32164 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}};
32165 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}};
32166 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}};
32167 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}};
32168 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}};
32169 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}};
32170 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}};
32171 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}};
32172 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}};
32173 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}};
32174 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}};
32175 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}};
32176 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}};
32177 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}};
32178 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}};
32179 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}};
32180 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 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}};
32181 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}};
32182 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}};
32183 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}};
32184 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}};
32185 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}};
32186
32187 static swig_type_info *swig_types_initial[] = {
32188 _swigt__p_wxTextUrlEvent,
32189 _swigt__p_wxBookCtrlEvent,
32190 _swigt__p_wxSizer,
32191 _swigt__p_wxCheckBox,
32192 _swigt__p_wxPyTreeCtrl,
32193 _swigt__p_wxEvent,
32194 _swigt__p_wxGenericDirCtrl,
32195 _swigt__p_bool,
32196 _swigt__p_wxPyTreeItemData,
32197 _swigt__p_wxItemContainer,
32198 _swigt__p_wxDirFilterListCtrl,
32199 _swigt__p_wxPyListCtrl,
32200 _swigt__p_wxStaticLine,
32201 _swigt__p_wxControl,
32202 _swigt__p_wxPyControl,
32203 _swigt__p_wxGauge,
32204 _swigt__p_wxToolBarBase,
32205 _swigt__p_wxFont,
32206 _swigt__p_wxToggleButton,
32207 _swigt__p_wxRadioButton,
32208 _swigt__p_wxChoice,
32209 _swigt__p_wxMemoryDC,
32210 _swigt__p_wxListItemAttr,
32211 _swigt__p_void,
32212 _swigt__p_int,
32213 _swigt__p_wxSize,
32214 _swigt__p_wxDC,
32215 _swigt__p_wxListView,
32216 _swigt__p_wxIcon,
32217 _swigt__p_wxTextCtrl,
32218 _swigt__p_wxNotebook,
32219 _swigt__p_wxNotifyEvent,
32220 _swigt__p_wxArrayString,
32221 _swigt__p_wxListbook,
32222 _swigt__p_wxStaticBitmap,
32223 _swigt__p_wxSlider,
32224 _swigt__p_wxStaticBox,
32225 _swigt__p_wxArrayInt,
32226 _swigt__p_wxContextHelp,
32227 _swigt__p_long,
32228 _swigt__p_wxEvtHandler,
32229 _swigt__p_wxListEvent,
32230 _swigt__p_wxListBox,
32231 _swigt__p_wxCheckListBox,
32232 _swigt__p_wxBookCtrl,
32233 _swigt__p_wxSpinButton,
32234 _swigt__p_wxButton,
32235 _swigt__p_wxBitmapButton,
32236 _swigt__p_wxRect,
32237 _swigt__p_wxContextHelpButton,
32238 _swigt__p_wxRadioBox,
32239 _swigt__p_wxScrollBar,
32240 _swigt__p_char,
32241 _swigt__p_wxTreeItemId,
32242 _swigt__p_wxComboBox,
32243 _swigt__p_wxHelpEvent,
32244 _swigt__p_wxListItem,
32245 _swigt__p_wxNotebookSizer,
32246 _swigt__p_wxSpinEvent,
32247 _swigt__p_wxGenericDragImage,
32248 _swigt__p_wxSpinCtrl,
32249 _swigt__p_wxImageList,
32250 _swigt__p_wxHelpProvider,
32251 _swigt__p_wxTextAttr,
32252 _swigt__p_wxSimpleHelpProvider,
32253 _swigt__p_wxPoint,
32254 _swigt__p_wxListbookEvent,
32255 _swigt__p_wxNotebookEvent,
32256 _swigt__p_wxObject,
32257 _swigt__p_wxCursor,
32258 _swigt__p_wxKeyEvent,
32259 _swigt__p_wxWindow,
32260 _swigt__p_wxString,
32261 _swigt__p_wxBitmap,
32262 _swigt__p_wxTreeEvent,
32263 _swigt__p_wxMouseEvent,
32264 _swigt__p_wxCommandEvent,
32265 _swigt__p_wxStaticText,
32266 _swigt__p_wxControlWithItems,
32267 _swigt__p_wxToolBarToolBase,
32268 _swigt__p_wxColour,
32269 _swigt__p_wxToolBar,
32270 _swigt__p_wxBookCtrlSizer,
32271 _swigt__p_wxValidator,
32272 0
32273 };
32274
32275
32276 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32277
32278 static swig_const_info swig_const_table[] = {
32279 {0}};
32280
32281 #ifdef __cplusplus
32282 }
32283 #endif
32284
32285 #ifdef __cplusplus
32286 extern "C"
32287 #endif
32288 SWIGEXPORT(void) SWIG_init(void) {
32289 static PyObject *SWIG_globals = 0;
32290 static int typeinit = 0;
32291 PyObject *m, *d;
32292 int i;
32293 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
32294 m = Py_InitModule((char *) SWIG_name, SwigMethods);
32295 d = PyModule_GetDict(m);
32296
32297 if (!typeinit) {
32298 for (i = 0; swig_types_initial[i]; i++) {
32299 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
32300 }
32301 typeinit = 1;
32302 }
32303 SWIG_InstallConstants(d,swig_const_table);
32304
32305 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
32306 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
32307 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
32308 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
32309 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
32310 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
32311 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
32312 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
32313 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
32314 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
32315 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
32316 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
32317 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
32318 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
32319 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
32320 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
32321 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
32322 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
32323 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
32324 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
32325 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
32326 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
32327 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
32328 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
32329 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
32330 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
32331 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
32332 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
32333 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
32334 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
32335 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
32336 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
32337 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
32338 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
32339 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
32340 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
32341 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
32342 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
32343 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
32344 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
32345 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
32346 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
32347 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
32348 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
32349 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
32350 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
32351 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
32352 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
32353 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
32354 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
32355 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
32356 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
32357 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
32358 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
32359 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
32360 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
32361 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
32362 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
32363 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
32364 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
32365 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
32366 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
32367 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
32368 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
32369 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
32370 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
32371 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
32372 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
32373 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
32374 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
32375 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
32376 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
32377 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
32378 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
32379 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
32380 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
32381 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
32382 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
32383 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
32384 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
32385 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
32386 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
32387 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
32388 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
32389 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
32390 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
32391 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
32392 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
32393 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
32394 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
32395 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
32396 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
32397 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
32398 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
32399 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
32400 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
32401 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
32402 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
32403 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
32404 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
32405 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
32406 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
32407 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
32408 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
32409 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
32410 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
32411 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
32412 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
32413 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
32414 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
32415 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
32416 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
32417 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
32418 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
32419 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
32420 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
32421 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
32422 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
32423 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
32424 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
32425 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
32426 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
32427 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
32428 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
32429 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
32430 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
32431 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
32432 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
32433 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
32434 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
32435 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
32436 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
32437 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
32438 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
32439 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
32440 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
32441 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
32442 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
32443 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
32444 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
32445 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
32446 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
32447 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
32448 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
32449 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
32450 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
32451 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
32452 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
32453 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
32454 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
32455 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32456 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32457 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32458 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32459 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32460 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32461 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32462 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32463 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32464 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32465 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32466 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32467 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32468 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32469 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32470 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32471 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32472 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32473 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32474 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32475 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32476 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32477 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32478 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32479 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32480 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32481 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32482 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32483 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32484 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32485 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32486 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32487 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32488 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32489 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32490 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32491 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32492 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32493 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
32494 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32495 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32496 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32497 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32498 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32499 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32500 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32501 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32502 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32503 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32504 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32505 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32506 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32507 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32508 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32509 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32510 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32511 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32512 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32513 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32514 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32515 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32516
32517 // Map renamed classes back to their common name for OOR
32518 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32519
32520 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
32521 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32522 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32523 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32524 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32525 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32526 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32527 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32528 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32529 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32530 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32531 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32532 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32533 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32534 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32535 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32536 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32537 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32538 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32539 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32540 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32541 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32542 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32543 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32544 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32545 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32546 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32547 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32548 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32549 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32550 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32551 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32552 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32553 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32554 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32555 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
32556 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32557 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32558 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32559 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32560 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32561 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32562 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32563 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32564 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32565 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32566 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32567 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32568 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32569 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32570 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32571 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32572 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32573 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32574 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
32575 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
32576
32577 // Map renamed classes back to their common name for OOR
32578 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32579 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32580
32581 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
32582 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32583 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32584 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32585 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32586 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32587 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32588 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
32589 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32590 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
32591
32592 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32593
32594 }
32595