]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
Forward declare wxPyScrolledWindow
[wxWidgets.git] / wxPython / src / mac / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_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
740
741 return (wxWindow*)self->m_mainWin;
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 *) {
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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *) {
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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *) {
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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *) {
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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *) {
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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *) {
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 *) {
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 *) {
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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *) {
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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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 *, 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_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6337 PyObject *resultobj;
6338 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6339 wxPoint *arg2 = 0 ;
6340 int result;
6341 wxPoint temp2 ;
6342 PyObject * obj0 = 0 ;
6343 PyObject * obj1 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self",(char *) "pt", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6351 {
6352 arg2 = &temp2;
6353 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6354 }
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
6362 resultobj = SWIG_FromInt((int)result);
6363 return resultobj;
6364 fail:
6365 return NULL;
6366 }
6367
6368
6369 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj;
6371 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6372 int arg2 ;
6373 int arg3 ;
6374 int result;
6375 PyObject * obj0 = 0 ;
6376 PyObject * obj1 = 0 ;
6377 PyObject * obj2 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self",(char *) "x",(char *) "y", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6385 arg2 = (int) SWIG_AsInt(obj1);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 arg3 = (int) SWIG_AsInt(obj2);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 resultobj = SWIG_FromInt((int)result);
6397 return resultobj;
6398 fail:
6399 return NULL;
6400 }
6401
6402
6403 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
6404 PyObject *obj;
6405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6406 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6407 Py_INCREF(obj);
6408 return Py_BuildValue((char *)"");
6409 }
6410 static int _wrap_TextCtrlNameStr_set(PyObject *) {
6411 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6412 return 1;
6413 }
6414
6415
6416 static PyObject *_wrap_TextCtrlNameStr_get() {
6417 PyObject *pyobj;
6418
6419 {
6420 #if wxUSE_UNICODE
6421 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6422 #else
6423 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6424 #endif
6425 }
6426 return pyobj;
6427 }
6428
6429
6430 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *, PyObject *args) {
6431 PyObject *resultobj;
6432 wxTextAttr *result;
6433
6434 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 result = (wxTextAttr *)new wxTextAttr();
6438
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6443 return resultobj;
6444 fail:
6445 return NULL;
6446 }
6447
6448
6449 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *, PyObject *args) {
6450 PyObject *resultobj;
6451 wxColour *arg1 = 0 ;
6452 wxColour const &arg2_defvalue = wxNullColour ;
6453 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6454 wxFont const &arg3_defvalue = wxNullFont ;
6455 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6456 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6457 wxTextAttr *result;
6458 wxColour temp1 ;
6459 wxColour temp2 ;
6460 PyObject * obj0 = 0 ;
6461 PyObject * obj1 = 0 ;
6462 PyObject * obj2 = 0 ;
6463 PyObject * obj3 = 0 ;
6464
6465 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6466 {
6467 arg1 = &temp1;
6468 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6469 }
6470 if (obj1) {
6471 {
6472 arg2 = &temp2;
6473 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6474 }
6475 }
6476 if (obj2) {
6477 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6478 SWIG_POINTER_EXCEPTION | 0)) == -1)
6479 SWIG_fail;
6480 if (arg3 == NULL) {
6481 PyErr_SetString(PyExc_TypeError,"null reference");
6482 SWIG_fail;
6483 }
6484 }
6485 if (obj3) {
6486 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6492
6493 wxPyEndAllowThreads(__tstate);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
6496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6497 return resultobj;
6498 fail:
6499 return NULL;
6500 }
6501
6502
6503 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6504 int argc;
6505 PyObject *argv[5];
6506 int ii;
6507
6508 argc = PyObject_Length(args);
6509 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6510 argv[ii] = PyTuple_GetItem(args,ii);
6511 }
6512 if (argc == 0) {
6513 return _wrap_new_TextAttr__SWIG_0(self,args);
6514 }
6515 if ((argc >= 1) && (argc <= 4)) {
6516 int _v;
6517 {
6518 _v = wxColour_typecheck(argv[0]);
6519 }
6520 if (_v) {
6521 if (argc <= 1) {
6522 return _wrap_new_TextAttr__SWIG_1(self,args);
6523 }
6524 {
6525 _v = wxColour_typecheck(argv[1]);
6526 }
6527 if (_v) {
6528 if (argc <= 2) {
6529 return _wrap_new_TextAttr__SWIG_1(self,args);
6530 }
6531 {
6532 void *ptr;
6533 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6534 _v = 0;
6535 PyErr_Clear();
6536 } else {
6537 _v = 1;
6538 }
6539 }
6540 if (_v) {
6541 if (argc <= 3) {
6542 return _wrap_new_TextAttr__SWIG_1(self,args);
6543 }
6544 _v = SWIG_CheckInt(argv[3]);
6545 if (_v) {
6546 return _wrap_new_TextAttr__SWIG_1(self,args);
6547 }
6548 }
6549 }
6550 }
6551 }
6552
6553 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6554 return NULL;
6555 }
6556
6557
6558 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
6559 PyObject *resultobj;
6560 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6561 PyObject * obj0 = 0 ;
6562 char *kwnames[] = {
6563 (char *) "self", NULL
6564 };
6565
6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 delete arg1;
6572
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 Py_INCREF(Py_None); resultobj = Py_None;
6577 return resultobj;
6578 fail:
6579 return NULL;
6580 }
6581
6582
6583 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
6584 PyObject *resultobj;
6585 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6586 PyObject * obj0 = 0 ;
6587 char *kwnames[] = {
6588 (char *) "self", NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 (arg1)->Init();
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 Py_INCREF(Py_None); resultobj = Py_None;
6602 return resultobj;
6603 fail:
6604 return NULL;
6605 }
6606
6607
6608 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj;
6610 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6611 wxColour *arg2 = 0 ;
6612 wxColour temp2 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "colText", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6622 {
6623 arg2 = &temp2;
6624 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6625 }
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 (arg1)->SetTextColour((wxColour const &)*arg2);
6629
6630 wxPyEndAllowThreads(__tstate);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 }
6633 Py_INCREF(Py_None); resultobj = Py_None;
6634 return resultobj;
6635 fail:
6636 return NULL;
6637 }
6638
6639
6640 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6641 PyObject *resultobj;
6642 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6643 wxColour *arg2 = 0 ;
6644 wxColour temp2 ;
6645 PyObject * obj0 = 0 ;
6646 PyObject * obj1 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self",(char *) "colBack", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6654 {
6655 arg2 = &temp2;
6656 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6657 }
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 Py_INCREF(Py_None); resultobj = Py_None;
6666 return resultobj;
6667 fail:
6668 return NULL;
6669 }
6670
6671
6672 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
6673 PyObject *resultobj;
6674 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6675 wxFont *arg2 = 0 ;
6676 long arg3 = (long) wxTEXT_ATTR_FONT ;
6677 PyObject * obj0 = 0 ;
6678 PyObject * obj1 = 0 ;
6679 PyObject * obj2 = 0 ;
6680 char *kwnames[] = {
6681 (char *) "self",(char *) "font",(char *) "flags", NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6688 SWIG_POINTER_EXCEPTION | 0)) == -1)
6689 SWIG_fail;
6690 if (arg2 == NULL) {
6691 PyErr_SetString(PyExc_TypeError,"null reference");
6692 SWIG_fail;
6693 }
6694 if (obj2) {
6695 arg3 = (long) SWIG_AsLong(obj2);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 {
6699 PyThreadState* __tstate = wxPyBeginAllowThreads();
6700 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6701
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
6705 Py_INCREF(Py_None); resultobj = Py_None;
6706 return resultobj;
6707 fail:
6708 return NULL;
6709 }
6710
6711
6712 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj;
6714 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6715 int arg2 ;
6716 PyObject * obj0 = 0 ;
6717 PyObject * obj1 = 0 ;
6718 char *kwnames[] = {
6719 (char *) "self",(char *) "alignment", NULL
6720 };
6721
6722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6725 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 {
6728 PyThreadState* __tstate = wxPyBeginAllowThreads();
6729 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6730
6731 wxPyEndAllowThreads(__tstate);
6732 if (PyErr_Occurred()) SWIG_fail;
6733 }
6734 Py_INCREF(Py_None); resultobj = Py_None;
6735 return resultobj;
6736 fail:
6737 return NULL;
6738 }
6739
6740
6741 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj;
6743 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6744 wxArrayInt *arg2 = 0 ;
6745 bool temp2 = False ;
6746 PyObject * obj0 = 0 ;
6747 PyObject * obj1 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "self",(char *) "tabs", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6755 {
6756 if (! PySequence_Check(obj1)) {
6757 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6758 SWIG_fail;
6759 }
6760 arg2 = new wxArrayInt;
6761 temp2 = True;
6762 int i, len=PySequence_Length(obj1);
6763 for (i=0; i<len; i++) {
6764 PyObject* item = PySequence_GetItem(obj1, i);
6765 PyObject* number = PyNumber_Int(item);
6766 arg2->Add(PyInt_AS_LONG(number));
6767 Py_DECREF(item);
6768 Py_DECREF(number);
6769 }
6770 }
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 Py_INCREF(Py_None); resultobj = Py_None;
6779 {
6780 if (temp2) delete arg2;
6781 }
6782 return resultobj;
6783 fail:
6784 {
6785 if (temp2) delete arg2;
6786 }
6787 return NULL;
6788 }
6789
6790
6791 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6792 PyObject *resultobj;
6793 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6794 int arg2 ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "self",(char *) "indent", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6804 arg2 = (int) SWIG_AsInt(obj1);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 (arg1)->SetLeftIndent(arg2);
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 Py_INCREF(Py_None); resultobj = Py_None;
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6823 int arg2 ;
6824 PyObject * obj0 = 0 ;
6825 PyObject * obj1 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self",(char *) "indent", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6833 arg2 = (int) SWIG_AsInt(obj1);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 (arg1)->SetRightIndent(arg2);
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 Py_INCREF(Py_None); resultobj = Py_None;
6843 return resultobj;
6844 fail:
6845 return NULL;
6846 }
6847
6848
6849 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
6850 PyObject *resultobj;
6851 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6852 long arg2 ;
6853 PyObject * obj0 = 0 ;
6854 PyObject * obj1 = 0 ;
6855 char *kwnames[] = {
6856 (char *) "self",(char *) "flags", NULL
6857 };
6858
6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6862 arg2 = (long) SWIG_AsLong(obj1);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 (arg1)->SetFlags(arg2);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 Py_INCREF(Py_None); resultobj = Py_None;
6872 return resultobj;
6873 fail:
6874 return NULL;
6875 }
6876
6877
6878 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6881 bool result;
6882 PyObject * obj0 = 0 ;
6883 char *kwnames[] = {
6884 (char *) "self", NULL
6885 };
6886
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6890 {
6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
6892 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6893
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 {
6898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6899 }
6900 return resultobj;
6901 fail:
6902 return NULL;
6903 }
6904
6905
6906 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6907 PyObject *resultobj;
6908 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6909 bool result;
6910 PyObject * obj0 = 0 ;
6911 char *kwnames[] = {
6912 (char *) "self", NULL
6913 };
6914
6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6921
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 {
6926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6927 }
6928 return resultobj;
6929 fail:
6930 return NULL;
6931 }
6932
6933
6934 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
6935 PyObject *resultobj;
6936 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6937 bool result;
6938 PyObject * obj0 = 0 ;
6939 char *kwnames[] = {
6940 (char *) "self", NULL
6941 };
6942
6943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 {
6954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6955 }
6956 return resultobj;
6957 fail:
6958 return NULL;
6959 }
6960
6961
6962 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj;
6964 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6965 bool result;
6966 PyObject * obj0 = 0 ;
6967 char *kwnames[] = {
6968 (char *) "self", NULL
6969 };
6970
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 {
6982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6983 }
6984 return resultobj;
6985 fail:
6986 return NULL;
6987 }
6988
6989
6990 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6991 PyObject *resultobj;
6992 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6993 bool result;
6994 PyObject * obj0 = 0 ;
6995 char *kwnames[] = {
6996 (char *) "self", NULL
6997 };
6998
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 {
7010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7011 }
7012 return resultobj;
7013 fail:
7014 return NULL;
7015 }
7016
7017
7018 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7019 PyObject *resultobj;
7020 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7021 bool result;
7022 PyObject * obj0 = 0 ;
7023 char *kwnames[] = {
7024 (char *) "self", NULL
7025 };
7026
7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7030 {
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7033
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 {
7038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7039 }
7040 return resultobj;
7041 fail:
7042 return NULL;
7043 }
7044
7045
7046 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj;
7048 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7049 bool result;
7050 PyObject * obj0 = 0 ;
7051 char *kwnames[] = {
7052 (char *) "self", NULL
7053 };
7054
7055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7058 {
7059 PyThreadState* __tstate = wxPyBeginAllowThreads();
7060 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7061
7062 wxPyEndAllowThreads(__tstate);
7063 if (PyErr_Occurred()) SWIG_fail;
7064 }
7065 {
7066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7067 }
7068 return resultobj;
7069 fail:
7070 return NULL;
7071 }
7072
7073
7074 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj;
7076 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7077 long arg2 ;
7078 bool result;
7079 PyObject * obj0 = 0 ;
7080 PyObject * obj1 = 0 ;
7081 char *kwnames[] = {
7082 (char *) "self",(char *) "flag", NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7088 arg2 = (long) SWIG_AsLong(obj1);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 {
7098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7099 }
7100 return resultobj;
7101 fail:
7102 return NULL;
7103 }
7104
7105
7106 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7107 PyObject *resultobj;
7108 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7109 wxColour *result;
7110 PyObject * obj0 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 {
7121 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7122 result = (wxColour *) &_result_ref;
7123 }
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7129 return resultobj;
7130 fail:
7131 return NULL;
7132 }
7133
7134
7135 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7136 PyObject *resultobj;
7137 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7138 wxColour *result;
7139 PyObject * obj0 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "self", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 {
7150 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7151 result = (wxColour *) &_result_ref;
7152 }
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7158 return resultobj;
7159 fail:
7160 return NULL;
7161 }
7162
7163
7164 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj;
7166 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7167 wxFont *result;
7168 PyObject * obj0 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 {
7179 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7180 result = (wxFont *) &_result_ref;
7181 }
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 {
7187 wxFont* resultptr = new wxFont(*result);
7188 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7189 }
7190 return resultobj;
7191 fail:
7192 return NULL;
7193 }
7194
7195
7196 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7197 PyObject *resultobj;
7198 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7199 int result;
7200 PyObject * obj0 = 0 ;
7201 char *kwnames[] = {
7202 (char *) "self", NULL
7203 };
7204
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 resultobj = SWIG_FromInt((int)result);
7216 return resultobj;
7217 fail:
7218 return NULL;
7219 }
7220
7221
7222 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7223 PyObject *resultobj;
7224 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7225 wxArrayInt *result;
7226 PyObject * obj0 = 0 ;
7227 char *kwnames[] = {
7228 (char *) "self", NULL
7229 };
7230
7231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",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 {
7237 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7238 result = (wxArrayInt *) &_result_ref;
7239 }
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 resultobj = PyList_New(0);
7246 size_t idx;
7247 for (idx = 0; idx < result->GetCount(); idx += 1) {
7248 PyObject* val = PyInt_FromLong( result->Item(idx) );
7249 PyList_Append(resultobj, val);
7250 Py_DECREF(val);
7251 }
7252 }
7253 return resultobj;
7254 fail:
7255 return NULL;
7256 }
7257
7258
7259 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj;
7261 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7262 long result;
7263 PyObject * obj0 = 0 ;
7264 char *kwnames[] = {
7265 (char *) "self", NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 resultobj = SWIG_FromLong((long)result);
7279 return resultobj;
7280 fail:
7281 return NULL;
7282 }
7283
7284
7285 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, 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_GetRightIndent",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)->GetRightIndent();
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_GetFlags(PyObject *, 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_GetFlags",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)->GetFlags();
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_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj;
7339 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7340 bool result;
7341 PyObject * obj0 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",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 = (bool)((wxTextAttr const *)arg1)->IsDefault();
7352
7353 wxPyEndAllowThreads(__tstate);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 {
7357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7358 }
7359 return resultobj;
7360 fail:
7361 return NULL;
7362 }
7363
7364
7365 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
7366 PyObject *resultobj;
7367 wxTextAttr *arg1 = 0 ;
7368 wxTextAttr *arg2 = 0 ;
7369 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7370 wxTextAttr result;
7371 PyObject * obj0 = 0 ;
7372 PyObject * obj1 = 0 ;
7373 PyObject * obj2 = 0 ;
7374 char *kwnames[] = {
7375 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7376 };
7377
7378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7380 SWIG_POINTER_EXCEPTION | 0)) == -1)
7381 SWIG_fail;
7382 if (arg1 == NULL) {
7383 PyErr_SetString(PyExc_TypeError,"null reference");
7384 SWIG_fail;
7385 }
7386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7387 SWIG_POINTER_EXCEPTION | 0)) == -1)
7388 SWIG_fail;
7389 if (arg2 == NULL) {
7390 PyErr_SetString(PyExc_TypeError,"null reference");
7391 SWIG_fail;
7392 }
7393 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7395 {
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7398
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
7402 {
7403 wxTextAttr * resultptr;
7404 resultptr = new wxTextAttr((wxTextAttr &) result);
7405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7406 }
7407 return resultobj;
7408 fail:
7409 return NULL;
7410 }
7411
7412
7413 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
7414 PyObject *obj;
7415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7416 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7417 Py_INCREF(obj);
7418 return Py_BuildValue((char *)"");
7419 }
7420 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxWindow *arg1 = (wxWindow *) 0 ;
7423 int arg2 ;
7424 wxString const &arg3_defvalue = wxPyEmptyString ;
7425 wxString *arg3 = (wxString *) &arg3_defvalue ;
7426 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7427 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7428 wxSize const &arg5_defvalue = wxDefaultSize ;
7429 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7430 long arg6 = (long) 0 ;
7431 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7432 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7433 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7434 wxString *arg8 = (wxString *) &arg8_defvalue ;
7435 wxTextCtrl *result;
7436 bool temp3 = False ;
7437 wxPoint temp4 ;
7438 wxSize temp5 ;
7439 bool temp8 = False ;
7440 PyObject * obj0 = 0 ;
7441 PyObject * obj1 = 0 ;
7442 PyObject * obj2 = 0 ;
7443 PyObject * obj3 = 0 ;
7444 PyObject * obj4 = 0 ;
7445 PyObject * obj5 = 0 ;
7446 PyObject * obj6 = 0 ;
7447 PyObject * obj7 = 0 ;
7448 char *kwnames[] = {
7449 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7450 };
7451
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7455 arg2 = (int) SWIG_AsInt(obj1);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 if (obj2) {
7458 {
7459 arg3 = wxString_in_helper(obj2);
7460 if (arg3 == NULL) SWIG_fail;
7461 temp3 = True;
7462 }
7463 }
7464 if (obj3) {
7465 {
7466 arg4 = &temp4;
7467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7468 }
7469 }
7470 if (obj4) {
7471 {
7472 arg5 = &temp5;
7473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7474 }
7475 }
7476 if (obj5) {
7477 arg6 = (long) SWIG_AsLong(obj5);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 if (obj6) {
7481 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7482 SWIG_POINTER_EXCEPTION | 0)) == -1)
7483 SWIG_fail;
7484 if (arg7 == NULL) {
7485 PyErr_SetString(PyExc_TypeError,"null reference");
7486 SWIG_fail;
7487 }
7488 }
7489 if (obj7) {
7490 {
7491 arg8 = wxString_in_helper(obj7);
7492 if (arg8 == NULL) SWIG_fail;
7493 temp8 = True;
7494 }
7495 }
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7499
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 {
7504 resultobj = wxPyMake_wxObject(result);
7505 }
7506 {
7507 if (temp3)
7508 delete arg3;
7509 }
7510 {
7511 if (temp8)
7512 delete arg8;
7513 }
7514 return resultobj;
7515 fail:
7516 {
7517 if (temp3)
7518 delete arg3;
7519 }
7520 {
7521 if (temp8)
7522 delete arg8;
7523 }
7524 return NULL;
7525 }
7526
7527
7528 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 wxTextCtrl *result;
7531 char *kwnames[] = {
7532 NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 result = (wxTextCtrl *)new wxTextCtrl();
7539
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
7543 {
7544 resultobj = wxPyMake_wxObject(result);
7545 }
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7555 wxWindow *arg2 = (wxWindow *) 0 ;
7556 int arg3 ;
7557 wxString const &arg4_defvalue = wxPyEmptyString ;
7558 wxString *arg4 = (wxString *) &arg4_defvalue ;
7559 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7560 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7561 wxSize const &arg6_defvalue = wxDefaultSize ;
7562 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7563 long arg7 = (long) 0 ;
7564 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7565 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7566 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7567 wxString *arg9 = (wxString *) &arg9_defvalue ;
7568 bool result;
7569 bool temp4 = False ;
7570 wxPoint temp5 ;
7571 wxSize temp6 ;
7572 bool temp9 = False ;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 PyObject * obj2 = 0 ;
7576 PyObject * obj3 = 0 ;
7577 PyObject * obj4 = 0 ;
7578 PyObject * obj5 = 0 ;
7579 PyObject * obj6 = 0 ;
7580 PyObject * obj7 = 0 ;
7581 PyObject * obj8 = 0 ;
7582 char *kwnames[] = {
7583 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7584 };
7585
7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7591 arg3 = (int) SWIG_AsInt(obj2);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 if (obj3) {
7594 {
7595 arg4 = wxString_in_helper(obj3);
7596 if (arg4 == NULL) SWIG_fail;
7597 temp4 = True;
7598 }
7599 }
7600 if (obj4) {
7601 {
7602 arg5 = &temp5;
7603 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7604 }
7605 }
7606 if (obj5) {
7607 {
7608 arg6 = &temp6;
7609 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7610 }
7611 }
7612 if (obj6) {
7613 arg7 = (long) SWIG_AsLong(obj6);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 if (obj7) {
7617 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7618 SWIG_POINTER_EXCEPTION | 0)) == -1)
7619 SWIG_fail;
7620 if (arg8 == NULL) {
7621 PyErr_SetString(PyExc_TypeError,"null reference");
7622 SWIG_fail;
7623 }
7624 }
7625 if (obj8) {
7626 {
7627 arg9 = wxString_in_helper(obj8);
7628 if (arg9 == NULL) SWIG_fail;
7629 temp9 = True;
7630 }
7631 }
7632 {
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 {
7640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7641 }
7642 {
7643 if (temp4)
7644 delete arg4;
7645 }
7646 {
7647 if (temp9)
7648 delete arg9;
7649 }
7650 return resultobj;
7651 fail:
7652 {
7653 if (temp4)
7654 delete arg4;
7655 }
7656 {
7657 if (temp9)
7658 delete arg9;
7659 }
7660 return NULL;
7661 }
7662
7663
7664 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj;
7666 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7667 wxString result;
7668 PyObject * obj0 = 0 ;
7669 char *kwnames[] = {
7670 (char *) "self", NULL
7671 };
7672
7673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 result = ((wxTextCtrl const *)arg1)->GetValue();
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 {
7684 #if wxUSE_UNICODE
7685 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7686 #else
7687 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7688 #endif
7689 }
7690 return resultobj;
7691 fail:
7692 return NULL;
7693 }
7694
7695
7696 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7697 PyObject *resultobj;
7698 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7699 wxString *arg2 = 0 ;
7700 bool temp2 = False ;
7701 PyObject * obj0 = 0 ;
7702 PyObject * obj1 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self",(char *) "value", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7710 {
7711 arg2 = wxString_in_helper(obj1);
7712 if (arg2 == NULL) SWIG_fail;
7713 temp2 = True;
7714 }
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 (arg1)->SetValue((wxString const &)*arg2);
7718
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 }
7722 Py_INCREF(Py_None); resultobj = Py_None;
7723 {
7724 if (temp2)
7725 delete arg2;
7726 }
7727 return resultobj;
7728 fail:
7729 {
7730 if (temp2)
7731 delete arg2;
7732 }
7733 return NULL;
7734 }
7735
7736
7737 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7738 PyObject *resultobj;
7739 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7740 long arg2 ;
7741 long arg3 ;
7742 wxString result;
7743 PyObject * obj0 = 0 ;
7744 PyObject * obj1 = 0 ;
7745 PyObject * obj2 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self",(char *) "from",(char *) "to", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7753 arg2 = (long) SWIG_AsLong(obj1);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 arg3 = (long) SWIG_AsLong(obj2);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 {
7765 #if wxUSE_UNICODE
7766 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7767 #else
7768 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7769 #endif
7770 }
7771 return resultobj;
7772 fail:
7773 return NULL;
7774 }
7775
7776
7777 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
7778 PyObject *resultobj;
7779 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7780 long arg2 ;
7781 int result;
7782 PyObject * obj0 = 0 ;
7783 PyObject * obj1 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self",(char *) "lineNo", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7791 arg2 = (long) SWIG_AsLong(obj1);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 resultobj = SWIG_FromInt((int)result);
7801 return resultobj;
7802 fail:
7803 return NULL;
7804 }
7805
7806
7807 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj;
7809 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7810 long arg2 ;
7811 wxString result;
7812 PyObject * obj0 = 0 ;
7813 PyObject * obj1 = 0 ;
7814 char *kwnames[] = {
7815 (char *) "self",(char *) "lineNo", NULL
7816 };
7817
7818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7821 arg2 = (long) SWIG_AsLong(obj1);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7826
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 {
7831 #if wxUSE_UNICODE
7832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7833 #else
7834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7835 #endif
7836 }
7837 return resultobj;
7838 fail:
7839 return NULL;
7840 }
7841
7842
7843 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
7844 PyObject *resultobj;
7845 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7846 int result;
7847 PyObject * obj0 = 0 ;
7848 char *kwnames[] = {
7849 (char *) "self", NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 resultobj = SWIG_FromInt((int)result);
7863 return resultobj;
7864 fail:
7865 return NULL;
7866 }
7867
7868
7869 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7872 bool result;
7873 PyObject * obj0 = 0 ;
7874 char *kwnames[] = {
7875 (char *) "self", NULL
7876 };
7877
7878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",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 = (bool)((wxTextCtrl const *)arg1)->IsModified();
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 {
7889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7890 }
7891 return resultobj;
7892 fail:
7893 return NULL;
7894 }
7895
7896
7897 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7898 PyObject *resultobj;
7899 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7900 bool result;
7901 PyObject * obj0 = 0 ;
7902 char *kwnames[] = {
7903 (char *) "self", NULL
7904 };
7905
7906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 {
7917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7918 }
7919 return resultobj;
7920 fail:
7921 return NULL;
7922 }
7923
7924
7925 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
7926 PyObject *resultobj;
7927 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7928 bool result;
7929 PyObject * obj0 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 {
7945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7946 }
7947 return resultobj;
7948 fail:
7949 return NULL;
7950 }
7951
7952
7953 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
7954 PyObject *resultobj;
7955 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7956 bool result;
7957 PyObject * obj0 = 0 ;
7958 char *kwnames[] = {
7959 (char *) "self", NULL
7960 };
7961
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 {
7973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7974 }
7975 return resultobj;
7976 fail:
7977 return NULL;
7978 }
7979
7980
7981 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7982 PyObject *resultobj;
7983 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7984 long *arg2 = (long *) 0 ;
7985 long *arg3 = (long *) 0 ;
7986 long temp2 ;
7987 long temp3 ;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 arg2 = &temp2;
7994 arg3 = &temp3;
7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 Py_INCREF(Py_None); resultobj = Py_None;
8006 {
8007 PyObject *o = PyInt_FromLong((long) (*arg2));
8008 resultobj = t_output_helper(resultobj,o);
8009 }
8010 {
8011 PyObject *o = PyInt_FromLong((long) (*arg3));
8012 resultobj = t_output_helper(resultobj,o);
8013 }
8014 return resultobj;
8015 fail:
8016 return NULL;
8017 }
8018
8019
8020 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8021 PyObject *resultobj;
8022 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8023 wxString result;
8024 PyObject * obj0 = 0 ;
8025 char *kwnames[] = {
8026 (char *) "self", NULL
8027 };
8028
8029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 {
8040 #if wxUSE_UNICODE
8041 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8042 #else
8043 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8044 #endif
8045 }
8046 return resultobj;
8047 fail:
8048 return NULL;
8049 }
8050
8051
8052 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
8053 PyObject *resultobj;
8054 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8055 PyObject * obj0 = 0 ;
8056 char *kwnames[] = {
8057 (char *) "self", NULL
8058 };
8059
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 (arg1)->Clear();
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 Py_INCREF(Py_None); resultobj = Py_None;
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8080 long arg2 ;
8081 long arg3 ;
8082 wxString *arg4 = 0 ;
8083 bool temp4 = False ;
8084 PyObject * obj0 = 0 ;
8085 PyObject * obj1 = 0 ;
8086 PyObject * obj2 = 0 ;
8087 PyObject * obj3 = 0 ;
8088 char *kwnames[] = {
8089 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8090 };
8091
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8095 arg2 = (long) SWIG_AsLong(obj1);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 arg3 = (long) SWIG_AsLong(obj2);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 {
8100 arg4 = wxString_in_helper(obj3);
8101 if (arg4 == NULL) SWIG_fail;
8102 temp4 = True;
8103 }
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 Py_INCREF(Py_None); resultobj = Py_None;
8112 {
8113 if (temp4)
8114 delete arg4;
8115 }
8116 return resultobj;
8117 fail:
8118 {
8119 if (temp4)
8120 delete arg4;
8121 }
8122 return NULL;
8123 }
8124
8125
8126 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
8127 PyObject *resultobj;
8128 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8129 long arg2 ;
8130 long arg3 ;
8131 PyObject * obj0 = 0 ;
8132 PyObject * obj1 = 0 ;
8133 PyObject * obj2 = 0 ;
8134 char *kwnames[] = {
8135 (char *) "self",(char *) "from",(char *) "to", NULL
8136 };
8137
8138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8141 arg2 = (long) SWIG_AsLong(obj1);
8142 if (PyErr_Occurred()) SWIG_fail;
8143 arg3 = (long) SWIG_AsLong(obj2);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 (arg1)->Remove(arg2,arg3);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 Py_INCREF(Py_None); resultobj = Py_None;
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8162 wxString *arg2 = 0 ;
8163 bool result;
8164 bool temp2 = False ;
8165 PyObject * obj0 = 0 ;
8166 PyObject * obj1 = 0 ;
8167 char *kwnames[] = {
8168 (char *) "self",(char *) "file", NULL
8169 };
8170
8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8174 {
8175 arg2 = wxString_in_helper(obj1);
8176 if (arg2 == NULL) SWIG_fail;
8177 temp2 = True;
8178 }
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8182
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 }
8186 {
8187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8188 }
8189 {
8190 if (temp2)
8191 delete arg2;
8192 }
8193 return resultobj;
8194 fail:
8195 {
8196 if (temp2)
8197 delete arg2;
8198 }
8199 return NULL;
8200 }
8201
8202
8203 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj;
8205 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8206 wxString const &arg2_defvalue = wxPyEmptyString ;
8207 wxString *arg2 = (wxString *) &arg2_defvalue ;
8208 bool result;
8209 bool temp2 = False ;
8210 PyObject * obj0 = 0 ;
8211 PyObject * obj1 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self",(char *) "file", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8219 if (obj1) {
8220 {
8221 arg2 = wxString_in_helper(obj1);
8222 if (arg2 == NULL) SWIG_fail;
8223 temp2 = True;
8224 }
8225 }
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 {
8234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8235 }
8236 {
8237 if (temp2)
8238 delete arg2;
8239 }
8240 return resultobj;
8241 fail:
8242 {
8243 if (temp2)
8244 delete arg2;
8245 }
8246 return NULL;
8247 }
8248
8249
8250 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
8251 PyObject *resultobj;
8252 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8253 PyObject * obj0 = 0 ;
8254 char *kwnames[] = {
8255 (char *) "self", NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8261 {
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 (arg1)->MarkDirty();
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 Py_INCREF(Py_None); resultobj = Py_None;
8269 return resultobj;
8270 fail:
8271 return NULL;
8272 }
8273
8274
8275 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
8276 PyObject *resultobj;
8277 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8278 PyObject * obj0 = 0 ;
8279 char *kwnames[] = {
8280 (char *) "self", NULL
8281 };
8282
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8286 {
8287 PyThreadState* __tstate = wxPyBeginAllowThreads();
8288 (arg1)->DiscardEdits();
8289
8290 wxPyEndAllowThreads(__tstate);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 Py_INCREF(Py_None); resultobj = Py_None;
8294 return resultobj;
8295 fail:
8296 return NULL;
8297 }
8298
8299
8300 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj;
8302 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8303 unsigned long arg2 ;
8304 PyObject * obj0 = 0 ;
8305 PyObject * obj1 = 0 ;
8306 char *kwnames[] = {
8307 (char *) "self",(char *) "len", NULL
8308 };
8309
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8313 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8314 if (PyErr_Occurred()) SWIG_fail;
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 (arg1)->SetMaxLength(arg2);
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 Py_INCREF(Py_None); resultobj = Py_None;
8323 return resultobj;
8324 fail:
8325 return NULL;
8326 }
8327
8328
8329 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8332 wxString *arg2 = 0 ;
8333 bool temp2 = False ;
8334 PyObject * obj0 = 0 ;
8335 PyObject * obj1 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "text", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8343 {
8344 arg2 = wxString_in_helper(obj1);
8345 if (arg2 == NULL) SWIG_fail;
8346 temp2 = True;
8347 }
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 (arg1)->WriteText((wxString const &)*arg2);
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 Py_INCREF(Py_None); resultobj = Py_None;
8356 {
8357 if (temp2)
8358 delete arg2;
8359 }
8360 return resultobj;
8361 fail:
8362 {
8363 if (temp2)
8364 delete arg2;
8365 }
8366 return NULL;
8367 }
8368
8369
8370 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
8371 PyObject *resultobj;
8372 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8373 wxString *arg2 = 0 ;
8374 bool temp2 = False ;
8375 PyObject * obj0 = 0 ;
8376 PyObject * obj1 = 0 ;
8377 char *kwnames[] = {
8378 (char *) "self",(char *) "text", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8384 {
8385 arg2 = wxString_in_helper(obj1);
8386 if (arg2 == NULL) SWIG_fail;
8387 temp2 = True;
8388 }
8389 {
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 (arg1)->AppendText((wxString const &)*arg2);
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 Py_INCREF(Py_None); resultobj = Py_None;
8397 {
8398 if (temp2)
8399 delete arg2;
8400 }
8401 return resultobj;
8402 fail:
8403 {
8404 if (temp2)
8405 delete arg2;
8406 }
8407 return NULL;
8408 }
8409
8410
8411 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
8412 PyObject *resultobj;
8413 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8414 wxKeyEvent *arg2 = 0 ;
8415 bool result;
8416 PyObject * obj0 = 0 ;
8417 PyObject * obj1 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "self",(char *) "event", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8426 SWIG_POINTER_EXCEPTION | 0)) == -1)
8427 SWIG_fail;
8428 if (arg2 == NULL) {
8429 PyErr_SetString(PyExc_TypeError,"null reference");
8430 SWIG_fail;
8431 }
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 {
8440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8441 }
8442 return resultobj;
8443 fail:
8444 return NULL;
8445 }
8446
8447
8448 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8449 PyObject *resultobj;
8450 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8451 long arg2 ;
8452 long arg3 ;
8453 wxTextAttr *arg4 = 0 ;
8454 bool result;
8455 PyObject * obj0 = 0 ;
8456 PyObject * obj1 = 0 ;
8457 PyObject * obj2 = 0 ;
8458 PyObject * obj3 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8466 arg2 = (long) SWIG_AsLong(obj1);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 arg3 = (long) SWIG_AsLong(obj2);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8471 SWIG_POINTER_EXCEPTION | 0)) == -1)
8472 SWIG_fail;
8473 if (arg4 == NULL) {
8474 PyErr_SetString(PyExc_TypeError,"null reference");
8475 SWIG_fail;
8476 }
8477 {
8478 PyThreadState* __tstate = wxPyBeginAllowThreads();
8479 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8480
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 {
8485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8486 }
8487 return resultobj;
8488 fail:
8489 return NULL;
8490 }
8491
8492
8493 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8494 PyObject *resultobj;
8495 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8496 long arg2 ;
8497 wxTextAttr *arg3 = 0 ;
8498 bool result;
8499 PyObject * obj0 = 0 ;
8500 PyObject * obj1 = 0 ;
8501 PyObject * obj2 = 0 ;
8502 char *kwnames[] = {
8503 (char *) "self",(char *) "position",(char *) "style", NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8509 arg2 = (long) SWIG_AsLong(obj1);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8512 SWIG_POINTER_EXCEPTION | 0)) == -1)
8513 SWIG_fail;
8514 if (arg3 == NULL) {
8515 PyErr_SetString(PyExc_TypeError,"null reference");
8516 SWIG_fail;
8517 }
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 {
8526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8527 }
8528 return resultobj;
8529 fail:
8530 return NULL;
8531 }
8532
8533
8534 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8537 wxTextAttr *arg2 = 0 ;
8538 bool result;
8539 PyObject * obj0 = 0 ;
8540 PyObject * obj1 = 0 ;
8541 char *kwnames[] = {
8542 (char *) "self",(char *) "style", NULL
8543 };
8544
8545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8549 SWIG_POINTER_EXCEPTION | 0)) == -1)
8550 SWIG_fail;
8551 if (arg2 == NULL) {
8552 PyErr_SetString(PyExc_TypeError,"null reference");
8553 SWIG_fail;
8554 }
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 {
8563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8564 }
8565 return resultobj;
8566 fail:
8567 return NULL;
8568 }
8569
8570
8571 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8572 PyObject *resultobj;
8573 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8574 wxTextAttr *result;
8575 PyObject * obj0 = 0 ;
8576 char *kwnames[] = {
8577 (char *) "self", NULL
8578 };
8579
8580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8583 {
8584 PyThreadState* __tstate = wxPyBeginAllowThreads();
8585 {
8586 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8587 result = (wxTextAttr *) &_result_ref;
8588 }
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8594 return resultobj;
8595 fail:
8596 return NULL;
8597 }
8598
8599
8600 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8601 PyObject *resultobj;
8602 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8603 long arg2 ;
8604 long arg3 ;
8605 long result;
8606 PyObject * obj0 = 0 ;
8607 PyObject * obj1 = 0 ;
8608 PyObject * obj2 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self",(char *) "x",(char *) "y", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8616 arg2 = (long) SWIG_AsLong(obj1);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 arg3 = (long) SWIG_AsLong(obj2);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 {
8621 PyThreadState* __tstate = wxPyBeginAllowThreads();
8622 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8623
8624 wxPyEndAllowThreads(__tstate);
8625 if (PyErr_Occurred()) SWIG_fail;
8626 }
8627 resultobj = SWIG_FromLong((long)result);
8628 return resultobj;
8629 fail:
8630 return NULL;
8631 }
8632
8633
8634 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
8635 PyObject *resultobj;
8636 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8637 long arg2 ;
8638 long *arg3 = (long *) 0 ;
8639 long *arg4 = (long *) 0 ;
8640 long temp3 ;
8641 long temp4 ;
8642 PyObject * obj0 = 0 ;
8643 PyObject * obj1 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "pos", NULL
8646 };
8647
8648 arg3 = &temp3;
8649 arg4 = &temp4;
8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8653 arg2 = (long) SWIG_AsLong(obj1);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 Py_INCREF(Py_None); resultobj = Py_None;
8663 {
8664 PyObject *o = PyInt_FromLong((long) (*arg3));
8665 resultobj = t_output_helper(resultobj,o);
8666 }
8667 {
8668 PyObject *o = PyInt_FromLong((long) (*arg4));
8669 resultobj = t_output_helper(resultobj,o);
8670 }
8671 return resultobj;
8672 fail:
8673 return NULL;
8674 }
8675
8676
8677 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8680 long arg2 ;
8681 PyObject * obj0 = 0 ;
8682 PyObject * obj1 = 0 ;
8683 char *kwnames[] = {
8684 (char *) "self",(char *) "pos", NULL
8685 };
8686
8687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8690 arg2 = (long) SWIG_AsLong(obj1);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 {
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 (arg1)->ShowPosition(arg2);
8695
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
8699 Py_INCREF(Py_None); resultobj = Py_None;
8700 return resultobj;
8701 fail:
8702 return NULL;
8703 }
8704
8705
8706 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj;
8708 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8709 wxPoint *arg2 = 0 ;
8710 long *arg3 = (long *) 0 ;
8711 long *arg4 = (long *) 0 ;
8712 int result;
8713 wxPoint temp2 ;
8714 long temp3 ;
8715 long temp4 ;
8716 PyObject * obj0 = 0 ;
8717 PyObject * obj1 = 0 ;
8718 char *kwnames[] = {
8719 (char *) "self",(char *) "pt", NULL
8720 };
8721
8722 arg3 = &temp3;
8723 arg4 = &temp4;
8724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8727 {
8728 arg2 = &temp2;
8729 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8730 }
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 resultobj = SWIG_FromInt((int)result);
8739 {
8740 PyObject *o = PyInt_FromLong((long) (*arg3));
8741 resultobj = t_output_helper(resultobj,o);
8742 }
8743 {
8744 PyObject *o = PyInt_FromLong((long) (*arg4));
8745 resultobj = t_output_helper(resultobj,o);
8746 }
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8756 PyObject * obj0 = 0 ;
8757 char *kwnames[] = {
8758 (char *) "self", NULL
8759 };
8760
8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 (arg1)->Copy();
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 Py_INCREF(Py_None); resultobj = Py_None;
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8781 PyObject * obj0 = 0 ;
8782 char *kwnames[] = {
8783 (char *) "self", NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 (arg1)->Cut();
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 Py_INCREF(Py_None); resultobj = Py_None;
8797 return resultobj;
8798 fail:
8799 return NULL;
8800 }
8801
8802
8803 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj;
8805 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8806 PyObject * obj0 = 0 ;
8807 char *kwnames[] = {
8808 (char *) "self", NULL
8809 };
8810
8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 (arg1)->Paste();
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 Py_INCREF(Py_None); resultobj = Py_None;
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8831 bool result;
8832 PyObject * obj0 = 0 ;
8833 char *kwnames[] = {
8834 (char *) "self", NULL
8835 };
8836
8837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",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 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8843
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 {
8848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8849 }
8850 return resultobj;
8851 fail:
8852 return NULL;
8853 }
8854
8855
8856 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8859 bool result;
8860 PyObject * obj0 = 0 ;
8861 char *kwnames[] = {
8862 (char *) "self", NULL
8863 };
8864
8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8868 {
8869 PyThreadState* __tstate = wxPyBeginAllowThreads();
8870 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8871
8872 wxPyEndAllowThreads(__tstate);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 {
8876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8877 }
8878 return resultobj;
8879 fail:
8880 return NULL;
8881 }
8882
8883
8884 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
8885 PyObject *resultobj;
8886 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8887 bool result;
8888 PyObject * obj0 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "self", NULL
8891 };
8892
8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 {
8904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8905 }
8906 return resultobj;
8907 fail:
8908 return NULL;
8909 }
8910
8911
8912 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
8913 PyObject *resultobj;
8914 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8915 PyObject * obj0 = 0 ;
8916 char *kwnames[] = {
8917 (char *) "self", NULL
8918 };
8919
8920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 (arg1)->Undo();
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 Py_INCREF(Py_None); resultobj = Py_None;
8931 return resultobj;
8932 fail:
8933 return NULL;
8934 }
8935
8936
8937 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj;
8939 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8940 PyObject * obj0 = 0 ;
8941 char *kwnames[] = {
8942 (char *) "self", NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8948 {
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 (arg1)->Redo();
8951
8952 wxPyEndAllowThreads(__tstate);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 }
8955 Py_INCREF(Py_None); resultobj = Py_None;
8956 return resultobj;
8957 fail:
8958 return NULL;
8959 }
8960
8961
8962 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
8963 PyObject *resultobj;
8964 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8965 bool result;
8966 PyObject * obj0 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self", NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",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 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8977
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
8981 {
8982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8983 }
8984 return resultobj;
8985 fail:
8986 return NULL;
8987 }
8988
8989
8990 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj;
8992 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8993 bool result;
8994 PyObject * obj0 = 0 ;
8995 char *kwnames[] = {
8996 (char *) "self", NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 {
9010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9011 }
9012 return resultobj;
9013 fail:
9014 return NULL;
9015 }
9016
9017
9018 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9021 long arg2 ;
9022 PyObject * obj0 = 0 ;
9023 PyObject * obj1 = 0 ;
9024 char *kwnames[] = {
9025 (char *) "self",(char *) "pos", NULL
9026 };
9027
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9031 arg2 = (long) SWIG_AsLong(obj1);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 (arg1)->SetInsertionPoint(arg2);
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 Py_INCREF(Py_None); resultobj = Py_None;
9041 return resultobj;
9042 fail:
9043 return NULL;
9044 }
9045
9046
9047 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj;
9049 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9050 PyObject * obj0 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "self", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 (arg1)->SetInsertionPointEnd();
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 Py_INCREF(Py_None); resultobj = Py_None;
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj;
9074 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9075 long result;
9076 PyObject * obj0 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",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 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 resultobj = SWIG_FromLong((long)result);
9092 return resultobj;
9093 fail:
9094 return NULL;
9095 }
9096
9097
9098 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, 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_GetLastPosition",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)->GetLastPosition();
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_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj;
9126 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9127 long arg2 ;
9128 long arg3 ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131 PyObject * obj2 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self",(char *) "from",(char *) "to", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9139 arg2 = (long) SWIG_AsLong(obj1);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 arg3 = (long) SWIG_AsLong(obj2);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 (arg1)->SetSelection(arg2,arg3);
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 Py_INCREF(Py_None); resultobj = Py_None;
9151 return resultobj;
9152 fail:
9153 return NULL;
9154 }
9155
9156
9157 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9160 PyObject * obj0 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 (arg1)->SelectAll();
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 Py_INCREF(Py_None); resultobj = Py_None;
9176 return resultobj;
9177 fail:
9178 return NULL;
9179 }
9180
9181
9182 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
9183 PyObject *resultobj;
9184 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9185 bool arg2 ;
9186 PyObject * obj0 = 0 ;
9187 PyObject * obj1 = 0 ;
9188 char *kwnames[] = {
9189 (char *) "self",(char *) "editable", NULL
9190 };
9191
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9195 arg2 = (bool) SWIG_AsBool(obj1);
9196 if (PyErr_Occurred()) SWIG_fail;
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 (arg1)->SetEditable(arg2);
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 Py_INCREF(Py_None); resultobj = Py_None;
9205 return resultobj;
9206 fail:
9207 return NULL;
9208 }
9209
9210
9211 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj;
9213 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9214 wxString *arg2 = 0 ;
9215 bool temp2 = False ;
9216 PyObject * obj0 = 0 ;
9217 PyObject * obj1 = 0 ;
9218 char *kwnames[] = {
9219 (char *) "self",(char *) "text", NULL
9220 };
9221
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9225 {
9226 arg2 = wxString_in_helper(obj1);
9227 if (arg2 == NULL) SWIG_fail;
9228 temp2 = True;
9229 }
9230 {
9231 PyThreadState* __tstate = wxPyBeginAllowThreads();
9232 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9233
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 Py_INCREF(Py_None); resultobj = Py_None;
9238 {
9239 if (temp2)
9240 delete arg2;
9241 }
9242 return resultobj;
9243 fail:
9244 {
9245 if (temp2)
9246 delete arg2;
9247 }
9248 return NULL;
9249 }
9250
9251
9252 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj;
9254 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9255 long arg2 ;
9256 long arg3 ;
9257 wxString result;
9258 PyObject * obj0 = 0 ;
9259 PyObject * obj1 = 0 ;
9260 PyObject * obj2 = 0 ;
9261 char *kwnames[] = {
9262 (char *) "self",(char *) "from",(char *) "to", NULL
9263 };
9264
9265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9268 arg2 = (long) SWIG_AsLong(obj1);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 arg3 = (long) SWIG_AsLong(obj2);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 {
9280 #if wxUSE_UNICODE
9281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9282 #else
9283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9284 #endif
9285 }
9286 return resultobj;
9287 fail:
9288 return NULL;
9289 }
9290
9291
9292 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
9293 PyObject *obj;
9294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9295 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9296 Py_INCREF(obj);
9297 return Py_BuildValue((char *)"");
9298 }
9299 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9300 PyObject *resultobj;
9301 int arg1 ;
9302 wxMouseEvent *arg2 = 0 ;
9303 long arg3 ;
9304 long arg4 ;
9305 wxTextUrlEvent *result;
9306 PyObject * obj0 = 0 ;
9307 PyObject * obj1 = 0 ;
9308 PyObject * obj2 = 0 ;
9309 PyObject * obj3 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9315 arg1 = (int) SWIG_AsInt(obj0);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9318 SWIG_POINTER_EXCEPTION | 0)) == -1)
9319 SWIG_fail;
9320 if (arg2 == NULL) {
9321 PyErr_SetString(PyExc_TypeError,"null reference");
9322 SWIG_fail;
9323 }
9324 arg3 = (long) SWIG_AsLong(obj2);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 arg4 = (long) SWIG_AsLong(obj3);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9331
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9336 return resultobj;
9337 fail:
9338 return NULL;
9339 }
9340
9341
9342 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9343 PyObject *resultobj;
9344 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9345 wxMouseEvent *result;
9346 PyObject * obj0 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 {
9357 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9358 result = (wxMouseEvent *) &_result_ref;
9359 }
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9374 long result;
9375 PyObject * obj0 = 0 ;
9376 char *kwnames[] = {
9377 (char *) "self", NULL
9378 };
9379
9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9386
9387 wxPyEndAllowThreads(__tstate);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 }
9390 resultobj = SWIG_FromLong((long)result);
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj;
9399 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9400 long result;
9401 PyObject * obj0 = 0 ;
9402 char *kwnames[] = {
9403 (char *) "self", NULL
9404 };
9405
9406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 resultobj = SWIG_FromLong((long)result);
9417 return resultobj;
9418 fail:
9419 return NULL;
9420 }
9421
9422
9423 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
9424 PyObject *obj;
9425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9426 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9427 Py_INCREF(obj);
9428 return Py_BuildValue((char *)"");
9429 }
9430 static int _wrap_ScrollBarNameStr_set(PyObject *) {
9431 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9432 return 1;
9433 }
9434
9435
9436 static PyObject *_wrap_ScrollBarNameStr_get() {
9437 PyObject *pyobj;
9438
9439 {
9440 #if wxUSE_UNICODE
9441 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9442 #else
9443 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9444 #endif
9445 }
9446 return pyobj;
9447 }
9448
9449
9450 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxWindow *arg1 = (wxWindow *) 0 ;
9453 int arg2 = (int) -1 ;
9454 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9455 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9456 wxSize const &arg4_defvalue = wxDefaultSize ;
9457 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9458 long arg5 = (long) wxSB_HORIZONTAL ;
9459 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9460 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9461 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9462 wxString *arg7 = (wxString *) &arg7_defvalue ;
9463 wxScrollBar *result;
9464 wxPoint temp3 ;
9465 wxSize temp4 ;
9466 bool temp7 = False ;
9467 PyObject * obj0 = 0 ;
9468 PyObject * obj1 = 0 ;
9469 PyObject * obj2 = 0 ;
9470 PyObject * obj3 = 0 ;
9471 PyObject * obj4 = 0 ;
9472 PyObject * obj5 = 0 ;
9473 PyObject * obj6 = 0 ;
9474 char *kwnames[] = {
9475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9476 };
9477
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9481 if (obj1) {
9482 arg2 = (int) SWIG_AsInt(obj1);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
9485 if (obj2) {
9486 {
9487 arg3 = &temp3;
9488 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9489 }
9490 }
9491 if (obj3) {
9492 {
9493 arg4 = &temp4;
9494 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9495 }
9496 }
9497 if (obj4) {
9498 arg5 = (long) SWIG_AsLong(obj4);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 if (obj5) {
9502 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9503 SWIG_POINTER_EXCEPTION | 0)) == -1)
9504 SWIG_fail;
9505 if (arg6 == NULL) {
9506 PyErr_SetString(PyExc_TypeError,"null reference");
9507 SWIG_fail;
9508 }
9509 }
9510 if (obj6) {
9511 {
9512 arg7 = wxString_in_helper(obj6);
9513 if (arg7 == NULL) SWIG_fail;
9514 temp7 = True;
9515 }
9516 }
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9525 {
9526 if (temp7)
9527 delete arg7;
9528 }
9529 return resultobj;
9530 fail:
9531 {
9532 if (temp7)
9533 delete arg7;
9534 }
9535 return NULL;
9536 }
9537
9538
9539 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9540 PyObject *resultobj;
9541 wxScrollBar *result;
9542 char *kwnames[] = {
9543 NULL
9544 };
9545
9546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (wxScrollBar *)new wxScrollBar();
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9555 return resultobj;
9556 fail:
9557 return NULL;
9558 }
9559
9560
9561 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj;
9563 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9564 wxWindow *arg2 = (wxWindow *) 0 ;
9565 int arg3 = (int) -1 ;
9566 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9567 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9568 wxSize const &arg5_defvalue = wxDefaultSize ;
9569 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9570 long arg6 = (long) wxSB_HORIZONTAL ;
9571 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9572 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9573 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9574 wxString *arg8 = (wxString *) &arg8_defvalue ;
9575 bool result;
9576 wxPoint temp4 ;
9577 wxSize temp5 ;
9578 bool temp8 = False ;
9579 PyObject * obj0 = 0 ;
9580 PyObject * obj1 = 0 ;
9581 PyObject * obj2 = 0 ;
9582 PyObject * obj3 = 0 ;
9583 PyObject * obj4 = 0 ;
9584 PyObject * obj5 = 0 ;
9585 PyObject * obj6 = 0 ;
9586 PyObject * obj7 = 0 ;
9587 char *kwnames[] = {
9588 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9589 };
9590
9591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9596 if (obj2) {
9597 arg3 = (int) SWIG_AsInt(obj2);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
9600 if (obj3) {
9601 {
9602 arg4 = &temp4;
9603 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9604 }
9605 }
9606 if (obj4) {
9607 {
9608 arg5 = &temp5;
9609 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9610 }
9611 }
9612 if (obj5) {
9613 arg6 = (long) SWIG_AsLong(obj5);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 if (obj6) {
9617 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9618 SWIG_POINTER_EXCEPTION | 0)) == -1)
9619 SWIG_fail;
9620 if (arg7 == NULL) {
9621 PyErr_SetString(PyExc_TypeError,"null reference");
9622 SWIG_fail;
9623 }
9624 }
9625 if (obj7) {
9626 {
9627 arg8 = wxString_in_helper(obj7);
9628 if (arg8 == NULL) SWIG_fail;
9629 temp8 = True;
9630 }
9631 }
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 {
9640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9641 }
9642 {
9643 if (temp8)
9644 delete arg8;
9645 }
9646 return resultobj;
9647 fail:
9648 {
9649 if (temp8)
9650 delete arg8;
9651 }
9652 return NULL;
9653 }
9654
9655
9656 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9657 PyObject *resultobj;
9658 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9659 int result;
9660 PyObject * obj0 = 0 ;
9661 char *kwnames[] = {
9662 (char *) "self", NULL
9663 };
9664
9665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9671
9672 wxPyEndAllowThreads(__tstate);
9673 if (PyErr_Occurred()) SWIG_fail;
9674 }
9675 resultobj = SWIG_FromInt((int)result);
9676 return resultobj;
9677 fail:
9678 return NULL;
9679 }
9680
9681
9682 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
9683 PyObject *resultobj;
9684 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9685 int result;
9686 PyObject * obj0 = 0 ;
9687 char *kwnames[] = {
9688 (char *) "self", NULL
9689 };
9690
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = SWIG_FromInt((int)result);
9702 return resultobj;
9703 fail:
9704 return NULL;
9705 }
9706
9707
9708 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9711 int result;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 resultobj = SWIG_FromInt((int)result);
9728 return resultobj;
9729 fail:
9730 return NULL;
9731 }
9732
9733
9734 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj;
9736 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9737 int result;
9738 PyObject * obj0 = 0 ;
9739 char *kwnames[] = {
9740 (char *) "self", NULL
9741 };
9742
9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 result = (int)((wxScrollBar const *)arg1)->GetRange();
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 resultobj = SWIG_FromInt((int)result);
9754 return resultobj;
9755 fail:
9756 return NULL;
9757 }
9758
9759
9760 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9763 bool result;
9764 PyObject * obj0 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "self", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9772 {
9773 PyThreadState* __tstate = wxPyBeginAllowThreads();
9774 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9775
9776 wxPyEndAllowThreads(__tstate);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 {
9780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9781 }
9782 return resultobj;
9783 fail:
9784 return NULL;
9785 }
9786
9787
9788 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj;
9790 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9791 int arg2 ;
9792 PyObject * obj0 = 0 ;
9793 PyObject * obj1 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self",(char *) "viewStart", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9801 arg2 = (int) SWIG_AsInt(obj1);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 (arg1)->SetThumbPosition(arg2);
9806
9807 wxPyEndAllowThreads(__tstate);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
9810 Py_INCREF(Py_None); resultobj = Py_None;
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9820 int arg2 ;
9821 int arg3 ;
9822 int arg4 ;
9823 int arg5 ;
9824 bool arg6 = (bool) True ;
9825 PyObject * obj0 = 0 ;
9826 PyObject * obj1 = 0 ;
9827 PyObject * obj2 = 0 ;
9828 PyObject * obj3 = 0 ;
9829 PyObject * obj4 = 0 ;
9830 PyObject * obj5 = 0 ;
9831 char *kwnames[] = {
9832 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9833 };
9834
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9838 arg2 = (int) SWIG_AsInt(obj1);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 arg3 = (int) SWIG_AsInt(obj2);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 arg4 = (int) SWIG_AsInt(obj3);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 arg5 = (int) SWIG_AsInt(obj4);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 if (obj5) {
9847 arg6 = (bool) SWIG_AsBool(obj5);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9853
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 Py_INCREF(Py_None); resultobj = Py_None;
9858 return resultobj;
9859 fail:
9860 return NULL;
9861 }
9862
9863
9864 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
9865 PyObject *obj;
9866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9867 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9868 Py_INCREF(obj);
9869 return Py_BuildValue((char *)"");
9870 }
9871 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
9872 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9873 return 1;
9874 }
9875
9876
9877 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9878 PyObject *pyobj;
9879
9880 {
9881 #if wxUSE_UNICODE
9882 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9883 #else
9884 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9885 #endif
9886 }
9887 return pyobj;
9888 }
9889
9890
9891 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
9892 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9893 return 1;
9894 }
9895
9896
9897 static PyObject *_wrap_SpinCtrlNameStr_get() {
9898 PyObject *pyobj;
9899
9900 {
9901 #if wxUSE_UNICODE
9902 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9903 #else
9904 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9905 #endif
9906 }
9907 return pyobj;
9908 }
9909
9910
9911 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj;
9913 wxWindow *arg1 = (wxWindow *) 0 ;
9914 int arg2 = (int) -1 ;
9915 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9916 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9917 wxSize const &arg4_defvalue = wxDefaultSize ;
9918 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9919 long arg5 = (long) wxSP_HORIZONTAL ;
9920 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9921 wxString *arg6 = (wxString *) &arg6_defvalue ;
9922 wxSpinButton *result;
9923 wxPoint temp3 ;
9924 wxSize temp4 ;
9925 bool temp6 = False ;
9926 PyObject * obj0 = 0 ;
9927 PyObject * obj1 = 0 ;
9928 PyObject * obj2 = 0 ;
9929 PyObject * obj3 = 0 ;
9930 PyObject * obj4 = 0 ;
9931 PyObject * obj5 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9939 if (obj1) {
9940 arg2 = (int) SWIG_AsInt(obj1);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 if (obj2) {
9944 {
9945 arg3 = &temp3;
9946 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9947 }
9948 }
9949 if (obj3) {
9950 {
9951 arg4 = &temp4;
9952 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9953 }
9954 }
9955 if (obj4) {
9956 arg5 = (long) SWIG_AsLong(obj4);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 if (obj5) {
9960 {
9961 arg6 = wxString_in_helper(obj5);
9962 if (arg6 == NULL) SWIG_fail;
9963 temp6 = True;
9964 }
9965 }
9966 {
9967 PyThreadState* __tstate = wxPyBeginAllowThreads();
9968 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9969
9970 wxPyEndAllowThreads(__tstate);
9971 if (PyErr_Occurred()) SWIG_fail;
9972 }
9973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
9974 {
9975 if (temp6)
9976 delete arg6;
9977 }
9978 return resultobj;
9979 fail:
9980 {
9981 if (temp6)
9982 delete arg6;
9983 }
9984 return NULL;
9985 }
9986
9987
9988 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxSpinButton *result;
9991 char *kwnames[] = {
9992 NULL
9993 };
9994
9995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 result = (wxSpinButton *)new wxSpinButton();
9999
10000 wxPyEndAllowThreads(__tstate);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 }
10003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10004 return resultobj;
10005 fail:
10006 return NULL;
10007 }
10008
10009
10010 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10011 PyObject *resultobj;
10012 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10013 wxWindow *arg2 = (wxWindow *) 0 ;
10014 int arg3 = (int) -1 ;
10015 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10016 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10017 wxSize const &arg5_defvalue = wxDefaultSize ;
10018 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10019 long arg6 = (long) wxSP_HORIZONTAL ;
10020 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10021 wxString *arg7 = (wxString *) &arg7_defvalue ;
10022 bool result;
10023 wxPoint temp4 ;
10024 wxSize temp5 ;
10025 bool temp7 = False ;
10026 PyObject * obj0 = 0 ;
10027 PyObject * obj1 = 0 ;
10028 PyObject * obj2 = 0 ;
10029 PyObject * obj3 = 0 ;
10030 PyObject * obj4 = 0 ;
10031 PyObject * obj5 = 0 ;
10032 PyObject * obj6 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10042 if (obj2) {
10043 arg3 = (int) SWIG_AsInt(obj2);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 if (obj3) {
10047 {
10048 arg4 = &temp4;
10049 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10050 }
10051 }
10052 if (obj4) {
10053 {
10054 arg5 = &temp5;
10055 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10056 }
10057 }
10058 if (obj5) {
10059 arg6 = (long) SWIG_AsLong(obj5);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 if (obj6) {
10063 {
10064 arg7 = wxString_in_helper(obj6);
10065 if (arg7 == NULL) SWIG_fail;
10066 temp7 = True;
10067 }
10068 }
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 {
10077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10078 }
10079 {
10080 if (temp7)
10081 delete arg7;
10082 }
10083 return resultobj;
10084 fail:
10085 {
10086 if (temp7)
10087 delete arg7;
10088 }
10089 return NULL;
10090 }
10091
10092
10093 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10094 PyObject *resultobj;
10095 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10096 int result;
10097 PyObject * obj0 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "self", NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 result = (int)((wxSpinButton const *)arg1)->GetValue();
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 resultobj = SWIG_FromInt((int)result);
10113 return resultobj;
10114 fail:
10115 return NULL;
10116 }
10117
10118
10119 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10120 PyObject *resultobj;
10121 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10122 int result;
10123 PyObject * obj0 = 0 ;
10124 char *kwnames[] = {
10125 (char *) "self", NULL
10126 };
10127
10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 result = (int)((wxSpinButton const *)arg1)->GetMin();
10134
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) SWIG_fail;
10137 }
10138 resultobj = SWIG_FromInt((int)result);
10139 return resultobj;
10140 fail:
10141 return NULL;
10142 }
10143
10144
10145 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10146 PyObject *resultobj;
10147 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10148 int result;
10149 PyObject * obj0 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "self", NULL
10152 };
10153
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 result = (int)((wxSpinButton const *)arg1)->GetMax();
10160
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 resultobj = SWIG_FromInt((int)result);
10165 return resultobj;
10166 fail:
10167 return NULL;
10168 }
10169
10170
10171 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10172 PyObject *resultobj;
10173 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10174 int arg2 ;
10175 PyObject * obj0 = 0 ;
10176 PyObject * obj1 = 0 ;
10177 char *kwnames[] = {
10178 (char *) "self",(char *) "val", NULL
10179 };
10180
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10184 arg2 = (int) SWIG_AsInt(obj1);
10185 if (PyErr_Occurred()) SWIG_fail;
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 (arg1)->SetValue(arg2);
10189
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 Py_INCREF(Py_None); resultobj = Py_None;
10194 return resultobj;
10195 fail:
10196 return NULL;
10197 }
10198
10199
10200 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10201 PyObject *resultobj;
10202 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10203 int arg2 ;
10204 PyObject * obj0 = 0 ;
10205 PyObject * obj1 = 0 ;
10206 char *kwnames[] = {
10207 (char *) "self",(char *) "minVal", NULL
10208 };
10209
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10213 arg2 = (int) SWIG_AsInt(obj1);
10214 if (PyErr_Occurred()) SWIG_fail;
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 (arg1)->SetMin(arg2);
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 Py_INCREF(Py_None); resultobj = Py_None;
10223 return resultobj;
10224 fail:
10225 return NULL;
10226 }
10227
10228
10229 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10232 int arg2 ;
10233 PyObject * obj0 = 0 ;
10234 PyObject * obj1 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self",(char *) "maxVal", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10242 arg2 = (int) SWIG_AsInt(obj1);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 (arg1)->SetMax(arg2);
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 Py_INCREF(Py_None); resultobj = Py_None;
10252 return resultobj;
10253 fail:
10254 return NULL;
10255 }
10256
10257
10258 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10259 PyObject *resultobj;
10260 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10261 int arg2 ;
10262 int arg3 ;
10263 PyObject * obj0 = 0 ;
10264 PyObject * obj1 = 0 ;
10265 PyObject * obj2 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10273 arg2 = (int) SWIG_AsInt(obj1);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 arg3 = (int) SWIG_AsInt(obj2);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 {
10278 PyThreadState* __tstate = wxPyBeginAllowThreads();
10279 (arg1)->SetRange(arg2,arg3);
10280
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
10284 Py_INCREF(Py_None); resultobj = Py_None;
10285 return resultobj;
10286 fail:
10287 return NULL;
10288 }
10289
10290
10291 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj;
10293 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10294 bool result;
10295 PyObject * obj0 = 0 ;
10296 char *kwnames[] = {
10297 (char *) "self", NULL
10298 };
10299
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 {
10311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10312 }
10313 return resultobj;
10314 fail:
10315 return NULL;
10316 }
10317
10318
10319 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
10320 PyObject *obj;
10321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10322 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10323 Py_INCREF(obj);
10324 return Py_BuildValue((char *)"");
10325 }
10326 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10327 PyObject *resultobj;
10328 wxWindow *arg1 = (wxWindow *) 0 ;
10329 int arg2 = (int) -1 ;
10330 wxString const &arg3_defvalue = wxPyEmptyString ;
10331 wxString *arg3 = (wxString *) &arg3_defvalue ;
10332 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10333 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10334 wxSize const &arg5_defvalue = wxDefaultSize ;
10335 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10336 long arg6 = (long) wxSP_ARROW_KEYS ;
10337 int arg7 = (int) 0 ;
10338 int arg8 = (int) 100 ;
10339 int arg9 = (int) 0 ;
10340 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10341 wxString *arg10 = (wxString *) &arg10_defvalue ;
10342 wxSpinCtrl *result;
10343 bool temp3 = False ;
10344 wxPoint temp4 ;
10345 wxSize temp5 ;
10346 bool temp10 = False ;
10347 PyObject * obj0 = 0 ;
10348 PyObject * obj1 = 0 ;
10349 PyObject * obj2 = 0 ;
10350 PyObject * obj3 = 0 ;
10351 PyObject * obj4 = 0 ;
10352 PyObject * obj5 = 0 ;
10353 PyObject * obj6 = 0 ;
10354 PyObject * obj7 = 0 ;
10355 PyObject * obj8 = 0 ;
10356 PyObject * obj9 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10364 if (obj1) {
10365 arg2 = (int) SWIG_AsInt(obj1);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 if (obj2) {
10369 {
10370 arg3 = wxString_in_helper(obj2);
10371 if (arg3 == NULL) SWIG_fail;
10372 temp3 = True;
10373 }
10374 }
10375 if (obj3) {
10376 {
10377 arg4 = &temp4;
10378 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10379 }
10380 }
10381 if (obj4) {
10382 {
10383 arg5 = &temp5;
10384 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10385 }
10386 }
10387 if (obj5) {
10388 arg6 = (long) SWIG_AsLong(obj5);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 if (obj6) {
10392 arg7 = (int) SWIG_AsInt(obj6);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 if (obj7) {
10396 arg8 = (int) SWIG_AsInt(obj7);
10397 if (PyErr_Occurred()) SWIG_fail;
10398 }
10399 if (obj8) {
10400 arg9 = (int) SWIG_AsInt(obj8);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 if (obj9) {
10404 {
10405 arg10 = wxString_in_helper(obj9);
10406 if (arg10 == NULL) SWIG_fail;
10407 temp10 = True;
10408 }
10409 }
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10418 {
10419 if (temp3)
10420 delete arg3;
10421 }
10422 {
10423 if (temp10)
10424 delete arg10;
10425 }
10426 return resultobj;
10427 fail:
10428 {
10429 if (temp3)
10430 delete arg3;
10431 }
10432 {
10433 if (temp10)
10434 delete arg10;
10435 }
10436 return NULL;
10437 }
10438
10439
10440 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10441 PyObject *resultobj;
10442 wxSpinCtrl *result;
10443 char *kwnames[] = {
10444 NULL
10445 };
10446
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 result = (wxSpinCtrl *)new wxSpinCtrl();
10451
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) SWIG_fail;
10454 }
10455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10456 return resultobj;
10457 fail:
10458 return NULL;
10459 }
10460
10461
10462 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10463 PyObject *resultobj;
10464 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10465 wxWindow *arg2 = (wxWindow *) 0 ;
10466 int arg3 = (int) -1 ;
10467 wxString const &arg4_defvalue = wxPyEmptyString ;
10468 wxString *arg4 = (wxString *) &arg4_defvalue ;
10469 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10470 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10471 wxSize const &arg6_defvalue = wxDefaultSize ;
10472 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10473 long arg7 = (long) wxSP_ARROW_KEYS ;
10474 int arg8 = (int) 0 ;
10475 int arg9 = (int) 100 ;
10476 int arg10 = (int) 0 ;
10477 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10478 wxString *arg11 = (wxString *) &arg11_defvalue ;
10479 bool result;
10480 bool temp4 = False ;
10481 wxPoint temp5 ;
10482 wxSize temp6 ;
10483 bool temp11 = False ;
10484 PyObject * obj0 = 0 ;
10485 PyObject * obj1 = 0 ;
10486 PyObject * obj2 = 0 ;
10487 PyObject * obj3 = 0 ;
10488 PyObject * obj4 = 0 ;
10489 PyObject * obj5 = 0 ;
10490 PyObject * obj6 = 0 ;
10491 PyObject * obj7 = 0 ;
10492 PyObject * obj8 = 0 ;
10493 PyObject * obj9 = 0 ;
10494 PyObject * obj10 = 0 ;
10495 char *kwnames[] = {
10496 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10497 };
10498
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10504 if (obj2) {
10505 arg3 = (int) SWIG_AsInt(obj2);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 if (obj3) {
10509 {
10510 arg4 = wxString_in_helper(obj3);
10511 if (arg4 == NULL) SWIG_fail;
10512 temp4 = True;
10513 }
10514 }
10515 if (obj4) {
10516 {
10517 arg5 = &temp5;
10518 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10519 }
10520 }
10521 if (obj5) {
10522 {
10523 arg6 = &temp6;
10524 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10525 }
10526 }
10527 if (obj6) {
10528 arg7 = (long) SWIG_AsLong(obj6);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 if (obj7) {
10532 arg8 = (int) SWIG_AsInt(obj7);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 if (obj8) {
10536 arg9 = (int) SWIG_AsInt(obj8);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 if (obj9) {
10540 arg10 = (int) SWIG_AsInt(obj9);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 if (obj10) {
10544 {
10545 arg11 = wxString_in_helper(obj10);
10546 if (arg11 == NULL) SWIG_fail;
10547 temp11 = True;
10548 }
10549 }
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 {
10558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10559 }
10560 {
10561 if (temp4)
10562 delete arg4;
10563 }
10564 {
10565 if (temp11)
10566 delete arg11;
10567 }
10568 return resultobj;
10569 fail:
10570 {
10571 if (temp4)
10572 delete arg4;
10573 }
10574 {
10575 if (temp11)
10576 delete arg11;
10577 }
10578 return NULL;
10579 }
10580
10581
10582 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10585 int result;
10586 PyObject * obj0 = 0 ;
10587 char *kwnames[] = {
10588 (char *) "self", NULL
10589 };
10590
10591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10597
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
10601 resultobj = SWIG_FromInt((int)result);
10602 return resultobj;
10603 fail:
10604 return NULL;
10605 }
10606
10607
10608 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj;
10610 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10611 int arg2 ;
10612 PyObject * obj0 = 0 ;
10613 PyObject * obj1 = 0 ;
10614 char *kwnames[] = {
10615 (char *) "self",(char *) "value", NULL
10616 };
10617
10618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10621 arg2 = (int) SWIG_AsInt(obj1);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 (arg1)->SetValue(arg2);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 Py_INCREF(Py_None); resultobj = Py_None;
10631 return resultobj;
10632 fail:
10633 return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10640 wxString *arg2 = 0 ;
10641 bool temp2 = False ;
10642 PyObject * obj0 = 0 ;
10643 PyObject * obj1 = 0 ;
10644 char *kwnames[] = {
10645 (char *) "self",(char *) "text", NULL
10646 };
10647
10648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10651 {
10652 arg2 = wxString_in_helper(obj1);
10653 if (arg2 == NULL) SWIG_fail;
10654 temp2 = True;
10655 }
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 (arg1)->SetValue((wxString const &)*arg2);
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 Py_INCREF(Py_None); resultobj = Py_None;
10664 {
10665 if (temp2)
10666 delete arg2;
10667 }
10668 return resultobj;
10669 fail:
10670 {
10671 if (temp2)
10672 delete arg2;
10673 }
10674 return NULL;
10675 }
10676
10677
10678 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10679 PyObject *resultobj;
10680 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10681 int arg2 ;
10682 int arg3 ;
10683 PyObject * obj0 = 0 ;
10684 PyObject * obj1 = 0 ;
10685 PyObject * obj2 = 0 ;
10686 char *kwnames[] = {
10687 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10688 };
10689
10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10693 arg2 = (int) SWIG_AsInt(obj1);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 arg3 = (int) SWIG_AsInt(obj2);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
10699 (arg1)->SetRange(arg2,arg3);
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 Py_INCREF(Py_None); resultobj = Py_None;
10705 return resultobj;
10706 fail:
10707 return NULL;
10708 }
10709
10710
10711 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10712 PyObject *resultobj;
10713 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10714 int result;
10715 PyObject * obj0 = 0 ;
10716 char *kwnames[] = {
10717 (char *) "self", NULL
10718 };
10719
10720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 resultobj = SWIG_FromInt((int)result);
10731 return resultobj;
10732 fail:
10733 return NULL;
10734 }
10735
10736
10737 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10738 PyObject *resultobj;
10739 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10740 int result;
10741 PyObject * obj0 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 resultobj = SWIG_FromInt((int)result);
10757 return resultobj;
10758 fail:
10759 return NULL;
10760 }
10761
10762
10763 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10764 PyObject *resultobj;
10765 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10766 long arg2 ;
10767 long arg3 ;
10768 PyObject * obj0 = 0 ;
10769 PyObject * obj1 = 0 ;
10770 PyObject * obj2 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "self",(char *) "from",(char *) "to", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10778 arg2 = (long) SWIG_AsLong(obj1);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 arg3 = (long) SWIG_AsLong(obj2);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 (arg1)->SetSelection(arg2,arg3);
10785
10786 wxPyEndAllowThreads(__tstate);
10787 if (PyErr_Occurred()) SWIG_fail;
10788 }
10789 Py_INCREF(Py_None); resultobj = Py_None;
10790 return resultobj;
10791 fail:
10792 return NULL;
10793 }
10794
10795
10796 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
10797 PyObject *obj;
10798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10799 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10800 Py_INCREF(obj);
10801 return Py_BuildValue((char *)"");
10802 }
10803 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10804 PyObject *resultobj;
10805 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10806 int arg2 = (int) 0 ;
10807 wxSpinEvent *result;
10808 PyObject * obj0 = 0 ;
10809 PyObject * obj1 = 0 ;
10810 char *kwnames[] = {
10811 (char *) "commandType",(char *) "winid", NULL
10812 };
10813
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10815 if (obj0) {
10816 arg1 = (wxEventType) SWIG_AsInt(obj0);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 if (obj1) {
10820 arg2 = (int) SWIG_AsInt(obj1);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
10825 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
10830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10831 return resultobj;
10832 fail:
10833 return NULL;
10834 }
10835
10836
10837 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10838 PyObject *resultobj;
10839 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10840 int result;
10841 PyObject * obj0 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "self", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10849 {
10850 PyThreadState* __tstate = wxPyBeginAllowThreads();
10851 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10852
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 resultobj = SWIG_FromInt((int)result);
10857 return resultobj;
10858 fail:
10859 return NULL;
10860 }
10861
10862
10863 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10864 PyObject *resultobj;
10865 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10866 int arg2 ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 char *kwnames[] = {
10870 (char *) "self",(char *) "pos", NULL
10871 };
10872
10873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10876 arg2 = (int) SWIG_AsInt(obj1);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 (arg1)->SetPosition(arg2);
10881
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 Py_INCREF(Py_None); resultobj = Py_None;
10886 return resultobj;
10887 fail:
10888 return NULL;
10889 }
10890
10891
10892 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
10893 PyObject *obj;
10894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10895 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10896 Py_INCREF(obj);
10897 return Py_BuildValue((char *)"");
10898 }
10899 static int _wrap_RadioBoxNameStr_set(PyObject *) {
10900 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10901 return 1;
10902 }
10903
10904
10905 static PyObject *_wrap_RadioBoxNameStr_get() {
10906 PyObject *pyobj;
10907
10908 {
10909 #if wxUSE_UNICODE
10910 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10911 #else
10912 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10913 #endif
10914 }
10915 return pyobj;
10916 }
10917
10918
10919 static int _wrap_RadioButtonNameStr_set(PyObject *) {
10920 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10921 return 1;
10922 }
10923
10924
10925 static PyObject *_wrap_RadioButtonNameStr_get() {
10926 PyObject *pyobj;
10927
10928 {
10929 #if wxUSE_UNICODE
10930 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10931 #else
10932 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10933 #endif
10934 }
10935 return pyobj;
10936 }
10937
10938
10939 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxWindow *arg1 = (wxWindow *) 0 ;
10942 int arg2 ;
10943 wxString *arg3 = 0 ;
10944 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10945 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10946 wxSize const &arg5_defvalue = wxDefaultSize ;
10947 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10948 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10949 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10950 int arg7 = (int) 0 ;
10951 long arg8 = (long) wxRA_HORIZONTAL ;
10952 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10953 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10954 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10955 wxString *arg10 = (wxString *) &arg10_defvalue ;
10956 wxRadioBox *result;
10957 bool temp3 = False ;
10958 wxPoint temp4 ;
10959 wxSize temp5 ;
10960 bool temp6 = False ;
10961 bool temp10 = False ;
10962 PyObject * obj0 = 0 ;
10963 PyObject * obj1 = 0 ;
10964 PyObject * obj2 = 0 ;
10965 PyObject * obj3 = 0 ;
10966 PyObject * obj4 = 0 ;
10967 PyObject * obj5 = 0 ;
10968 PyObject * obj6 = 0 ;
10969 PyObject * obj7 = 0 ;
10970 PyObject * obj8 = 0 ;
10971 PyObject * obj9 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10974 };
10975
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10979 arg2 = (int) SWIG_AsInt(obj1);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 {
10982 arg3 = wxString_in_helper(obj2);
10983 if (arg3 == NULL) SWIG_fail;
10984 temp3 = True;
10985 }
10986 if (obj3) {
10987 {
10988 arg4 = &temp4;
10989 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10990 }
10991 }
10992 if (obj4) {
10993 {
10994 arg5 = &temp5;
10995 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10996 }
10997 }
10998 if (obj5) {
10999 {
11000 if (! PySequence_Check(obj5)) {
11001 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11002 SWIG_fail;
11003 }
11004 arg6 = new wxArrayString;
11005 temp6 = True;
11006 int i, len=PySequence_Length(obj5);
11007 for (i=0; i<len; i++) {
11008 PyObject* item = PySequence_GetItem(obj5, i);
11009 #if wxUSE_UNICODE
11010 PyObject* str = PyObject_Unicode(item);
11011 #else
11012 PyObject* str = PyObject_Str(item);
11013 #endif
11014 arg6->Add(Py2wxString(str));
11015 Py_DECREF(item);
11016 Py_DECREF(str);
11017 }
11018 }
11019 }
11020 if (obj6) {
11021 arg7 = (int) SWIG_AsInt(obj6);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 if (obj7) {
11025 arg8 = (long) SWIG_AsLong(obj7);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 if (obj8) {
11029 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11030 SWIG_POINTER_EXCEPTION | 0)) == -1)
11031 SWIG_fail;
11032 if (arg9 == NULL) {
11033 PyErr_SetString(PyExc_TypeError,"null reference");
11034 SWIG_fail;
11035 }
11036 }
11037 if (obj9) {
11038 {
11039 arg10 = wxString_in_helper(obj9);
11040 if (arg10 == NULL) SWIG_fail;
11041 temp10 = True;
11042 }
11043 }
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 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);
11047
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11052 {
11053 if (temp3)
11054 delete arg3;
11055 }
11056 {
11057 if (temp6) delete arg6;
11058 }
11059 {
11060 if (temp10)
11061 delete arg10;
11062 }
11063 return resultobj;
11064 fail:
11065 {
11066 if (temp3)
11067 delete arg3;
11068 }
11069 {
11070 if (temp6) delete arg6;
11071 }
11072 {
11073 if (temp10)
11074 delete arg10;
11075 }
11076 return NULL;
11077 }
11078
11079
11080 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
11081 PyObject *resultobj;
11082 wxRadioBox *result;
11083 char *kwnames[] = {
11084 NULL
11085 };
11086
11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11088 {
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 result = (wxRadioBox *)new wxRadioBox();
11091
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11096 return resultobj;
11097 fail:
11098 return NULL;
11099 }
11100
11101
11102 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11103 PyObject *resultobj;
11104 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11105 wxWindow *arg2 = (wxWindow *) 0 ;
11106 int arg3 ;
11107 wxString *arg4 = 0 ;
11108 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11109 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11110 wxSize const &arg6_defvalue = wxDefaultSize ;
11111 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11112 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11113 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11114 int arg8 = (int) 0 ;
11115 long arg9 = (long) wxRA_HORIZONTAL ;
11116 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11117 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11118 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11119 wxString *arg11 = (wxString *) &arg11_defvalue ;
11120 bool result;
11121 bool temp4 = False ;
11122 wxPoint temp5 ;
11123 wxSize temp6 ;
11124 bool temp7 = False ;
11125 bool temp11 = False ;
11126 PyObject * obj0 = 0 ;
11127 PyObject * obj1 = 0 ;
11128 PyObject * obj2 = 0 ;
11129 PyObject * obj3 = 0 ;
11130 PyObject * obj4 = 0 ;
11131 PyObject * obj5 = 0 ;
11132 PyObject * obj6 = 0 ;
11133 PyObject * obj7 = 0 ;
11134 PyObject * obj8 = 0 ;
11135 PyObject * obj9 = 0 ;
11136 PyObject * obj10 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11146 arg3 = (int) SWIG_AsInt(obj2);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 {
11149 arg4 = wxString_in_helper(obj3);
11150 if (arg4 == NULL) SWIG_fail;
11151 temp4 = True;
11152 }
11153 if (obj4) {
11154 {
11155 arg5 = &temp5;
11156 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11157 }
11158 }
11159 if (obj5) {
11160 {
11161 arg6 = &temp6;
11162 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11163 }
11164 }
11165 if (obj6) {
11166 {
11167 if (! PySequence_Check(obj6)) {
11168 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11169 SWIG_fail;
11170 }
11171 arg7 = new wxArrayString;
11172 temp7 = True;
11173 int i, len=PySequence_Length(obj6);
11174 for (i=0; i<len; i++) {
11175 PyObject* item = PySequence_GetItem(obj6, i);
11176 #if wxUSE_UNICODE
11177 PyObject* str = PyObject_Unicode(item);
11178 #else
11179 PyObject* str = PyObject_Str(item);
11180 #endif
11181 arg7->Add(Py2wxString(str));
11182 Py_DECREF(item);
11183 Py_DECREF(str);
11184 }
11185 }
11186 }
11187 if (obj7) {
11188 arg8 = (int) SWIG_AsInt(obj7);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
11191 if (obj8) {
11192 arg9 = (long) SWIG_AsLong(obj8);
11193 if (PyErr_Occurred()) SWIG_fail;
11194 }
11195 if (obj9) {
11196 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11197 SWIG_POINTER_EXCEPTION | 0)) == -1)
11198 SWIG_fail;
11199 if (arg10 == NULL) {
11200 PyErr_SetString(PyExc_TypeError,"null reference");
11201 SWIG_fail;
11202 }
11203 }
11204 if (obj10) {
11205 {
11206 arg11 = wxString_in_helper(obj10);
11207 if (arg11 == NULL) SWIG_fail;
11208 temp11 = True;
11209 }
11210 }
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 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);
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 {
11219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11220 }
11221 {
11222 if (temp4)
11223 delete arg4;
11224 }
11225 {
11226 if (temp7) delete arg7;
11227 }
11228 {
11229 if (temp11)
11230 delete arg11;
11231 }
11232 return resultobj;
11233 fail:
11234 {
11235 if (temp4)
11236 delete arg4;
11237 }
11238 {
11239 if (temp7) delete arg7;
11240 }
11241 {
11242 if (temp11)
11243 delete arg11;
11244 }
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11252 int arg2 ;
11253 PyObject * obj0 = 0 ;
11254 PyObject * obj1 = 0 ;
11255 char *kwnames[] = {
11256 (char *) "self",(char *) "n", NULL
11257 };
11258
11259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11262 arg2 = (int) SWIG_AsInt(obj1);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 (arg1)->SetSelection(arg2);
11267
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 Py_INCREF(Py_None); resultobj = Py_None;
11272 return resultobj;
11273 fail:
11274 return NULL;
11275 }
11276
11277
11278 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11279 PyObject *resultobj;
11280 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11281 int result;
11282 PyObject * obj0 = 0 ;
11283 char *kwnames[] = {
11284 (char *) "self", NULL
11285 };
11286
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11290 {
11291 PyThreadState* __tstate = wxPyBeginAllowThreads();
11292 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11293
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 resultobj = SWIG_FromInt((int)result);
11298 return resultobj;
11299 fail:
11300 return NULL;
11301 }
11302
11303
11304 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11305 PyObject *resultobj;
11306 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11307 wxString result;
11308 PyObject * obj0 = 0 ;
11309 char *kwnames[] = {
11310 (char *) "self", NULL
11311 };
11312
11313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11319
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 {
11324 #if wxUSE_UNICODE
11325 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11326 #else
11327 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11328 #endif
11329 }
11330 return resultobj;
11331 fail:
11332 return NULL;
11333 }
11334
11335
11336 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj;
11338 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11339 wxString *arg2 = 0 ;
11340 bool result;
11341 bool temp2 = False ;
11342 PyObject * obj0 = 0 ;
11343 PyObject * obj1 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self",(char *) "s", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11351 {
11352 arg2 = wxString_in_helper(obj1);
11353 if (arg2 == NULL) SWIG_fail;
11354 temp2 = True;
11355 }
11356 {
11357 PyThreadState* __tstate = wxPyBeginAllowThreads();
11358 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11359
11360 wxPyEndAllowThreads(__tstate);
11361 if (PyErr_Occurred()) SWIG_fail;
11362 }
11363 {
11364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11365 }
11366 {
11367 if (temp2)
11368 delete arg2;
11369 }
11370 return resultobj;
11371 fail:
11372 {
11373 if (temp2)
11374 delete arg2;
11375 }
11376 return NULL;
11377 }
11378
11379
11380 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
11381 PyObject *resultobj;
11382 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11383 int result;
11384 PyObject * obj0 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11392 {
11393 PyThreadState* __tstate = wxPyBeginAllowThreads();
11394 result = (int)((wxRadioBox const *)arg1)->GetCount();
11395
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 resultobj = SWIG_FromInt((int)result);
11400 return resultobj;
11401 fail:
11402 return NULL;
11403 }
11404
11405
11406 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj;
11408 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11409 wxString *arg2 = 0 ;
11410 int result;
11411 bool temp2 = False ;
11412 PyObject * obj0 = 0 ;
11413 PyObject * obj1 = 0 ;
11414 char *kwnames[] = {
11415 (char *) "self",(char *) "s", NULL
11416 };
11417
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11421 {
11422 arg2 = wxString_in_helper(obj1);
11423 if (arg2 == NULL) SWIG_fail;
11424 temp2 = True;
11425 }
11426 {
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11429
11430 wxPyEndAllowThreads(__tstate);
11431 if (PyErr_Occurred()) SWIG_fail;
11432 }
11433 resultobj = SWIG_FromInt((int)result);
11434 {
11435 if (temp2)
11436 delete arg2;
11437 }
11438 return resultobj;
11439 fail:
11440 {
11441 if (temp2)
11442 delete arg2;
11443 }
11444 return NULL;
11445 }
11446
11447
11448 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11449 PyObject *resultobj;
11450 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11451 int arg2 ;
11452 wxString result;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 char *kwnames[] = {
11456 (char *) "self",(char *) "n", NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11462 arg2 = (int) SWIG_AsInt(obj1);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 {
11472 #if wxUSE_UNICODE
11473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11474 #else
11475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11476 #endif
11477 }
11478 return resultobj;
11479 fail:
11480 return NULL;
11481 }
11482
11483
11484 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
11485 PyObject *resultobj;
11486 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11487 int arg2 ;
11488 wxString *arg3 = 0 ;
11489 bool temp3 = False ;
11490 PyObject * obj0 = 0 ;
11491 PyObject * obj1 = 0 ;
11492 PyObject * obj2 = 0 ;
11493 char *kwnames[] = {
11494 (char *) "self",(char *) "n",(char *) "label", NULL
11495 };
11496
11497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11500 arg2 = (int) SWIG_AsInt(obj1);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 {
11503 arg3 = wxString_in_helper(obj2);
11504 if (arg3 == NULL) SWIG_fail;
11505 temp3 = True;
11506 }
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 (arg1)->SetString(arg2,(wxString const &)*arg3);
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 Py_INCREF(Py_None); resultobj = Py_None;
11515 {
11516 if (temp3)
11517 delete arg3;
11518 }
11519 return resultobj;
11520 fail:
11521 {
11522 if (temp3)
11523 delete arg3;
11524 }
11525 return NULL;
11526 }
11527
11528
11529 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
11530 PyObject *resultobj;
11531 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11532 int arg2 ;
11533 bool arg3 = (bool) True ;
11534 PyObject * obj0 = 0 ;
11535 PyObject * obj1 = 0 ;
11536 PyObject * obj2 = 0 ;
11537 char *kwnames[] = {
11538 (char *) "self",(char *) "n",(char *) "enable", NULL
11539 };
11540
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11544 arg2 = (int) SWIG_AsInt(obj1);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 if (obj2) {
11547 arg3 = (bool) SWIG_AsBool(obj2);
11548 if (PyErr_Occurred()) SWIG_fail;
11549 }
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 (arg1)->Enable(arg2,arg3);
11553
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 Py_INCREF(Py_None); resultobj = Py_None;
11558 return resultobj;
11559 fail:
11560 return NULL;
11561 }
11562
11563
11564 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
11565 PyObject *resultobj;
11566 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11567 int arg2 ;
11568 bool arg3 = (bool) True ;
11569 PyObject * obj0 = 0 ;
11570 PyObject * obj1 = 0 ;
11571 PyObject * obj2 = 0 ;
11572 char *kwnames[] = {
11573 (char *) "self",(char *) "n",(char *) "show", NULL
11574 };
11575
11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11579 arg2 = (int) SWIG_AsInt(obj1);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 if (obj2) {
11582 arg3 = (bool) SWIG_AsBool(obj2);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 (arg1)->Show(arg2,arg3);
11588
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 Py_INCREF(Py_None); resultobj = Py_None;
11593 return resultobj;
11594 fail:
11595 return NULL;
11596 }
11597
11598
11599 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj;
11601 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11602 int result;
11603 PyObject * obj0 = 0 ;
11604 char *kwnames[] = {
11605 (char *) "self", NULL
11606 };
11607
11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11614
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 resultobj = SWIG_FromInt((int)result);
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj;
11627 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11628 int result;
11629 PyObject * obj0 = 0 ;
11630 char *kwnames[] = {
11631 (char *) "self", NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 resultobj = SWIG_FromInt((int)result);
11645 return resultobj;
11646 fail:
11647 return NULL;
11648 }
11649
11650
11651 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11654 int arg2 ;
11655 int arg3 ;
11656 long arg4 ;
11657 int result;
11658 PyObject * obj0 = 0 ;
11659 PyObject * obj1 = 0 ;
11660 PyObject * obj2 = 0 ;
11661 PyObject * obj3 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11664 };
11665
11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11669 arg2 = (int) SWIG_AsInt(obj1);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 arg3 = (wxDirection) SWIG_AsInt(obj2);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 arg4 = (long) SWIG_AsLong(obj3);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 resultobj = SWIG_FromInt((int)result);
11683 return resultobj;
11684 fail:
11685 return NULL;
11686 }
11687
11688
11689 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
11690 PyObject *obj;
11691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11692 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11693 Py_INCREF(obj);
11694 return Py_BuildValue((char *)"");
11695 }
11696 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
11697 PyObject *resultobj;
11698 wxWindow *arg1 = (wxWindow *) 0 ;
11699 int arg2 ;
11700 wxString *arg3 = 0 ;
11701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11703 wxSize const &arg5_defvalue = wxDefaultSize ;
11704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11705 long arg6 = (long) 0 ;
11706 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11707 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11708 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11709 wxString *arg8 = (wxString *) &arg8_defvalue ;
11710 wxRadioButton *result;
11711 bool temp3 = False ;
11712 wxPoint temp4 ;
11713 wxSize temp5 ;
11714 bool temp8 = False ;
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
11717 PyObject * obj2 = 0 ;
11718 PyObject * obj3 = 0 ;
11719 PyObject * obj4 = 0 ;
11720 PyObject * obj5 = 0 ;
11721 PyObject * obj6 = 0 ;
11722 PyObject * obj7 = 0 ;
11723 char *kwnames[] = {
11724 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11725 };
11726
11727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11730 arg2 = (int) SWIG_AsInt(obj1);
11731 if (PyErr_Occurred()) SWIG_fail;
11732 {
11733 arg3 = wxString_in_helper(obj2);
11734 if (arg3 == NULL) SWIG_fail;
11735 temp3 = True;
11736 }
11737 if (obj3) {
11738 {
11739 arg4 = &temp4;
11740 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11741 }
11742 }
11743 if (obj4) {
11744 {
11745 arg5 = &temp5;
11746 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11747 }
11748 }
11749 if (obj5) {
11750 arg6 = (long) SWIG_AsLong(obj5);
11751 if (PyErr_Occurred()) SWIG_fail;
11752 }
11753 if (obj6) {
11754 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11755 SWIG_POINTER_EXCEPTION | 0)) == -1)
11756 SWIG_fail;
11757 if (arg7 == NULL) {
11758 PyErr_SetString(PyExc_TypeError,"null reference");
11759 SWIG_fail;
11760 }
11761 }
11762 if (obj7) {
11763 {
11764 arg8 = wxString_in_helper(obj7);
11765 if (arg8 == NULL) SWIG_fail;
11766 temp8 = True;
11767 }
11768 }
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11777 {
11778 if (temp3)
11779 delete arg3;
11780 }
11781 {
11782 if (temp8)
11783 delete arg8;
11784 }
11785 return resultobj;
11786 fail:
11787 {
11788 if (temp3)
11789 delete arg3;
11790 }
11791 {
11792 if (temp8)
11793 delete arg8;
11794 }
11795 return NULL;
11796 }
11797
11798
11799 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
11800 PyObject *resultobj;
11801 wxRadioButton *result;
11802 char *kwnames[] = {
11803 NULL
11804 };
11805
11806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (wxRadioButton *)new wxRadioButton();
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11815 return resultobj;
11816 fail:
11817 return NULL;
11818 }
11819
11820
11821 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj;
11823 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11824 wxWindow *arg2 = (wxWindow *) 0 ;
11825 int arg3 ;
11826 wxString *arg4 = 0 ;
11827 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11828 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11829 wxSize const &arg6_defvalue = wxDefaultSize ;
11830 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11831 long arg7 = (long) 0 ;
11832 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11833 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11834 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11835 wxString *arg9 = (wxString *) &arg9_defvalue ;
11836 bool result;
11837 bool temp4 = False ;
11838 wxPoint temp5 ;
11839 wxSize temp6 ;
11840 bool temp9 = False ;
11841 PyObject * obj0 = 0 ;
11842 PyObject * obj1 = 0 ;
11843 PyObject * obj2 = 0 ;
11844 PyObject * obj3 = 0 ;
11845 PyObject * obj4 = 0 ;
11846 PyObject * obj5 = 0 ;
11847 PyObject * obj6 = 0 ;
11848 PyObject * obj7 = 0 ;
11849 PyObject * obj8 = 0 ;
11850 char *kwnames[] = {
11851 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11852 };
11853
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11857 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11859 arg3 = (int) SWIG_AsInt(obj2);
11860 if (PyErr_Occurred()) SWIG_fail;
11861 {
11862 arg4 = wxString_in_helper(obj3);
11863 if (arg4 == NULL) SWIG_fail;
11864 temp4 = True;
11865 }
11866 if (obj4) {
11867 {
11868 arg5 = &temp5;
11869 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11870 }
11871 }
11872 if (obj5) {
11873 {
11874 arg6 = &temp6;
11875 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11876 }
11877 }
11878 if (obj6) {
11879 arg7 = (long) SWIG_AsLong(obj6);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 if (obj7) {
11883 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11884 SWIG_POINTER_EXCEPTION | 0)) == -1)
11885 SWIG_fail;
11886 if (arg8 == NULL) {
11887 PyErr_SetString(PyExc_TypeError,"null reference");
11888 SWIG_fail;
11889 }
11890 }
11891 if (obj8) {
11892 {
11893 arg9 = wxString_in_helper(obj8);
11894 if (arg9 == NULL) SWIG_fail;
11895 temp9 = True;
11896 }
11897 }
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 {
11906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11907 }
11908 {
11909 if (temp4)
11910 delete arg4;
11911 }
11912 {
11913 if (temp9)
11914 delete arg9;
11915 }
11916 return resultobj;
11917 fail:
11918 {
11919 if (temp4)
11920 delete arg4;
11921 }
11922 {
11923 if (temp9)
11924 delete arg9;
11925 }
11926 return NULL;
11927 }
11928
11929
11930 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj;
11932 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11933 bool result;
11934 PyObject * obj0 = 0 ;
11935 char *kwnames[] = {
11936 (char *) "self", NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11942 {
11943 PyThreadState* __tstate = wxPyBeginAllowThreads();
11944 result = (bool)(arg1)->GetValue();
11945
11946 wxPyEndAllowThreads(__tstate);
11947 if (PyErr_Occurred()) SWIG_fail;
11948 }
11949 {
11950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11951 }
11952 return resultobj;
11953 fail:
11954 return NULL;
11955 }
11956
11957
11958 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11959 PyObject *resultobj;
11960 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11961 bool arg2 ;
11962 PyObject * obj0 = 0 ;
11963 PyObject * obj1 = 0 ;
11964 char *kwnames[] = {
11965 (char *) "self",(char *) "value", NULL
11966 };
11967
11968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11971 arg2 = (bool) SWIG_AsBool(obj1);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 (arg1)->SetValue(arg2);
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 Py_INCREF(Py_None); resultobj = Py_None;
11981 return resultobj;
11982 fail:
11983 return NULL;
11984 }
11985
11986
11987 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
11988 PyObject *obj;
11989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11990 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11991 Py_INCREF(obj);
11992 return Py_BuildValue((char *)"");
11993 }
11994 static int _wrap_SliderNameStr_set(PyObject *) {
11995 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11996 return 1;
11997 }
11998
11999
12000 static PyObject *_wrap_SliderNameStr_get() {
12001 PyObject *pyobj;
12002
12003 {
12004 #if wxUSE_UNICODE
12005 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12006 #else
12007 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12008 #endif
12009 }
12010 return pyobj;
12011 }
12012
12013
12014 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
12015 PyObject *resultobj;
12016 wxWindow *arg1 = (wxWindow *) 0 ;
12017 int arg2 ;
12018 int arg3 ;
12019 int arg4 ;
12020 int arg5 ;
12021 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12022 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12023 wxSize const &arg7_defvalue = wxDefaultSize ;
12024 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12025 long arg8 = (long) wxSL_HORIZONTAL ;
12026 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12027 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12028 wxString const &arg10_defvalue = wxPySliderNameStr ;
12029 wxString *arg10 = (wxString *) &arg10_defvalue ;
12030 wxSlider *result;
12031 wxPoint temp6 ;
12032 wxSize temp7 ;
12033 bool temp10 = False ;
12034 PyObject * obj0 = 0 ;
12035 PyObject * obj1 = 0 ;
12036 PyObject * obj2 = 0 ;
12037 PyObject * obj3 = 0 ;
12038 PyObject * obj4 = 0 ;
12039 PyObject * obj5 = 0 ;
12040 PyObject * obj6 = 0 ;
12041 PyObject * obj7 = 0 ;
12042 PyObject * obj8 = 0 ;
12043 PyObject * obj9 = 0 ;
12044 char *kwnames[] = {
12045 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12046 };
12047
12048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12051 arg2 = (int) SWIG_AsInt(obj1);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 arg3 = (int) SWIG_AsInt(obj2);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 arg4 = (int) SWIG_AsInt(obj3);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 arg5 = (int) SWIG_AsInt(obj4);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 if (obj5) {
12060 {
12061 arg6 = &temp6;
12062 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12063 }
12064 }
12065 if (obj6) {
12066 {
12067 arg7 = &temp7;
12068 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12069 }
12070 }
12071 if (obj7) {
12072 arg8 = (long) SWIG_AsLong(obj7);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 }
12075 if (obj8) {
12076 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12077 SWIG_POINTER_EXCEPTION | 0)) == -1)
12078 SWIG_fail;
12079 if (arg9 == NULL) {
12080 PyErr_SetString(PyExc_TypeError,"null reference");
12081 SWIG_fail;
12082 }
12083 }
12084 if (obj9) {
12085 {
12086 arg10 = wxString_in_helper(obj9);
12087 if (arg10 == NULL) SWIG_fail;
12088 temp10 = True;
12089 }
12090 }
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12094
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12099 {
12100 if (temp10)
12101 delete arg10;
12102 }
12103 return resultobj;
12104 fail:
12105 {
12106 if (temp10)
12107 delete arg10;
12108 }
12109 return NULL;
12110 }
12111
12112
12113 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
12114 PyObject *resultobj;
12115 wxSlider *result;
12116 char *kwnames[] = {
12117 NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12121 {
12122 PyThreadState* __tstate = wxPyBeginAllowThreads();
12123 result = (wxSlider *)new wxSlider();
12124
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12129 return resultobj;
12130 fail:
12131 return NULL;
12132 }
12133
12134
12135 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12136 PyObject *resultobj;
12137 wxSlider *arg1 = (wxSlider *) 0 ;
12138 wxWindow *arg2 = (wxWindow *) 0 ;
12139 int arg3 ;
12140 int arg4 ;
12141 int arg5 ;
12142 int arg6 ;
12143 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12144 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12145 wxSize const &arg8_defvalue = wxDefaultSize ;
12146 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12147 long arg9 = (long) wxSL_HORIZONTAL ;
12148 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12149 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12150 wxString const &arg11_defvalue = wxPySliderNameStr ;
12151 wxString *arg11 = (wxString *) &arg11_defvalue ;
12152 bool result;
12153 wxPoint temp7 ;
12154 wxSize temp8 ;
12155 bool temp11 = False ;
12156 PyObject * obj0 = 0 ;
12157 PyObject * obj1 = 0 ;
12158 PyObject * obj2 = 0 ;
12159 PyObject * obj3 = 0 ;
12160 PyObject * obj4 = 0 ;
12161 PyObject * obj5 = 0 ;
12162 PyObject * obj6 = 0 ;
12163 PyObject * obj7 = 0 ;
12164 PyObject * obj8 = 0 ;
12165 PyObject * obj9 = 0 ;
12166 PyObject * obj10 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12169 };
12170
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12176 arg3 = (int) SWIG_AsInt(obj2);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 arg4 = (int) SWIG_AsInt(obj3);
12179 if (PyErr_Occurred()) SWIG_fail;
12180 arg5 = (int) SWIG_AsInt(obj4);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 arg6 = (int) SWIG_AsInt(obj5);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 if (obj6) {
12185 {
12186 arg7 = &temp7;
12187 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12188 }
12189 }
12190 if (obj7) {
12191 {
12192 arg8 = &temp8;
12193 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12194 }
12195 }
12196 if (obj8) {
12197 arg9 = (long) SWIG_AsLong(obj8);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 if (obj9) {
12201 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12202 SWIG_POINTER_EXCEPTION | 0)) == -1)
12203 SWIG_fail;
12204 if (arg10 == NULL) {
12205 PyErr_SetString(PyExc_TypeError,"null reference");
12206 SWIG_fail;
12207 }
12208 }
12209 if (obj10) {
12210 {
12211 arg11 = wxString_in_helper(obj10);
12212 if (arg11 == NULL) SWIG_fail;
12213 temp11 = True;
12214 }
12215 }
12216 {
12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
12218 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12219
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 {
12224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12225 }
12226 {
12227 if (temp11)
12228 delete arg11;
12229 }
12230 return resultobj;
12231 fail:
12232 {
12233 if (temp11)
12234 delete arg11;
12235 }
12236 return NULL;
12237 }
12238
12239
12240 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12241 PyObject *resultobj;
12242 wxSlider *arg1 = (wxSlider *) 0 ;
12243 int result;
12244 PyObject * obj0 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "self", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 result = (int)((wxSlider const *)arg1)->GetValue();
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 resultobj = SWIG_FromInt((int)result);
12260 return resultobj;
12261 fail:
12262 return NULL;
12263 }
12264
12265
12266 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxSlider *arg1 = (wxSlider *) 0 ;
12269 int arg2 ;
12270 PyObject * obj0 = 0 ;
12271 PyObject * obj1 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "self",(char *) "value", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12279 arg2 = (int) SWIG_AsInt(obj1);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 {
12282 PyThreadState* __tstate = wxPyBeginAllowThreads();
12283 (arg1)->SetValue(arg2);
12284
12285 wxPyEndAllowThreads(__tstate);
12286 if (PyErr_Occurred()) SWIG_fail;
12287 }
12288 Py_INCREF(Py_None); resultobj = Py_None;
12289 return resultobj;
12290 fail:
12291 return NULL;
12292 }
12293
12294
12295 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12296 PyObject *resultobj;
12297 wxSlider *arg1 = (wxSlider *) 0 ;
12298 int arg2 ;
12299 int arg3 ;
12300 PyObject * obj0 = 0 ;
12301 PyObject * obj1 = 0 ;
12302 PyObject * obj2 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12310 arg2 = (int) SWIG_AsInt(obj1);
12311 if (PyErr_Occurred()) SWIG_fail;
12312 arg3 = (int) SWIG_AsInt(obj2);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 (arg1)->SetRange(arg2,arg3);
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 Py_INCREF(Py_None); resultobj = Py_None;
12322 return resultobj;
12323 fail:
12324 return NULL;
12325 }
12326
12327
12328 static PyObject *_wrap_Slider_GetMin(PyObject *, 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_GetMin",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)->GetMin();
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_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj;
12356 wxSlider *arg1 = (wxSlider *) 0 ;
12357 int result;
12358 PyObject * obj0 = 0 ;
12359 char *kwnames[] = {
12360 (char *) "self", NULL
12361 };
12362
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 result = (int)((wxSlider const *)arg1)->GetMax();
12369
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 resultobj = SWIG_FromInt((int)result);
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxSlider *arg1 = (wxSlider *) 0 ;
12383 int arg2 ;
12384 PyObject * obj0 = 0 ;
12385 PyObject * obj1 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self",(char *) "minValue", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12393 arg2 = (int) SWIG_AsInt(obj1);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 (arg1)->SetMin(arg2);
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 Py_INCREF(Py_None); resultobj = Py_None;
12403 return resultobj;
12404 fail:
12405 return NULL;
12406 }
12407
12408
12409 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj;
12411 wxSlider *arg1 = (wxSlider *) 0 ;
12412 int arg2 ;
12413 PyObject * obj0 = 0 ;
12414 PyObject * obj1 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "self",(char *) "maxValue", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12422 arg2 = (int) SWIG_AsInt(obj1);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 (arg1)->SetMax(arg2);
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 Py_INCREF(Py_None); resultobj = Py_None;
12432 return resultobj;
12433 fail:
12434 return NULL;
12435 }
12436
12437
12438 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxSlider *arg1 = (wxSlider *) 0 ;
12441 int arg2 ;
12442 PyObject * obj0 = 0 ;
12443 PyObject * obj1 = 0 ;
12444 char *kwnames[] = {
12445 (char *) "self",(char *) "lineSize", NULL
12446 };
12447
12448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12451 arg2 = (int) SWIG_AsInt(obj1);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 {
12454 PyThreadState* __tstate = wxPyBeginAllowThreads();
12455 (arg1)->SetLineSize(arg2);
12456
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 Py_INCREF(Py_None); resultobj = Py_None;
12461 return resultobj;
12462 fail:
12463 return NULL;
12464 }
12465
12466
12467 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12468 PyObject *resultobj;
12469 wxSlider *arg1 = (wxSlider *) 0 ;
12470 int arg2 ;
12471 PyObject * obj0 = 0 ;
12472 PyObject * obj1 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self",(char *) "pageSize", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12480 arg2 = (int) SWIG_AsInt(obj1);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 (arg1)->SetPageSize(arg2);
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 Py_INCREF(Py_None); resultobj = Py_None;
12490 return resultobj;
12491 fail:
12492 return NULL;
12493 }
12494
12495
12496 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj;
12498 wxSlider *arg1 = (wxSlider *) 0 ;
12499 int result;
12500 PyObject * obj0 = 0 ;
12501 char *kwnames[] = {
12502 (char *) "self", NULL
12503 };
12504
12505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 result = (int)((wxSlider const *)arg1)->GetLineSize();
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 resultobj = SWIG_FromInt((int)result);
12516 return resultobj;
12517 fail:
12518 return NULL;
12519 }
12520
12521
12522 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxSlider *arg1 = (wxSlider *) 0 ;
12525 int result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 result = (int)((wxSlider const *)arg1)->GetPageSize();
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 resultobj = SWIG_FromInt((int)result);
12542 return resultobj;
12543 fail:
12544 return NULL;
12545 }
12546
12547
12548 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
12549 PyObject *resultobj;
12550 wxSlider *arg1 = (wxSlider *) 0 ;
12551 int arg2 ;
12552 PyObject * obj0 = 0 ;
12553 PyObject * obj1 = 0 ;
12554 char *kwnames[] = {
12555 (char *) "self",(char *) "lenPixels", NULL
12556 };
12557
12558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12561 arg2 = (int) SWIG_AsInt(obj1);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 (arg1)->SetThumbLength(arg2);
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
12570 Py_INCREF(Py_None); resultobj = Py_None;
12571 return resultobj;
12572 fail:
12573 return NULL;
12574 }
12575
12576
12577 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
12578 PyObject *resultobj;
12579 wxSlider *arg1 = (wxSlider *) 0 ;
12580 int result;
12581 PyObject * obj0 = 0 ;
12582 char *kwnames[] = {
12583 (char *) "self", NULL
12584 };
12585
12586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12589 {
12590 PyThreadState* __tstate = wxPyBeginAllowThreads();
12591 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12592
12593 wxPyEndAllowThreads(__tstate);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 }
12596 resultobj = SWIG_FromInt((int)result);
12597 return resultobj;
12598 fail:
12599 return NULL;
12600 }
12601
12602
12603 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
12604 PyObject *resultobj;
12605 wxSlider *arg1 = (wxSlider *) 0 ;
12606 int arg2 ;
12607 int arg3 = (int) 1 ;
12608 PyObject * obj0 = 0 ;
12609 PyObject * obj1 = 0 ;
12610 PyObject * obj2 = 0 ;
12611 char *kwnames[] = {
12612 (char *) "self",(char *) "n",(char *) "pos", NULL
12613 };
12614
12615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12618 arg2 = (int) SWIG_AsInt(obj1);
12619 if (PyErr_Occurred()) SWIG_fail;
12620 if (obj2) {
12621 arg3 = (int) SWIG_AsInt(obj2);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 (arg1)->SetTickFreq(arg2,arg3);
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 Py_INCREF(Py_None); resultobj = Py_None;
12632 return resultobj;
12633 fail:
12634 return NULL;
12635 }
12636
12637
12638 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
12639 PyObject *resultobj;
12640 wxSlider *arg1 = (wxSlider *) 0 ;
12641 int result;
12642 PyObject * obj0 = 0 ;
12643 char *kwnames[] = {
12644 (char *) "self", NULL
12645 };
12646
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12650 {
12651 PyThreadState* __tstate = wxPyBeginAllowThreads();
12652 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12653
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 resultobj = SWIG_FromInt((int)result);
12658 return resultobj;
12659 fail:
12660 return NULL;
12661 }
12662
12663
12664 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
12665 PyObject *resultobj;
12666 wxSlider *arg1 = (wxSlider *) 0 ;
12667 PyObject * obj0 = 0 ;
12668 char *kwnames[] = {
12669 (char *) "self", NULL
12670 };
12671
12672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 (arg1)->ClearTicks();
12678
12679 wxPyEndAllowThreads(__tstate);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 }
12682 Py_INCREF(Py_None); resultobj = Py_None;
12683 return resultobj;
12684 fail:
12685 return NULL;
12686 }
12687
12688
12689 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
12690 PyObject *resultobj;
12691 wxSlider *arg1 = (wxSlider *) 0 ;
12692 int arg2 ;
12693 PyObject * obj0 = 0 ;
12694 PyObject * obj1 = 0 ;
12695 char *kwnames[] = {
12696 (char *) "self",(char *) "tickPos", NULL
12697 };
12698
12699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12702 arg2 = (int) SWIG_AsInt(obj1);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 (arg1)->SetTick(arg2);
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
12711 Py_INCREF(Py_None); resultobj = Py_None;
12712 return resultobj;
12713 fail:
12714 return NULL;
12715 }
12716
12717
12718 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
12719 PyObject *resultobj;
12720 wxSlider *arg1 = (wxSlider *) 0 ;
12721 PyObject * obj0 = 0 ;
12722 char *kwnames[] = {
12723 (char *) "self", NULL
12724 };
12725
12726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12729 {
12730 PyThreadState* __tstate = wxPyBeginAllowThreads();
12731 (arg1)->ClearSel();
12732
12733 wxPyEndAllowThreads(__tstate);
12734 if (PyErr_Occurred()) SWIG_fail;
12735 }
12736 Py_INCREF(Py_None); resultobj = Py_None;
12737 return resultobj;
12738 fail:
12739 return NULL;
12740 }
12741
12742
12743 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
12744 PyObject *resultobj;
12745 wxSlider *arg1 = (wxSlider *) 0 ;
12746 int result;
12747 PyObject * obj0 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 resultobj = SWIG_FromInt((int)result);
12763 return resultobj;
12764 fail:
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxSlider *arg1 = (wxSlider *) 0 ;
12772 int result;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 result = (int)((wxSlider const *)arg1)->GetSelStart();
12784
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 resultobj = SWIG_FromInt((int)result);
12789 return resultobj;
12790 fail:
12791 return NULL;
12792 }
12793
12794
12795 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj;
12797 wxSlider *arg1 = (wxSlider *) 0 ;
12798 int arg2 ;
12799 int arg3 ;
12800 PyObject * obj0 = 0 ;
12801 PyObject * obj1 = 0 ;
12802 PyObject * obj2 = 0 ;
12803 char *kwnames[] = {
12804 (char *) "self",(char *) "min",(char *) "max", NULL
12805 };
12806
12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12810 arg2 = (int) SWIG_AsInt(obj1);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 arg3 = (int) SWIG_AsInt(obj2);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 {
12815 PyThreadState* __tstate = wxPyBeginAllowThreads();
12816 (arg1)->SetSelection(arg2,arg3);
12817
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 Py_INCREF(Py_None); resultobj = Py_None;
12822 return resultobj;
12823 fail:
12824 return NULL;
12825 }
12826
12827
12828 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
12829 PyObject *obj;
12830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12831 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12832 Py_INCREF(obj);
12833 return Py_BuildValue((char *)"");
12834 }
12835 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
12836 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12837 return 1;
12838 }
12839
12840
12841 static PyObject *_wrap_ToggleButtonNameStr_get() {
12842 PyObject *pyobj;
12843
12844 {
12845 #if wxUSE_UNICODE
12846 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12847 #else
12848 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12849 #endif
12850 }
12851 return pyobj;
12852 }
12853
12854
12855 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj;
12857 wxWindow *arg1 = (wxWindow *) 0 ;
12858 int arg2 ;
12859 wxString *arg3 = 0 ;
12860 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12861 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12862 wxSize const &arg5_defvalue = wxDefaultSize ;
12863 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12864 long arg6 = (long) 0 ;
12865 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12866 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12867 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12868 wxString *arg8 = (wxString *) &arg8_defvalue ;
12869 wxToggleButton *result;
12870 bool temp3 = False ;
12871 wxPoint temp4 ;
12872 wxSize temp5 ;
12873 bool temp8 = False ;
12874 PyObject * obj0 = 0 ;
12875 PyObject * obj1 = 0 ;
12876 PyObject * obj2 = 0 ;
12877 PyObject * obj3 = 0 ;
12878 PyObject * obj4 = 0 ;
12879 PyObject * obj5 = 0 ;
12880 PyObject * obj6 = 0 ;
12881 PyObject * obj7 = 0 ;
12882 char *kwnames[] = {
12883 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12884 };
12885
12886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12889 arg2 = (int) SWIG_AsInt(obj1);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 {
12892 arg3 = wxString_in_helper(obj2);
12893 if (arg3 == NULL) SWIG_fail;
12894 temp3 = True;
12895 }
12896 if (obj3) {
12897 {
12898 arg4 = &temp4;
12899 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12900 }
12901 }
12902 if (obj4) {
12903 {
12904 arg5 = &temp5;
12905 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12906 }
12907 }
12908 if (obj5) {
12909 arg6 = (long) SWIG_AsLong(obj5);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 if (obj6) {
12913 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12914 SWIG_POINTER_EXCEPTION | 0)) == -1)
12915 SWIG_fail;
12916 if (arg7 == NULL) {
12917 PyErr_SetString(PyExc_TypeError,"null reference");
12918 SWIG_fail;
12919 }
12920 }
12921 if (obj7) {
12922 {
12923 arg8 = wxString_in_helper(obj7);
12924 if (arg8 == NULL) SWIG_fail;
12925 temp8 = True;
12926 }
12927 }
12928 {
12929 PyThreadState* __tstate = wxPyBeginAllowThreads();
12930 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12931
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12936 {
12937 if (temp3)
12938 delete arg3;
12939 }
12940 {
12941 if (temp8)
12942 delete arg8;
12943 }
12944 return resultobj;
12945 fail:
12946 {
12947 if (temp3)
12948 delete arg3;
12949 }
12950 {
12951 if (temp8)
12952 delete arg8;
12953 }
12954 return NULL;
12955 }
12956
12957
12958 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj;
12960 wxToggleButton *result;
12961 char *kwnames[] = {
12962 NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12966 {
12967 PyThreadState* __tstate = wxPyBeginAllowThreads();
12968 result = (wxToggleButton *)new wxToggleButton();
12969
12970 wxPyEndAllowThreads(__tstate);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12974 return resultobj;
12975 fail:
12976 return NULL;
12977 }
12978
12979
12980 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
12981 PyObject *obj;
12982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12983 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
12984 Py_INCREF(obj);
12985 return Py_BuildValue((char *)"");
12986 }
12987 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
12988 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
12989 return 1;
12990 }
12991
12992
12993 static PyObject *_wrap_NOTEBOOK_NAME_get() {
12994 PyObject *pyobj;
12995
12996 {
12997 #if wxUSE_UNICODE
12998 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12999 #else
13000 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13001 #endif
13002 }
13003 return pyobj;
13004 }
13005
13006
13007 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
13008 PyObject *resultobj;
13009 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13010 size_t result;
13011 PyObject * obj0 = 0 ;
13012 char *kwnames[] = {
13013 (char *) "self", NULL
13014 };
13015
13016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13019 {
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13022
13023 wxPyEndAllowThreads(__tstate);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
13027 return resultobj;
13028 fail:
13029 return NULL;
13030 }
13031
13032
13033 static PyObject *_wrap_BookCtrl_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
13034 PyObject *resultobj;
13035 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13036 size_t arg2 ;
13037 wxWindow *result;
13038 PyObject * obj0 = 0 ;
13039 PyObject * obj1 = 0 ;
13040 char *kwnames[] = {
13041 (char *) "self",(char *) "n", NULL
13042 };
13043
13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13047 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (wxWindow *)(arg1)->GetPage(arg2);
13052
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 {
13057 resultobj = wxPyMake_wxObject(result);
13058 }
13059 return resultobj;
13060 fail:
13061 return NULL;
13062 }
13063
13064
13065 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13066 PyObject *resultobj;
13067 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13068 int result;
13069 PyObject * obj0 = 0 ;
13070 char *kwnames[] = {
13071 (char *) "self", NULL
13072 };
13073
13074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13080
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
13084 resultobj = SWIG_FromInt((int)result);
13085 return resultobj;
13086 fail:
13087 return NULL;
13088 }
13089
13090
13091 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
13092 PyObject *resultobj;
13093 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13094 size_t arg2 ;
13095 wxString *arg3 = 0 ;
13096 bool result;
13097 bool temp3 = False ;
13098 PyObject * obj0 = 0 ;
13099 PyObject * obj1 = 0 ;
13100 PyObject * obj2 = 0 ;
13101 char *kwnames[] = {
13102 (char *) "self",(char *) "n",(char *) "strText", NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13108 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 {
13111 arg3 = wxString_in_helper(obj2);
13112 if (arg3 == NULL) SWIG_fail;
13113 temp3 = True;
13114 }
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13118
13119 wxPyEndAllowThreads(__tstate);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
13122 {
13123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13124 }
13125 {
13126 if (temp3)
13127 delete arg3;
13128 }
13129 return resultobj;
13130 fail:
13131 {
13132 if (temp3)
13133 delete arg3;
13134 }
13135 return NULL;
13136 }
13137
13138
13139 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
13140 PyObject *resultobj;
13141 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13142 size_t arg2 ;
13143 wxString result;
13144 PyObject * obj0 = 0 ;
13145 PyObject * obj1 = 0 ;
13146 char *kwnames[] = {
13147 (char *) "self",(char *) "n", NULL
13148 };
13149
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13153 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 {
13156 PyThreadState* __tstate = wxPyBeginAllowThreads();
13157 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13158
13159 wxPyEndAllowThreads(__tstate);
13160 if (PyErr_Occurred()) SWIG_fail;
13161 }
13162 {
13163 #if wxUSE_UNICODE
13164 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13165 #else
13166 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13167 #endif
13168 }
13169 return resultobj;
13170 fail:
13171 return NULL;
13172 }
13173
13174
13175 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj;
13177 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13178 wxImageList *arg2 = (wxImageList *) 0 ;
13179 PyObject * obj0 = 0 ;
13180 PyObject * obj1 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self",(char *) "imageList", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13190 {
13191 PyThreadState* __tstate = wxPyBeginAllowThreads();
13192 (arg1)->SetImageList(arg2);
13193
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 Py_INCREF(Py_None); resultobj = Py_None;
13198 return resultobj;
13199 fail:
13200 return NULL;
13201 }
13202
13203
13204 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13207 wxImageList *arg2 = (wxImageList *) 0 ;
13208 PyObject * obj0 = 0 ;
13209 PyObject * obj1 = 0 ;
13210 char *kwnames[] = {
13211 (char *) "self",(char *) "imageList", NULL
13212 };
13213
13214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13217 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13218 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13219 {
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 (arg1)->AssignImageList(arg2);
13222
13223 wxPyEndAllowThreads(__tstate);
13224 if (PyErr_Occurred()) SWIG_fail;
13225 }
13226 Py_INCREF(Py_None); resultobj = Py_None;
13227 return resultobj;
13228 fail:
13229 return NULL;
13230 }
13231
13232
13233 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13234 PyObject *resultobj;
13235 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13236 wxImageList *result;
13237 PyObject * obj0 = 0 ;
13238 char *kwnames[] = {
13239 (char *) "self", NULL
13240 };
13241
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13245 {
13246 PyThreadState* __tstate = wxPyBeginAllowThreads();
13247 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13248
13249 wxPyEndAllowThreads(__tstate);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 }
13252 {
13253 resultobj = wxPyMake_wxObject(result);
13254 }
13255 return resultobj;
13256 fail:
13257 return NULL;
13258 }
13259
13260
13261 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
13262 PyObject *resultobj;
13263 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13264 size_t arg2 ;
13265 int result;
13266 PyObject * obj0 = 0 ;
13267 PyObject * obj1 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self",(char *) "n", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13275 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13276 if (PyErr_Occurred()) SWIG_fail;
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13280
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 resultobj = SWIG_FromInt((int)result);
13285 return resultobj;
13286 fail:
13287 return NULL;
13288 }
13289
13290
13291 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
13292 PyObject *resultobj;
13293 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13294 size_t arg2 ;
13295 int arg3 ;
13296 bool result;
13297 PyObject * obj0 = 0 ;
13298 PyObject * obj1 = 0 ;
13299 PyObject * obj2 = 0 ;
13300 char *kwnames[] = {
13301 (char *) "self",(char *) "n",(char *) "imageId", NULL
13302 };
13303
13304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13307 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 arg3 = (int) SWIG_AsInt(obj2);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 {
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13314
13315 wxPyEndAllowThreads(__tstate);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 }
13318 {
13319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13320 }
13321 return resultobj;
13322 fail:
13323 return NULL;
13324 }
13325
13326
13327 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
13328 PyObject *resultobj;
13329 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13330 wxSize *arg2 = 0 ;
13331 wxSize temp2 ;
13332 PyObject * obj0 = 0 ;
13333 PyObject * obj1 = 0 ;
13334 char *kwnames[] = {
13335 (char *) "self",(char *) "size", NULL
13336 };
13337
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13341 {
13342 arg2 = &temp2;
13343 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13344 }
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 (arg1)->SetPageSize((wxSize const &)*arg2);
13348
13349 wxPyEndAllowThreads(__tstate);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 }
13352 Py_INCREF(Py_None); resultobj = Py_None;
13353 return resultobj;
13354 fail:
13355 return NULL;
13356 }
13357
13358
13359 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
13360 PyObject *resultobj;
13361 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13362 wxSize *arg2 = 0 ;
13363 wxSize result;
13364 wxSize temp2 ;
13365 PyObject * obj0 = 0 ;
13366 PyObject * obj1 = 0 ;
13367 char *kwnames[] = {
13368 (char *) "self",(char *) "sizePage", NULL
13369 };
13370
13371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13374 {
13375 arg2 = &temp2;
13376 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13377 }
13378 {
13379 PyThreadState* __tstate = wxPyBeginAllowThreads();
13380 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13381
13382 wxPyEndAllowThreads(__tstate);
13383 if (PyErr_Occurred()) SWIG_fail;
13384 }
13385 {
13386 wxSize * resultptr;
13387 resultptr = new wxSize((wxSize &) result);
13388 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13389 }
13390 return resultobj;
13391 fail:
13392 return NULL;
13393 }
13394
13395
13396 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj;
13398 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13399 size_t arg2 ;
13400 bool result;
13401 PyObject * obj0 = 0 ;
13402 PyObject * obj1 = 0 ;
13403 char *kwnames[] = {
13404 (char *) "self",(char *) "n", NULL
13405 };
13406
13407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13410 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 result = (bool)(arg1)->DeletePage(arg2);
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 {
13420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13421 }
13422 return resultobj;
13423 fail:
13424 return NULL;
13425 }
13426
13427
13428 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
13429 PyObject *resultobj;
13430 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13431 size_t arg2 ;
13432 bool result;
13433 PyObject * obj0 = 0 ;
13434 PyObject * obj1 = 0 ;
13435 char *kwnames[] = {
13436 (char *) "self",(char *) "n", NULL
13437 };
13438
13439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13442 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 result = (bool)(arg1)->RemovePage(arg2);
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 {
13452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13453 }
13454 return resultobj;
13455 fail:
13456 return NULL;
13457 }
13458
13459
13460 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13463 bool result;
13464 PyObject * obj0 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "self", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (bool)(arg1)->DeleteAllPages();
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 {
13480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13481 }
13482 return resultobj;
13483 fail:
13484 return NULL;
13485 }
13486
13487
13488 static PyObject *_wrap_BookCtrl_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
13489 PyObject *resultobj;
13490 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13491 wxWindow *arg2 = (wxWindow *) 0 ;
13492 wxString *arg3 = 0 ;
13493 bool arg4 = (bool) False ;
13494 int arg5 = (int) -1 ;
13495 bool result;
13496 bool temp3 = False ;
13497 PyObject * obj0 = 0 ;
13498 PyObject * obj1 = 0 ;
13499 PyObject * obj2 = 0 ;
13500 PyObject * obj3 = 0 ;
13501 PyObject * obj4 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13504 };
13505
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13511 {
13512 arg3 = wxString_in_helper(obj2);
13513 if (arg3 == NULL) SWIG_fail;
13514 temp3 = True;
13515 }
13516 if (obj3) {
13517 arg4 = (bool) SWIG_AsBool(obj3);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
13520 if (obj4) {
13521 arg5 = (int) SWIG_AsInt(obj4);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 {
13532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13533 }
13534 {
13535 if (temp3)
13536 delete arg3;
13537 }
13538 return resultobj;
13539 fail:
13540 {
13541 if (temp3)
13542 delete arg3;
13543 }
13544 return NULL;
13545 }
13546
13547
13548 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
13549 PyObject *resultobj;
13550 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13551 size_t arg2 ;
13552 wxWindow *arg3 = (wxWindow *) 0 ;
13553 wxString *arg4 = 0 ;
13554 bool arg5 = (bool) False ;
13555 int arg6 = (int) -1 ;
13556 bool result;
13557 bool temp4 = False ;
13558 PyObject * obj0 = 0 ;
13559 PyObject * obj1 = 0 ;
13560 PyObject * obj2 = 0 ;
13561 PyObject * obj3 = 0 ;
13562 PyObject * obj4 = 0 ;
13563 PyObject * obj5 = 0 ;
13564 char *kwnames[] = {
13565 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13566 };
13567
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13571 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13575 {
13576 arg4 = wxString_in_helper(obj3);
13577 if (arg4 == NULL) SWIG_fail;
13578 temp4 = True;
13579 }
13580 if (obj4) {
13581 arg5 = (bool) SWIG_AsBool(obj4);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
13584 if (obj5) {
13585 arg6 = (int) SWIG_AsInt(obj5);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 {
13589 PyThreadState* __tstate = wxPyBeginAllowThreads();
13590 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13591
13592 wxPyEndAllowThreads(__tstate);
13593 if (PyErr_Occurred()) SWIG_fail;
13594 }
13595 {
13596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13597 }
13598 {
13599 if (temp4)
13600 delete arg4;
13601 }
13602 return resultobj;
13603 fail:
13604 {
13605 if (temp4)
13606 delete arg4;
13607 }
13608 return NULL;
13609 }
13610
13611
13612 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13613 PyObject *resultobj;
13614 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13615 size_t arg2 ;
13616 int result;
13617 PyObject * obj0 = 0 ;
13618 PyObject * obj1 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self",(char *) "n", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13626 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13627 if (PyErr_Occurred()) SWIG_fail;
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 result = (int)(arg1)->SetSelection(arg2);
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
13635 resultobj = SWIG_FromInt((int)result);
13636 return resultobj;
13637 fail:
13638 return NULL;
13639 }
13640
13641
13642 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13643 PyObject *resultobj;
13644 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13645 bool arg2 = (bool) True ;
13646 PyObject * obj0 = 0 ;
13647 PyObject * obj1 = 0 ;
13648 char *kwnames[] = {
13649 (char *) "self",(char *) "forward", NULL
13650 };
13651
13652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13655 if (obj1) {
13656 arg2 = (bool) SWIG_AsBool(obj1);
13657 if (PyErr_Occurred()) SWIG_fail;
13658 }
13659 {
13660 PyThreadState* __tstate = wxPyBeginAllowThreads();
13661 (arg1)->AdvanceSelection(arg2);
13662
13663 wxPyEndAllowThreads(__tstate);
13664 if (PyErr_Occurred()) SWIG_fail;
13665 }
13666 Py_INCREF(Py_None); resultobj = Py_None;
13667 return resultobj;
13668 fail:
13669 return NULL;
13670 }
13671
13672
13673 static PyObject * BookCtrl_swigregister(PyObject *, PyObject *args) {
13674 PyObject *obj;
13675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13676 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13677 Py_INCREF(obj);
13678 return Py_BuildValue((char *)"");
13679 }
13680 static PyObject *_wrap_new_BookCtrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13681 PyObject *resultobj;
13682 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13683 int arg2 = (int) 0 ;
13684 int arg3 = (int) -1 ;
13685 int arg4 = (int) -1 ;
13686 wxBookCtrlEvent *result;
13687 PyObject * obj0 = 0 ;
13688 PyObject * obj1 = 0 ;
13689 PyObject * obj2 = 0 ;
13690 PyObject * obj3 = 0 ;
13691 char *kwnames[] = {
13692 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13693 };
13694
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13696 if (obj0) {
13697 arg1 = (wxEventType) SWIG_AsInt(obj0);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 if (obj1) {
13701 arg2 = (int) SWIG_AsInt(obj1);
13702 if (PyErr_Occurred()) SWIG_fail;
13703 }
13704 if (obj2) {
13705 arg3 = (int) SWIG_AsInt(obj2);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 }
13708 if (obj3) {
13709 arg4 = (int) SWIG_AsInt(obj3);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 {
13713 PyThreadState* __tstate = wxPyBeginAllowThreads();
13714 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13715
13716 wxPyEndAllowThreads(__tstate);
13717 if (PyErr_Occurred()) SWIG_fail;
13718 }
13719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
13720 return resultobj;
13721 fail:
13722 return NULL;
13723 }
13724
13725
13726 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13727 PyObject *resultobj;
13728 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13729 int result;
13730 PyObject * obj0 = 0 ;
13731 char *kwnames[] = {
13732 (char *) "self", NULL
13733 };
13734
13735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13741
13742 wxPyEndAllowThreads(__tstate);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 }
13745 resultobj = SWIG_FromInt((int)result);
13746 return resultobj;
13747 fail:
13748 return NULL;
13749 }
13750
13751
13752 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13753 PyObject *resultobj;
13754 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13755 int arg2 ;
13756 PyObject * obj0 = 0 ;
13757 PyObject * obj1 = 0 ;
13758 char *kwnames[] = {
13759 (char *) "self",(char *) "nSel", NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13765 arg2 = (int) SWIG_AsInt(obj1);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 (arg1)->SetSelection(arg2);
13770
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 Py_INCREF(Py_None); resultobj = Py_None;
13775 return resultobj;
13776 fail:
13777 return NULL;
13778 }
13779
13780
13781 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13782 PyObject *resultobj;
13783 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13784 int result;
13785 PyObject * obj0 = 0 ;
13786 char *kwnames[] = {
13787 (char *) "self", NULL
13788 };
13789
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13793 {
13794 PyThreadState* __tstate = wxPyBeginAllowThreads();
13795 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13796
13797 wxPyEndAllowThreads(__tstate);
13798 if (PyErr_Occurred()) SWIG_fail;
13799 }
13800 resultobj = SWIG_FromInt((int)result);
13801 return resultobj;
13802 fail:
13803 return NULL;
13804 }
13805
13806
13807 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13808 PyObject *resultobj;
13809 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13810 int arg2 ;
13811 PyObject * obj0 = 0 ;
13812 PyObject * obj1 = 0 ;
13813 char *kwnames[] = {
13814 (char *) "self",(char *) "nOldSel", NULL
13815 };
13816
13817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13820 arg2 = (int) SWIG_AsInt(obj1);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 {
13823 PyThreadState* __tstate = wxPyBeginAllowThreads();
13824 (arg1)->SetOldSelection(arg2);
13825
13826 wxPyEndAllowThreads(__tstate);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 Py_INCREF(Py_None); resultobj = Py_None;
13830 return resultobj;
13831 fail:
13832 return NULL;
13833 }
13834
13835
13836 static PyObject * BookCtrlEvent_swigregister(PyObject *, PyObject *args) {
13837 PyObject *obj;
13838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13839 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13840 Py_INCREF(obj);
13841 return Py_BuildValue((char *)"");
13842 }
13843 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
13844 PyObject *resultobj;
13845 wxWindow *arg1 = (wxWindow *) 0 ;
13846 int arg2 = (int) -1 ;
13847 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13848 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13849 wxSize const &arg4_defvalue = wxDefaultSize ;
13850 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13851 long arg5 = (long) 0 ;
13852 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13853 wxString *arg6 = (wxString *) &arg6_defvalue ;
13854 wxNotebook *result;
13855 wxPoint temp3 ;
13856 wxSize temp4 ;
13857 bool temp6 = False ;
13858 PyObject * obj0 = 0 ;
13859 PyObject * obj1 = 0 ;
13860 PyObject * obj2 = 0 ;
13861 PyObject * obj3 = 0 ;
13862 PyObject * obj4 = 0 ;
13863 PyObject * obj5 = 0 ;
13864 char *kwnames[] = {
13865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13866 };
13867
13868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13871 if (obj1) {
13872 arg2 = (int) SWIG_AsInt(obj1);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 if (obj2) {
13876 {
13877 arg3 = &temp3;
13878 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13879 }
13880 }
13881 if (obj3) {
13882 {
13883 arg4 = &temp4;
13884 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13885 }
13886 }
13887 if (obj4) {
13888 arg5 = (long) SWIG_AsLong(obj4);
13889 if (PyErr_Occurred()) SWIG_fail;
13890 }
13891 if (obj5) {
13892 {
13893 arg6 = wxString_in_helper(obj5);
13894 if (arg6 == NULL) SWIG_fail;
13895 temp6 = True;
13896 }
13897 }
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13901
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 {
13906 resultobj = wxPyMake_wxObject(result);
13907 }
13908 {
13909 if (temp6)
13910 delete arg6;
13911 }
13912 return resultobj;
13913 fail:
13914 {
13915 if (temp6)
13916 delete arg6;
13917 }
13918 return NULL;
13919 }
13920
13921
13922 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
13923 PyObject *resultobj;
13924 wxNotebook *result;
13925 char *kwnames[] = {
13926 NULL
13927 };
13928
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 result = (wxNotebook *)new wxNotebook();
13933
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 {
13938 resultobj = wxPyMake_wxObject(result);
13939 }
13940 return resultobj;
13941 fail:
13942 return NULL;
13943 }
13944
13945
13946 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13947 PyObject *resultobj;
13948 wxNotebook *arg1 = (wxNotebook *) 0 ;
13949 wxWindow *arg2 = (wxWindow *) 0 ;
13950 int arg3 ;
13951 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13952 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13953 wxSize const &arg5_defvalue = wxDefaultSize ;
13954 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13955 long arg6 = (long) 0 ;
13956 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
13957 wxString *arg7 = (wxString *) &arg7_defvalue ;
13958 bool result;
13959 wxPoint temp4 ;
13960 wxSize temp5 ;
13961 bool temp7 = False ;
13962 PyObject * obj0 = 0 ;
13963 PyObject * obj1 = 0 ;
13964 PyObject * obj2 = 0 ;
13965 PyObject * obj3 = 0 ;
13966 PyObject * obj4 = 0 ;
13967 PyObject * obj5 = 0 ;
13968 PyObject * obj6 = 0 ;
13969 char *kwnames[] = {
13970 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13971 };
13972
13973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13978 arg3 = (int) SWIG_AsInt(obj2);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 if (obj3) {
13981 {
13982 arg4 = &temp4;
13983 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13984 }
13985 }
13986 if (obj4) {
13987 {
13988 arg5 = &temp5;
13989 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13990 }
13991 }
13992 if (obj5) {
13993 arg6 = (long) SWIG_AsLong(obj5);
13994 if (PyErr_Occurred()) SWIG_fail;
13995 }
13996 if (obj6) {
13997 {
13998 arg7 = wxString_in_helper(obj6);
13999 if (arg7 == NULL) SWIG_fail;
14000 temp7 = True;
14001 }
14002 }
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14006
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 {
14011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14012 }
14013 {
14014 if (temp7)
14015 delete arg7;
14016 }
14017 return resultobj;
14018 fail:
14019 {
14020 if (temp7)
14021 delete arg7;
14022 }
14023 return NULL;
14024 }
14025
14026
14027 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14028 PyObject *resultobj;
14029 wxNotebook *arg1 = (wxNotebook *) 0 ;
14030 int result;
14031 PyObject * obj0 = 0 ;
14032 char *kwnames[] = {
14033 (char *) "self", NULL
14034 };
14035
14036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 resultobj = SWIG_FromInt((int)result);
14047 return resultobj;
14048 fail:
14049 return NULL;
14050 }
14051
14052
14053 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxNotebook *arg1 = (wxNotebook *) 0 ;
14056 wxSize *arg2 = 0 ;
14057 wxSize temp2 ;
14058 PyObject * obj0 = 0 ;
14059 PyObject * obj1 = 0 ;
14060 char *kwnames[] = {
14061 (char *) "self",(char *) "padding", NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14067 {
14068 arg2 = &temp2;
14069 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14070 }
14071 {
14072 PyThreadState* __tstate = wxPyBeginAllowThreads();
14073 (arg1)->SetPadding((wxSize const &)*arg2);
14074
14075 wxPyEndAllowThreads(__tstate);
14076 if (PyErr_Occurred()) SWIG_fail;
14077 }
14078 Py_INCREF(Py_None); resultobj = Py_None;
14079 return resultobj;
14080 fail:
14081 return NULL;
14082 }
14083
14084
14085 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
14086 PyObject *resultobj;
14087 wxNotebook *arg1 = (wxNotebook *) 0 ;
14088 wxSize *arg2 = 0 ;
14089 wxSize temp2 ;
14090 PyObject * obj0 = 0 ;
14091 PyObject * obj1 = 0 ;
14092 char *kwnames[] = {
14093 (char *) "self",(char *) "sz", NULL
14094 };
14095
14096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14099 {
14100 arg2 = &temp2;
14101 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14102 }
14103 {
14104 PyThreadState* __tstate = wxPyBeginAllowThreads();
14105 (arg1)->SetTabSize((wxSize const &)*arg2);
14106
14107 wxPyEndAllowThreads(__tstate);
14108 if (PyErr_Occurred()) SWIG_fail;
14109 }
14110 Py_INCREF(Py_None); resultobj = Py_None;
14111 return resultobj;
14112 fail:
14113 return NULL;
14114 }
14115
14116
14117 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
14118 PyObject *resultobj;
14119 wxNotebook *arg1 = (wxNotebook *) 0 ;
14120 wxPoint *arg2 = 0 ;
14121 long *arg3 = (long *) 0 ;
14122 int result;
14123 wxPoint temp2 ;
14124 long temp3 ;
14125 PyObject * obj0 = 0 ;
14126 PyObject * obj1 = 0 ;
14127 char *kwnames[] = {
14128 (char *) "self",(char *) "pt", NULL
14129 };
14130
14131 arg3 = &temp3;
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14135 {
14136 arg2 = &temp2;
14137 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14138 }
14139 {
14140 PyThreadState* __tstate = wxPyBeginAllowThreads();
14141 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14142
14143 wxPyEndAllowThreads(__tstate);
14144 if (PyErr_Occurred()) SWIG_fail;
14145 }
14146 resultobj = SWIG_FromInt((int)result);
14147 {
14148 PyObject *o = PyInt_FromLong((long) (*arg3));
14149 resultobj = t_output_helper(resultobj,o);
14150 }
14151 return resultobj;
14152 fail:
14153 return NULL;
14154 }
14155
14156
14157 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
14158 PyObject *resultobj;
14159 wxNotebook *arg1 = (wxNotebook *) 0 ;
14160 wxSize *arg2 = 0 ;
14161 wxSize result;
14162 wxSize temp2 ;
14163 PyObject * obj0 = 0 ;
14164 PyObject * obj1 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self",(char *) "sizePage", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14172 {
14173 arg2 = &temp2;
14174 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14175 }
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 {
14184 wxSize * resultptr;
14185 resultptr = new wxSize((wxSize &) result);
14186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14187 }
14188 return resultobj;
14189 fail:
14190 return NULL;
14191 }
14192
14193
14194 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
14195 PyObject *obj;
14196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14197 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14198 Py_INCREF(obj);
14199 return Py_BuildValue((char *)"");
14200 }
14201 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14204 int arg2 = (int) 0 ;
14205 int arg3 = (int) -1 ;
14206 int arg4 = (int) -1 ;
14207 wxNotebookEvent *result;
14208 PyObject * obj0 = 0 ;
14209 PyObject * obj1 = 0 ;
14210 PyObject * obj2 = 0 ;
14211 PyObject * obj3 = 0 ;
14212 char *kwnames[] = {
14213 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14214 };
14215
14216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14217 if (obj0) {
14218 arg1 = (wxEventType) SWIG_AsInt(obj0);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 if (obj1) {
14222 arg2 = (int) SWIG_AsInt(obj1);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 if (obj2) {
14226 arg3 = (int) SWIG_AsInt(obj2);
14227 if (PyErr_Occurred()) SWIG_fail;
14228 }
14229 if (obj3) {
14230 arg4 = (int) SWIG_AsInt(obj3);
14231 if (PyErr_Occurred()) SWIG_fail;
14232 }
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14241 return resultobj;
14242 fail:
14243 return NULL;
14244 }
14245
14246
14247 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
14248 PyObject *obj;
14249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14250 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14251 Py_INCREF(obj);
14252 return Py_BuildValue((char *)"");
14253 }
14254 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
14255 PyObject *resultobj;
14256 wxWindow *arg1 = (wxWindow *) 0 ;
14257 int arg2 = (int) -1 ;
14258 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14259 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14260 wxSize const &arg4_defvalue = wxDefaultSize ;
14261 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14262 long arg5 = (long) 0 ;
14263 wxString const &arg6_defvalue = wxPyEmptyString ;
14264 wxString *arg6 = (wxString *) &arg6_defvalue ;
14265 wxListbook *result;
14266 wxPoint temp3 ;
14267 wxSize temp4 ;
14268 bool temp6 = False ;
14269 PyObject * obj0 = 0 ;
14270 PyObject * obj1 = 0 ;
14271 PyObject * obj2 = 0 ;
14272 PyObject * obj3 = 0 ;
14273 PyObject * obj4 = 0 ;
14274 PyObject * obj5 = 0 ;
14275 char *kwnames[] = {
14276 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14277 };
14278
14279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14282 if (obj1) {
14283 arg2 = (int) SWIG_AsInt(obj1);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 if (obj2) {
14287 {
14288 arg3 = &temp3;
14289 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14290 }
14291 }
14292 if (obj3) {
14293 {
14294 arg4 = &temp4;
14295 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14296 }
14297 }
14298 if (obj4) {
14299 arg5 = (long) SWIG_AsLong(obj4);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 if (obj5) {
14303 {
14304 arg6 = wxString_in_helper(obj5);
14305 if (arg6 == NULL) SWIG_fail;
14306 temp6 = True;
14307 }
14308 }
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14312
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14317 {
14318 if (temp6)
14319 delete arg6;
14320 }
14321 return resultobj;
14322 fail:
14323 {
14324 if (temp6)
14325 delete arg6;
14326 }
14327 return NULL;
14328 }
14329
14330
14331 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj;
14333 wxListbook *result;
14334 char *kwnames[] = {
14335 NULL
14336 };
14337
14338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 result = (wxListbook *)new wxListbook();
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14347 return resultobj;
14348 fail:
14349 return NULL;
14350 }
14351
14352
14353 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxListbook *arg1 = (wxListbook *) 0 ;
14356 wxWindow *arg2 = (wxWindow *) 0 ;
14357 int arg3 ;
14358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14360 wxSize const &arg5_defvalue = wxDefaultSize ;
14361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14362 long arg6 = (long) 0 ;
14363 wxString const &arg7_defvalue = wxPyEmptyString ;
14364 wxString *arg7 = (wxString *) &arg7_defvalue ;
14365 bool result;
14366 wxPoint temp4 ;
14367 wxSize temp5 ;
14368 bool temp7 = False ;
14369 PyObject * obj0 = 0 ;
14370 PyObject * obj1 = 0 ;
14371 PyObject * obj2 = 0 ;
14372 PyObject * obj3 = 0 ;
14373 PyObject * obj4 = 0 ;
14374 PyObject * obj5 = 0 ;
14375 PyObject * obj6 = 0 ;
14376 char *kwnames[] = {
14377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14378 };
14379
14380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14385 arg3 = (int) SWIG_AsInt(obj2);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 if (obj3) {
14388 {
14389 arg4 = &temp4;
14390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14391 }
14392 }
14393 if (obj4) {
14394 {
14395 arg5 = &temp5;
14396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14397 }
14398 }
14399 if (obj5) {
14400 arg6 = (long) SWIG_AsLong(obj5);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 if (obj6) {
14404 {
14405 arg7 = wxString_in_helper(obj6);
14406 if (arg7 == NULL) SWIG_fail;
14407 temp7 = True;
14408 }
14409 }
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 {
14418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14419 }
14420 {
14421 if (temp7)
14422 delete arg7;
14423 }
14424 return resultobj;
14425 fail:
14426 {
14427 if (temp7)
14428 delete arg7;
14429 }
14430 return NULL;
14431 }
14432
14433
14434 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
14435 PyObject *resultobj;
14436 wxListbook *arg1 = (wxListbook *) 0 ;
14437 bool result;
14438 PyObject * obj0 = 0 ;
14439 char *kwnames[] = {
14440 (char *) "self", NULL
14441 };
14442
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 result = (bool)((wxListbook const *)arg1)->IsVertical();
14449
14450 wxPyEndAllowThreads(__tstate);
14451 if (PyErr_Occurred()) SWIG_fail;
14452 }
14453 {
14454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14455 }
14456 return resultobj;
14457 fail:
14458 return NULL;
14459 }
14460
14461
14462 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
14463 PyObject *obj;
14464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14465 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14466 Py_INCREF(obj);
14467 return Py_BuildValue((char *)"");
14468 }
14469 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14470 PyObject *resultobj;
14471 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14472 int arg2 = (int) 0 ;
14473 int arg3 = (int) -1 ;
14474 int arg4 = (int) -1 ;
14475 wxListbookEvent *result;
14476 PyObject * obj0 = 0 ;
14477 PyObject * obj1 = 0 ;
14478 PyObject * obj2 = 0 ;
14479 PyObject * obj3 = 0 ;
14480 char *kwnames[] = {
14481 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14482 };
14483
14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14485 if (obj0) {
14486 arg1 = (wxEventType) SWIG_AsInt(obj0);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 if (obj1) {
14490 arg2 = (int) SWIG_AsInt(obj1);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 }
14493 if (obj2) {
14494 arg3 = (int) SWIG_AsInt(obj2);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 if (obj3) {
14498 arg4 = (int) SWIG_AsInt(obj3);
14499 if (PyErr_Occurred()) SWIG_fail;
14500 }
14501 {
14502 PyThreadState* __tstate = wxPyBeginAllowThreads();
14503 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14504
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
14516 PyObject *obj;
14517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14518 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14519 Py_INCREF(obj);
14520 return Py_BuildValue((char *)"");
14521 }
14522 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14525 wxBookCtrlSizer *result;
14526 PyObject * obj0 = 0 ;
14527 char *kwnames[] = {
14528 (char *) "nb", NULL
14529 };
14530
14531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14542 return resultobj;
14543 fail:
14544 return NULL;
14545 }
14546
14547
14548 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14551 PyObject * obj0 = 0 ;
14552 char *kwnames[] = {
14553 (char *) "self", NULL
14554 };
14555
14556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 (arg1)->RecalcSizes();
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 Py_INCREF(Py_None); resultobj = Py_None;
14567 return resultobj;
14568 fail:
14569 return NULL;
14570 }
14571
14572
14573 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14576 wxSize result;
14577 PyObject * obj0 = 0 ;
14578 char *kwnames[] = {
14579 (char *) "self", NULL
14580 };
14581
14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 result = (arg1)->CalcMin();
14588
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 {
14593 wxSize * resultptr;
14594 resultptr = new wxSize((wxSize &) result);
14595 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14596 }
14597 return resultobj;
14598 fail:
14599 return NULL;
14600 }
14601
14602
14603 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14604 PyObject *resultobj;
14605 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14606 wxBookCtrl *result;
14607 PyObject * obj0 = 0 ;
14608 char *kwnames[] = {
14609 (char *) "self", NULL
14610 };
14611
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14615 {
14616 PyThreadState* __tstate = wxPyBeginAllowThreads();
14617 result = (wxBookCtrl *)(arg1)->GetControl();
14618
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14623 return resultobj;
14624 fail:
14625 return NULL;
14626 }
14627
14628
14629 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
14630 PyObject *obj;
14631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14632 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14633 Py_INCREF(obj);
14634 return Py_BuildValue((char *)"");
14635 }
14636 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
14637 PyObject *resultobj;
14638 wxNotebook *arg1 = (wxNotebook *) 0 ;
14639 wxNotebookSizer *result;
14640 PyObject * obj0 = 0 ;
14641 char *kwnames[] = {
14642 (char *) "nb", NULL
14643 };
14644
14645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
14656 return resultobj;
14657 fail:
14658 return NULL;
14659 }
14660
14661
14662 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14665 PyObject * obj0 = 0 ;
14666 char *kwnames[] = {
14667 (char *) "self", NULL
14668 };
14669
14670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14673 {
14674 PyThreadState* __tstate = wxPyBeginAllowThreads();
14675 (arg1)->RecalcSizes();
14676
14677 wxPyEndAllowThreads(__tstate);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 }
14680 Py_INCREF(Py_None); resultobj = Py_None;
14681 return resultobj;
14682 fail:
14683 return NULL;
14684 }
14685
14686
14687 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
14688 PyObject *resultobj;
14689 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14690 wxSize result;
14691 PyObject * obj0 = 0 ;
14692 char *kwnames[] = {
14693 (char *) "self", NULL
14694 };
14695
14696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (arg1)->CalcMin();
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 {
14707 wxSize * resultptr;
14708 resultptr = new wxSize((wxSize &) result);
14709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14710 }
14711 return resultobj;
14712 fail:
14713 return NULL;
14714 }
14715
14716
14717 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
14718 PyObject *resultobj;
14719 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14720 wxNotebook *result;
14721 PyObject * obj0 = 0 ;
14722 char *kwnames[] = {
14723 (char *) "self", NULL
14724 };
14725
14726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 result = (wxNotebook *)(arg1)->GetNotebook();
14732
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 {
14737 resultobj = wxPyMake_wxObject(result);
14738 }
14739 return resultobj;
14740 fail:
14741 return NULL;
14742 }
14743
14744
14745 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
14746 PyObject *obj;
14747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14748 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14749 Py_INCREF(obj);
14750 return Py_BuildValue((char *)"");
14751 }
14752 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj;
14754 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14755 int result;
14756 PyObject * obj0 = 0 ;
14757 char *kwnames[] = {
14758 (char *) "self", NULL
14759 };
14760
14761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 result = (int)(arg1)->GetId();
14767
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 resultobj = SWIG_FromInt((int)result);
14772 return resultobj;
14773 fail:
14774 return NULL;
14775 }
14776
14777
14778 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14779 PyObject *resultobj;
14780 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14781 wxControl *result;
14782 PyObject * obj0 = 0 ;
14783 char *kwnames[] = {
14784 (char *) "self", NULL
14785 };
14786
14787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 result = (wxControl *)(arg1)->GetControl();
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 {
14798 resultobj = wxPyMake_wxObject(result);
14799 }
14800 return resultobj;
14801 fail:
14802 return NULL;
14803 }
14804
14805
14806 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14807 PyObject *resultobj;
14808 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14809 wxToolBarBase *result;
14810 PyObject * obj0 = 0 ;
14811 char *kwnames[] = {
14812 (char *) "self", NULL
14813 };
14814
14815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14818 {
14819 PyThreadState* __tstate = wxPyBeginAllowThreads();
14820 result = (wxToolBarBase *)(arg1)->GetToolBar();
14821
14822 wxPyEndAllowThreads(__tstate);
14823 if (PyErr_Occurred()) SWIG_fail;
14824 }
14825 {
14826 resultobj = wxPyMake_wxObject(result);
14827 }
14828 return resultobj;
14829 fail:
14830 return NULL;
14831 }
14832
14833
14834 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
14835 PyObject *resultobj;
14836 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14837 int result;
14838 PyObject * obj0 = 0 ;
14839 char *kwnames[] = {
14840 (char *) "self", NULL
14841 };
14842
14843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14846 {
14847 PyThreadState* __tstate = wxPyBeginAllowThreads();
14848 result = (int)(arg1)->IsButton();
14849
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 resultobj = SWIG_FromInt((int)result);
14854 return resultobj;
14855 fail:
14856 return NULL;
14857 }
14858
14859
14860 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj;
14862 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14863 int result;
14864 PyObject * obj0 = 0 ;
14865 char *kwnames[] = {
14866 (char *) "self", NULL
14867 };
14868
14869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14872 {
14873 PyThreadState* __tstate = wxPyBeginAllowThreads();
14874 result = (int)(arg1)->IsControl();
14875
14876 wxPyEndAllowThreads(__tstate);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 }
14879 resultobj = SWIG_FromInt((int)result);
14880 return resultobj;
14881 fail:
14882 return NULL;
14883 }
14884
14885
14886 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14889 int result;
14890 PyObject * obj0 = 0 ;
14891 char *kwnames[] = {
14892 (char *) "self", NULL
14893 };
14894
14895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 result = (int)(arg1)->IsSeparator();
14901
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 resultobj = SWIG_FromInt((int)result);
14906 return resultobj;
14907 fail:
14908 return NULL;
14909 }
14910
14911
14912 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14913 PyObject *resultobj;
14914 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14915 int result;
14916 PyObject * obj0 = 0 ;
14917 char *kwnames[] = {
14918 (char *) "self", NULL
14919 };
14920
14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14924 {
14925 PyThreadState* __tstate = wxPyBeginAllowThreads();
14926 result = (int)(arg1)->GetStyle();
14927
14928 wxPyEndAllowThreads(__tstate);
14929 if (PyErr_Occurred()) SWIG_fail;
14930 }
14931 resultobj = SWIG_FromInt((int)result);
14932 return resultobj;
14933 fail:
14934 return NULL;
14935 }
14936
14937
14938 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
14939 PyObject *resultobj;
14940 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14941 int result;
14942 PyObject * obj0 = 0 ;
14943 char *kwnames[] = {
14944 (char *) "self", NULL
14945 };
14946
14947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
14948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
14952 result = (int)(arg1)->GetKind();
14953
14954 wxPyEndAllowThreads(__tstate);
14955 if (PyErr_Occurred()) SWIG_fail;
14956 }
14957 resultobj = SWIG_FromInt((int)result);
14958 return resultobj;
14959 fail:
14960 return NULL;
14961 }
14962
14963
14964 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
14965 PyObject *resultobj;
14966 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14967 bool result;
14968 PyObject * obj0 = 0 ;
14969 char *kwnames[] = {
14970 (char *) "self", NULL
14971 };
14972
14973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
14974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14976 {
14977 PyThreadState* __tstate = wxPyBeginAllowThreads();
14978 result = (bool)(arg1)->IsEnabled();
14979
14980 wxPyEndAllowThreads(__tstate);
14981 if (PyErr_Occurred()) SWIG_fail;
14982 }
14983 {
14984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14985 }
14986 return resultobj;
14987 fail:
14988 return NULL;
14989 }
14990
14991
14992 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
14993 PyObject *resultobj;
14994 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14995 bool result;
14996 PyObject * obj0 = 0 ;
14997 char *kwnames[] = {
14998 (char *) "self", NULL
14999 };
15000
15001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15004 {
15005 PyThreadState* __tstate = wxPyBeginAllowThreads();
15006 result = (bool)(arg1)->IsToggled();
15007
15008 wxPyEndAllowThreads(__tstate);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 {
15012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15013 }
15014 return resultobj;
15015 fail:
15016 return NULL;
15017 }
15018
15019
15020 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
15021 PyObject *resultobj;
15022 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15023 bool result;
15024 PyObject * obj0 = 0 ;
15025 char *kwnames[] = {
15026 (char *) "self", NULL
15027 };
15028
15029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 result = (bool)(arg1)->CanBeToggled();
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 {
15040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15041 }
15042 return resultobj;
15043 fail:
15044 return NULL;
15045 }
15046
15047
15048 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15049 PyObject *resultobj;
15050 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15051 wxBitmap *result;
15052 PyObject * obj0 = 0 ;
15053 char *kwnames[] = {
15054 (char *) "self", NULL
15055 };
15056
15057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15060 {
15061 PyThreadState* __tstate = wxPyBeginAllowThreads();
15062 {
15063 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15064 result = (wxBitmap *) &_result_ref;
15065 }
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 {
15071 wxBitmap* resultptr = new wxBitmap(*result);
15072 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15073 }
15074 return resultobj;
15075 fail:
15076 return NULL;
15077 }
15078
15079
15080 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15081 PyObject *resultobj;
15082 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15083 wxBitmap *result;
15084 PyObject * obj0 = 0 ;
15085 char *kwnames[] = {
15086 (char *) "self", NULL
15087 };
15088
15089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 {
15095 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15096 result = (wxBitmap *) &_result_ref;
15097 }
15098
15099 wxPyEndAllowThreads(__tstate);
15100 if (PyErr_Occurred()) SWIG_fail;
15101 }
15102 {
15103 wxBitmap* resultptr = new wxBitmap(*result);
15104 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15105 }
15106 return resultobj;
15107 fail:
15108 return NULL;
15109 }
15110
15111
15112 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15113 PyObject *resultobj;
15114 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15115 wxBitmap result;
15116 PyObject * obj0 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "self", NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15124 {
15125 PyThreadState* __tstate = wxPyBeginAllowThreads();
15126 result = (arg1)->GetBitmap();
15127
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 {
15132 wxBitmap * resultptr;
15133 resultptr = new wxBitmap((wxBitmap &) result);
15134 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15135 }
15136 return resultobj;
15137 fail:
15138 return NULL;
15139 }
15140
15141
15142 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15145 wxString result;
15146 PyObject * obj0 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "self", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (arg1)->GetLabel();
15157
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
15161 {
15162 #if wxUSE_UNICODE
15163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15164 #else
15165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15166 #endif
15167 }
15168 return resultobj;
15169 fail:
15170 return NULL;
15171 }
15172
15173
15174 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15175 PyObject *resultobj;
15176 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15177 wxString result;
15178 PyObject * obj0 = 0 ;
15179 char *kwnames[] = {
15180 (char *) "self", NULL
15181 };
15182
15183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (arg1)->GetShortHelp();
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 {
15194 #if wxUSE_UNICODE
15195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15196 #else
15197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15198 #endif
15199 }
15200 return resultobj;
15201 fail:
15202 return NULL;
15203 }
15204
15205
15206 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15207 PyObject *resultobj;
15208 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15209 wxString result;
15210 PyObject * obj0 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15218 {
15219 PyThreadState* __tstate = wxPyBeginAllowThreads();
15220 result = (arg1)->GetLongHelp();
15221
15222 wxPyEndAllowThreads(__tstate);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
15225 {
15226 #if wxUSE_UNICODE
15227 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15228 #else
15229 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15230 #endif
15231 }
15232 return resultobj;
15233 fail:
15234 return NULL;
15235 }
15236
15237
15238 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj;
15240 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15241 bool arg2 ;
15242 bool result;
15243 PyObject * obj0 = 0 ;
15244 PyObject * obj1 = 0 ;
15245 char *kwnames[] = {
15246 (char *) "self",(char *) "enable", NULL
15247 };
15248
15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15252 arg2 = (bool) SWIG_AsBool(obj1);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = (bool)(arg1)->Enable(arg2);
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 {
15262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15263 }
15264 return resultobj;
15265 fail:
15266 return NULL;
15267 }
15268
15269
15270 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
15271 PyObject *resultobj;
15272 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15273 PyObject * obj0 = 0 ;
15274 char *kwnames[] = {
15275 (char *) "self", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",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 (arg1)->Toggle();
15284
15285 wxPyEndAllowThreads(__tstate);
15286 if (PyErr_Occurred()) SWIG_fail;
15287 }
15288 Py_INCREF(Py_None); resultobj = Py_None;
15289 return resultobj;
15290 fail:
15291 return NULL;
15292 }
15293
15294
15295 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
15296 PyObject *resultobj;
15297 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15298 bool arg2 ;
15299 bool result;
15300 PyObject * obj0 = 0 ;
15301 PyObject * obj1 = 0 ;
15302 char *kwnames[] = {
15303 (char *) "self",(char *) "toggle", NULL
15304 };
15305
15306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15309 arg2 = (bool) SWIG_AsBool(obj1);
15310 if (PyErr_Occurred()) SWIG_fail;
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 result = (bool)(arg1)->SetToggle(arg2);
15314
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 {
15319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15320 }
15321 return resultobj;
15322 fail:
15323 return NULL;
15324 }
15325
15326
15327 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15328 PyObject *resultobj;
15329 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15330 wxString *arg2 = 0 ;
15331 bool result;
15332 bool temp2 = False ;
15333 PyObject * obj0 = 0 ;
15334 PyObject * obj1 = 0 ;
15335 char *kwnames[] = {
15336 (char *) "self",(char *) "help", NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15342 {
15343 arg2 = wxString_in_helper(obj1);
15344 if (arg2 == NULL) SWIG_fail;
15345 temp2 = True;
15346 }
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15350
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 {
15355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15356 }
15357 {
15358 if (temp2)
15359 delete arg2;
15360 }
15361 return resultobj;
15362 fail:
15363 {
15364 if (temp2)
15365 delete arg2;
15366 }
15367 return NULL;
15368 }
15369
15370
15371 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj;
15373 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15374 wxString *arg2 = 0 ;
15375 bool result;
15376 bool temp2 = False ;
15377 PyObject * obj0 = 0 ;
15378 PyObject * obj1 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self",(char *) "help", NULL
15381 };
15382
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15386 {
15387 arg2 = wxString_in_helper(obj1);
15388 if (arg2 == NULL) SWIG_fail;
15389 temp2 = True;
15390 }
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15394
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 {
15399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15400 }
15401 {
15402 if (temp2)
15403 delete arg2;
15404 }
15405 return resultobj;
15406 fail:
15407 {
15408 if (temp2)
15409 delete arg2;
15410 }
15411 return NULL;
15412 }
15413
15414
15415 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15416 PyObject *resultobj;
15417 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15418 wxBitmap *arg2 = 0 ;
15419 PyObject * obj0 = 0 ;
15420 PyObject * obj1 = 0 ;
15421 char *kwnames[] = {
15422 (char *) "self",(char *) "bmp", NULL
15423 };
15424
15425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15429 SWIG_POINTER_EXCEPTION | 0)) == -1)
15430 SWIG_fail;
15431 if (arg2 == NULL) {
15432 PyErr_SetString(PyExc_TypeError,"null reference");
15433 SWIG_fail;
15434 }
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 Py_INCREF(Py_None); resultobj = Py_None;
15443 return resultobj;
15444 fail:
15445 return NULL;
15446 }
15447
15448
15449 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15452 wxBitmap *arg2 = 0 ;
15453 PyObject * obj0 = 0 ;
15454 PyObject * obj1 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "self",(char *) "bmp", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15463 SWIG_POINTER_EXCEPTION | 0)) == -1)
15464 SWIG_fail;
15465 if (arg2 == NULL) {
15466 PyErr_SetString(PyExc_TypeError,"null reference");
15467 SWIG_fail;
15468 }
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
15476 Py_INCREF(Py_None); resultobj = Py_None;
15477 return resultobj;
15478 fail:
15479 return NULL;
15480 }
15481
15482
15483 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15486 wxString *arg2 = 0 ;
15487 bool temp2 = False ;
15488 PyObject * obj0 = 0 ;
15489 PyObject * obj1 = 0 ;
15490 char *kwnames[] = {
15491 (char *) "self",(char *) "label", NULL
15492 };
15493
15494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15497 {
15498 arg2 = wxString_in_helper(obj1);
15499 if (arg2 == NULL) SWIG_fail;
15500 temp2 = True;
15501 }
15502 {
15503 PyThreadState* __tstate = wxPyBeginAllowThreads();
15504 (arg1)->SetLabel((wxString const &)*arg2);
15505
15506 wxPyEndAllowThreads(__tstate);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 Py_INCREF(Py_None); resultobj = Py_None;
15510 {
15511 if (temp2)
15512 delete arg2;
15513 }
15514 return resultobj;
15515 fail:
15516 {
15517 if (temp2)
15518 delete arg2;
15519 }
15520 return NULL;
15521 }
15522
15523
15524 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
15525 PyObject *resultobj;
15526 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15527 PyObject * obj0 = 0 ;
15528 char *kwnames[] = {
15529 (char *) "self", NULL
15530 };
15531
15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 (arg1)->Detach();
15538
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 Py_INCREF(Py_None); resultobj = Py_None;
15543 return resultobj;
15544 fail:
15545 return NULL;
15546 }
15547
15548
15549 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj;
15551 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15552 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15553 PyObject * obj0 = 0 ;
15554 PyObject * obj1 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self",(char *) "tbar", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 (arg1)->Attach(arg2);
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 Py_INCREF(Py_None); resultobj = Py_None;
15572 return resultobj;
15573 fail:
15574 return NULL;
15575 }
15576
15577
15578 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15581 PyObject *result;
15582 PyObject * obj0 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 resultobj = result;
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
15605 PyObject *resultobj;
15606 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15607 PyObject *arg2 = (PyObject *) 0 ;
15608 PyObject * obj0 = 0 ;
15609 PyObject * obj1 = 0 ;
15610 char *kwnames[] = {
15611 (char *) "self",(char *) "clientData", NULL
15612 };
15613
15614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15617 arg2 = obj1;
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 wxToolBarToolBase_SetClientData(arg1,arg2);
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 Py_INCREF(Py_None); resultobj = Py_None;
15626 return resultobj;
15627 fail:
15628 return NULL;
15629 }
15630
15631
15632 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
15633 PyObject *obj;
15634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15635 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15636 Py_INCREF(obj);
15637 return Py_BuildValue((char *)"");
15638 }
15639 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
15640 PyObject *resultobj;
15641 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15642 int arg2 ;
15643 wxString *arg3 = 0 ;
15644 wxBitmap *arg4 = 0 ;
15645 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15646 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15647 int arg6 = (int) wxITEM_NORMAL ;
15648 wxString const &arg7_defvalue = wxPyEmptyString ;
15649 wxString *arg7 = (wxString *) &arg7_defvalue ;
15650 wxString const &arg8_defvalue = wxPyEmptyString ;
15651 wxString *arg8 = (wxString *) &arg8_defvalue ;
15652 PyObject *arg9 = (PyObject *) NULL ;
15653 wxToolBarToolBase *result;
15654 bool temp3 = False ;
15655 bool temp7 = False ;
15656 bool temp8 = False ;
15657 PyObject * obj0 = 0 ;
15658 PyObject * obj1 = 0 ;
15659 PyObject * obj2 = 0 ;
15660 PyObject * obj3 = 0 ;
15661 PyObject * obj4 = 0 ;
15662 PyObject * obj5 = 0 ;
15663 PyObject * obj6 = 0 ;
15664 PyObject * obj7 = 0 ;
15665 PyObject * obj8 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15673 arg2 = (int) SWIG_AsInt(obj1);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 {
15676 arg3 = wxString_in_helper(obj2);
15677 if (arg3 == NULL) SWIG_fail;
15678 temp3 = True;
15679 }
15680 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15681 SWIG_POINTER_EXCEPTION | 0)) == -1)
15682 SWIG_fail;
15683 if (arg4 == NULL) {
15684 PyErr_SetString(PyExc_TypeError,"null reference");
15685 SWIG_fail;
15686 }
15687 if (obj4) {
15688 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15689 SWIG_POINTER_EXCEPTION | 0)) == -1)
15690 SWIG_fail;
15691 if (arg5 == NULL) {
15692 PyErr_SetString(PyExc_TypeError,"null reference");
15693 SWIG_fail;
15694 }
15695 }
15696 if (obj5) {
15697 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
15700 if (obj6) {
15701 {
15702 arg7 = wxString_in_helper(obj6);
15703 if (arg7 == NULL) SWIG_fail;
15704 temp7 = True;
15705 }
15706 }
15707 if (obj7) {
15708 {
15709 arg8 = wxString_in_helper(obj7);
15710 if (arg8 == NULL) SWIG_fail;
15711 temp8 = True;
15712 }
15713 }
15714 if (obj8) {
15715 arg9 = obj8;
15716 }
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
15719 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15720
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 {
15725 resultobj = wxPyMake_wxObject(result);
15726 }
15727 {
15728 if (temp3)
15729 delete arg3;
15730 }
15731 {
15732 if (temp7)
15733 delete arg7;
15734 }
15735 {
15736 if (temp8)
15737 delete arg8;
15738 }
15739 return resultobj;
15740 fail:
15741 {
15742 if (temp3)
15743 delete arg3;
15744 }
15745 {
15746 if (temp7)
15747 delete arg7;
15748 }
15749 {
15750 if (temp8)
15751 delete arg8;
15752 }
15753 return NULL;
15754 }
15755
15756
15757 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj;
15759 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15760 size_t arg2 ;
15761 int arg3 ;
15762 wxString *arg4 = 0 ;
15763 wxBitmap *arg5 = 0 ;
15764 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15765 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15766 int arg7 = (int) wxITEM_NORMAL ;
15767 wxString const &arg8_defvalue = wxPyEmptyString ;
15768 wxString *arg8 = (wxString *) &arg8_defvalue ;
15769 wxString const &arg9_defvalue = wxPyEmptyString ;
15770 wxString *arg9 = (wxString *) &arg9_defvalue ;
15771 PyObject *arg10 = (PyObject *) NULL ;
15772 wxToolBarToolBase *result;
15773 bool temp4 = False ;
15774 bool temp8 = False ;
15775 bool temp9 = False ;
15776 PyObject * obj0 = 0 ;
15777 PyObject * obj1 = 0 ;
15778 PyObject * obj2 = 0 ;
15779 PyObject * obj3 = 0 ;
15780 PyObject * obj4 = 0 ;
15781 PyObject * obj5 = 0 ;
15782 PyObject * obj6 = 0 ;
15783 PyObject * obj7 = 0 ;
15784 PyObject * obj8 = 0 ;
15785 PyObject * obj9 = 0 ;
15786 char *kwnames[] = {
15787 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15788 };
15789
15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15793 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 arg3 = (int) SWIG_AsInt(obj2);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 {
15798 arg4 = wxString_in_helper(obj3);
15799 if (arg4 == NULL) SWIG_fail;
15800 temp4 = True;
15801 }
15802 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15803 SWIG_POINTER_EXCEPTION | 0)) == -1)
15804 SWIG_fail;
15805 if (arg5 == NULL) {
15806 PyErr_SetString(PyExc_TypeError,"null reference");
15807 SWIG_fail;
15808 }
15809 if (obj5) {
15810 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
15811 SWIG_POINTER_EXCEPTION | 0)) == -1)
15812 SWIG_fail;
15813 if (arg6 == NULL) {
15814 PyErr_SetString(PyExc_TypeError,"null reference");
15815 SWIG_fail;
15816 }
15817 }
15818 if (obj6) {
15819 arg7 = (wxItemKind) SWIG_AsInt(obj6);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 if (obj7) {
15823 {
15824 arg8 = wxString_in_helper(obj7);
15825 if (arg8 == NULL) SWIG_fail;
15826 temp8 = True;
15827 }
15828 }
15829 if (obj8) {
15830 {
15831 arg9 = wxString_in_helper(obj8);
15832 if (arg9 == NULL) SWIG_fail;
15833 temp9 = True;
15834 }
15835 }
15836 if (obj9) {
15837 arg10 = obj9;
15838 }
15839 {
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 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);
15842
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 {
15847 resultobj = wxPyMake_wxObject(result);
15848 }
15849 {
15850 if (temp4)
15851 delete arg4;
15852 }
15853 {
15854 if (temp8)
15855 delete arg8;
15856 }
15857 {
15858 if (temp9)
15859 delete arg9;
15860 }
15861 return resultobj;
15862 fail:
15863 {
15864 if (temp4)
15865 delete arg4;
15866 }
15867 {
15868 if (temp8)
15869 delete arg8;
15870 }
15871 {
15872 if (temp9)
15873 delete arg9;
15874 }
15875 return NULL;
15876 }
15877
15878
15879 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
15880 PyObject *resultobj;
15881 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15882 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15883 wxToolBarToolBase *result;
15884 PyObject * obj0 = 0 ;
15885 PyObject * obj1 = 0 ;
15886 char *kwnames[] = {
15887 (char *) "self",(char *) "tool", NULL
15888 };
15889
15890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15893 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
15894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 {
15903 resultobj = wxPyMake_wxObject(result);
15904 }
15905 return resultobj;
15906 fail:
15907 return NULL;
15908 }
15909
15910
15911 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
15912 PyObject *resultobj;
15913 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15914 size_t arg2 ;
15915 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15916 wxToolBarToolBase *result;
15917 PyObject * obj0 = 0 ;
15918 PyObject * obj1 = 0 ;
15919 PyObject * obj2 = 0 ;
15920 char *kwnames[] = {
15921 (char *) "self",(char *) "pos",(char *) "tool", NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15927 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
15930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15931 {
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15934
15935 wxPyEndAllowThreads(__tstate);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
15938 {
15939 resultobj = wxPyMake_wxObject(result);
15940 }
15941 return resultobj;
15942 fail:
15943 return NULL;
15944 }
15945
15946
15947 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
15948 PyObject *resultobj;
15949 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15950 wxControl *arg2 = (wxControl *) 0 ;
15951 wxToolBarToolBase *result;
15952 PyObject * obj0 = 0 ;
15953 PyObject * obj1 = 0 ;
15954 char *kwnames[] = {
15955 (char *) "self",(char *) "control", NULL
15956 };
15957
15958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 {
15971 resultobj = wxPyMake_wxObject(result);
15972 }
15973 return resultobj;
15974 fail:
15975 return NULL;
15976 }
15977
15978
15979 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
15980 PyObject *resultobj;
15981 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15982 size_t arg2 ;
15983 wxControl *arg3 = (wxControl *) 0 ;
15984 wxToolBarToolBase *result;
15985 PyObject * obj0 = 0 ;
15986 PyObject * obj1 = 0 ;
15987 PyObject * obj2 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self",(char *) "pos",(char *) "control", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15995 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15996 if (PyErr_Occurred()) SWIG_fail;
15997 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
15998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 {
16007 resultobj = wxPyMake_wxObject(result);
16008 }
16009 return resultobj;
16010 fail:
16011 return NULL;
16012 }
16013
16014
16015 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
16016 PyObject *resultobj;
16017 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16018 int arg2 ;
16019 wxControl *result;
16020 PyObject * obj0 = 0 ;
16021 PyObject * obj1 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self",(char *) "id", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16029 arg2 = (int) SWIG_AsInt(obj1);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 result = (wxControl *)(arg1)->FindControl(arg2);
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 {
16039 resultobj = wxPyMake_wxObject(result);
16040 }
16041 return resultobj;
16042 fail:
16043 return NULL;
16044 }
16045
16046
16047 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
16048 PyObject *resultobj;
16049 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16050 wxToolBarToolBase *result;
16051 PyObject * obj0 = 0 ;
16052 char *kwnames[] = {
16053 (char *) "self", NULL
16054 };
16055
16056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16059 {
16060 PyThreadState* __tstate = wxPyBeginAllowThreads();
16061 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16062
16063 wxPyEndAllowThreads(__tstate);
16064 if (PyErr_Occurred()) SWIG_fail;
16065 }
16066 {
16067 resultobj = wxPyMake_wxObject(result);
16068 }
16069 return resultobj;
16070 fail:
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16078 size_t arg2 ;
16079 wxToolBarToolBase *result;
16080 PyObject * obj0 = 0 ;
16081 PyObject * obj1 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self",(char *) "pos", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16089 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16094
16095 wxPyEndAllowThreads(__tstate);
16096 if (PyErr_Occurred()) SWIG_fail;
16097 }
16098 {
16099 resultobj = wxPyMake_wxObject(result);
16100 }
16101 return resultobj;
16102 fail:
16103 return NULL;
16104 }
16105
16106
16107 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
16108 PyObject *resultobj;
16109 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16110 int arg2 ;
16111 wxToolBarToolBase *result;
16112 PyObject * obj0 = 0 ;
16113 PyObject * obj1 = 0 ;
16114 char *kwnames[] = {
16115 (char *) "self",(char *) "id", NULL
16116 };
16117
16118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16121 arg2 = (int) SWIG_AsInt(obj1);
16122 if (PyErr_Occurred()) SWIG_fail;
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 {
16131 resultobj = wxPyMake_wxObject(result);
16132 }
16133 return resultobj;
16134 fail:
16135 return NULL;
16136 }
16137
16138
16139 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16142 size_t arg2 ;
16143 bool result;
16144 PyObject * obj0 = 0 ;
16145 PyObject * obj1 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "self",(char *) "pos", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16153 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16154 if (PyErr_Occurred()) SWIG_fail;
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 result = (bool)(arg1)->DeleteToolByPos(arg2);
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 {
16163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16164 }
16165 return resultobj;
16166 fail:
16167 return NULL;
16168 }
16169
16170
16171 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj;
16173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16174 int arg2 ;
16175 bool result;
16176 PyObject * obj0 = 0 ;
16177 PyObject * obj1 = 0 ;
16178 char *kwnames[] = {
16179 (char *) "self",(char *) "id", NULL
16180 };
16181
16182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16185 arg2 = (int) SWIG_AsInt(obj1);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 {
16188 PyThreadState* __tstate = wxPyBeginAllowThreads();
16189 result = (bool)(arg1)->DeleteTool(arg2);
16190
16191 wxPyEndAllowThreads(__tstate);
16192 if (PyErr_Occurred()) SWIG_fail;
16193 }
16194 {
16195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16196 }
16197 return resultobj;
16198 fail:
16199 return NULL;
16200 }
16201
16202
16203 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16206 PyObject * obj0 = 0 ;
16207 char *kwnames[] = {
16208 (char *) "self", NULL
16209 };
16210
16211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16214 {
16215 PyThreadState* __tstate = wxPyBeginAllowThreads();
16216 (arg1)->ClearTools();
16217
16218 wxPyEndAllowThreads(__tstate);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 Py_INCREF(Py_None); resultobj = Py_None;
16222 return resultobj;
16223 fail:
16224 return NULL;
16225 }
16226
16227
16228 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj;
16230 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16231 bool result;
16232 PyObject * obj0 = 0 ;
16233 char *kwnames[] = {
16234 (char *) "self", NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16240 {
16241 PyThreadState* __tstate = wxPyBeginAllowThreads();
16242 result = (bool)(arg1)->Realize();
16243
16244 wxPyEndAllowThreads(__tstate);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 }
16247 {
16248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16249 }
16250 return resultobj;
16251 fail:
16252 return NULL;
16253 }
16254
16255
16256 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
16257 PyObject *resultobj;
16258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16259 int arg2 ;
16260 bool arg3 ;
16261 PyObject * obj0 = 0 ;
16262 PyObject * obj1 = 0 ;
16263 PyObject * obj2 = 0 ;
16264 char *kwnames[] = {
16265 (char *) "self",(char *) "id",(char *) "enable", NULL
16266 };
16267
16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16271 arg2 = (int) SWIG_AsInt(obj1);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 arg3 = (bool) SWIG_AsBool(obj2);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 {
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 (arg1)->EnableTool(arg2,arg3);
16278
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 Py_INCREF(Py_None); resultobj = Py_None;
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16292 int arg2 ;
16293 bool arg3 ;
16294 PyObject * obj0 = 0 ;
16295 PyObject * obj1 = 0 ;
16296 PyObject * obj2 = 0 ;
16297 char *kwnames[] = {
16298 (char *) "self",(char *) "id",(char *) "toggle", NULL
16299 };
16300
16301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16304 arg2 = (int) SWIG_AsInt(obj1);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 arg3 = (bool) SWIG_AsBool(obj2);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 {
16309 PyThreadState* __tstate = wxPyBeginAllowThreads();
16310 (arg1)->ToggleTool(arg2,arg3);
16311
16312 wxPyEndAllowThreads(__tstate);
16313 if (PyErr_Occurred()) SWIG_fail;
16314 }
16315 Py_INCREF(Py_None); resultobj = Py_None;
16316 return resultobj;
16317 fail:
16318 return NULL;
16319 }
16320
16321
16322 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
16323 PyObject *resultobj;
16324 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16325 int arg2 ;
16326 bool arg3 ;
16327 PyObject * obj0 = 0 ;
16328 PyObject * obj1 = 0 ;
16329 PyObject * obj2 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self",(char *) "id",(char *) "toggle", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16337 arg2 = (int) SWIG_AsInt(obj1);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 arg3 = (bool) SWIG_AsBool(obj2);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 (arg1)->SetToggle(arg2,arg3);
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 Py_INCREF(Py_None); resultobj = Py_None;
16349 return resultobj;
16350 fail:
16351 return NULL;
16352 }
16353
16354
16355 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
16356 PyObject *resultobj;
16357 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16358 int arg2 ;
16359 PyObject *result;
16360 PyObject * obj0 = 0 ;
16361 PyObject * obj1 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self",(char *) "id", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16369 arg2 = (int) SWIG_AsInt(obj1);
16370 if (PyErr_Occurred()) SWIG_fail;
16371 {
16372 PyThreadState* __tstate = wxPyBeginAllowThreads();
16373 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16374
16375 wxPyEndAllowThreads(__tstate);
16376 if (PyErr_Occurred()) SWIG_fail;
16377 }
16378 resultobj = result;
16379 return resultobj;
16380 fail:
16381 return NULL;
16382 }
16383
16384
16385 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj;
16387 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16388 int arg2 ;
16389 PyObject *arg3 = (PyObject *) 0 ;
16390 PyObject * obj0 = 0 ;
16391 PyObject * obj1 = 0 ;
16392 PyObject * obj2 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "self",(char *) "id",(char *) "clientData", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16400 arg2 = (int) SWIG_AsInt(obj1);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 arg3 = obj2;
16403 {
16404 PyThreadState* __tstate = wxPyBeginAllowThreads();
16405 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16406
16407 wxPyEndAllowThreads(__tstate);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 }
16410 Py_INCREF(Py_None); resultobj = Py_None;
16411 return resultobj;
16412 fail:
16413 return NULL;
16414 }
16415
16416
16417 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
16418 PyObject *resultobj;
16419 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16420 int arg2 ;
16421 int result;
16422 PyObject * obj0 = 0 ;
16423 PyObject * obj1 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self",(char *) "id", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16431 arg2 = (int) SWIG_AsInt(obj1);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 {
16434 PyThreadState* __tstate = wxPyBeginAllowThreads();
16435 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16436
16437 wxPyEndAllowThreads(__tstate);
16438 if (PyErr_Occurred()) SWIG_fail;
16439 }
16440 resultobj = SWIG_FromInt((int)result);
16441 return resultobj;
16442 fail:
16443 return NULL;
16444 }
16445
16446
16447 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
16448 PyObject *resultobj;
16449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16450 int arg2 ;
16451 bool result;
16452 PyObject * obj0 = 0 ;
16453 PyObject * obj1 = 0 ;
16454 char *kwnames[] = {
16455 (char *) "self",(char *) "id", NULL
16456 };
16457
16458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16461 arg2 = (int) SWIG_AsInt(obj1);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 result = (bool)(arg1)->GetToolState(arg2);
16466
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 {
16471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16472 }
16473 return resultobj;
16474 fail:
16475 return NULL;
16476 }
16477
16478
16479 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
16480 PyObject *resultobj;
16481 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16482 int arg2 ;
16483 bool result;
16484 PyObject * obj0 = 0 ;
16485 PyObject * obj1 = 0 ;
16486 char *kwnames[] = {
16487 (char *) "self",(char *) "id", NULL
16488 };
16489
16490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16493 arg2 = (int) SWIG_AsInt(obj1);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 {
16496 PyThreadState* __tstate = wxPyBeginAllowThreads();
16497 result = (bool)(arg1)->GetToolEnabled(arg2);
16498
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 {
16503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16504 }
16505 return resultobj;
16506 fail:
16507 return NULL;
16508 }
16509
16510
16511 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16512 PyObject *resultobj;
16513 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16514 int arg2 ;
16515 wxString *arg3 = 0 ;
16516 bool temp3 = False ;
16517 PyObject * obj0 = 0 ;
16518 PyObject * obj1 = 0 ;
16519 PyObject * obj2 = 0 ;
16520 char *kwnames[] = {
16521 (char *) "self",(char *) "id",(char *) "helpString", NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16527 arg2 = (int) SWIG_AsInt(obj1);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 {
16530 arg3 = wxString_in_helper(obj2);
16531 if (arg3 == NULL) SWIG_fail;
16532 temp3 = True;
16533 }
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 Py_INCREF(Py_None); resultobj = Py_None;
16542 {
16543 if (temp3)
16544 delete arg3;
16545 }
16546 return resultobj;
16547 fail:
16548 {
16549 if (temp3)
16550 delete arg3;
16551 }
16552 return NULL;
16553 }
16554
16555
16556 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16559 int arg2 ;
16560 wxString result;
16561 PyObject * obj0 = 0 ;
16562 PyObject * obj1 = 0 ;
16563 char *kwnames[] = {
16564 (char *) "self",(char *) "id", NULL
16565 };
16566
16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16570 arg2 = (int) SWIG_AsInt(obj1);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 result = (arg1)->GetToolShortHelp(arg2);
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 {
16580 #if wxUSE_UNICODE
16581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16582 #else
16583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16584 #endif
16585 }
16586 return resultobj;
16587 fail:
16588 return NULL;
16589 }
16590
16591
16592 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj;
16594 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16595 int arg2 ;
16596 wxString *arg3 = 0 ;
16597 bool temp3 = False ;
16598 PyObject * obj0 = 0 ;
16599 PyObject * obj1 = 0 ;
16600 PyObject * obj2 = 0 ;
16601 char *kwnames[] = {
16602 (char *) "self",(char *) "id",(char *) "helpString", NULL
16603 };
16604
16605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16608 arg2 = (int) SWIG_AsInt(obj1);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 {
16611 arg3 = wxString_in_helper(obj2);
16612 if (arg3 == NULL) SWIG_fail;
16613 temp3 = True;
16614 }
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
16617 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16618
16619 wxPyEndAllowThreads(__tstate);
16620 if (PyErr_Occurred()) SWIG_fail;
16621 }
16622 Py_INCREF(Py_None); resultobj = Py_None;
16623 {
16624 if (temp3)
16625 delete arg3;
16626 }
16627 return resultobj;
16628 fail:
16629 {
16630 if (temp3)
16631 delete arg3;
16632 }
16633 return NULL;
16634 }
16635
16636
16637 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16640 int arg2 ;
16641 wxString result;
16642 PyObject * obj0 = 0 ;
16643 PyObject * obj1 = 0 ;
16644 char *kwnames[] = {
16645 (char *) "self",(char *) "id", NULL
16646 };
16647
16648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16651 arg2 = (int) SWIG_AsInt(obj1);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 {
16654 PyThreadState* __tstate = wxPyBeginAllowThreads();
16655 result = (arg1)->GetToolLongHelp(arg2);
16656
16657 wxPyEndAllowThreads(__tstate);
16658 if (PyErr_Occurred()) SWIG_fail;
16659 }
16660 {
16661 #if wxUSE_UNICODE
16662 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16663 #else
16664 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16665 #endif
16666 }
16667 return resultobj;
16668 fail:
16669 return NULL;
16670 }
16671
16672
16673 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
16674 PyObject *resultobj;
16675 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16676 int arg2 ;
16677 int arg3 ;
16678 PyObject * obj0 = 0 ;
16679 PyObject * obj1 = 0 ;
16680 PyObject * obj2 = 0 ;
16681 char *kwnames[] = {
16682 (char *) "self",(char *) "x",(char *) "y", NULL
16683 };
16684
16685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16688 arg2 = (int) SWIG_AsInt(obj1);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 arg3 = (int) SWIG_AsInt(obj2);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 (arg1)->SetMargins(arg2,arg3);
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 Py_INCREF(Py_None); resultobj = Py_None;
16700 return resultobj;
16701 fail:
16702 return NULL;
16703 }
16704
16705
16706 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16709 wxSize *arg2 = 0 ;
16710 wxSize temp2 ;
16711 PyObject * obj0 = 0 ;
16712 PyObject * obj1 = 0 ;
16713 char *kwnames[] = {
16714 (char *) "self",(char *) "size", NULL
16715 };
16716
16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16720 {
16721 arg2 = &temp2;
16722 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16723 }
16724 {
16725 PyThreadState* __tstate = wxPyBeginAllowThreads();
16726 (arg1)->SetMargins((wxSize const &)*arg2);
16727
16728 wxPyEndAllowThreads(__tstate);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 Py_INCREF(Py_None); resultobj = Py_None;
16732 return resultobj;
16733 fail:
16734 return NULL;
16735 }
16736
16737
16738 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj;
16740 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16741 int arg2 ;
16742 PyObject * obj0 = 0 ;
16743 PyObject * obj1 = 0 ;
16744 char *kwnames[] = {
16745 (char *) "self",(char *) "packing", NULL
16746 };
16747
16748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16751 arg2 = (int) SWIG_AsInt(obj1);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 (arg1)->SetToolPacking(arg2);
16756
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 Py_INCREF(Py_None); resultobj = Py_None;
16761 return resultobj;
16762 fail:
16763 return NULL;
16764 }
16765
16766
16767 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
16768 PyObject *resultobj;
16769 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16770 int arg2 ;
16771 PyObject * obj0 = 0 ;
16772 PyObject * obj1 = 0 ;
16773 char *kwnames[] = {
16774 (char *) "self",(char *) "separation", NULL
16775 };
16776
16777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16780 arg2 = (int) SWIG_AsInt(obj1);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 {
16783 PyThreadState* __tstate = wxPyBeginAllowThreads();
16784 (arg1)->SetToolSeparation(arg2);
16785
16786 wxPyEndAllowThreads(__tstate);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 Py_INCREF(Py_None); resultobj = Py_None;
16790 return resultobj;
16791 fail:
16792 return NULL;
16793 }
16794
16795
16796 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16797 PyObject *resultobj;
16798 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16799 wxSize result;
16800 PyObject * obj0 = 0 ;
16801 char *kwnames[] = {
16802 (char *) "self", NULL
16803 };
16804
16805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16808 {
16809 PyThreadState* __tstate = wxPyBeginAllowThreads();
16810 result = (arg1)->GetToolMargins();
16811
16812 wxPyEndAllowThreads(__tstate);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 }
16815 {
16816 wxSize * resultptr;
16817 resultptr = new wxSize((wxSize &) result);
16818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16819 }
16820 return resultobj;
16821 fail:
16822 return NULL;
16823 }
16824
16825
16826 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16827 PyObject *resultobj;
16828 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16829 wxSize result;
16830 PyObject * obj0 = 0 ;
16831 char *kwnames[] = {
16832 (char *) "self", NULL
16833 };
16834
16835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16838 {
16839 PyThreadState* __tstate = wxPyBeginAllowThreads();
16840 result = (arg1)->GetMargins();
16841
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 {
16846 wxSize * resultptr;
16847 resultptr = new wxSize((wxSize &) result);
16848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16849 }
16850 return resultobj;
16851 fail:
16852 return NULL;
16853 }
16854
16855
16856 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
16857 PyObject *resultobj;
16858 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16859 int result;
16860 PyObject * obj0 = 0 ;
16861 char *kwnames[] = {
16862 (char *) "self", NULL
16863 };
16864
16865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 result = (int)(arg1)->GetToolPacking();
16871
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
16875 resultobj = SWIG_FromInt((int)result);
16876 return resultobj;
16877 fail:
16878 return NULL;
16879 }
16880
16881
16882 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
16883 PyObject *resultobj;
16884 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16885 int result;
16886 PyObject * obj0 = 0 ;
16887 char *kwnames[] = {
16888 (char *) "self", NULL
16889 };
16890
16891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16894 {
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 result = (int)(arg1)->GetToolSeparation();
16897
16898 wxPyEndAllowThreads(__tstate);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 resultobj = SWIG_FromInt((int)result);
16902 return resultobj;
16903 fail:
16904 return NULL;
16905 }
16906
16907
16908 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
16909 PyObject *resultobj;
16910 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16911 int arg2 ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self",(char *) "nRows", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16921 arg2 = (int) SWIG_AsInt(obj1);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 (arg1)->SetRows(arg2);
16926
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 Py_INCREF(Py_None); resultobj = Py_None;
16931 return resultobj;
16932 fail:
16933 return NULL;
16934 }
16935
16936
16937 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
16938 PyObject *resultobj;
16939 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16940 int arg2 ;
16941 int arg3 ;
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 PyObject * obj2 = 0 ;
16945 char *kwnames[] = {
16946 (char *) "self",(char *) "rows",(char *) "cols", NULL
16947 };
16948
16949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16952 arg2 = (int) SWIG_AsInt(obj1);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 arg3 = (int) SWIG_AsInt(obj2);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 {
16957 PyThreadState* __tstate = wxPyBeginAllowThreads();
16958 (arg1)->SetMaxRowsCols(arg2,arg3);
16959
16960 wxPyEndAllowThreads(__tstate);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 }
16963 Py_INCREF(Py_None); resultobj = Py_None;
16964 return resultobj;
16965 fail:
16966 return NULL;
16967 }
16968
16969
16970 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
16971 PyObject *resultobj;
16972 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16973 int result;
16974 PyObject * obj0 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "self", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16982 {
16983 PyThreadState* __tstate = wxPyBeginAllowThreads();
16984 result = (int)(arg1)->GetMaxRows();
16985
16986 wxPyEndAllowThreads(__tstate);
16987 if (PyErr_Occurred()) SWIG_fail;
16988 }
16989 resultobj = SWIG_FromInt((int)result);
16990 return resultobj;
16991 fail:
16992 return NULL;
16993 }
16994
16995
16996 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
16997 PyObject *resultobj;
16998 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16999 int result;
17000 PyObject * obj0 = 0 ;
17001 char *kwnames[] = {
17002 (char *) "self", NULL
17003 };
17004
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = (int)(arg1)->GetMaxCols();
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 resultobj = SWIG_FromInt((int)result);
17016 return resultobj;
17017 fail:
17018 return NULL;
17019 }
17020
17021
17022 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj;
17024 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17025 wxSize *arg2 = 0 ;
17026 wxSize temp2 ;
17027 PyObject * obj0 = 0 ;
17028 PyObject * obj1 = 0 ;
17029 char *kwnames[] = {
17030 (char *) "self",(char *) "size", NULL
17031 };
17032
17033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17036 {
17037 arg2 = &temp2;
17038 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17039 }
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 Py_INCREF(Py_None); resultobj = Py_None;
17048 return resultobj;
17049 fail:
17050 return NULL;
17051 }
17052
17053
17054 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
17055 PyObject *resultobj;
17056 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17057 wxSize result;
17058 PyObject * obj0 = 0 ;
17059 char *kwnames[] = {
17060 (char *) "self", NULL
17061 };
17062
17063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17066 {
17067 PyThreadState* __tstate = wxPyBeginAllowThreads();
17068 result = (arg1)->GetToolBitmapSize();
17069
17070 wxPyEndAllowThreads(__tstate);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 }
17073 {
17074 wxSize * resultptr;
17075 resultptr = new wxSize((wxSize &) result);
17076 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17077 }
17078 return resultobj;
17079 fail:
17080 return NULL;
17081 }
17082
17083
17084 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj;
17086 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17087 wxSize result;
17088 PyObject * obj0 = 0 ;
17089 char *kwnames[] = {
17090 (char *) "self", NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = (arg1)->GetToolSize();
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 {
17104 wxSize * resultptr;
17105 resultptr = new wxSize((wxSize &) result);
17106 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17107 }
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17115 PyObject *resultobj;
17116 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17117 int arg2 ;
17118 int arg3 ;
17119 wxToolBarToolBase *result;
17120 PyObject * obj0 = 0 ;
17121 PyObject * obj1 = 0 ;
17122 PyObject * obj2 = 0 ;
17123 char *kwnames[] = {
17124 (char *) "self",(char *) "x",(char *) "y", NULL
17125 };
17126
17127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17130 arg2 = (int) SWIG_AsInt(obj1);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 arg3 = (int) SWIG_AsInt(obj2);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 {
17142 resultobj = wxPyMake_wxObject(result);
17143 }
17144 return resultobj;
17145 fail:
17146 return NULL;
17147 }
17148
17149
17150 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
17151 PyObject *resultobj;
17152 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17153 int arg2 ;
17154 wxToolBarToolBase *result;
17155 PyObject * obj0 = 0 ;
17156 PyObject * obj1 = 0 ;
17157 char *kwnames[] = {
17158 (char *) "self",(char *) "toolid", NULL
17159 };
17160
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17164 arg2 = (int) SWIG_AsInt(obj1);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17169
17170 wxPyEndAllowThreads(__tstate);
17171 if (PyErr_Occurred()) SWIG_fail;
17172 }
17173 {
17174 resultobj = wxPyMake_wxObject(result);
17175 }
17176 return resultobj;
17177 fail:
17178 return NULL;
17179 }
17180
17181
17182 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17183 PyObject *resultobj;
17184 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17185 bool result;
17186 PyObject * obj0 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17194 {
17195 PyThreadState* __tstate = wxPyBeginAllowThreads();
17196 result = (bool)(arg1)->IsVertical();
17197
17198 wxPyEndAllowThreads(__tstate);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 }
17201 {
17202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17203 }
17204 return resultobj;
17205 fail:
17206 return NULL;
17207 }
17208
17209
17210 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
17211 PyObject *obj;
17212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17213 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17214 Py_INCREF(obj);
17215 return Py_BuildValue((char *)"");
17216 }
17217 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxWindow *arg1 = (wxWindow *) 0 ;
17220 int arg2 ;
17221 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17222 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17223 wxSize const &arg4_defvalue = wxDefaultSize ;
17224 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17225 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17226 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17227 wxString *arg6 = (wxString *) &arg6_defvalue ;
17228 wxToolBar *result;
17229 wxPoint temp3 ;
17230 wxSize temp4 ;
17231 bool temp6 = False ;
17232 PyObject * obj0 = 0 ;
17233 PyObject * obj1 = 0 ;
17234 PyObject * obj2 = 0 ;
17235 PyObject * obj3 = 0 ;
17236 PyObject * obj4 = 0 ;
17237 PyObject * obj5 = 0 ;
17238 char *kwnames[] = {
17239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17240 };
17241
17242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17245 arg2 = (int) SWIG_AsInt(obj1);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 if (obj2) {
17248 {
17249 arg3 = &temp3;
17250 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17251 }
17252 }
17253 if (obj3) {
17254 {
17255 arg4 = &temp4;
17256 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17257 }
17258 }
17259 if (obj4) {
17260 arg5 = (long) SWIG_AsLong(obj4);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 if (obj5) {
17264 {
17265 arg6 = wxString_in_helper(obj5);
17266 if (arg6 == NULL) SWIG_fail;
17267 temp6 = True;
17268 }
17269 }
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
17272 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17273
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 {
17278 resultobj = wxPyMake_wxObject(result);
17279 }
17280 {
17281 if (temp6)
17282 delete arg6;
17283 }
17284 return resultobj;
17285 fail:
17286 {
17287 if (temp6)
17288 delete arg6;
17289 }
17290 return NULL;
17291 }
17292
17293
17294 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj;
17296 wxToolBar *result;
17297 char *kwnames[] = {
17298 NULL
17299 };
17300
17301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 result = (wxToolBar *)new wxToolBar();
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 {
17310 resultobj = wxPyMake_wxObject(result);
17311 }
17312 return resultobj;
17313 fail:
17314 return NULL;
17315 }
17316
17317
17318 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17319 PyObject *resultobj;
17320 wxToolBar *arg1 = (wxToolBar *) 0 ;
17321 wxWindow *arg2 = (wxWindow *) 0 ;
17322 int arg3 ;
17323 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17324 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17325 wxSize const &arg5_defvalue = wxDefaultSize ;
17326 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17327 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17328 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17329 wxString *arg7 = (wxString *) &arg7_defvalue ;
17330 bool result;
17331 wxPoint temp4 ;
17332 wxSize temp5 ;
17333 bool temp7 = False ;
17334 PyObject * obj0 = 0 ;
17335 PyObject * obj1 = 0 ;
17336 PyObject * obj2 = 0 ;
17337 PyObject * obj3 = 0 ;
17338 PyObject * obj4 = 0 ;
17339 PyObject * obj5 = 0 ;
17340 PyObject * obj6 = 0 ;
17341 char *kwnames[] = {
17342 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17343 };
17344
17345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17350 arg3 = (int) SWIG_AsInt(obj2);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 if (obj3) {
17353 {
17354 arg4 = &temp4;
17355 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17356 }
17357 }
17358 if (obj4) {
17359 {
17360 arg5 = &temp5;
17361 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17362 }
17363 }
17364 if (obj5) {
17365 arg6 = (long) SWIG_AsLong(obj5);
17366 if (PyErr_Occurred()) SWIG_fail;
17367 }
17368 if (obj6) {
17369 {
17370 arg7 = wxString_in_helper(obj6);
17371 if (arg7 == NULL) SWIG_fail;
17372 temp7 = True;
17373 }
17374 }
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17378
17379 wxPyEndAllowThreads(__tstate);
17380 if (PyErr_Occurred()) SWIG_fail;
17381 }
17382 {
17383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17384 }
17385 {
17386 if (temp7)
17387 delete arg7;
17388 }
17389 return resultobj;
17390 fail:
17391 {
17392 if (temp7)
17393 delete arg7;
17394 }
17395 return NULL;
17396 }
17397
17398
17399 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17400 PyObject *resultobj;
17401 wxToolBar *arg1 = (wxToolBar *) 0 ;
17402 int arg2 ;
17403 int arg3 ;
17404 wxToolBarToolBase *result;
17405 PyObject * obj0 = 0 ;
17406 PyObject * obj1 = 0 ;
17407 PyObject * obj2 = 0 ;
17408 char *kwnames[] = {
17409 (char *) "self",(char *) "x",(char *) "y", NULL
17410 };
17411
17412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17415 arg2 = (int) SWIG_AsInt(obj1);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 arg3 = (int) SWIG_AsInt(obj2);
17418 if (PyErr_Occurred()) SWIG_fail;
17419 {
17420 PyThreadState* __tstate = wxPyBeginAllowThreads();
17421 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17422
17423 wxPyEndAllowThreads(__tstate);
17424 if (PyErr_Occurred()) SWIG_fail;
17425 }
17426 {
17427 resultobj = wxPyMake_wxObject(result);
17428 }
17429 return resultobj;
17430 fail:
17431 return NULL;
17432 }
17433
17434
17435 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
17436 PyObject *obj;
17437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17438 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17439 Py_INCREF(obj);
17440 return Py_BuildValue((char *)"");
17441 }
17442 static int _wrap_ListCtrlNameStr_set(PyObject *) {
17443 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17444 return 1;
17445 }
17446
17447
17448 static PyObject *_wrap_ListCtrlNameStr_get() {
17449 PyObject *pyobj;
17450
17451 {
17452 #if wxUSE_UNICODE
17453 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17454 #else
17455 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17456 #endif
17457 }
17458 return pyobj;
17459 }
17460
17461
17462 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
17463 PyObject *resultobj;
17464 wxColour const &arg1_defvalue = wxNullColour ;
17465 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17466 wxColour const &arg2_defvalue = wxNullColour ;
17467 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17468 wxFont const &arg3_defvalue = wxNullFont ;
17469 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17470 wxListItemAttr *result;
17471 wxColour temp1 ;
17472 wxColour temp2 ;
17473 PyObject * obj0 = 0 ;
17474 PyObject * obj1 = 0 ;
17475 PyObject * obj2 = 0 ;
17476 char *kwnames[] = {
17477 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17478 };
17479
17480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17481 if (obj0) {
17482 {
17483 arg1 = &temp1;
17484 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17485 }
17486 }
17487 if (obj1) {
17488 {
17489 arg2 = &temp2;
17490 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17491 }
17492 }
17493 if (obj2) {
17494 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17495 SWIG_POINTER_EXCEPTION | 0)) == -1)
17496 SWIG_fail;
17497 if (arg3 == NULL) {
17498 PyErr_SetString(PyExc_TypeError,"null reference");
17499 SWIG_fail;
17500 }
17501 }
17502 {
17503 PyThreadState* __tstate = wxPyBeginAllowThreads();
17504 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17505
17506 wxPyEndAllowThreads(__tstate);
17507 if (PyErr_Occurred()) SWIG_fail;
17508 }
17509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17510 return resultobj;
17511 fail:
17512 return NULL;
17513 }
17514
17515
17516 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17517 PyObject *resultobj;
17518 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17519 wxColour *arg2 = 0 ;
17520 wxColour temp2 ;
17521 PyObject * obj0 = 0 ;
17522 PyObject * obj1 = 0 ;
17523 char *kwnames[] = {
17524 (char *) "self",(char *) "colText", NULL
17525 };
17526
17527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17530 {
17531 arg2 = &temp2;
17532 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17533 }
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 (arg1)->SetTextColour((wxColour const &)*arg2);
17537
17538 wxPyEndAllowThreads(__tstate);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 }
17541 Py_INCREF(Py_None); resultobj = Py_None;
17542 return resultobj;
17543 fail:
17544 return NULL;
17545 }
17546
17547
17548 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17549 PyObject *resultobj;
17550 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17551 wxColour *arg2 = 0 ;
17552 wxColour temp2 ;
17553 PyObject * obj0 = 0 ;
17554 PyObject * obj1 = 0 ;
17555 char *kwnames[] = {
17556 (char *) "self",(char *) "colBack", NULL
17557 };
17558
17559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17562 {
17563 arg2 = &temp2;
17564 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17565 }
17566 {
17567 PyThreadState* __tstate = wxPyBeginAllowThreads();
17568 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 Py_INCREF(Py_None); resultobj = Py_None;
17574 return resultobj;
17575 fail:
17576 return NULL;
17577 }
17578
17579
17580 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj;
17582 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17583 wxFont *arg2 = 0 ;
17584 PyObject * obj0 = 0 ;
17585 PyObject * obj1 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "self",(char *) "font", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17594 SWIG_POINTER_EXCEPTION | 0)) == -1)
17595 SWIG_fail;
17596 if (arg2 == NULL) {
17597 PyErr_SetString(PyExc_TypeError,"null reference");
17598 SWIG_fail;
17599 }
17600 {
17601 PyThreadState* __tstate = wxPyBeginAllowThreads();
17602 (arg1)->SetFont((wxFont const &)*arg2);
17603
17604 wxPyEndAllowThreads(__tstate);
17605 if (PyErr_Occurred()) SWIG_fail;
17606 }
17607 Py_INCREF(Py_None); resultobj = Py_None;
17608 return resultobj;
17609 fail:
17610 return NULL;
17611 }
17612
17613
17614 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17615 PyObject *resultobj;
17616 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17617 bool result;
17618 PyObject * obj0 = 0 ;
17619 char *kwnames[] = {
17620 (char *) "self", NULL
17621 };
17622
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 result = (bool)(arg1)->HasTextColour();
17629
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 {
17634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17635 }
17636 return resultobj;
17637 fail:
17638 return NULL;
17639 }
17640
17641
17642 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17643 PyObject *resultobj;
17644 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17645 bool result;
17646 PyObject * obj0 = 0 ;
17647 char *kwnames[] = {
17648 (char *) "self", NULL
17649 };
17650
17651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17654 {
17655 PyThreadState* __tstate = wxPyBeginAllowThreads();
17656 result = (bool)(arg1)->HasBackgroundColour();
17657
17658 wxPyEndAllowThreads(__tstate);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
17661 {
17662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17663 }
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17673 bool result;
17674 PyObject * obj0 = 0 ;
17675 char *kwnames[] = {
17676 (char *) "self", NULL
17677 };
17678
17679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17682 {
17683 PyThreadState* __tstate = wxPyBeginAllowThreads();
17684 result = (bool)(arg1)->HasFont();
17685
17686 wxPyEndAllowThreads(__tstate);
17687 if (PyErr_Occurred()) SWIG_fail;
17688 }
17689 {
17690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17691 }
17692 return resultobj;
17693 fail:
17694 return NULL;
17695 }
17696
17697
17698 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17699 PyObject *resultobj;
17700 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17701 wxColour result;
17702 PyObject * obj0 = 0 ;
17703 char *kwnames[] = {
17704 (char *) "self", NULL
17705 };
17706
17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
17712 result = (arg1)->GetTextColour();
17713
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 {
17718 wxColour * resultptr;
17719 resultptr = new wxColour((wxColour &) result);
17720 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17721 }
17722 return resultobj;
17723 fail:
17724 return NULL;
17725 }
17726
17727
17728 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17729 PyObject *resultobj;
17730 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17731 wxColour result;
17732 PyObject * obj0 = 0 ;
17733 char *kwnames[] = {
17734 (char *) "self", NULL
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 result = (arg1)->GetBackgroundColour();
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 {
17748 wxColour * resultptr;
17749 resultptr = new wxColour((wxColour &) result);
17750 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17751 }
17752 return resultobj;
17753 fail:
17754 return NULL;
17755 }
17756
17757
17758 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
17759 PyObject *resultobj;
17760 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17761 wxFont result;
17762 PyObject * obj0 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17770 {
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 result = (arg1)->GetFont();
17773
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 {
17778 wxFont * resultptr;
17779 resultptr = new wxFont((wxFont &) result);
17780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
17781 }
17782 return resultobj;
17783 fail:
17784 return NULL;
17785 }
17786
17787
17788 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj;
17790 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17791 PyObject * obj0 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 wxListItemAttr_Destroy(arg1);
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 Py_INCREF(Py_None); resultobj = Py_None;
17807 return resultobj;
17808 fail:
17809 return NULL;
17810 }
17811
17812
17813 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
17814 PyObject *obj;
17815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17816 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17817 Py_INCREF(obj);
17818 return Py_BuildValue((char *)"");
17819 }
17820 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxListItem *result;
17823 char *kwnames[] = {
17824 NULL
17825 };
17826
17827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 result = (wxListItem *)new wxListItem();
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 {
17836 resultobj = wxPyMake_wxObject(result);
17837 }
17838 return resultobj;
17839 fail:
17840 return NULL;
17841 }
17842
17843
17844 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
17845 PyObject *resultobj;
17846 wxListItem *arg1 = (wxListItem *) 0 ;
17847 PyObject * obj0 = 0 ;
17848 char *kwnames[] = {
17849 (char *) "self", NULL
17850 };
17851
17852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 delete arg1;
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 Py_INCREF(Py_None); resultobj = Py_None;
17863 return resultobj;
17864 fail:
17865 return NULL;
17866 }
17867
17868
17869 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxListItem *arg1 = (wxListItem *) 0 ;
17872 PyObject * obj0 = 0 ;
17873 char *kwnames[] = {
17874 (char *) "self", NULL
17875 };
17876
17877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17880 {
17881 PyThreadState* __tstate = wxPyBeginAllowThreads();
17882 (arg1)->Clear();
17883
17884 wxPyEndAllowThreads(__tstate);
17885 if (PyErr_Occurred()) SWIG_fail;
17886 }
17887 Py_INCREF(Py_None); resultobj = Py_None;
17888 return resultobj;
17889 fail:
17890 return NULL;
17891 }
17892
17893
17894 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxListItem *arg1 = (wxListItem *) 0 ;
17897 PyObject * obj0 = 0 ;
17898 char *kwnames[] = {
17899 (char *) "self", NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17905 {
17906 PyThreadState* __tstate = wxPyBeginAllowThreads();
17907 (arg1)->ClearAttributes();
17908
17909 wxPyEndAllowThreads(__tstate);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 }
17912 Py_INCREF(Py_None); resultobj = Py_None;
17913 return resultobj;
17914 fail:
17915 return NULL;
17916 }
17917
17918
17919 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj;
17921 wxListItem *arg1 = (wxListItem *) 0 ;
17922 long arg2 ;
17923 PyObject * obj0 = 0 ;
17924 PyObject * obj1 = 0 ;
17925 char *kwnames[] = {
17926 (char *) "self",(char *) "mask", NULL
17927 };
17928
17929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17932 arg2 = (long) SWIG_AsLong(obj1);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 (arg1)->SetMask(arg2);
17937
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 Py_INCREF(Py_None); resultobj = Py_None;
17942 return resultobj;
17943 fail:
17944 return NULL;
17945 }
17946
17947
17948 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxListItem *arg1 = (wxListItem *) 0 ;
17951 long arg2 ;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self",(char *) "id", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17961 arg2 = (long) SWIG_AsLong(obj1);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 (arg1)->SetId(arg2);
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 Py_INCREF(Py_None); resultobj = Py_None;
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxListItem *arg1 = (wxListItem *) 0 ;
17980 int arg2 ;
17981 PyObject * obj0 = 0 ;
17982 PyObject * obj1 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "col", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17990 arg2 = (int) SWIG_AsInt(obj1);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 (arg1)->SetColumn(arg2);
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 Py_INCREF(Py_None); resultobj = Py_None;
18000 return resultobj;
18001 fail:
18002 return NULL;
18003 }
18004
18005
18006 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxListItem *arg1 = (wxListItem *) 0 ;
18009 long arg2 ;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self",(char *) "state", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18019 arg2 = (long) SWIG_AsLong(obj1);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 (arg1)->SetState(arg2);
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 Py_INCREF(Py_None); resultobj = Py_None;
18029 return resultobj;
18030 fail:
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxListItem *arg1 = (wxListItem *) 0 ;
18038 long arg2 ;
18039 PyObject * obj0 = 0 ;
18040 PyObject * obj1 = 0 ;
18041 char *kwnames[] = {
18042 (char *) "self",(char *) "stateMask", NULL
18043 };
18044
18045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18048 arg2 = (long) SWIG_AsLong(obj1);
18049 if (PyErr_Occurred()) SWIG_fail;
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 (arg1)->SetStateMask(arg2);
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 Py_INCREF(Py_None); resultobj = Py_None;
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxListItem *arg1 = (wxListItem *) 0 ;
18067 wxString *arg2 = 0 ;
18068 bool temp2 = False ;
18069 PyObject * obj0 = 0 ;
18070 PyObject * obj1 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self",(char *) "text", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18078 {
18079 arg2 = wxString_in_helper(obj1);
18080 if (arg2 == NULL) SWIG_fail;
18081 temp2 = True;
18082 }
18083 {
18084 PyThreadState* __tstate = wxPyBeginAllowThreads();
18085 (arg1)->SetText((wxString const &)*arg2);
18086
18087 wxPyEndAllowThreads(__tstate);
18088 if (PyErr_Occurred()) SWIG_fail;
18089 }
18090 Py_INCREF(Py_None); resultobj = Py_None;
18091 {
18092 if (temp2)
18093 delete arg2;
18094 }
18095 return resultobj;
18096 fail:
18097 {
18098 if (temp2)
18099 delete arg2;
18100 }
18101 return NULL;
18102 }
18103
18104
18105 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
18106 PyObject *resultobj;
18107 wxListItem *arg1 = (wxListItem *) 0 ;
18108 int arg2 ;
18109 PyObject * obj0 = 0 ;
18110 PyObject * obj1 = 0 ;
18111 char *kwnames[] = {
18112 (char *) "self",(char *) "image", NULL
18113 };
18114
18115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18118 arg2 = (int) SWIG_AsInt(obj1);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 (arg1)->SetImage(arg2);
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 Py_INCREF(Py_None); resultobj = Py_None;
18128 return resultobj;
18129 fail:
18130 return NULL;
18131 }
18132
18133
18134 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
18135 PyObject *resultobj;
18136 wxListItem *arg1 = (wxListItem *) 0 ;
18137 long arg2 ;
18138 PyObject * obj0 = 0 ;
18139 PyObject * obj1 = 0 ;
18140 char *kwnames[] = {
18141 (char *) "self",(char *) "data", NULL
18142 };
18143
18144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18147 arg2 = (long) SWIG_AsLong(obj1);
18148 if (PyErr_Occurred()) SWIG_fail;
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 (arg1)->SetData(arg2);
18152
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
18156 Py_INCREF(Py_None); resultobj = Py_None;
18157 return resultobj;
18158 fail:
18159 return NULL;
18160 }
18161
18162
18163 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
18164 PyObject *resultobj;
18165 wxListItem *arg1 = (wxListItem *) 0 ;
18166 int arg2 ;
18167 PyObject * obj0 = 0 ;
18168 PyObject * obj1 = 0 ;
18169 char *kwnames[] = {
18170 (char *) "self",(char *) "width", NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18176 arg2 = (int) SWIG_AsInt(obj1);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 (arg1)->SetWidth(arg2);
18181
18182 wxPyEndAllowThreads(__tstate);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
18185 Py_INCREF(Py_None); resultobj = Py_None;
18186 return resultobj;
18187 fail:
18188 return NULL;
18189 }
18190
18191
18192 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj;
18194 wxListItem *arg1 = (wxListItem *) 0 ;
18195 int arg2 ;
18196 PyObject * obj0 = 0 ;
18197 PyObject * obj1 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self",(char *) "align", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18205 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 (arg1)->SetAlign((wxListColumnFormat )arg2);
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
18214 Py_INCREF(Py_None); resultobj = Py_None;
18215 return resultobj;
18216 fail:
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 wxListItem *arg1 = (wxListItem *) 0 ;
18224 wxColour *arg2 = 0 ;
18225 wxColour temp2 ;
18226 PyObject * obj0 = 0 ;
18227 PyObject * obj1 = 0 ;
18228 char *kwnames[] = {
18229 (char *) "self",(char *) "colText", NULL
18230 };
18231
18232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18235 {
18236 arg2 = &temp2;
18237 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18238 }
18239 {
18240 PyThreadState* __tstate = wxPyBeginAllowThreads();
18241 (arg1)->SetTextColour((wxColour const &)*arg2);
18242
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 Py_INCREF(Py_None); resultobj = Py_None;
18247 return resultobj;
18248 fail:
18249 return NULL;
18250 }
18251
18252
18253 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj;
18255 wxListItem *arg1 = (wxListItem *) 0 ;
18256 wxColour *arg2 = 0 ;
18257 wxColour temp2 ;
18258 PyObject * obj0 = 0 ;
18259 PyObject * obj1 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self",(char *) "colBack", NULL
18262 };
18263
18264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18267 {
18268 arg2 = &temp2;
18269 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18270 }
18271 {
18272 PyThreadState* __tstate = wxPyBeginAllowThreads();
18273 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18274
18275 wxPyEndAllowThreads(__tstate);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 }
18278 Py_INCREF(Py_None); resultobj = Py_None;
18279 return resultobj;
18280 fail:
18281 return NULL;
18282 }
18283
18284
18285 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
18286 PyObject *resultobj;
18287 wxListItem *arg1 = (wxListItem *) 0 ;
18288 wxFont *arg2 = 0 ;
18289 PyObject * obj0 = 0 ;
18290 PyObject * obj1 = 0 ;
18291 char *kwnames[] = {
18292 (char *) "self",(char *) "font", NULL
18293 };
18294
18295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18299 SWIG_POINTER_EXCEPTION | 0)) == -1)
18300 SWIG_fail;
18301 if (arg2 == NULL) {
18302 PyErr_SetString(PyExc_TypeError,"null reference");
18303 SWIG_fail;
18304 }
18305 {
18306 PyThreadState* __tstate = wxPyBeginAllowThreads();
18307 (arg1)->SetFont((wxFont const &)*arg2);
18308
18309 wxPyEndAllowThreads(__tstate);
18310 if (PyErr_Occurred()) SWIG_fail;
18311 }
18312 Py_INCREF(Py_None); resultobj = Py_None;
18313 return resultobj;
18314 fail:
18315 return NULL;
18316 }
18317
18318
18319 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
18320 PyObject *resultobj;
18321 wxListItem *arg1 = (wxListItem *) 0 ;
18322 long result;
18323 PyObject * obj0 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18331 {
18332 PyThreadState* __tstate = wxPyBeginAllowThreads();
18333 result = (long)(arg1)->GetMask();
18334
18335 wxPyEndAllowThreads(__tstate);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 }
18338 resultobj = SWIG_FromLong((long)result);
18339 return resultobj;
18340 fail:
18341 return NULL;
18342 }
18343
18344
18345 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18346 PyObject *resultobj;
18347 wxListItem *arg1 = (wxListItem *) 0 ;
18348 long result;
18349 PyObject * obj0 = 0 ;
18350 char *kwnames[] = {
18351 (char *) "self", NULL
18352 };
18353
18354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18357 {
18358 PyThreadState* __tstate = wxPyBeginAllowThreads();
18359 result = (long)(arg1)->GetId();
18360
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 resultobj = SWIG_FromLong((long)result);
18365 return resultobj;
18366 fail:
18367 return NULL;
18368 }
18369
18370
18371 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
18372 PyObject *resultobj;
18373 wxListItem *arg1 = (wxListItem *) 0 ;
18374 int result;
18375 PyObject * obj0 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 result = (int)(arg1)->GetColumn();
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 resultobj = SWIG_FromInt((int)result);
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxListItem *arg1 = (wxListItem *) 0 ;
18400 long result;
18401 PyObject * obj0 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 result = (long)(arg1)->GetState();
18412
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 resultobj = SWIG_FromLong((long)result);
18417 return resultobj;
18418 fail:
18419 return NULL;
18420 }
18421
18422
18423 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj;
18425 wxListItem *arg1 = (wxListItem *) 0 ;
18426 wxString *result;
18427 PyObject * obj0 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "self", NULL
18430 };
18431
18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18435 {
18436 PyThreadState* __tstate = wxPyBeginAllowThreads();
18437 {
18438 wxString const &_result_ref = (arg1)->GetText();
18439 result = (wxString *) &_result_ref;
18440 }
18441
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 {
18446 #if wxUSE_UNICODE
18447 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18448 #else
18449 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18450 #endif
18451 }
18452 return resultobj;
18453 fail:
18454 return NULL;
18455 }
18456
18457
18458 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
18459 PyObject *resultobj;
18460 wxListItem *arg1 = (wxListItem *) 0 ;
18461 int result;
18462 PyObject * obj0 = 0 ;
18463 char *kwnames[] = {
18464 (char *) "self", NULL
18465 };
18466
18467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18470 {
18471 PyThreadState* __tstate = wxPyBeginAllowThreads();
18472 result = (int)(arg1)->GetImage();
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 resultobj = SWIG_FromInt((int)result);
18478 return resultobj;
18479 fail:
18480 return NULL;
18481 }
18482
18483
18484 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
18485 PyObject *resultobj;
18486 wxListItem *arg1 = (wxListItem *) 0 ;
18487 long result;
18488 PyObject * obj0 = 0 ;
18489 char *kwnames[] = {
18490 (char *) "self", NULL
18491 };
18492
18493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 result = (long)(arg1)->GetData();
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 resultobj = SWIG_FromLong((long)result);
18504 return resultobj;
18505 fail:
18506 return NULL;
18507 }
18508
18509
18510 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
18511 PyObject *resultobj;
18512 wxListItem *arg1 = (wxListItem *) 0 ;
18513 int result;
18514 PyObject * obj0 = 0 ;
18515 char *kwnames[] = {
18516 (char *) "self", NULL
18517 };
18518
18519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18522 {
18523 PyThreadState* __tstate = wxPyBeginAllowThreads();
18524 result = (int)(arg1)->GetWidth();
18525
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 resultobj = SWIG_FromInt((int)result);
18530 return resultobj;
18531 fail:
18532 return NULL;
18533 }
18534
18535
18536 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
18537 PyObject *resultobj;
18538 wxListItem *arg1 = (wxListItem *) 0 ;
18539 int result;
18540 PyObject * obj0 = 0 ;
18541 char *kwnames[] = {
18542 (char *) "self", NULL
18543 };
18544
18545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18548 {
18549 PyThreadState* __tstate = wxPyBeginAllowThreads();
18550 result = (int)(arg1)->GetAlign();
18551
18552 wxPyEndAllowThreads(__tstate);
18553 if (PyErr_Occurred()) SWIG_fail;
18554 }
18555 resultobj = SWIG_FromInt((int)result);
18556 return resultobj;
18557 fail:
18558 return NULL;
18559 }
18560
18561
18562 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18563 PyObject *resultobj;
18564 wxListItem *arg1 = (wxListItem *) 0 ;
18565 wxListItemAttr *result;
18566 PyObject * obj0 = 0 ;
18567 char *kwnames[] = {
18568 (char *) "self", NULL
18569 };
18570
18571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18574 {
18575 PyThreadState* __tstate = wxPyBeginAllowThreads();
18576 result = (wxListItemAttr *)(arg1)->GetAttributes();
18577
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18582 return resultobj;
18583 fail:
18584 return NULL;
18585 }
18586
18587
18588 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18589 PyObject *resultobj;
18590 wxListItem *arg1 = (wxListItem *) 0 ;
18591 bool result;
18592 PyObject * obj0 = 0 ;
18593 char *kwnames[] = {
18594 (char *) "self", NULL
18595 };
18596
18597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 result = (bool)(arg1)->HasAttributes();
18603
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 {
18608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18609 }
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxListItem *arg1 = (wxListItem *) 0 ;
18619 wxColour result;
18620 PyObject * obj0 = 0 ;
18621 char *kwnames[] = {
18622 (char *) "self", NULL
18623 };
18624
18625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18628 {
18629 PyThreadState* __tstate = wxPyBeginAllowThreads();
18630 result = ((wxListItem const *)arg1)->GetTextColour();
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 {
18636 wxColour * resultptr;
18637 resultptr = new wxColour((wxColour &) result);
18638 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18639 }
18640 return resultobj;
18641 fail:
18642 return NULL;
18643 }
18644
18645
18646 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
18647 PyObject *resultobj;
18648 wxListItem *arg1 = (wxListItem *) 0 ;
18649 wxColour result;
18650 PyObject * obj0 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18658 {
18659 PyThreadState* __tstate = wxPyBeginAllowThreads();
18660 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18661
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 {
18666 wxColour * resultptr;
18667 resultptr = new wxColour((wxColour &) result);
18668 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18669 }
18670 return resultobj;
18671 fail:
18672 return NULL;
18673 }
18674
18675
18676 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
18677 PyObject *resultobj;
18678 wxListItem *arg1 = (wxListItem *) 0 ;
18679 wxFont result;
18680 PyObject * obj0 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",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 = ((wxListItem const *)arg1)->GetFont();
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 {
18696 wxFont * resultptr;
18697 resultptr = new wxFont((wxFont &) result);
18698 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18699 }
18700 return resultobj;
18701 fail:
18702 return NULL;
18703 }
18704
18705
18706 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
18707 PyObject *resultobj;
18708 wxListItem *arg1 = (wxListItem *) 0 ;
18709 long arg2 ;
18710 PyObject * obj0 = 0 ;
18711 PyObject * obj1 = 0 ;
18712 char *kwnames[] = {
18713 (char *) "self",(char *) "m_mask", NULL
18714 };
18715
18716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18719 arg2 = (long) SWIG_AsLong(obj1);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 if (arg1) (arg1)->m_mask = arg2;
18722
18723 Py_INCREF(Py_None); resultobj = Py_None;
18724 return resultobj;
18725 fail:
18726 return NULL;
18727 }
18728
18729
18730 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj;
18732 wxListItem *arg1 = (wxListItem *) 0 ;
18733 long result;
18734 PyObject * obj0 = 0 ;
18735 char *kwnames[] = {
18736 (char *) "self", NULL
18737 };
18738
18739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18742 result = (long) ((arg1)->m_mask);
18743
18744 resultobj = SWIG_FromLong((long)result);
18745 return resultobj;
18746 fail:
18747 return NULL;
18748 }
18749
18750
18751 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
18752 PyObject *resultobj;
18753 wxListItem *arg1 = (wxListItem *) 0 ;
18754 long arg2 ;
18755 PyObject * obj0 = 0 ;
18756 PyObject * obj1 = 0 ;
18757 char *kwnames[] = {
18758 (char *) "self",(char *) "m_itemId", NULL
18759 };
18760
18761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18764 arg2 = (long) SWIG_AsLong(obj1);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 if (arg1) (arg1)->m_itemId = arg2;
18767
18768 Py_INCREF(Py_None); resultobj = Py_None;
18769 return resultobj;
18770 fail:
18771 return NULL;
18772 }
18773
18774
18775 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj;
18777 wxListItem *arg1 = (wxListItem *) 0 ;
18778 long result;
18779 PyObject * obj0 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18787 result = (long) ((arg1)->m_itemId);
18788
18789 resultobj = SWIG_FromLong((long)result);
18790 return resultobj;
18791 fail:
18792 return NULL;
18793 }
18794
18795
18796 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
18797 PyObject *resultobj;
18798 wxListItem *arg1 = (wxListItem *) 0 ;
18799 int arg2 ;
18800 PyObject * obj0 = 0 ;
18801 PyObject * obj1 = 0 ;
18802 char *kwnames[] = {
18803 (char *) "self",(char *) "m_col", NULL
18804 };
18805
18806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18809 arg2 = (int) SWIG_AsInt(obj1);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 if (arg1) (arg1)->m_col = arg2;
18812
18813 Py_INCREF(Py_None); resultobj = Py_None;
18814 return resultobj;
18815 fail:
18816 return NULL;
18817 }
18818
18819
18820 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
18821 PyObject *resultobj;
18822 wxListItem *arg1 = (wxListItem *) 0 ;
18823 int result;
18824 PyObject * obj0 = 0 ;
18825 char *kwnames[] = {
18826 (char *) "self", NULL
18827 };
18828
18829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18832 result = (int) ((arg1)->m_col);
18833
18834 resultobj = SWIG_FromInt((int)result);
18835 return resultobj;
18836 fail:
18837 return NULL;
18838 }
18839
18840
18841 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
18842 PyObject *resultobj;
18843 wxListItem *arg1 = (wxListItem *) 0 ;
18844 long arg2 ;
18845 PyObject * obj0 = 0 ;
18846 PyObject * obj1 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "m_state", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18854 arg2 = (long) SWIG_AsLong(obj1);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 if (arg1) (arg1)->m_state = arg2;
18857
18858 Py_INCREF(Py_None); resultobj = Py_None;
18859 return resultobj;
18860 fail:
18861 return NULL;
18862 }
18863
18864
18865 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
18866 PyObject *resultobj;
18867 wxListItem *arg1 = (wxListItem *) 0 ;
18868 long result;
18869 PyObject * obj0 = 0 ;
18870 char *kwnames[] = {
18871 (char *) "self", NULL
18872 };
18873
18874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18877 result = (long) ((arg1)->m_state);
18878
18879 resultobj = SWIG_FromLong((long)result);
18880 return resultobj;
18881 fail:
18882 return NULL;
18883 }
18884
18885
18886 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
18887 PyObject *resultobj;
18888 wxListItem *arg1 = (wxListItem *) 0 ;
18889 long arg2 ;
18890 PyObject * obj0 = 0 ;
18891 PyObject * obj1 = 0 ;
18892 char *kwnames[] = {
18893 (char *) "self",(char *) "m_stateMask", NULL
18894 };
18895
18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18899 arg2 = (long) SWIG_AsLong(obj1);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 if (arg1) (arg1)->m_stateMask = arg2;
18902
18903 Py_INCREF(Py_None); resultobj = Py_None;
18904 return resultobj;
18905 fail:
18906 return NULL;
18907 }
18908
18909
18910 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
18911 PyObject *resultobj;
18912 wxListItem *arg1 = (wxListItem *) 0 ;
18913 long result;
18914 PyObject * obj0 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18922 result = (long) ((arg1)->m_stateMask);
18923
18924 resultobj = SWIG_FromLong((long)result);
18925 return resultobj;
18926 fail:
18927 return NULL;
18928 }
18929
18930
18931 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxListItem *arg1 = (wxListItem *) 0 ;
18934 wxString *arg2 = (wxString *) 0 ;
18935 bool temp2 = False ;
18936 PyObject * obj0 = 0 ;
18937 PyObject * obj1 = 0 ;
18938 char *kwnames[] = {
18939 (char *) "self",(char *) "m_text", NULL
18940 };
18941
18942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18945 {
18946 arg2 = wxString_in_helper(obj1);
18947 if (arg2 == NULL) SWIG_fail;
18948 temp2 = True;
18949 }
18950 if (arg1) (arg1)->m_text = *arg2;
18951
18952 Py_INCREF(Py_None); resultobj = Py_None;
18953 {
18954 if (temp2)
18955 delete arg2;
18956 }
18957 return resultobj;
18958 fail:
18959 {
18960 if (temp2)
18961 delete arg2;
18962 }
18963 return NULL;
18964 }
18965
18966
18967 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxListItem *arg1 = (wxListItem *) 0 ;
18970 wxString *result;
18971 PyObject * obj0 = 0 ;
18972 char *kwnames[] = {
18973 (char *) "self", NULL
18974 };
18975
18976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18979 result = (wxString *)& ((arg1)->m_text);
18980
18981 {
18982 #if wxUSE_UNICODE
18983 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18984 #else
18985 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18986 #endif
18987 }
18988 return resultobj;
18989 fail:
18990 return NULL;
18991 }
18992
18993
18994 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
18995 PyObject *resultobj;
18996 wxListItem *arg1 = (wxListItem *) 0 ;
18997 int arg2 ;
18998 PyObject * obj0 = 0 ;
18999 PyObject * obj1 = 0 ;
19000 char *kwnames[] = {
19001 (char *) "self",(char *) "m_image", NULL
19002 };
19003
19004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19007 arg2 = (int) SWIG_AsInt(obj1);
19008 if (PyErr_Occurred()) SWIG_fail;
19009 if (arg1) (arg1)->m_image = arg2;
19010
19011 Py_INCREF(Py_None); resultobj = Py_None;
19012 return resultobj;
19013 fail:
19014 return NULL;
19015 }
19016
19017
19018 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxListItem *arg1 = (wxListItem *) 0 ;
19021 int result;
19022 PyObject * obj0 = 0 ;
19023 char *kwnames[] = {
19024 (char *) "self", NULL
19025 };
19026
19027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19030 result = (int) ((arg1)->m_image);
19031
19032 resultobj = SWIG_FromInt((int)result);
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxListItem *arg1 = (wxListItem *) 0 ;
19042 long arg2 ;
19043 PyObject * obj0 = 0 ;
19044 PyObject * obj1 = 0 ;
19045 char *kwnames[] = {
19046 (char *) "self",(char *) "m_data", NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19052 arg2 = (long) SWIG_AsLong(obj1);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 if (arg1) (arg1)->m_data = arg2;
19055
19056 Py_INCREF(Py_None); resultobj = Py_None;
19057 return resultobj;
19058 fail:
19059 return NULL;
19060 }
19061
19062
19063 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxListItem *arg1 = (wxListItem *) 0 ;
19066 long result;
19067 PyObject * obj0 = 0 ;
19068 char *kwnames[] = {
19069 (char *) "self", NULL
19070 };
19071
19072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19075 result = (long) ((arg1)->m_data);
19076
19077 resultobj = SWIG_FromLong((long)result);
19078 return resultobj;
19079 fail:
19080 return NULL;
19081 }
19082
19083
19084 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj;
19086 wxListItem *arg1 = (wxListItem *) 0 ;
19087 int arg2 ;
19088 PyObject * obj0 = 0 ;
19089 PyObject * obj1 = 0 ;
19090 char *kwnames[] = {
19091 (char *) "self",(char *) "m_format", NULL
19092 };
19093
19094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19097 arg2 = (int) SWIG_AsInt(obj1);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 if (arg1) (arg1)->m_format = arg2;
19100
19101 Py_INCREF(Py_None); resultobj = Py_None;
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxListItem *arg1 = (wxListItem *) 0 ;
19111 int result;
19112 PyObject * obj0 = 0 ;
19113 char *kwnames[] = {
19114 (char *) "self", NULL
19115 };
19116
19117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19120 result = (int) ((arg1)->m_format);
19121
19122 resultobj = SWIG_FromInt((int)result);
19123 return resultobj;
19124 fail:
19125 return NULL;
19126 }
19127
19128
19129 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj;
19131 wxListItem *arg1 = (wxListItem *) 0 ;
19132 int arg2 ;
19133 PyObject * obj0 = 0 ;
19134 PyObject * obj1 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self",(char *) "m_width", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19142 arg2 = (int) SWIG_AsInt(obj1);
19143 if (PyErr_Occurred()) SWIG_fail;
19144 if (arg1) (arg1)->m_width = arg2;
19145
19146 Py_INCREF(Py_None); resultobj = Py_None;
19147 return resultobj;
19148 fail:
19149 return NULL;
19150 }
19151
19152
19153 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
19154 PyObject *resultobj;
19155 wxListItem *arg1 = (wxListItem *) 0 ;
19156 int result;
19157 PyObject * obj0 = 0 ;
19158 char *kwnames[] = {
19159 (char *) "self", NULL
19160 };
19161
19162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19165 result = (int) ((arg1)->m_width);
19166
19167 resultobj = SWIG_FromInt((int)result);
19168 return resultobj;
19169 fail:
19170 return NULL;
19171 }
19172
19173
19174 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
19175 PyObject *obj;
19176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19177 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19178 Py_INCREF(obj);
19179 return Py_BuildValue((char *)"");
19180 }
19181 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj;
19183 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19184 int arg2 = (int) 0 ;
19185 wxListEvent *result;
19186 PyObject * obj0 = 0 ;
19187 PyObject * obj1 = 0 ;
19188 char *kwnames[] = {
19189 (char *) "commandType",(char *) "id", NULL
19190 };
19191
19192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19193 if (obj0) {
19194 arg1 = (wxEventType) SWIG_AsInt(obj0);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 if (obj1) {
19198 arg2 = (int) SWIG_AsInt(obj1);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19209 return resultobj;
19210 fail:
19211 return NULL;
19212 }
19213
19214
19215 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj;
19217 wxListEvent *arg1 = (wxListEvent *) 0 ;
19218 int arg2 ;
19219 PyObject * obj0 = 0 ;
19220 PyObject * obj1 = 0 ;
19221 char *kwnames[] = {
19222 (char *) "self",(char *) "m_code", NULL
19223 };
19224
19225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19228 arg2 = (int) SWIG_AsInt(obj1);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 if (arg1) (arg1)->m_code = arg2;
19231
19232 Py_INCREF(Py_None); resultobj = Py_None;
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxListEvent *arg1 = (wxListEvent *) 0 ;
19242 int result;
19243 PyObject * obj0 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "self", NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19251 result = (int) ((arg1)->m_code);
19252
19253 resultobj = SWIG_FromInt((int)result);
19254 return resultobj;
19255 fail:
19256 return NULL;
19257 }
19258
19259
19260 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
19261 PyObject *resultobj;
19262 wxListEvent *arg1 = (wxListEvent *) 0 ;
19263 long arg2 ;
19264 PyObject * obj0 = 0 ;
19265 PyObject * obj1 = 0 ;
19266 char *kwnames[] = {
19267 (char *) "self",(char *) "m_oldItemIndex", NULL
19268 };
19269
19270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19273 arg2 = (long) SWIG_AsLong(obj1);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 if (arg1) (arg1)->m_oldItemIndex = arg2;
19276
19277 Py_INCREF(Py_None); resultobj = Py_None;
19278 return resultobj;
19279 fail:
19280 return NULL;
19281 }
19282
19283
19284 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
19285 PyObject *resultobj;
19286 wxListEvent *arg1 = (wxListEvent *) 0 ;
19287 long result;
19288 PyObject * obj0 = 0 ;
19289 char *kwnames[] = {
19290 (char *) "self", NULL
19291 };
19292
19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19296 result = (long) ((arg1)->m_oldItemIndex);
19297
19298 resultobj = SWIG_FromLong((long)result);
19299 return resultobj;
19300 fail:
19301 return NULL;
19302 }
19303
19304
19305 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj;
19307 wxListEvent *arg1 = (wxListEvent *) 0 ;
19308 long arg2 ;
19309 PyObject * obj0 = 0 ;
19310 PyObject * obj1 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "self",(char *) "m_itemIndex", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19318 arg2 = (long) SWIG_AsLong(obj1);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 if (arg1) (arg1)->m_itemIndex = arg2;
19321
19322 Py_INCREF(Py_None); resultobj = Py_None;
19323 return resultobj;
19324 fail:
19325 return NULL;
19326 }
19327
19328
19329 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
19330 PyObject *resultobj;
19331 wxListEvent *arg1 = (wxListEvent *) 0 ;
19332 long result;
19333 PyObject * obj0 = 0 ;
19334 char *kwnames[] = {
19335 (char *) "self", NULL
19336 };
19337
19338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19341 result = (long) ((arg1)->m_itemIndex);
19342
19343 resultobj = SWIG_FromLong((long)result);
19344 return resultobj;
19345 fail:
19346 return NULL;
19347 }
19348
19349
19350 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
19351 PyObject *resultobj;
19352 wxListEvent *arg1 = (wxListEvent *) 0 ;
19353 int arg2 ;
19354 PyObject * obj0 = 0 ;
19355 PyObject * obj1 = 0 ;
19356 char *kwnames[] = {
19357 (char *) "self",(char *) "m_col", NULL
19358 };
19359
19360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19363 arg2 = (int) SWIG_AsInt(obj1);
19364 if (PyErr_Occurred()) SWIG_fail;
19365 if (arg1) (arg1)->m_col = arg2;
19366
19367 Py_INCREF(Py_None); resultobj = Py_None;
19368 return resultobj;
19369 fail:
19370 return NULL;
19371 }
19372
19373
19374 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
19375 PyObject *resultobj;
19376 wxListEvent *arg1 = (wxListEvent *) 0 ;
19377 int result;
19378 PyObject * obj0 = 0 ;
19379 char *kwnames[] = {
19380 (char *) "self", NULL
19381 };
19382
19383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19386 result = (int) ((arg1)->m_col);
19387
19388 resultobj = SWIG_FromInt((int)result);
19389 return resultobj;
19390 fail:
19391 return NULL;
19392 }
19393
19394
19395 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj;
19397 wxListEvent *arg1 = (wxListEvent *) 0 ;
19398 wxPoint *arg2 = (wxPoint *) 0 ;
19399 PyObject * obj0 = 0 ;
19400 PyObject * obj1 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self",(char *) "m_pointDrag", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19410 if (arg1) (arg1)->m_pointDrag = *arg2;
19411
19412 Py_INCREF(Py_None); resultobj = Py_None;
19413 return resultobj;
19414 fail:
19415 return NULL;
19416 }
19417
19418
19419 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxListEvent *arg1 = (wxListEvent *) 0 ;
19422 wxPoint *result;
19423 PyObject * obj0 = 0 ;
19424 char *kwnames[] = {
19425 (char *) "self", NULL
19426 };
19427
19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19431 result = (wxPoint *)& ((arg1)->m_pointDrag);
19432
19433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19434 return resultobj;
19435 fail:
19436 return NULL;
19437 }
19438
19439
19440 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj;
19442 wxListEvent *arg1 = (wxListEvent *) 0 ;
19443 wxListItem *result;
19444 PyObject * obj0 = 0 ;
19445 char *kwnames[] = {
19446 (char *) "self", NULL
19447 };
19448
19449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19452 result = (wxListItem *)& ((arg1)->m_item);
19453
19454 {
19455 resultobj = wxPyMake_wxObject(result);
19456 }
19457 return resultobj;
19458 fail:
19459 return NULL;
19460 }
19461
19462
19463 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxListEvent *arg1 = (wxListEvent *) 0 ;
19466 int result;
19467 PyObject * obj0 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19475 {
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 result = (int)(arg1)->GetKeyCode();
19478
19479 wxPyEndAllowThreads(__tstate);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 resultobj = SWIG_FromInt((int)result);
19483 return resultobj;
19484 fail:
19485 return NULL;
19486 }
19487
19488
19489 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
19490 PyObject *resultobj;
19491 wxListEvent *arg1 = (wxListEvent *) 0 ;
19492 long result;
19493 PyObject * obj0 = 0 ;
19494 char *kwnames[] = {
19495 (char *) "self", NULL
19496 };
19497
19498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19501 {
19502 PyThreadState* __tstate = wxPyBeginAllowThreads();
19503 result = (long)(arg1)->GetIndex();
19504
19505 wxPyEndAllowThreads(__tstate);
19506 if (PyErr_Occurred()) SWIG_fail;
19507 }
19508 resultobj = SWIG_FromLong((long)result);
19509 return resultobj;
19510 fail:
19511 return NULL;
19512 }
19513
19514
19515 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19516 PyObject *resultobj;
19517 wxListEvent *arg1 = (wxListEvent *) 0 ;
19518 int result;
19519 PyObject * obj0 = 0 ;
19520 char *kwnames[] = {
19521 (char *) "self", NULL
19522 };
19523
19524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19527 {
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 result = (int)(arg1)->GetColumn();
19530
19531 wxPyEndAllowThreads(__tstate);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 }
19534 resultobj = SWIG_FromInt((int)result);
19535 return resultobj;
19536 fail:
19537 return NULL;
19538 }
19539
19540
19541 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxListEvent *arg1 = (wxListEvent *) 0 ;
19544 wxPoint result;
19545 PyObject * obj0 = 0 ;
19546 char *kwnames[] = {
19547 (char *) "self", NULL
19548 };
19549
19550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 result = (arg1)->GetPoint();
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 {
19561 wxPoint * resultptr;
19562 resultptr = new wxPoint((wxPoint &) result);
19563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19564 }
19565 return resultobj;
19566 fail:
19567 return NULL;
19568 }
19569
19570
19571 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19572 PyObject *resultobj;
19573 wxListEvent *arg1 = (wxListEvent *) 0 ;
19574 wxString *result;
19575 PyObject * obj0 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 {
19586 wxString const &_result_ref = (arg1)->GetLabel();
19587 result = (wxString *) &_result_ref;
19588 }
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 {
19594 #if wxUSE_UNICODE
19595 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19596 #else
19597 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19598 #endif
19599 }
19600 return resultobj;
19601 fail:
19602 return NULL;
19603 }
19604
19605
19606 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
19607 PyObject *resultobj;
19608 wxListEvent *arg1 = (wxListEvent *) 0 ;
19609 wxString *result;
19610 PyObject * obj0 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 {
19621 wxString const &_result_ref = (arg1)->GetText();
19622 result = (wxString *) &_result_ref;
19623 }
19624
19625 wxPyEndAllowThreads(__tstate);
19626 if (PyErr_Occurred()) SWIG_fail;
19627 }
19628 {
19629 #if wxUSE_UNICODE
19630 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19631 #else
19632 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19633 #endif
19634 }
19635 return resultobj;
19636 fail:
19637 return NULL;
19638 }
19639
19640
19641 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 wxListEvent *arg1 = (wxListEvent *) 0 ;
19644 int result;
19645 PyObject * obj0 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 result = (int)(arg1)->GetImage();
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 resultobj = SWIG_FromInt((int)result);
19661 return resultobj;
19662 fail:
19663 return NULL;
19664 }
19665
19666
19667 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj;
19669 wxListEvent *arg1 = (wxListEvent *) 0 ;
19670 long result;
19671 PyObject * obj0 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 result = (long)(arg1)->GetData();
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 resultobj = SWIG_FromLong((long)result);
19687 return resultobj;
19688 fail:
19689 return NULL;
19690 }
19691
19692
19693 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
19694 PyObject *resultobj;
19695 wxListEvent *arg1 = (wxListEvent *) 0 ;
19696 long result;
19697 PyObject * obj0 = 0 ;
19698 char *kwnames[] = {
19699 (char *) "self", NULL
19700 };
19701
19702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19705 {
19706 PyThreadState* __tstate = wxPyBeginAllowThreads();
19707 result = (long)(arg1)->GetMask();
19708
19709 wxPyEndAllowThreads(__tstate);
19710 if (PyErr_Occurred()) SWIG_fail;
19711 }
19712 resultobj = SWIG_FromLong((long)result);
19713 return resultobj;
19714 fail:
19715 return NULL;
19716 }
19717
19718
19719 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
19720 PyObject *resultobj;
19721 wxListEvent *arg1 = (wxListEvent *) 0 ;
19722 wxListItem *result;
19723 PyObject * obj0 = 0 ;
19724 char *kwnames[] = {
19725 (char *) "self", NULL
19726 };
19727
19728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19731 {
19732 PyThreadState* __tstate = wxPyBeginAllowThreads();
19733 {
19734 wxListItem const &_result_ref = (arg1)->GetItem();
19735 result = (wxListItem *) &_result_ref;
19736 }
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
19742 return resultobj;
19743 fail:
19744 return NULL;
19745 }
19746
19747
19748 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
19749 PyObject *resultobj;
19750 wxListEvent *arg1 = (wxListEvent *) 0 ;
19751 long result;
19752 PyObject * obj0 = 0 ;
19753 char *kwnames[] = {
19754 (char *) "self", NULL
19755 };
19756
19757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 result = (long)(arg1)->GetCacheFrom();
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 resultobj = SWIG_FromLong((long)result);
19768 return resultobj;
19769 fail:
19770 return NULL;
19771 }
19772
19773
19774 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxListEvent *arg1 = (wxListEvent *) 0 ;
19777 long result;
19778 PyObject * obj0 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 result = (long)(arg1)->GetCacheTo();
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 resultobj = SWIG_FromLong((long)result);
19794 return resultobj;
19795 fail:
19796 return NULL;
19797 }
19798
19799
19800 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
19801 PyObject *resultobj;
19802 wxListEvent *arg1 = (wxListEvent *) 0 ;
19803 bool result;
19804 PyObject * obj0 = 0 ;
19805 char *kwnames[] = {
19806 (char *) "self", NULL
19807 };
19808
19809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19815
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 {
19820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19821 }
19822 return resultobj;
19823 fail:
19824 return NULL;
19825 }
19826
19827
19828 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
19829 PyObject *resultobj;
19830 wxListEvent *arg1 = (wxListEvent *) 0 ;
19831 bool arg2 ;
19832 PyObject * obj0 = 0 ;
19833 PyObject * obj1 = 0 ;
19834 char *kwnames[] = {
19835 (char *) "self",(char *) "editCancelled", NULL
19836 };
19837
19838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19841 arg2 = (bool) SWIG_AsBool(obj1);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 {
19844 PyThreadState* __tstate = wxPyBeginAllowThreads();
19845 (arg1)->SetEditCanceled(arg2);
19846
19847 wxPyEndAllowThreads(__tstate);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 }
19850 Py_INCREF(Py_None); resultobj = Py_None;
19851 return resultobj;
19852 fail:
19853 return NULL;
19854 }
19855
19856
19857 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
19858 PyObject *obj;
19859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19860 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19861 Py_INCREF(obj);
19862 return Py_BuildValue((char *)"");
19863 }
19864 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxWindow *arg1 = (wxWindow *) 0 ;
19867 int arg2 = (int) -1 ;
19868 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19869 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19870 wxSize const &arg4_defvalue = wxDefaultSize ;
19871 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19872 long arg5 = (long) wxLC_ICON ;
19873 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19874 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19875 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19876 wxString *arg7 = (wxString *) &arg7_defvalue ;
19877 wxPyListCtrl *result;
19878 wxPoint temp3 ;
19879 wxSize temp4 ;
19880 bool temp7 = False ;
19881 PyObject * obj0 = 0 ;
19882 PyObject * obj1 = 0 ;
19883 PyObject * obj2 = 0 ;
19884 PyObject * obj3 = 0 ;
19885 PyObject * obj4 = 0 ;
19886 PyObject * obj5 = 0 ;
19887 PyObject * obj6 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19895 if (obj1) {
19896 arg2 = (int) SWIG_AsInt(obj1);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 if (obj2) {
19900 {
19901 arg3 = &temp3;
19902 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19903 }
19904 }
19905 if (obj3) {
19906 {
19907 arg4 = &temp4;
19908 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19909 }
19910 }
19911 if (obj4) {
19912 arg5 = (long) SWIG_AsLong(obj4);
19913 if (PyErr_Occurred()) SWIG_fail;
19914 }
19915 if (obj5) {
19916 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
19917 SWIG_POINTER_EXCEPTION | 0)) == -1)
19918 SWIG_fail;
19919 if (arg6 == NULL) {
19920 PyErr_SetString(PyExc_TypeError,"null reference");
19921 SWIG_fail;
19922 }
19923 }
19924 if (obj6) {
19925 {
19926 arg7 = wxString_in_helper(obj6);
19927 if (arg7 == NULL) SWIG_fail;
19928 temp7 = True;
19929 }
19930 }
19931 {
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
19939 {
19940 if (temp7)
19941 delete arg7;
19942 }
19943 return resultobj;
19944 fail:
19945 {
19946 if (temp7)
19947 delete arg7;
19948 }
19949 return NULL;
19950 }
19951
19952
19953 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19954 PyObject *resultobj;
19955 wxPyListCtrl *result;
19956 char *kwnames[] = {
19957 NULL
19958 };
19959
19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 result = (wxPyListCtrl *)new wxPyListCtrl();
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
19969 return resultobj;
19970 fail:
19971 return NULL;
19972 }
19973
19974
19975 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
19976 PyObject *resultobj;
19977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19978 wxWindow *arg2 = (wxWindow *) 0 ;
19979 int arg3 = (int) -1 ;
19980 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19981 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19982 wxSize const &arg5_defvalue = wxDefaultSize ;
19983 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19984 long arg6 = (long) wxLC_ICON ;
19985 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19986 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19987 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19988 wxString *arg8 = (wxString *) &arg8_defvalue ;
19989 bool result;
19990 wxPoint temp4 ;
19991 wxSize temp5 ;
19992 bool temp8 = False ;
19993 PyObject * obj0 = 0 ;
19994 PyObject * obj1 = 0 ;
19995 PyObject * obj2 = 0 ;
19996 PyObject * obj3 = 0 ;
19997 PyObject * obj4 = 0 ;
19998 PyObject * obj5 = 0 ;
19999 PyObject * obj6 = 0 ;
20000 PyObject * obj7 = 0 ;
20001 char *kwnames[] = {
20002 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20003 };
20004
20005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20010 if (obj2) {
20011 arg3 = (int) SWIG_AsInt(obj2);
20012 if (PyErr_Occurred()) SWIG_fail;
20013 }
20014 if (obj3) {
20015 {
20016 arg4 = &temp4;
20017 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20018 }
20019 }
20020 if (obj4) {
20021 {
20022 arg5 = &temp5;
20023 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20024 }
20025 }
20026 if (obj5) {
20027 arg6 = (long) SWIG_AsLong(obj5);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 if (obj6) {
20031 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20032 SWIG_POINTER_EXCEPTION | 0)) == -1)
20033 SWIG_fail;
20034 if (arg7 == NULL) {
20035 PyErr_SetString(PyExc_TypeError,"null reference");
20036 SWIG_fail;
20037 }
20038 }
20039 if (obj7) {
20040 {
20041 arg8 = wxString_in_helper(obj7);
20042 if (arg8 == NULL) SWIG_fail;
20043 temp8 = True;
20044 }
20045 }
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 {
20054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20055 }
20056 {
20057 if (temp8)
20058 delete arg8;
20059 }
20060 return resultobj;
20061 fail:
20062 {
20063 if (temp8)
20064 delete arg8;
20065 }
20066 return NULL;
20067 }
20068
20069
20070 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20071 PyObject *resultobj;
20072 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20073 PyObject *arg2 = (PyObject *) 0 ;
20074 PyObject *arg3 = (PyObject *) 0 ;
20075 PyObject * obj0 = 0 ;
20076 PyObject * obj1 = 0 ;
20077 PyObject * obj2 = 0 ;
20078 char *kwnames[] = {
20079 (char *) "self",(char *) "self",(char *) "_class", NULL
20080 };
20081
20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20085 arg2 = obj1;
20086 arg3 = obj2;
20087 {
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 (arg1)->_setCallbackInfo(arg2,arg3);
20090
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 Py_INCREF(Py_None); resultobj = Py_None;
20095 return resultobj;
20096 fail:
20097 return NULL;
20098 }
20099
20100
20101 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20102 PyObject *resultobj;
20103 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20104 wxColour *arg2 = 0 ;
20105 bool result;
20106 wxColour temp2 ;
20107 PyObject * obj0 = 0 ;
20108 PyObject * obj1 = 0 ;
20109 char *kwnames[] = {
20110 (char *) "self",(char *) "col", NULL
20111 };
20112
20113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20116 {
20117 arg2 = &temp2;
20118 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20119 }
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20123
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 {
20128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20129 }
20130 return resultobj;
20131 fail:
20132 return NULL;
20133 }
20134
20135
20136 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20137 PyObject *resultobj;
20138 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20139 wxColour *arg2 = 0 ;
20140 bool result;
20141 wxColour temp2 ;
20142 PyObject * obj0 = 0 ;
20143 PyObject * obj1 = 0 ;
20144 char *kwnames[] = {
20145 (char *) "self",(char *) "col", NULL
20146 };
20147
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20151 {
20152 arg2 = &temp2;
20153 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20154 }
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 {
20163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20164 }
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20172 PyObject *resultobj;
20173 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20174 int arg2 ;
20175 wxListItem *result;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self",(char *) "col", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20185 arg2 = (int) SWIG_AsInt(obj1);
20186 if (PyErr_Occurred()) SWIG_fail;
20187 {
20188 PyThreadState* __tstate = wxPyBeginAllowThreads();
20189 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20190
20191 wxPyEndAllowThreads(__tstate);
20192 if (PyErr_Occurred()) SWIG_fail;
20193 }
20194 {
20195 resultobj = wxPyMake_wxObject(result);
20196 }
20197 return resultobj;
20198 fail:
20199 return NULL;
20200 }
20201
20202
20203 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20204 PyObject *resultobj;
20205 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20206 int arg2 ;
20207 wxListItem *arg3 = 0 ;
20208 bool result;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 PyObject * obj2 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "col",(char *) "item", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20219 arg2 = (int) SWIG_AsInt(obj1);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20222 SWIG_POINTER_EXCEPTION | 0)) == -1)
20223 SWIG_fail;
20224 if (arg3 == NULL) {
20225 PyErr_SetString(PyExc_TypeError,"null reference");
20226 SWIG_fail;
20227 }
20228 {
20229 PyThreadState* __tstate = wxPyBeginAllowThreads();
20230 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20231
20232 wxPyEndAllowThreads(__tstate);
20233 if (PyErr_Occurred()) SWIG_fail;
20234 }
20235 {
20236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20237 }
20238 return resultobj;
20239 fail:
20240 return NULL;
20241 }
20242
20243
20244 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20245 PyObject *resultobj;
20246 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20247 int arg2 ;
20248 int result;
20249 PyObject * obj0 = 0 ;
20250 PyObject * obj1 = 0 ;
20251 char *kwnames[] = {
20252 (char *) "self",(char *) "col", NULL
20253 };
20254
20255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20258 arg2 = (int) SWIG_AsInt(obj1);
20259 if (PyErr_Occurred()) SWIG_fail;
20260 {
20261 PyThreadState* __tstate = wxPyBeginAllowThreads();
20262 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20263
20264 wxPyEndAllowThreads(__tstate);
20265 if (PyErr_Occurred()) SWIG_fail;
20266 }
20267 resultobj = SWIG_FromInt((int)result);
20268 return resultobj;
20269 fail:
20270 return NULL;
20271 }
20272
20273
20274 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20275 PyObject *resultobj;
20276 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20277 int arg2 ;
20278 int arg3 ;
20279 bool result;
20280 PyObject * obj0 = 0 ;
20281 PyObject * obj1 = 0 ;
20282 PyObject * obj2 = 0 ;
20283 char *kwnames[] = {
20284 (char *) "self",(char *) "col",(char *) "width", NULL
20285 };
20286
20287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20290 arg2 = (int) SWIG_AsInt(obj1);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 arg3 = (int) SWIG_AsInt(obj2);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 {
20295 PyThreadState* __tstate = wxPyBeginAllowThreads();
20296 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20297
20298 wxPyEndAllowThreads(__tstate);
20299 if (PyErr_Occurred()) SWIG_fail;
20300 }
20301 {
20302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20303 }
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20313 int result;
20314 PyObject * obj0 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20325
20326 wxPyEndAllowThreads(__tstate);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 resultobj = SWIG_FromInt((int)result);
20330 return resultobj;
20331 fail:
20332 return NULL;
20333 }
20334
20335
20336 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
20337 PyObject *resultobj;
20338 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20339 wxRect result;
20340 PyObject * obj0 = 0 ;
20341 char *kwnames[] = {
20342 (char *) "self", NULL
20343 };
20344
20345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20348 {
20349 PyThreadState* __tstate = wxPyBeginAllowThreads();
20350 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20351
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 {
20356 wxRect * resultptr;
20357 resultptr = new wxRect((wxRect &) result);
20358 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20359 }
20360 return resultobj;
20361 fail:
20362 return NULL;
20363 }
20364
20365
20366 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj;
20368 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20369 long arg2 ;
20370 int arg3 = (int) 0 ;
20371 wxListItem *result;
20372 PyObject * obj0 = 0 ;
20373 PyObject * obj1 = 0 ;
20374 PyObject * obj2 = 0 ;
20375 char *kwnames[] = {
20376 (char *) "self",(char *) "itemId",(char *) "col", NULL
20377 };
20378
20379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20382 arg2 = (long) SWIG_AsLong(obj1);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 if (obj2) {
20385 arg3 = (int) SWIG_AsInt(obj2);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 }
20388 {
20389 PyThreadState* __tstate = wxPyBeginAllowThreads();
20390 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20391
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
20395 {
20396 resultobj = wxPyMake_wxObject(result);
20397 }
20398 return resultobj;
20399 fail:
20400 return NULL;
20401 }
20402
20403
20404 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
20405 PyObject *resultobj;
20406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20407 wxListItem *arg2 = 0 ;
20408 bool result;
20409 PyObject * obj0 = 0 ;
20410 PyObject * obj1 = 0 ;
20411 char *kwnames[] = {
20412 (char *) "self",(char *) "info", NULL
20413 };
20414
20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20419 SWIG_POINTER_EXCEPTION | 0)) == -1)
20420 SWIG_fail;
20421 if (arg2 == NULL) {
20422 PyErr_SetString(PyExc_TypeError,"null reference");
20423 SWIG_fail;
20424 }
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = (bool)(arg1)->SetItem(*arg2);
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20434 }
20435 return resultobj;
20436 fail:
20437 return NULL;
20438 }
20439
20440
20441 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20444 long arg2 ;
20445 int arg3 ;
20446 wxString *arg4 = 0 ;
20447 int arg5 = (int) -1 ;
20448 long result;
20449 bool temp4 = False ;
20450 PyObject * obj0 = 0 ;
20451 PyObject * obj1 = 0 ;
20452 PyObject * obj2 = 0 ;
20453 PyObject * obj3 = 0 ;
20454 PyObject * obj4 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20462 arg2 = (long) SWIG_AsLong(obj1);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 arg3 = (int) SWIG_AsInt(obj2);
20465 if (PyErr_Occurred()) SWIG_fail;
20466 {
20467 arg4 = wxString_in_helper(obj3);
20468 if (arg4 == NULL) SWIG_fail;
20469 temp4 = True;
20470 }
20471 if (obj4) {
20472 arg5 = (int) SWIG_AsInt(obj4);
20473 if (PyErr_Occurred()) SWIG_fail;
20474 }
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 resultobj = SWIG_FromLong((long)result);
20483 {
20484 if (temp4)
20485 delete arg4;
20486 }
20487 return resultobj;
20488 fail:
20489 {
20490 if (temp4)
20491 delete arg4;
20492 }
20493 return NULL;
20494 }
20495
20496
20497 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
20498 PyObject *resultobj;
20499 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20500 long arg2 ;
20501 long arg3 ;
20502 int result;
20503 PyObject * obj0 = 0 ;
20504 PyObject * obj1 = 0 ;
20505 PyObject * obj2 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20513 arg2 = (long) SWIG_AsLong(obj1);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 arg3 = (long) SWIG_AsLong(obj2);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
20524 resultobj = SWIG_FromInt((int)result);
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
20532 PyObject *resultobj;
20533 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20534 long arg2 ;
20535 long arg3 ;
20536 long arg4 ;
20537 bool result;
20538 PyObject * obj0 = 0 ;
20539 PyObject * obj1 = 0 ;
20540 PyObject * obj2 = 0 ;
20541 PyObject * obj3 = 0 ;
20542 char *kwnames[] = {
20543 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20549 arg2 = (long) SWIG_AsLong(obj1);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 arg3 = (long) SWIG_AsLong(obj2);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 arg4 = (long) SWIG_AsLong(obj3);
20554 if (PyErr_Occurred()) SWIG_fail;
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20558
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 {
20563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20564 }
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20574 long arg2 ;
20575 int arg3 ;
20576 int arg4 ;
20577 bool result;
20578 PyObject * obj0 = 0 ;
20579 PyObject * obj1 = 0 ;
20580 PyObject * obj2 = 0 ;
20581 PyObject * obj3 = 0 ;
20582 char *kwnames[] = {
20583 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20584 };
20585
20586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20589 arg2 = (long) SWIG_AsLong(obj1);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 arg3 = (int) SWIG_AsInt(obj2);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 arg4 = (int) SWIG_AsInt(obj3);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 {
20603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20604 }
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20614 long arg2 ;
20615 wxString result;
20616 PyObject * obj0 = 0 ;
20617 PyObject * obj1 = 0 ;
20618 char *kwnames[] = {
20619 (char *) "self",(char *) "item", NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20625 arg2 = (long) SWIG_AsLong(obj1);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 {
20628 PyThreadState* __tstate = wxPyBeginAllowThreads();
20629 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20630
20631 wxPyEndAllowThreads(__tstate);
20632 if (PyErr_Occurred()) SWIG_fail;
20633 }
20634 {
20635 #if wxUSE_UNICODE
20636 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20637 #else
20638 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20639 #endif
20640 }
20641 return resultobj;
20642 fail:
20643 return NULL;
20644 }
20645
20646
20647 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
20648 PyObject *resultobj;
20649 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20650 long arg2 ;
20651 wxString *arg3 = 0 ;
20652 bool temp3 = False ;
20653 PyObject * obj0 = 0 ;
20654 PyObject * obj1 = 0 ;
20655 PyObject * obj2 = 0 ;
20656 char *kwnames[] = {
20657 (char *) "self",(char *) "item",(char *) "str", NULL
20658 };
20659
20660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20663 arg2 = (long) SWIG_AsLong(obj1);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 {
20666 arg3 = wxString_in_helper(obj2);
20667 if (arg3 == NULL) SWIG_fail;
20668 temp3 = True;
20669 }
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20673
20674 wxPyEndAllowThreads(__tstate);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 }
20677 Py_INCREF(Py_None); resultobj = Py_None;
20678 {
20679 if (temp3)
20680 delete arg3;
20681 }
20682 return resultobj;
20683 fail:
20684 {
20685 if (temp3)
20686 delete arg3;
20687 }
20688 return NULL;
20689 }
20690
20691
20692 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
20693 PyObject *resultobj;
20694 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20695 long arg2 ;
20696 long result;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 char *kwnames[] = {
20700 (char *) "self",(char *) "item", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20706 arg2 = (long) SWIG_AsLong(obj1);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 resultobj = SWIG_FromLong((long)result);
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
20723 PyObject *resultobj;
20724 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20725 long arg2 ;
20726 long arg3 ;
20727 bool result;
20728 PyObject * obj0 = 0 ;
20729 PyObject * obj1 = 0 ;
20730 PyObject * obj2 = 0 ;
20731 char *kwnames[] = {
20732 (char *) "self",(char *) "item",(char *) "data", NULL
20733 };
20734
20735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20738 arg2 = (long) SWIG_AsLong(obj1);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 arg3 = (long) SWIG_AsLong(obj2);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 {
20743 PyThreadState* __tstate = wxPyBeginAllowThreads();
20744 result = (bool)(arg1)->SetItemData(arg2,arg3);
20745
20746 wxPyEndAllowThreads(__tstate);
20747 if (PyErr_Occurred()) SWIG_fail;
20748 }
20749 {
20750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20751 }
20752 return resultobj;
20753 fail:
20754 return NULL;
20755 }
20756
20757
20758 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20759 PyObject *resultobj;
20760 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20761 long arg2 ;
20762 wxPoint result;
20763 PyObject * obj0 = 0 ;
20764 PyObject * obj1 = 0 ;
20765 char *kwnames[] = {
20766 (char *) "self",(char *) "item", NULL
20767 };
20768
20769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20772 arg2 = (long) SWIG_AsLong(obj1);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 {
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20777
20778 wxPyEndAllowThreads(__tstate);
20779 if (PyErr_Occurred()) SWIG_fail;
20780 }
20781 {
20782 wxPoint * resultptr;
20783 resultptr = new wxPoint((wxPoint &) result);
20784 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20785 }
20786 return resultobj;
20787 fail:
20788 return NULL;
20789 }
20790
20791
20792 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
20793 PyObject *resultobj;
20794 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20795 long arg2 ;
20796 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20797 wxRect result;
20798 PyObject * obj0 = 0 ;
20799 PyObject * obj1 = 0 ;
20800 PyObject * obj2 = 0 ;
20801 char *kwnames[] = {
20802 (char *) "self",(char *) "item",(char *) "code", NULL
20803 };
20804
20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20808 arg2 = (long) SWIG_AsLong(obj1);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 if (obj2) {
20811 arg3 = (int) SWIG_AsInt(obj2);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 {
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20817
20818 wxPyEndAllowThreads(__tstate);
20819 if (PyErr_Occurred()) SWIG_fail;
20820 }
20821 {
20822 wxRect * resultptr;
20823 resultptr = new wxRect((wxRect &) result);
20824 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20825 }
20826 return resultobj;
20827 fail:
20828 return NULL;
20829 }
20830
20831
20832 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20835 long arg2 ;
20836 wxPoint *arg3 = 0 ;
20837 bool result;
20838 wxPoint temp3 ;
20839 PyObject * obj0 = 0 ;
20840 PyObject * obj1 = 0 ;
20841 PyObject * obj2 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self",(char *) "item",(char *) "pos", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20849 arg2 = (long) SWIG_AsLong(obj1);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 {
20852 arg3 = &temp3;
20853 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20854 }
20855 {
20856 PyThreadState* __tstate = wxPyBeginAllowThreads();
20857 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20858
20859 wxPyEndAllowThreads(__tstate);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
20862 {
20863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20864 }
20865 return resultobj;
20866 fail:
20867 return NULL;
20868 }
20869
20870
20871 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
20872 PyObject *resultobj;
20873 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20874 int result;
20875 PyObject * obj0 = 0 ;
20876 char *kwnames[] = {
20877 (char *) "self", NULL
20878 };
20879
20880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20883 {
20884 PyThreadState* __tstate = wxPyBeginAllowThreads();
20885 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20886
20887 wxPyEndAllowThreads(__tstate);
20888 if (PyErr_Occurred()) SWIG_fail;
20889 }
20890 resultobj = SWIG_FromInt((int)result);
20891 return resultobj;
20892 fail:
20893 return NULL;
20894 }
20895
20896
20897 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
20898 PyObject *resultobj;
20899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20900 int result;
20901 PyObject * obj0 = 0 ;
20902 char *kwnames[] = {
20903 (char *) "self", NULL
20904 };
20905
20906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20909 {
20910 PyThreadState* __tstate = wxPyBeginAllowThreads();
20911 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20912
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 resultobj = SWIG_FromInt((int)result);
20917 return resultobj;
20918 fail:
20919 return NULL;
20920 }
20921
20922
20923 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
20924 PyObject *resultobj;
20925 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20926 wxSize result;
20927 PyObject * obj0 = 0 ;
20928 char *kwnames[] = {
20929 (char *) "self", NULL
20930 };
20931
20932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20935 {
20936 PyThreadState* __tstate = wxPyBeginAllowThreads();
20937 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20938
20939 wxPyEndAllowThreads(__tstate);
20940 if (PyErr_Occurred()) SWIG_fail;
20941 }
20942 {
20943 wxSize * resultptr;
20944 resultptr = new wxSize((wxSize &) result);
20945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20946 }
20947 return resultobj;
20948 fail:
20949 return NULL;
20950 }
20951
20952
20953 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20956 int arg2 ;
20957 bool arg3 = (bool) False ;
20958 PyObject * obj0 = 0 ;
20959 PyObject * obj1 = 0 ;
20960 PyObject * obj2 = 0 ;
20961 char *kwnames[] = {
20962 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20963 };
20964
20965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
20966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20968 arg2 = (int) SWIG_AsInt(obj1);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 if (obj2) {
20971 arg3 = (bool) SWIG_AsBool(obj2);
20972 if (PyErr_Occurred()) SWIG_fail;
20973 }
20974 {
20975 PyThreadState* __tstate = wxPyBeginAllowThreads();
20976 (arg1)->SetItemSpacing(arg2,arg3);
20977
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
20981 Py_INCREF(Py_None); resultobj = Py_None;
20982 return resultobj;
20983 fail:
20984 return NULL;
20985 }
20986
20987
20988 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
20989 PyObject *resultobj;
20990 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20991 int result;
20992 PyObject * obj0 = 0 ;
20993 char *kwnames[] = {
20994 (char *) "self", NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 resultobj = SWIG_FromInt((int)result);
21008 return resultobj;
21009 fail:
21010 return NULL;
21011 }
21012
21013
21014 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21015 PyObject *resultobj;
21016 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21017 wxColour result;
21018 PyObject * obj0 = 0 ;
21019 char *kwnames[] = {
21020 (char *) "self", NULL
21021 };
21022
21023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 {
21034 wxColour * resultptr;
21035 resultptr = new wxColour((wxColour &) result);
21036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21037 }
21038 return resultobj;
21039 fail:
21040 return NULL;
21041 }
21042
21043
21044 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21045 PyObject *resultobj;
21046 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21047 wxColour *arg2 = 0 ;
21048 wxColour temp2 ;
21049 PyObject * obj0 = 0 ;
21050 PyObject * obj1 = 0 ;
21051 char *kwnames[] = {
21052 (char *) "self",(char *) "col", NULL
21053 };
21054
21055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21058 {
21059 arg2 = &temp2;
21060 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21061 }
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 (arg1)->SetTextColour((wxColour const &)*arg2);
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 Py_INCREF(Py_None); resultobj = Py_None;
21070 return resultobj;
21071 fail:
21072 return NULL;
21073 }
21074
21075
21076 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj;
21078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21079 long result;
21080 PyObject * obj0 = 0 ;
21081 char *kwnames[] = {
21082 (char *) "self", NULL
21083 };
21084
21085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21088 {
21089 PyThreadState* __tstate = wxPyBeginAllowThreads();
21090 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21091
21092 wxPyEndAllowThreads(__tstate);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
21095 resultobj = SWIG_FromLong((long)result);
21096 return resultobj;
21097 fail:
21098 return NULL;
21099 }
21100
21101
21102 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
21103 PyObject *resultobj;
21104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21105 long arg2 ;
21106 bool arg3 = (bool) True ;
21107 PyObject * obj0 = 0 ;
21108 PyObject * obj1 = 0 ;
21109 PyObject * obj2 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self",(char *) "style",(char *) "add", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21117 arg2 = (long) SWIG_AsLong(obj1);
21118 if (PyErr_Occurred()) SWIG_fail;
21119 if (obj2) {
21120 arg3 = (bool) SWIG_AsBool(obj2);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
21123 {
21124 PyThreadState* __tstate = wxPyBeginAllowThreads();
21125 (arg1)->SetSingleStyle(arg2,arg3);
21126
21127 wxPyEndAllowThreads(__tstate);
21128 if (PyErr_Occurred()) SWIG_fail;
21129 }
21130 Py_INCREF(Py_None); resultobj = Py_None;
21131 return resultobj;
21132 fail:
21133 return NULL;
21134 }
21135
21136
21137 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
21138 PyObject *resultobj;
21139 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21140 long arg2 ;
21141 PyObject * obj0 = 0 ;
21142 PyObject * obj1 = 0 ;
21143 char *kwnames[] = {
21144 (char *) "self",(char *) "style", NULL
21145 };
21146
21147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21150 arg2 = (long) SWIG_AsLong(obj1);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 (arg1)->SetWindowStyleFlag(arg2);
21155
21156 wxPyEndAllowThreads(__tstate);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 Py_INCREF(Py_None); resultobj = Py_None;
21160 return resultobj;
21161 fail:
21162 return NULL;
21163 }
21164
21165
21166 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
21167 PyObject *resultobj;
21168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21169 long arg2 ;
21170 int arg3 = (int) wxLIST_NEXT_ALL ;
21171 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21172 long result;
21173 PyObject * obj0 = 0 ;
21174 PyObject * obj1 = 0 ;
21175 PyObject * obj2 = 0 ;
21176 PyObject * obj3 = 0 ;
21177 char *kwnames[] = {
21178 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21179 };
21180
21181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21184 arg2 = (long) SWIG_AsLong(obj1);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 if (obj2) {
21187 arg3 = (int) SWIG_AsInt(obj2);
21188 if (PyErr_Occurred()) SWIG_fail;
21189 }
21190 if (obj3) {
21191 arg4 = (int) SWIG_AsInt(obj3);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
21194 {
21195 PyThreadState* __tstate = wxPyBeginAllowThreads();
21196 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21197
21198 wxPyEndAllowThreads(__tstate);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 }
21201 resultobj = SWIG_FromLong((long)result);
21202 return resultobj;
21203 fail:
21204 return NULL;
21205 }
21206
21207
21208 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21209 PyObject *resultobj;
21210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21211 int arg2 ;
21212 wxImageList *result;
21213 PyObject * obj0 = 0 ;
21214 PyObject * obj1 = 0 ;
21215 char *kwnames[] = {
21216 (char *) "self",(char *) "which", NULL
21217 };
21218
21219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21222 arg2 = (int) SWIG_AsInt(obj1);
21223 if (PyErr_Occurred()) SWIG_fail;
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 {
21232 resultobj = wxPyMake_wxObject(result);
21233 }
21234 return resultobj;
21235 fail:
21236 return NULL;
21237 }
21238
21239
21240 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21241 PyObject *resultobj;
21242 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21243 wxImageList *arg2 = (wxImageList *) 0 ;
21244 int arg3 ;
21245 PyObject * obj0 = 0 ;
21246 PyObject * obj1 = 0 ;
21247 PyObject * obj2 = 0 ;
21248 char *kwnames[] = {
21249 (char *) "self",(char *) "imageList",(char *) "which", NULL
21250 };
21251
21252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21257 arg3 = (int) SWIG_AsInt(obj2);
21258 if (PyErr_Occurred()) SWIG_fail;
21259 {
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 (arg1)->SetImageList(arg2,arg3);
21262
21263 wxPyEndAllowThreads(__tstate);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 }
21266 Py_INCREF(Py_None); resultobj = Py_None;
21267 return resultobj;
21268 fail:
21269 return NULL;
21270 }
21271
21272
21273 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21274 PyObject *resultobj;
21275 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21276 wxImageList *arg2 = (wxImageList *) 0 ;
21277 int arg3 ;
21278 PyObject * obj0 = 0 ;
21279 PyObject * obj1 = 0 ;
21280 PyObject * obj2 = 0 ;
21281 char *kwnames[] = {
21282 (char *) "self",(char *) "imageList",(char *) "which", NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21289 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21290 arg3 = (int) SWIG_AsInt(obj2);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 {
21293 PyThreadState* __tstate = wxPyBeginAllowThreads();
21294 (arg1)->AssignImageList(arg2,arg3);
21295
21296 wxPyEndAllowThreads(__tstate);
21297 if (PyErr_Occurred()) SWIG_fail;
21298 }
21299 Py_INCREF(Py_None); resultobj = Py_None;
21300 return resultobj;
21301 fail:
21302 return NULL;
21303 }
21304
21305
21306 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
21307 PyObject *resultobj;
21308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21309 bool result;
21310 PyObject * obj0 = 0 ;
21311 char *kwnames[] = {
21312 (char *) "self", NULL
21313 };
21314
21315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21318 {
21319 PyThreadState* __tstate = wxPyBeginAllowThreads();
21320 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21321
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 {
21326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21327 }
21328 return resultobj;
21329 fail:
21330 return NULL;
21331 }
21332
21333
21334 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
21335 PyObject *resultobj;
21336 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21337 bool result;
21338 PyObject * obj0 = 0 ;
21339 char *kwnames[] = {
21340 (char *) "self", NULL
21341 };
21342
21343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21346 {
21347 PyThreadState* __tstate = wxPyBeginAllowThreads();
21348 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21349
21350 wxPyEndAllowThreads(__tstate);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 }
21353 {
21354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21355 }
21356 return resultobj;
21357 fail:
21358 return NULL;
21359 }
21360
21361
21362 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj;
21364 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21365 long arg2 ;
21366 PyObject * obj0 = 0 ;
21367 PyObject * obj1 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "self",(char *) "item", NULL
21370 };
21371
21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21375 arg2 = (long) SWIG_AsLong(obj1);
21376 if (PyErr_Occurred()) SWIG_fail;
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
21379 (arg1)->RefreshItem(arg2);
21380
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
21384 Py_INCREF(Py_None); resultobj = Py_None;
21385 return resultobj;
21386 fail:
21387 return NULL;
21388 }
21389
21390
21391 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
21392 PyObject *resultobj;
21393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21394 long arg2 ;
21395 long arg3 ;
21396 PyObject * obj0 = 0 ;
21397 PyObject * obj1 = 0 ;
21398 PyObject * obj2 = 0 ;
21399 char *kwnames[] = {
21400 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21401 };
21402
21403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21406 arg2 = (long) SWIG_AsLong(obj1);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 arg3 = (long) SWIG_AsLong(obj2);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 {
21411 PyThreadState* __tstate = wxPyBeginAllowThreads();
21412 (arg1)->RefreshItems(arg2,arg3);
21413
21414 wxPyEndAllowThreads(__tstate);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 }
21417 Py_INCREF(Py_None); resultobj = Py_None;
21418 return resultobj;
21419 fail:
21420 return NULL;
21421 }
21422
21423
21424 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
21425 PyObject *resultobj;
21426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21427 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21428 bool result;
21429 PyObject * obj0 = 0 ;
21430 PyObject * obj1 = 0 ;
21431 char *kwnames[] = {
21432 (char *) "self",(char *) "flag", NULL
21433 };
21434
21435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21438 if (obj1) {
21439 arg2 = (int) SWIG_AsInt(obj1);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 result = (bool)(arg1)->Arrange(arg2);
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 {
21450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21451 }
21452 return resultobj;
21453 fail:
21454 return NULL;
21455 }
21456
21457
21458 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
21459 PyObject *resultobj;
21460 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21461 long arg2 ;
21462 bool result;
21463 PyObject * obj0 = 0 ;
21464 PyObject * obj1 = 0 ;
21465 char *kwnames[] = {
21466 (char *) "self",(char *) "item", NULL
21467 };
21468
21469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21472 arg2 = (long) SWIG_AsLong(obj1);
21473 if (PyErr_Occurred()) SWIG_fail;
21474 {
21475 PyThreadState* __tstate = wxPyBeginAllowThreads();
21476 result = (bool)(arg1)->DeleteItem(arg2);
21477
21478 wxPyEndAllowThreads(__tstate);
21479 if (PyErr_Occurred()) SWIG_fail;
21480 }
21481 {
21482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21483 }
21484 return resultobj;
21485 fail:
21486 return NULL;
21487 }
21488
21489
21490 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
21491 PyObject *resultobj;
21492 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21493 bool result;
21494 PyObject * obj0 = 0 ;
21495 char *kwnames[] = {
21496 (char *) "self", NULL
21497 };
21498
21499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 result = (bool)(arg1)->DeleteAllItems();
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 {
21510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21511 }
21512 return resultobj;
21513 fail:
21514 return NULL;
21515 }
21516
21517
21518 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj;
21520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21521 int arg2 ;
21522 bool result;
21523 PyObject * obj0 = 0 ;
21524 PyObject * obj1 = 0 ;
21525 char *kwnames[] = {
21526 (char *) "self",(char *) "col", NULL
21527 };
21528
21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21532 arg2 = (int) SWIG_AsInt(obj1);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 result = (bool)(arg1)->DeleteColumn(arg2);
21537
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 {
21542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21543 }
21544 return resultobj;
21545 fail:
21546 return NULL;
21547 }
21548
21549
21550 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
21551 PyObject *resultobj;
21552 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21553 bool result;
21554 PyObject * obj0 = 0 ;
21555 char *kwnames[] = {
21556 (char *) "self", NULL
21557 };
21558
21559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21562 {
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 result = (bool)(arg1)->DeleteAllColumns();
21565
21566 wxPyEndAllowThreads(__tstate);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 {
21570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21571 }
21572 return resultobj;
21573 fail:
21574 return NULL;
21575 }
21576
21577
21578 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
21579 PyObject *resultobj;
21580 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21581 PyObject * obj0 = 0 ;
21582 char *kwnames[] = {
21583 (char *) "self", NULL
21584 };
21585
21586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 (arg1)->ClearAll();
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 Py_INCREF(Py_None); resultobj = Py_None;
21597 return resultobj;
21598 fail:
21599 return NULL;
21600 }
21601
21602
21603 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21604 PyObject *resultobj;
21605 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21606 long arg2 ;
21607 PyObject * obj0 = 0 ;
21608 PyObject * obj1 = 0 ;
21609 char *kwnames[] = {
21610 (char *) "self",(char *) "item", NULL
21611 };
21612
21613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21616 arg2 = (long) SWIG_AsLong(obj1);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 (arg1)->EditLabel(arg2);
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 Py_INCREF(Py_None); resultobj = Py_None;
21626 return resultobj;
21627 fail:
21628 return NULL;
21629 }
21630
21631
21632 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
21633 PyObject *resultobj;
21634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21635 long arg2 ;
21636 bool result;
21637 PyObject * obj0 = 0 ;
21638 PyObject * obj1 = 0 ;
21639 char *kwnames[] = {
21640 (char *) "self",(char *) "item", NULL
21641 };
21642
21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21646 arg2 = (long) SWIG_AsLong(obj1);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 {
21649 PyThreadState* __tstate = wxPyBeginAllowThreads();
21650 result = (bool)(arg1)->EnsureVisible(arg2);
21651
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 {
21656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21657 }
21658 return resultobj;
21659 fail:
21660 return NULL;
21661 }
21662
21663
21664 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
21665 PyObject *resultobj;
21666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21667 long arg2 ;
21668 wxString *arg3 = 0 ;
21669 bool arg4 = (bool) False ;
21670 long result;
21671 bool temp3 = False ;
21672 PyObject * obj0 = 0 ;
21673 PyObject * obj1 = 0 ;
21674 PyObject * obj2 = 0 ;
21675 PyObject * obj3 = 0 ;
21676 char *kwnames[] = {
21677 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21683 arg2 = (long) SWIG_AsLong(obj1);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 {
21686 arg3 = wxString_in_helper(obj2);
21687 if (arg3 == NULL) SWIG_fail;
21688 temp3 = True;
21689 }
21690 if (obj3) {
21691 arg4 = (bool) SWIG_AsBool(obj3);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 resultobj = SWIG_FromLong((long)result);
21702 {
21703 if (temp3)
21704 delete arg3;
21705 }
21706 return resultobj;
21707 fail:
21708 {
21709 if (temp3)
21710 delete arg3;
21711 }
21712 return NULL;
21713 }
21714
21715
21716 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
21717 PyObject *resultobj;
21718 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21719 long arg2 ;
21720 long arg3 ;
21721 long result;
21722 PyObject * obj0 = 0 ;
21723 PyObject * obj1 = 0 ;
21724 PyObject * obj2 = 0 ;
21725 char *kwnames[] = {
21726 (char *) "self",(char *) "start",(char *) "data", NULL
21727 };
21728
21729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21732 arg2 = (long) SWIG_AsLong(obj1);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 arg3 = (long) SWIG_AsLong(obj2);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 result = (long)(arg1)->FindItem(arg2,arg3);
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 resultobj = SWIG_FromLong((long)result);
21744 return resultobj;
21745 fail:
21746 return NULL;
21747 }
21748
21749
21750 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
21751 PyObject *resultobj;
21752 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21753 long arg2 ;
21754 wxPoint *arg3 = 0 ;
21755 int arg4 ;
21756 long result;
21757 wxPoint temp3 ;
21758 PyObject * obj0 = 0 ;
21759 PyObject * obj1 = 0 ;
21760 PyObject * obj2 = 0 ;
21761 PyObject * obj3 = 0 ;
21762 char *kwnames[] = {
21763 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21764 };
21765
21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21769 arg2 = (long) SWIG_AsLong(obj1);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 {
21772 arg3 = &temp3;
21773 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21774 }
21775 arg4 = (int) SWIG_AsInt(obj3);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 {
21778 PyThreadState* __tstate = wxPyBeginAllowThreads();
21779 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21780
21781 wxPyEndAllowThreads(__tstate);
21782 if (PyErr_Occurred()) SWIG_fail;
21783 }
21784 resultobj = SWIG_FromLong((long)result);
21785 return resultobj;
21786 fail:
21787 return NULL;
21788 }
21789
21790
21791 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
21792 PyObject *resultobj;
21793 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21794 wxPoint *arg2 = 0 ;
21795 int *arg3 = 0 ;
21796 long result;
21797 wxPoint temp2 ;
21798 int temp3 ;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801 char *kwnames[] = {
21802 (char *) "self",(char *) "point", NULL
21803 };
21804
21805 arg3 = &temp3;
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21809 {
21810 arg2 = &temp2;
21811 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21812 }
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 resultobj = SWIG_FromLong((long)result);
21821 {
21822 PyObject *o = PyInt_FromLong((long) (*arg3));
21823 resultobj = t_output_helper(resultobj,o);
21824 }
21825 return resultobj;
21826 fail:
21827 return NULL;
21828 }
21829
21830
21831 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
21832 PyObject *resultobj;
21833 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21834 wxListItem *arg2 = 0 ;
21835 long result;
21836 PyObject * obj0 = 0 ;
21837 PyObject * obj1 = 0 ;
21838 char *kwnames[] = {
21839 (char *) "self",(char *) "info", NULL
21840 };
21841
21842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21846 SWIG_POINTER_EXCEPTION | 0)) == -1)
21847 SWIG_fail;
21848 if (arg2 == NULL) {
21849 PyErr_SetString(PyExc_TypeError,"null reference");
21850 SWIG_fail;
21851 }
21852 {
21853 PyThreadState* __tstate = wxPyBeginAllowThreads();
21854 result = (long)(arg1)->InsertItem(*arg2);
21855
21856 wxPyEndAllowThreads(__tstate);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 }
21859 resultobj = SWIG_FromLong((long)result);
21860 return resultobj;
21861 fail:
21862 return NULL;
21863 }
21864
21865
21866 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
21867 PyObject *resultobj;
21868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21869 long arg2 ;
21870 wxString *arg3 = 0 ;
21871 long result;
21872 bool temp3 = False ;
21873 PyObject * obj0 = 0 ;
21874 PyObject * obj1 = 0 ;
21875 PyObject * obj2 = 0 ;
21876 char *kwnames[] = {
21877 (char *) "self",(char *) "index",(char *) "label", NULL
21878 };
21879
21880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21883 arg2 = (long) SWIG_AsLong(obj1);
21884 if (PyErr_Occurred()) SWIG_fail;
21885 {
21886 arg3 = wxString_in_helper(obj2);
21887 if (arg3 == NULL) SWIG_fail;
21888 temp3 = True;
21889 }
21890 {
21891 PyThreadState* __tstate = wxPyBeginAllowThreads();
21892 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21893
21894 wxPyEndAllowThreads(__tstate);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
21897 resultobj = SWIG_FromLong((long)result);
21898 {
21899 if (temp3)
21900 delete arg3;
21901 }
21902 return resultobj;
21903 fail:
21904 {
21905 if (temp3)
21906 delete arg3;
21907 }
21908 return NULL;
21909 }
21910
21911
21912 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
21913 PyObject *resultobj;
21914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21915 long arg2 ;
21916 int arg3 ;
21917 long result;
21918 PyObject * obj0 = 0 ;
21919 PyObject * obj1 = 0 ;
21920 PyObject * obj2 = 0 ;
21921 char *kwnames[] = {
21922 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21923 };
21924
21925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21928 arg2 = (long) SWIG_AsLong(obj1);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 arg3 = (int) SWIG_AsInt(obj2);
21931 if (PyErr_Occurred()) SWIG_fail;
21932 {
21933 PyThreadState* __tstate = wxPyBeginAllowThreads();
21934 result = (long)(arg1)->InsertItem(arg2,arg3);
21935
21936 wxPyEndAllowThreads(__tstate);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 resultobj = SWIG_FromLong((long)result);
21940 return resultobj;
21941 fail:
21942 return NULL;
21943 }
21944
21945
21946 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
21947 PyObject *resultobj;
21948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21949 long arg2 ;
21950 wxString *arg3 = 0 ;
21951 int arg4 ;
21952 long result;
21953 bool temp3 = False ;
21954 PyObject * obj0 = 0 ;
21955 PyObject * obj1 = 0 ;
21956 PyObject * obj2 = 0 ;
21957 PyObject * obj3 = 0 ;
21958 char *kwnames[] = {
21959 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21960 };
21961
21962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21965 arg2 = (long) SWIG_AsLong(obj1);
21966 if (PyErr_Occurred()) SWIG_fail;
21967 {
21968 arg3 = wxString_in_helper(obj2);
21969 if (arg3 == NULL) SWIG_fail;
21970 temp3 = True;
21971 }
21972 arg4 = (int) SWIG_AsInt(obj3);
21973 if (PyErr_Occurred()) SWIG_fail;
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21977
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 resultobj = SWIG_FromLong((long)result);
21982 {
21983 if (temp3)
21984 delete arg3;
21985 }
21986 return resultobj;
21987 fail:
21988 {
21989 if (temp3)
21990 delete arg3;
21991 }
21992 return NULL;
21993 }
21994
21995
21996 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21997 PyObject *resultobj;
21998 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21999 long arg2 ;
22000 wxListItem *arg3 = 0 ;
22001 long result;
22002 PyObject * obj0 = 0 ;
22003 PyObject * obj1 = 0 ;
22004 PyObject * obj2 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self",(char *) "col",(char *) "info", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22012 arg2 = (long) SWIG_AsLong(obj1);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22015 SWIG_POINTER_EXCEPTION | 0)) == -1)
22016 SWIG_fail;
22017 if (arg3 == NULL) {
22018 PyErr_SetString(PyExc_TypeError,"null reference");
22019 SWIG_fail;
22020 }
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22024
22025 wxPyEndAllowThreads(__tstate);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 }
22028 resultobj = SWIG_FromLong((long)result);
22029 return resultobj;
22030 fail:
22031 return NULL;
22032 }
22033
22034
22035 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22036 PyObject *resultobj;
22037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22038 long arg2 ;
22039 wxString *arg3 = 0 ;
22040 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22041 int arg5 = (int) -1 ;
22042 long result;
22043 bool temp3 = False ;
22044 PyObject * obj0 = 0 ;
22045 PyObject * obj1 = 0 ;
22046 PyObject * obj2 = 0 ;
22047 PyObject * obj3 = 0 ;
22048 PyObject * obj4 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22056 arg2 = (long) SWIG_AsLong(obj1);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 {
22059 arg3 = wxString_in_helper(obj2);
22060 if (arg3 == NULL) SWIG_fail;
22061 temp3 = True;
22062 }
22063 if (obj3) {
22064 arg4 = (int) SWIG_AsInt(obj3);
22065 if (PyErr_Occurred()) SWIG_fail;
22066 }
22067 if (obj4) {
22068 arg5 = (int) SWIG_AsInt(obj4);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 {
22072 PyThreadState* __tstate = wxPyBeginAllowThreads();
22073 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22074
22075 wxPyEndAllowThreads(__tstate);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 }
22078 resultobj = SWIG_FromLong((long)result);
22079 {
22080 if (temp3)
22081 delete arg3;
22082 }
22083 return resultobj;
22084 fail:
22085 {
22086 if (temp3)
22087 delete arg3;
22088 }
22089 return NULL;
22090 }
22091
22092
22093 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22094 PyObject *resultobj;
22095 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22096 long arg2 ;
22097 PyObject * obj0 = 0 ;
22098 PyObject * obj1 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self",(char *) "count", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22106 arg2 = (long) SWIG_AsLong(obj1);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 {
22109 PyThreadState* __tstate = wxPyBeginAllowThreads();
22110 (arg1)->SetItemCount(arg2);
22111
22112 wxPyEndAllowThreads(__tstate);
22113 if (PyErr_Occurred()) SWIG_fail;
22114 }
22115 Py_INCREF(Py_None); resultobj = Py_None;
22116 return resultobj;
22117 fail:
22118 return NULL;
22119 }
22120
22121
22122 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
22123 PyObject *resultobj;
22124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22125 int arg2 ;
22126 int arg3 ;
22127 bool result;
22128 PyObject * obj0 = 0 ;
22129 PyObject * obj1 = 0 ;
22130 PyObject * obj2 = 0 ;
22131 char *kwnames[] = {
22132 (char *) "self",(char *) "dx",(char *) "dy", NULL
22133 };
22134
22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22138 arg2 = (int) SWIG_AsInt(obj1);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 arg3 = (int) SWIG_AsInt(obj2);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 result = (bool)(arg1)->ScrollList(arg2,arg3);
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 {
22150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22151 }
22152 return resultobj;
22153 fail:
22154 return NULL;
22155 }
22156
22157
22158 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22159 PyObject *resultobj;
22160 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22161 long arg2 ;
22162 wxColour *arg3 = 0 ;
22163 wxColour temp3 ;
22164 PyObject * obj0 = 0 ;
22165 PyObject * obj1 = 0 ;
22166 PyObject * obj2 = 0 ;
22167 char *kwnames[] = {
22168 (char *) "self",(char *) "item",(char *) "col", NULL
22169 };
22170
22171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22174 arg2 = (long) SWIG_AsLong(obj1);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 {
22177 arg3 = &temp3;
22178 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22179 }
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22183
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 Py_INCREF(Py_None); resultobj = Py_None;
22188 return resultobj;
22189 fail:
22190 return NULL;
22191 }
22192
22193
22194 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22195 PyObject *resultobj;
22196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22197 long arg2 ;
22198 wxColour result;
22199 PyObject * obj0 = 0 ;
22200 PyObject * obj1 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self",(char *) "item", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22208 arg2 = (long) SWIG_AsLong(obj1);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 {
22218 wxColour * resultptr;
22219 resultptr = new wxColour((wxColour &) result);
22220 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22221 }
22222 return resultobj;
22223 fail:
22224 return NULL;
22225 }
22226
22227
22228 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22229 PyObject *resultobj;
22230 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22231 long arg2 ;
22232 wxColour *arg3 = 0 ;
22233 wxColour temp3 ;
22234 PyObject * obj0 = 0 ;
22235 PyObject * obj1 = 0 ;
22236 PyObject * obj2 = 0 ;
22237 char *kwnames[] = {
22238 (char *) "self",(char *) "item",(char *) "col", NULL
22239 };
22240
22241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22244 arg2 = (long) SWIG_AsLong(obj1);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 {
22247 arg3 = &temp3;
22248 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22249 }
22250 {
22251 PyThreadState* __tstate = wxPyBeginAllowThreads();
22252 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22253
22254 wxPyEndAllowThreads(__tstate);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
22257 Py_INCREF(Py_None); resultobj = Py_None;
22258 return resultobj;
22259 fail:
22260 return NULL;
22261 }
22262
22263
22264 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22265 PyObject *resultobj;
22266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22267 long arg2 ;
22268 wxColour result;
22269 PyObject * obj0 = 0 ;
22270 PyObject * obj1 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "self",(char *) "item", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22278 arg2 = (long) SWIG_AsLong(obj1);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 {
22281 PyThreadState* __tstate = wxPyBeginAllowThreads();
22282 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 {
22288 wxColour * resultptr;
22289 resultptr = new wxColour((wxColour &) result);
22290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22291 }
22292 return resultobj;
22293 fail:
22294 return NULL;
22295 }
22296
22297
22298 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
22299 PyObject *resultobj;
22300 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22301 PyObject *arg2 = (PyObject *) 0 ;
22302 bool result;
22303 PyObject * obj0 = 0 ;
22304 PyObject * obj1 = 0 ;
22305 char *kwnames[] = {
22306 (char *) "self",(char *) "func", NULL
22307 };
22308
22309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22312 arg2 = obj1;
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22316
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 {
22321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22322 }
22323 return resultobj;
22324 fail:
22325 return NULL;
22326 }
22327
22328
22329 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
22330 PyObject *resultobj;
22331 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22332 wxWindow *result;
22333 PyObject * obj0 = 0 ;
22334 char *kwnames[] = {
22335 (char *) "self", NULL
22336 };
22337
22338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 {
22349 resultobj = wxPyMake_wxObject(result);
22350 }
22351 return resultobj;
22352 fail:
22353 return NULL;
22354 }
22355
22356
22357 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
22358 PyObject *obj;
22359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22360 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22361 Py_INCREF(obj);
22362 return Py_BuildValue((char *)"");
22363 }
22364 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
22365 PyObject *resultobj;
22366 wxWindow *arg1 = (wxWindow *) 0 ;
22367 int arg2 = (int) -1 ;
22368 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22369 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22370 wxSize const &arg4_defvalue = wxDefaultSize ;
22371 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22372 long arg5 = (long) wxLC_REPORT ;
22373 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22374 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22375 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22376 wxString *arg7 = (wxString *) &arg7_defvalue ;
22377 wxListView *result;
22378 wxPoint temp3 ;
22379 wxSize temp4 ;
22380 bool temp7 = False ;
22381 PyObject * obj0 = 0 ;
22382 PyObject * obj1 = 0 ;
22383 PyObject * obj2 = 0 ;
22384 PyObject * obj3 = 0 ;
22385 PyObject * obj4 = 0 ;
22386 PyObject * obj5 = 0 ;
22387 PyObject * obj6 = 0 ;
22388 char *kwnames[] = {
22389 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22390 };
22391
22392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22395 if (obj1) {
22396 arg2 = (int) SWIG_AsInt(obj1);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 if (obj2) {
22400 {
22401 arg3 = &temp3;
22402 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22403 }
22404 }
22405 if (obj3) {
22406 {
22407 arg4 = &temp4;
22408 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22409 }
22410 }
22411 if (obj4) {
22412 arg5 = (long) SWIG_AsLong(obj4);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 if (obj5) {
22416 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22417 SWIG_POINTER_EXCEPTION | 0)) == -1)
22418 SWIG_fail;
22419 if (arg6 == NULL) {
22420 PyErr_SetString(PyExc_TypeError,"null reference");
22421 SWIG_fail;
22422 }
22423 }
22424 if (obj6) {
22425 {
22426 arg7 = wxString_in_helper(obj6);
22427 if (arg7 == NULL) SWIG_fail;
22428 temp7 = True;
22429 }
22430 }
22431 {
22432 PyThreadState* __tstate = wxPyBeginAllowThreads();
22433 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22434
22435 wxPyEndAllowThreads(__tstate);
22436 if (PyErr_Occurred()) SWIG_fail;
22437 }
22438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22439 {
22440 if (temp7)
22441 delete arg7;
22442 }
22443 return resultobj;
22444 fail:
22445 {
22446 if (temp7)
22447 delete arg7;
22448 }
22449 return NULL;
22450 }
22451
22452
22453 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
22454 PyObject *resultobj;
22455 wxListView *result;
22456 char *kwnames[] = {
22457 NULL
22458 };
22459
22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 result = (wxListView *)new wxListView();
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22469 return resultobj;
22470 fail:
22471 return NULL;
22472 }
22473
22474
22475 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
22476 PyObject *resultobj;
22477 wxListView *arg1 = (wxListView *) 0 ;
22478 wxWindow *arg2 = (wxWindow *) 0 ;
22479 int arg3 = (int) -1 ;
22480 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22481 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22482 wxSize const &arg5_defvalue = wxDefaultSize ;
22483 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22484 long arg6 = (long) wxLC_REPORT ;
22485 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22486 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22487 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22488 wxString *arg8 = (wxString *) &arg8_defvalue ;
22489 bool result;
22490 wxPoint temp4 ;
22491 wxSize temp5 ;
22492 bool temp8 = False ;
22493 PyObject * obj0 = 0 ;
22494 PyObject * obj1 = 0 ;
22495 PyObject * obj2 = 0 ;
22496 PyObject * obj3 = 0 ;
22497 PyObject * obj4 = 0 ;
22498 PyObject * obj5 = 0 ;
22499 PyObject * obj6 = 0 ;
22500 PyObject * obj7 = 0 ;
22501 char *kwnames[] = {
22502 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22503 };
22504
22505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22508 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22510 if (obj2) {
22511 arg3 = (int) SWIG_AsInt(obj2);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 if (obj3) {
22515 {
22516 arg4 = &temp4;
22517 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22518 }
22519 }
22520 if (obj4) {
22521 {
22522 arg5 = &temp5;
22523 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22524 }
22525 }
22526 if (obj5) {
22527 arg6 = (long) SWIG_AsLong(obj5);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 if (obj6) {
22531 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22532 SWIG_POINTER_EXCEPTION | 0)) == -1)
22533 SWIG_fail;
22534 if (arg7 == NULL) {
22535 PyErr_SetString(PyExc_TypeError,"null reference");
22536 SWIG_fail;
22537 }
22538 }
22539 if (obj7) {
22540 {
22541 arg8 = wxString_in_helper(obj7);
22542 if (arg8 == NULL) SWIG_fail;
22543 temp8 = True;
22544 }
22545 }
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 {
22554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22555 }
22556 {
22557 if (temp8)
22558 delete arg8;
22559 }
22560 return resultobj;
22561 fail:
22562 {
22563 if (temp8)
22564 delete arg8;
22565 }
22566 return NULL;
22567 }
22568
22569
22570 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
22571 PyObject *resultobj;
22572 wxListView *arg1 = (wxListView *) 0 ;
22573 long arg2 ;
22574 bool arg3 = (bool) True ;
22575 PyObject * obj0 = 0 ;
22576 PyObject * obj1 = 0 ;
22577 PyObject * obj2 = 0 ;
22578 char *kwnames[] = {
22579 (char *) "self",(char *) "n",(char *) "on", NULL
22580 };
22581
22582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22585 arg2 = (long) SWIG_AsLong(obj1);
22586 if (PyErr_Occurred()) SWIG_fail;
22587 if (obj2) {
22588 arg3 = (bool) SWIG_AsBool(obj2);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 (arg1)->Select(arg2,arg3);
22594
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
22598 Py_INCREF(Py_None); resultobj = Py_None;
22599 return resultobj;
22600 fail:
22601 return NULL;
22602 }
22603
22604
22605 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
22606 PyObject *resultobj;
22607 wxListView *arg1 = (wxListView *) 0 ;
22608 long arg2 ;
22609 PyObject * obj0 = 0 ;
22610 PyObject * obj1 = 0 ;
22611 char *kwnames[] = {
22612 (char *) "self",(char *) "index", NULL
22613 };
22614
22615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22618 arg2 = (long) SWIG_AsLong(obj1);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 {
22621 PyThreadState* __tstate = wxPyBeginAllowThreads();
22622 (arg1)->Focus(arg2);
22623
22624 wxPyEndAllowThreads(__tstate);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 }
22627 Py_INCREF(Py_None); resultobj = Py_None;
22628 return resultobj;
22629 fail:
22630 return NULL;
22631 }
22632
22633
22634 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
22635 PyObject *resultobj;
22636 wxListView *arg1 = (wxListView *) 0 ;
22637 long result;
22638 PyObject * obj0 = 0 ;
22639 char *kwnames[] = {
22640 (char *) "self", NULL
22641 };
22642
22643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 resultobj = SWIG_FromLong((long)result);
22654 return resultobj;
22655 fail:
22656 return NULL;
22657 }
22658
22659
22660 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22661 PyObject *resultobj;
22662 wxListView *arg1 = (wxListView *) 0 ;
22663 long arg2 ;
22664 long result;
22665 PyObject * obj0 = 0 ;
22666 PyObject * obj1 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self",(char *) "item", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22674 arg2 = (long) SWIG_AsLong(obj1);
22675 if (PyErr_Occurred()) SWIG_fail;
22676 {
22677 PyThreadState* __tstate = wxPyBeginAllowThreads();
22678 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22679
22680 wxPyEndAllowThreads(__tstate);
22681 if (PyErr_Occurred()) SWIG_fail;
22682 }
22683 resultobj = SWIG_FromLong((long)result);
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj;
22692 wxListView *arg1 = (wxListView *) 0 ;
22693 long result;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 resultobj = SWIG_FromLong((long)result);
22710 return resultobj;
22711 fail:
22712 return NULL;
22713 }
22714
22715
22716 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22717 PyObject *resultobj;
22718 wxListView *arg1 = (wxListView *) 0 ;
22719 long arg2 ;
22720 bool result;
22721 PyObject * obj0 = 0 ;
22722 PyObject * obj1 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self",(char *) "index", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22730 arg2 = (long) SWIG_AsLong(obj1);
22731 if (PyErr_Occurred()) SWIG_fail;
22732 {
22733 PyThreadState* __tstate = wxPyBeginAllowThreads();
22734 result = (bool)(arg1)->IsSelected(arg2);
22735
22736 wxPyEndAllowThreads(__tstate);
22737 if (PyErr_Occurred()) SWIG_fail;
22738 }
22739 {
22740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22741 }
22742 return resultobj;
22743 fail:
22744 return NULL;
22745 }
22746
22747
22748 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
22749 PyObject *resultobj;
22750 wxListView *arg1 = (wxListView *) 0 ;
22751 int arg2 ;
22752 int arg3 ;
22753 PyObject * obj0 = 0 ;
22754 PyObject * obj1 = 0 ;
22755 PyObject * obj2 = 0 ;
22756 char *kwnames[] = {
22757 (char *) "self",(char *) "col",(char *) "image", NULL
22758 };
22759
22760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22763 arg2 = (int) SWIG_AsInt(obj1);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 arg3 = (int) SWIG_AsInt(obj2);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 {
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 (arg1)->SetColumnImage(arg2,arg3);
22770
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 Py_INCREF(Py_None); resultobj = Py_None;
22775 return resultobj;
22776 fail:
22777 return NULL;
22778 }
22779
22780
22781 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
22782 PyObject *resultobj;
22783 wxListView *arg1 = (wxListView *) 0 ;
22784 int arg2 ;
22785 PyObject * obj0 = 0 ;
22786 PyObject * obj1 = 0 ;
22787 char *kwnames[] = {
22788 (char *) "self",(char *) "col", NULL
22789 };
22790
22791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22794 arg2 = (int) SWIG_AsInt(obj1);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 {
22797 PyThreadState* __tstate = wxPyBeginAllowThreads();
22798 (arg1)->ClearColumnImage(arg2);
22799
22800 wxPyEndAllowThreads(__tstate);
22801 if (PyErr_Occurred()) SWIG_fail;
22802 }
22803 Py_INCREF(Py_None); resultobj = Py_None;
22804 return resultobj;
22805 fail:
22806 return NULL;
22807 }
22808
22809
22810 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
22811 PyObject *obj;
22812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22813 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22814 Py_INCREF(obj);
22815 return Py_BuildValue((char *)"");
22816 }
22817 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
22818 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22819 return 1;
22820 }
22821
22822
22823 static PyObject *_wrap_TreeCtrlNameStr_get() {
22824 PyObject *pyobj;
22825
22826 {
22827 #if wxUSE_UNICODE
22828 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22829 #else
22830 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22831 #endif
22832 }
22833 return pyobj;
22834 }
22835
22836
22837 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
22838 PyObject *resultobj;
22839 wxTreeItemId *result;
22840 char *kwnames[] = {
22841 NULL
22842 };
22843
22844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22845 {
22846 PyThreadState* __tstate = wxPyBeginAllowThreads();
22847 result = (wxTreeItemId *)new wxTreeItemId();
22848
22849 wxPyEndAllowThreads(__tstate);
22850 if (PyErr_Occurred()) SWIG_fail;
22851 }
22852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
22853 return resultobj;
22854 fail:
22855 return NULL;
22856 }
22857
22858
22859 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
22860 PyObject *resultobj;
22861 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22862 PyObject * obj0 = 0 ;
22863 char *kwnames[] = {
22864 (char *) "self", NULL
22865 };
22866
22867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 delete arg1;
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 Py_INCREF(Py_None); resultobj = Py_None;
22878 return resultobj;
22879 fail:
22880 return NULL;
22881 }
22882
22883
22884 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
22885 PyObject *resultobj;
22886 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22887 bool result;
22888 PyObject * obj0 = 0 ;
22889 char *kwnames[] = {
22890 (char *) "self", NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 {
22904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22905 }
22906 return resultobj;
22907 fail:
22908 return NULL;
22909 }
22910
22911
22912 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
22913 PyObject *resultobj;
22914 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22915 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22916 bool result;
22917 PyObject * obj0 = 0 ;
22918 PyObject * obj1 = 0 ;
22919 char *kwnames[] = {
22920 (char *) "self",(char *) "other", NULL
22921 };
22922
22923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22928 {
22929 PyThreadState* __tstate = wxPyBeginAllowThreads();
22930 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
22931
22932 wxPyEndAllowThreads(__tstate);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 {
22936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22937 }
22938 return resultobj;
22939 fail:
22940 return NULL;
22941 }
22942
22943
22944 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22947 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22948 bool result;
22949 PyObject * obj0 = 0 ;
22950 PyObject * obj1 = 0 ;
22951 char *kwnames[] = {
22952 (char *) "self",(char *) "other", NULL
22953 };
22954
22955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22960 {
22961 PyThreadState* __tstate = wxPyBeginAllowThreads();
22962 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
22963
22964 wxPyEndAllowThreads(__tstate);
22965 if (PyErr_Occurred()) SWIG_fail;
22966 }
22967 {
22968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22969 }
22970 return resultobj;
22971 fail:
22972 return NULL;
22973 }
22974
22975
22976 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
22977 PyObject *resultobj;
22978 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22979 void *arg2 = (void *) 0 ;
22980 PyObject * obj0 = 0 ;
22981 PyObject * obj1 = 0 ;
22982 char *kwnames[] = {
22983 (char *) "self",(char *) "m_pItem", NULL
22984 };
22985
22986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22989 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22990 if (arg1) (arg1)->m_pItem = arg2;
22991
22992 Py_INCREF(Py_None); resultobj = Py_None;
22993 return resultobj;
22994 fail:
22995 return NULL;
22996 }
22997
22998
22999 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
23000 PyObject *resultobj;
23001 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23002 void *result;
23003 PyObject * obj0 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23011 result = (void *) ((arg1)->m_pItem);
23012
23013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
23014 return resultobj;
23015 fail:
23016 return NULL;
23017 }
23018
23019
23020 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
23021 PyObject *obj;
23022 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23023 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23024 Py_INCREF(obj);
23025 return Py_BuildValue((char *)"");
23026 }
23027 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
23028 PyObject *resultobj;
23029 PyObject *arg1 = (PyObject *) NULL ;
23030 wxPyTreeItemData *result;
23031 PyObject * obj0 = 0 ;
23032 char *kwnames[] = {
23033 (char *) "obj", NULL
23034 };
23035
23036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23037 if (obj0) {
23038 arg1 = obj0;
23039 }
23040 {
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23043
23044 wxPyEndAllowThreads(__tstate);
23045 if (PyErr_Occurred()) SWIG_fail;
23046 }
23047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
23048 return resultobj;
23049 fail:
23050 return NULL;
23051 }
23052
23053
23054 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23055 PyObject *resultobj;
23056 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23057 PyObject *result;
23058 PyObject * obj0 = 0 ;
23059 char *kwnames[] = {
23060 (char *) "self", NULL
23061 };
23062
23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 result = (PyObject *)(arg1)->GetData();
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 resultobj = result;
23074 return resultobj;
23075 fail:
23076 return NULL;
23077 }
23078
23079
23080 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
23081 PyObject *resultobj;
23082 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23083 PyObject *arg2 = (PyObject *) 0 ;
23084 PyObject * obj0 = 0 ;
23085 PyObject * obj1 = 0 ;
23086 char *kwnames[] = {
23087 (char *) "self",(char *) "obj", NULL
23088 };
23089
23090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23093 arg2 = obj1;
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 (arg1)->SetData(arg2);
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 Py_INCREF(Py_None); resultobj = Py_None;
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23111 wxTreeItemId *result;
23112 PyObject * obj0 = 0 ;
23113 char *kwnames[] = {
23114 (char *) "self", NULL
23115 };
23116
23117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23120 {
23121 PyThreadState* __tstate = wxPyBeginAllowThreads();
23122 {
23123 wxTreeItemId const &_result_ref = (arg1)->GetId();
23124 result = (wxTreeItemId *) &_result_ref;
23125 }
23126
23127 wxPyEndAllowThreads(__tstate);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 }
23130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
23131 return resultobj;
23132 fail:
23133 return NULL;
23134 }
23135
23136
23137 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
23138 PyObject *resultobj;
23139 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23140 wxTreeItemId *arg2 = 0 ;
23141 PyObject * obj0 = 0 ;
23142 PyObject * obj1 = 0 ;
23143 char *kwnames[] = {
23144 (char *) "self",(char *) "id", NULL
23145 };
23146
23147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23151 SWIG_POINTER_EXCEPTION | 0)) == -1)
23152 SWIG_fail;
23153 if (arg2 == NULL) {
23154 PyErr_SetString(PyExc_TypeError,"null reference");
23155 SWIG_fail;
23156 }
23157 {
23158 PyThreadState* __tstate = wxPyBeginAllowThreads();
23159 (arg1)->SetId((wxTreeItemId const &)*arg2);
23160
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 Py_INCREF(Py_None); resultobj = Py_None;
23165 return resultobj;
23166 fail:
23167 return NULL;
23168 }
23169
23170
23171 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
23172 PyObject *resultobj;
23173 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23174 PyObject * obj0 = 0 ;
23175 char *kwnames[] = {
23176 (char *) "self", NULL
23177 };
23178
23179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23182 {
23183 PyThreadState* __tstate = wxPyBeginAllowThreads();
23184 wxPyTreeItemData_Destroy(arg1);
23185
23186 wxPyEndAllowThreads(__tstate);
23187 if (PyErr_Occurred()) SWIG_fail;
23188 }
23189 Py_INCREF(Py_None); resultobj = Py_None;
23190 return resultobj;
23191 fail:
23192 return NULL;
23193 }
23194
23195
23196 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
23197 PyObject *obj;
23198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23199 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23200 Py_INCREF(obj);
23201 return Py_BuildValue((char *)"");
23202 }
23203 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23204 PyObject *resultobj;
23205 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23206 int arg2 = (int) 0 ;
23207 wxTreeEvent *result;
23208 PyObject * obj0 = 0 ;
23209 PyObject * obj1 = 0 ;
23210 char *kwnames[] = {
23211 (char *) "commandType",(char *) "id", NULL
23212 };
23213
23214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23215 if (obj0) {
23216 arg1 = (wxEventType) SWIG_AsInt(obj0);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 if (obj1) {
23220 arg2 = (int) SWIG_AsInt(obj1);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 }
23223 {
23224 PyThreadState* __tstate = wxPyBeginAllowThreads();
23225 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23226
23227 wxPyEndAllowThreads(__tstate);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23231 return resultobj;
23232 fail:
23233 return NULL;
23234 }
23235
23236
23237 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23238 PyObject *resultobj;
23239 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23240 wxTreeItemId result;
23241 PyObject * obj0 = 0 ;
23242 char *kwnames[] = {
23243 (char *) "self", NULL
23244 };
23245
23246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
23251 result = ((wxTreeEvent const *)arg1)->GetItem();
23252
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 {
23257 wxTreeItemId * resultptr;
23258 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23259 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23260 }
23261 return resultobj;
23262 fail:
23263 return NULL;
23264 }
23265
23266
23267 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23268 PyObject *resultobj;
23269 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23270 wxTreeItemId *arg2 = 0 ;
23271 PyObject * obj0 = 0 ;
23272 PyObject * obj1 = 0 ;
23273 char *kwnames[] = {
23274 (char *) "self",(char *) "item", NULL
23275 };
23276
23277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23281 SWIG_POINTER_EXCEPTION | 0)) == -1)
23282 SWIG_fail;
23283 if (arg2 == NULL) {
23284 PyErr_SetString(PyExc_TypeError,"null reference");
23285 SWIG_fail;
23286 }
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23290
23291 wxPyEndAllowThreads(__tstate);
23292 if (PyErr_Occurred()) SWIG_fail;
23293 }
23294 Py_INCREF(Py_None); resultobj = Py_None;
23295 return resultobj;
23296 fail:
23297 return NULL;
23298 }
23299
23300
23301 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
23302 PyObject *resultobj;
23303 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23304 wxTreeItemId result;
23305 PyObject * obj0 = 0 ;
23306 char *kwnames[] = {
23307 (char *) "self", NULL
23308 };
23309
23310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23313 {
23314 PyThreadState* __tstate = wxPyBeginAllowThreads();
23315 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23316
23317 wxPyEndAllowThreads(__tstate);
23318 if (PyErr_Occurred()) SWIG_fail;
23319 }
23320 {
23321 wxTreeItemId * resultptr;
23322 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23323 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23324 }
23325 return resultobj;
23326 fail:
23327 return NULL;
23328 }
23329
23330
23331 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
23332 PyObject *resultobj;
23333 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23334 wxTreeItemId *arg2 = 0 ;
23335 PyObject * obj0 = 0 ;
23336 PyObject * obj1 = 0 ;
23337 char *kwnames[] = {
23338 (char *) "self",(char *) "item", NULL
23339 };
23340
23341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23345 SWIG_POINTER_EXCEPTION | 0)) == -1)
23346 SWIG_fail;
23347 if (arg2 == NULL) {
23348 PyErr_SetString(PyExc_TypeError,"null reference");
23349 SWIG_fail;
23350 }
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23354
23355 wxPyEndAllowThreads(__tstate);
23356 if (PyErr_Occurred()) SWIG_fail;
23357 }
23358 Py_INCREF(Py_None); resultobj = Py_None;
23359 return resultobj;
23360 fail:
23361 return NULL;
23362 }
23363
23364
23365 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23366 PyObject *resultobj;
23367 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23368 wxPoint result;
23369 PyObject * obj0 = 0 ;
23370 char *kwnames[] = {
23371 (char *) "self", NULL
23372 };
23373
23374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23377 {
23378 PyThreadState* __tstate = wxPyBeginAllowThreads();
23379 result = ((wxTreeEvent const *)arg1)->GetPoint();
23380
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 {
23385 wxPoint * resultptr;
23386 resultptr = new wxPoint((wxPoint &) result);
23387 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23388 }
23389 return resultobj;
23390 fail:
23391 return NULL;
23392 }
23393
23394
23395 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23396 PyObject *resultobj;
23397 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23398 wxPoint *arg2 = 0 ;
23399 wxPoint temp2 ;
23400 PyObject * obj0 = 0 ;
23401 PyObject * obj1 = 0 ;
23402 char *kwnames[] = {
23403 (char *) "self",(char *) "pt", NULL
23404 };
23405
23406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23409 {
23410 arg2 = &temp2;
23411 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23412 }
23413 {
23414 PyThreadState* __tstate = wxPyBeginAllowThreads();
23415 (arg1)->SetPoint((wxPoint const &)*arg2);
23416
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
23420 Py_INCREF(Py_None); resultobj = Py_None;
23421 return resultobj;
23422 fail:
23423 return NULL;
23424 }
23425
23426
23427 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23428 PyObject *resultobj;
23429 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23430 wxKeyEvent *result;
23431 PyObject * obj0 = 0 ;
23432 char *kwnames[] = {
23433 (char *) "self", NULL
23434 };
23435
23436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 {
23442 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23443 result = (wxKeyEvent *) &_result_ref;
23444 }
23445
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23450 return resultobj;
23451 fail:
23452 return NULL;
23453 }
23454
23455
23456 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23457 PyObject *resultobj;
23458 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23459 int result;
23460 PyObject * obj0 = 0 ;
23461 char *kwnames[] = {
23462 (char *) "self", NULL
23463 };
23464
23465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23468 {
23469 PyThreadState* __tstate = wxPyBeginAllowThreads();
23470 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23471
23472 wxPyEndAllowThreads(__tstate);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
23475 resultobj = SWIG_FromInt((int)result);
23476 return resultobj;
23477 fail:
23478 return NULL;
23479 }
23480
23481
23482 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23483 PyObject *resultobj;
23484 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23485 wxKeyEvent *arg2 = 0 ;
23486 PyObject * obj0 = 0 ;
23487 PyObject * obj1 = 0 ;
23488 char *kwnames[] = {
23489 (char *) "self",(char *) "evt", NULL
23490 };
23491
23492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23496 SWIG_POINTER_EXCEPTION | 0)) == -1)
23497 SWIG_fail;
23498 if (arg2 == NULL) {
23499 PyErr_SetString(PyExc_TypeError,"null reference");
23500 SWIG_fail;
23501 }
23502 {
23503 PyThreadState* __tstate = wxPyBeginAllowThreads();
23504 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23505
23506 wxPyEndAllowThreads(__tstate);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 }
23509 Py_INCREF(Py_None); resultobj = Py_None;
23510 return resultobj;
23511 fail:
23512 return NULL;
23513 }
23514
23515
23516 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23517 PyObject *resultobj;
23518 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23519 wxString *result;
23520 PyObject * obj0 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 {
23531 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23532 result = (wxString *) &_result_ref;
23533 }
23534
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
23538 {
23539 #if wxUSE_UNICODE
23540 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23541 #else
23542 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23543 #endif
23544 }
23545 return resultobj;
23546 fail:
23547 return NULL;
23548 }
23549
23550
23551 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23552 PyObject *resultobj;
23553 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23554 wxString *arg2 = 0 ;
23555 bool temp2 = False ;
23556 PyObject * obj0 = 0 ;
23557 PyObject * obj1 = 0 ;
23558 char *kwnames[] = {
23559 (char *) "self",(char *) "label", NULL
23560 };
23561
23562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23565 {
23566 arg2 = wxString_in_helper(obj1);
23567 if (arg2 == NULL) SWIG_fail;
23568 temp2 = True;
23569 }
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 (arg1)->SetLabel((wxString const &)*arg2);
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 Py_INCREF(Py_None); resultobj = Py_None;
23578 {
23579 if (temp2)
23580 delete arg2;
23581 }
23582 return resultobj;
23583 fail:
23584 {
23585 if (temp2)
23586 delete arg2;
23587 }
23588 return NULL;
23589 }
23590
23591
23592 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23593 PyObject *resultobj;
23594 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23595 bool result;
23596 PyObject * obj0 = 0 ;
23597 char *kwnames[] = {
23598 (char *) "self", NULL
23599 };
23600
23601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23604 {
23605 PyThreadState* __tstate = wxPyBeginAllowThreads();
23606 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23607
23608 wxPyEndAllowThreads(__tstate);
23609 if (PyErr_Occurred()) SWIG_fail;
23610 }
23611 {
23612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23613 }
23614 return resultobj;
23615 fail:
23616 return NULL;
23617 }
23618
23619
23620 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23621 PyObject *resultobj;
23622 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23623 bool arg2 ;
23624 PyObject * obj0 = 0 ;
23625 PyObject * obj1 = 0 ;
23626 char *kwnames[] = {
23627 (char *) "self",(char *) "editCancelled", NULL
23628 };
23629
23630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23633 arg2 = (bool) SWIG_AsBool(obj1);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 {
23636 PyThreadState* __tstate = wxPyBeginAllowThreads();
23637 (arg1)->SetEditCanceled(arg2);
23638
23639 wxPyEndAllowThreads(__tstate);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 Py_INCREF(Py_None); resultobj = Py_None;
23643 return resultobj;
23644 fail:
23645 return NULL;
23646 }
23647
23648
23649 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
23650 PyObject *resultobj;
23651 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23652 wxString *arg2 = 0 ;
23653 bool temp2 = False ;
23654 PyObject * obj0 = 0 ;
23655 PyObject * obj1 = 0 ;
23656 char *kwnames[] = {
23657 (char *) "self",(char *) "toolTip", NULL
23658 };
23659
23660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23663 {
23664 arg2 = wxString_in_helper(obj1);
23665 if (arg2 == NULL) SWIG_fail;
23666 temp2 = True;
23667 }
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 (arg1)->SetToolTip((wxString const &)*arg2);
23671
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 Py_INCREF(Py_None); resultobj = Py_None;
23676 {
23677 if (temp2)
23678 delete arg2;
23679 }
23680 return resultobj;
23681 fail:
23682 {
23683 if (temp2)
23684 delete arg2;
23685 }
23686 return NULL;
23687 }
23688
23689
23690 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
23691 PyObject *obj;
23692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23693 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23694 Py_INCREF(obj);
23695 return Py_BuildValue((char *)"");
23696 }
23697 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23698 PyObject *resultobj;
23699 wxWindow *arg1 = (wxWindow *) 0 ;
23700 int arg2 = (int) -1 ;
23701 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23702 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23703 wxSize const &arg4_defvalue = wxDefaultSize ;
23704 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23705 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23706 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23707 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23708 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23709 wxString *arg7 = (wxString *) &arg7_defvalue ;
23710 wxPyTreeCtrl *result;
23711 wxPoint temp3 ;
23712 wxSize temp4 ;
23713 bool temp7 = False ;
23714 PyObject * obj0 = 0 ;
23715 PyObject * obj1 = 0 ;
23716 PyObject * obj2 = 0 ;
23717 PyObject * obj3 = 0 ;
23718 PyObject * obj4 = 0 ;
23719 PyObject * obj5 = 0 ;
23720 PyObject * obj6 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23728 if (obj1) {
23729 arg2 = (int) SWIG_AsInt(obj1);
23730 if (PyErr_Occurred()) SWIG_fail;
23731 }
23732 if (obj2) {
23733 {
23734 arg3 = &temp3;
23735 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23736 }
23737 }
23738 if (obj3) {
23739 {
23740 arg4 = &temp4;
23741 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23742 }
23743 }
23744 if (obj4) {
23745 arg5 = (long) SWIG_AsLong(obj4);
23746 if (PyErr_Occurred()) SWIG_fail;
23747 }
23748 if (obj5) {
23749 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23750 SWIG_POINTER_EXCEPTION | 0)) == -1)
23751 SWIG_fail;
23752 if (arg6 == NULL) {
23753 PyErr_SetString(PyExc_TypeError,"null reference");
23754 SWIG_fail;
23755 }
23756 }
23757 if (obj6) {
23758 {
23759 arg7 = wxString_in_helper(obj6);
23760 if (arg7 == NULL) SWIG_fail;
23761 temp7 = True;
23762 }
23763 }
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23767
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 {
23772 resultobj = wxPyMake_wxObject(result);
23773 }
23774 {
23775 if (temp7)
23776 delete arg7;
23777 }
23778 return resultobj;
23779 fail:
23780 {
23781 if (temp7)
23782 delete arg7;
23783 }
23784 return NULL;
23785 }
23786
23787
23788 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23789 PyObject *resultobj;
23790 wxPyTreeCtrl *result;
23791 char *kwnames[] = {
23792 NULL
23793 };
23794
23795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23799
23800 wxPyEndAllowThreads(__tstate);
23801 if (PyErr_Occurred()) SWIG_fail;
23802 }
23803 {
23804 resultobj = wxPyMake_wxObject(result);
23805 }
23806 return resultobj;
23807 fail:
23808 return NULL;
23809 }
23810
23811
23812 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23813 PyObject *resultobj;
23814 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23815 wxWindow *arg2 = (wxWindow *) 0 ;
23816 int arg3 = (int) -1 ;
23817 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23818 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23819 wxSize const &arg5_defvalue = wxDefaultSize ;
23820 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23821 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23822 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23823 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23824 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23825 wxString *arg8 = (wxString *) &arg8_defvalue ;
23826 bool result;
23827 wxPoint temp4 ;
23828 wxSize temp5 ;
23829 bool temp8 = False ;
23830 PyObject * obj0 = 0 ;
23831 PyObject * obj1 = 0 ;
23832 PyObject * obj2 = 0 ;
23833 PyObject * obj3 = 0 ;
23834 PyObject * obj4 = 0 ;
23835 PyObject * obj5 = 0 ;
23836 PyObject * obj6 = 0 ;
23837 PyObject * obj7 = 0 ;
23838 char *kwnames[] = {
23839 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23840 };
23841
23842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23847 if (obj2) {
23848 arg3 = (int) SWIG_AsInt(obj2);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 if (obj3) {
23852 {
23853 arg4 = &temp4;
23854 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23855 }
23856 }
23857 if (obj4) {
23858 {
23859 arg5 = &temp5;
23860 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23861 }
23862 }
23863 if (obj5) {
23864 arg6 = (long) SWIG_AsLong(obj5);
23865 if (PyErr_Occurred()) SWIG_fail;
23866 }
23867 if (obj6) {
23868 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23869 SWIG_POINTER_EXCEPTION | 0)) == -1)
23870 SWIG_fail;
23871 if (arg7 == NULL) {
23872 PyErr_SetString(PyExc_TypeError,"null reference");
23873 SWIG_fail;
23874 }
23875 }
23876 if (obj7) {
23877 {
23878 arg8 = wxString_in_helper(obj7);
23879 if (arg8 == NULL) SWIG_fail;
23880 temp8 = True;
23881 }
23882 }
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23886
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 {
23891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23892 }
23893 {
23894 if (temp8)
23895 delete arg8;
23896 }
23897 return resultobj;
23898 fail:
23899 {
23900 if (temp8)
23901 delete arg8;
23902 }
23903 return NULL;
23904 }
23905
23906
23907 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23908 PyObject *resultobj;
23909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23910 PyObject *arg2 = (PyObject *) 0 ;
23911 PyObject *arg3 = (PyObject *) 0 ;
23912 PyObject * obj0 = 0 ;
23913 PyObject * obj1 = 0 ;
23914 PyObject * obj2 = 0 ;
23915 char *kwnames[] = {
23916 (char *) "self",(char *) "self",(char *) "_class", NULL
23917 };
23918
23919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23922 arg2 = obj1;
23923 arg3 = obj2;
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 (arg1)->_setCallbackInfo(arg2,arg3);
23927
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 Py_INCREF(Py_None); resultobj = Py_None;
23932 return resultobj;
23933 fail:
23934 return NULL;
23935 }
23936
23937
23938 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
23939 PyObject *resultobj;
23940 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23941 size_t result;
23942 PyObject * obj0 = 0 ;
23943 char *kwnames[] = {
23944 (char *) "self", NULL
23945 };
23946
23947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23950 {
23951 PyThreadState* __tstate = wxPyBeginAllowThreads();
23952 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23953
23954 wxPyEndAllowThreads(__tstate);
23955 if (PyErr_Occurred()) SWIG_fail;
23956 }
23957 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
23958 return resultobj;
23959 fail:
23960 return NULL;
23961 }
23962
23963
23964 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
23965 PyObject *resultobj;
23966 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23967 unsigned int result;
23968 PyObject * obj0 = 0 ;
23969 char *kwnames[] = {
23970 (char *) "self", NULL
23971 };
23972
23973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23976 {
23977 PyThreadState* __tstate = wxPyBeginAllowThreads();
23978 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23979
23980 wxPyEndAllowThreads(__tstate);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 }
23983 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
23984 return resultobj;
23985 fail:
23986 return NULL;
23987 }
23988
23989
23990 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
23991 PyObject *resultobj;
23992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23993 unsigned int arg2 ;
23994 PyObject * obj0 = 0 ;
23995 PyObject * obj1 = 0 ;
23996 char *kwnames[] = {
23997 (char *) "self",(char *) "indent", NULL
23998 };
23999
24000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
24001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24003 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24004 if (PyErr_Occurred()) SWIG_fail;
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 (arg1)->SetIndent(arg2);
24008
24009 wxPyEndAllowThreads(__tstate);
24010 if (PyErr_Occurred()) SWIG_fail;
24011 }
24012 Py_INCREF(Py_None); resultobj = Py_None;
24013 return resultobj;
24014 fail:
24015 return NULL;
24016 }
24017
24018
24019 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24020 PyObject *resultobj;
24021 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24022 unsigned int result;
24023 PyObject * obj0 = 0 ;
24024 char *kwnames[] = {
24025 (char *) "self", NULL
24026 };
24027
24028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
24029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24034
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24039 return resultobj;
24040 fail:
24041 return NULL;
24042 }
24043
24044
24045 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24046 PyObject *resultobj;
24047 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24048 unsigned int arg2 ;
24049 PyObject * obj0 = 0 ;
24050 PyObject * obj1 = 0 ;
24051 char *kwnames[] = {
24052 (char *) "self",(char *) "spacing", NULL
24053 };
24054
24055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24058 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 (arg1)->SetSpacing(arg2);
24063
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 Py_INCREF(Py_None); resultobj = Py_None;
24068 return resultobj;
24069 fail:
24070 return NULL;
24071 }
24072
24073
24074 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24075 PyObject *resultobj;
24076 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24077 wxImageList *result;
24078 PyObject * obj0 = 0 ;
24079 char *kwnames[] = {
24080 (char *) "self", NULL
24081 };
24082
24083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24086 {
24087 PyThreadState* __tstate = wxPyBeginAllowThreads();
24088 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24089
24090 wxPyEndAllowThreads(__tstate);
24091 if (PyErr_Occurred()) SWIG_fail;
24092 }
24093 {
24094 resultobj = wxPyMake_wxObject(result);
24095 }
24096 return resultobj;
24097 fail:
24098 return NULL;
24099 }
24100
24101
24102 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24103 PyObject *resultobj;
24104 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24105 wxImageList *result;
24106 PyObject * obj0 = 0 ;
24107 char *kwnames[] = {
24108 (char *) "self", NULL
24109 };
24110
24111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24114 {
24115 PyThreadState* __tstate = wxPyBeginAllowThreads();
24116 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24117
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 {
24122 resultobj = wxPyMake_wxObject(result);
24123 }
24124 return resultobj;
24125 fail:
24126 return NULL;
24127 }
24128
24129
24130 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj;
24132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24133 wxImageList *arg2 = (wxImageList *) 0 ;
24134 PyObject * obj0 = 0 ;
24135 PyObject * obj1 = 0 ;
24136 char *kwnames[] = {
24137 (char *) "self",(char *) "imageList", NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 (arg1)->SetImageList(arg2);
24148
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 Py_INCREF(Py_None); resultobj = Py_None;
24153 return resultobj;
24154 fail:
24155 return NULL;
24156 }
24157
24158
24159 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24162 wxImageList *arg2 = (wxImageList *) 0 ;
24163 PyObject * obj0 = 0 ;
24164 PyObject * obj1 = 0 ;
24165 char *kwnames[] = {
24166 (char *) "self",(char *) "imageList", NULL
24167 };
24168
24169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24174 {
24175 PyThreadState* __tstate = wxPyBeginAllowThreads();
24176 (arg1)->SetStateImageList(arg2);
24177
24178 wxPyEndAllowThreads(__tstate);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 }
24181 Py_INCREF(Py_None); resultobj = Py_None;
24182 return resultobj;
24183 fail:
24184 return NULL;
24185 }
24186
24187
24188 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj;
24190 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24191 wxImageList *arg2 = (wxImageList *) 0 ;
24192 PyObject * obj0 = 0 ;
24193 PyObject * obj1 = 0 ;
24194 char *kwnames[] = {
24195 (char *) "self",(char *) "imageList", NULL
24196 };
24197
24198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24202 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 (arg1)->AssignImageList(arg2);
24206
24207 wxPyEndAllowThreads(__tstate);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 Py_INCREF(Py_None); resultobj = Py_None;
24211 return resultobj;
24212 fail:
24213 return NULL;
24214 }
24215
24216
24217 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj;
24219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24220 wxImageList *arg2 = (wxImageList *) 0 ;
24221 PyObject * obj0 = 0 ;
24222 PyObject * obj1 = 0 ;
24223 char *kwnames[] = {
24224 (char *) "self",(char *) "imageList", NULL
24225 };
24226
24227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24231 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24232 {
24233 PyThreadState* __tstate = wxPyBeginAllowThreads();
24234 (arg1)->AssignStateImageList(arg2);
24235
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 Py_INCREF(Py_None); resultobj = Py_None;
24240 return resultobj;
24241 fail:
24242 return NULL;
24243 }
24244
24245
24246 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj;
24248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24249 wxTreeItemId *arg2 = 0 ;
24250 wxString result;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self",(char *) "item", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24261 SWIG_POINTER_EXCEPTION | 0)) == -1)
24262 SWIG_fail;
24263 if (arg2 == NULL) {
24264 PyErr_SetString(PyExc_TypeError,"null reference");
24265 SWIG_fail;
24266 }
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 {
24275 #if wxUSE_UNICODE
24276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24277 #else
24278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24279 #endif
24280 }
24281 return resultobj;
24282 fail:
24283 return NULL;
24284 }
24285
24286
24287 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj;
24289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24290 wxTreeItemId *arg2 = 0 ;
24291 int arg3 = (int) wxTreeItemIcon_Normal ;
24292 int result;
24293 PyObject * obj0 = 0 ;
24294 PyObject * obj1 = 0 ;
24295 PyObject * obj2 = 0 ;
24296 char *kwnames[] = {
24297 (char *) "self",(char *) "item",(char *) "which", NULL
24298 };
24299
24300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24303 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24304 SWIG_POINTER_EXCEPTION | 0)) == -1)
24305 SWIG_fail;
24306 if (arg2 == NULL) {
24307 PyErr_SetString(PyExc_TypeError,"null reference");
24308 SWIG_fail;
24309 }
24310 if (obj2) {
24311 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 }
24314 {
24315 PyThreadState* __tstate = wxPyBeginAllowThreads();
24316 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24317
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 resultobj = SWIG_FromInt((int)result);
24322 return resultobj;
24323 fail:
24324 return NULL;
24325 }
24326
24327
24328 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24329 PyObject *resultobj;
24330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24331 wxTreeItemId *arg2 = 0 ;
24332 wxPyTreeItemData *result;
24333 PyObject * obj0 = 0 ;
24334 PyObject * obj1 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self",(char *) "item", NULL
24337 };
24338
24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24343 SWIG_POINTER_EXCEPTION | 0)) == -1)
24344 SWIG_fail;
24345 if (arg2 == NULL) {
24346 PyErr_SetString(PyExc_TypeError,"null reference");
24347 SWIG_fail;
24348 }
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24352
24353 wxPyEndAllowThreads(__tstate);
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24357 return resultobj;
24358 fail:
24359 return NULL;
24360 }
24361
24362
24363 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj;
24365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24366 wxTreeItemId *arg2 = 0 ;
24367 PyObject *result;
24368 PyObject * obj0 = 0 ;
24369 PyObject * obj1 = 0 ;
24370 char *kwnames[] = {
24371 (char *) "self",(char *) "item", NULL
24372 };
24373
24374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24378 SWIG_POINTER_EXCEPTION | 0)) == -1)
24379 SWIG_fail;
24380 if (arg2 == NULL) {
24381 PyErr_SetString(PyExc_TypeError,"null reference");
24382 SWIG_fail;
24383 }
24384 {
24385 PyThreadState* __tstate = wxPyBeginAllowThreads();
24386 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24387
24388 wxPyEndAllowThreads(__tstate);
24389 if (PyErr_Occurred()) SWIG_fail;
24390 }
24391 resultobj = result;
24392 return resultobj;
24393 fail:
24394 return NULL;
24395 }
24396
24397
24398 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24399 PyObject *resultobj;
24400 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24401 wxTreeItemId *arg2 = 0 ;
24402 wxColour result;
24403 PyObject * obj0 = 0 ;
24404 PyObject * obj1 = 0 ;
24405 char *kwnames[] = {
24406 (char *) "self",(char *) "item", NULL
24407 };
24408
24409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24413 SWIG_POINTER_EXCEPTION | 0)) == -1)
24414 SWIG_fail;
24415 if (arg2 == NULL) {
24416 PyErr_SetString(PyExc_TypeError,"null reference");
24417 SWIG_fail;
24418 }
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24422
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 {
24427 wxColour * resultptr;
24428 resultptr = new wxColour((wxColour &) result);
24429 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24430 }
24431 return resultobj;
24432 fail:
24433 return NULL;
24434 }
24435
24436
24437 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj;
24439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24440 wxTreeItemId *arg2 = 0 ;
24441 wxColour result;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 char *kwnames[] = {
24445 (char *) "self",(char *) "item", NULL
24446 };
24447
24448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24452 SWIG_POINTER_EXCEPTION | 0)) == -1)
24453 SWIG_fail;
24454 if (arg2 == NULL) {
24455 PyErr_SetString(PyExc_TypeError,"null reference");
24456 SWIG_fail;
24457 }
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24461
24462 wxPyEndAllowThreads(__tstate);
24463 if (PyErr_Occurred()) SWIG_fail;
24464 }
24465 {
24466 wxColour * resultptr;
24467 resultptr = new wxColour((wxColour &) result);
24468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24469 }
24470 return resultobj;
24471 fail:
24472 return NULL;
24473 }
24474
24475
24476 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
24477 PyObject *resultobj;
24478 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24479 wxTreeItemId *arg2 = 0 ;
24480 wxFont result;
24481 PyObject * obj0 = 0 ;
24482 PyObject * obj1 = 0 ;
24483 char *kwnames[] = {
24484 (char *) "self",(char *) "item", NULL
24485 };
24486
24487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24491 SWIG_POINTER_EXCEPTION | 0)) == -1)
24492 SWIG_fail;
24493 if (arg2 == NULL) {
24494 PyErr_SetString(PyExc_TypeError,"null reference");
24495 SWIG_fail;
24496 }
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 {
24505 wxFont * resultptr;
24506 resultptr = new wxFont((wxFont &) result);
24507 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24508 }
24509 return resultobj;
24510 fail:
24511 return NULL;
24512 }
24513
24514
24515 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24516 PyObject *resultobj;
24517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24518 wxTreeItemId *arg2 = 0 ;
24519 wxString *arg3 = 0 ;
24520 bool temp3 = False ;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 PyObject * obj2 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self",(char *) "item",(char *) "text", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) 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_wxTreeItemId,
24532 SWIG_POINTER_EXCEPTION | 0)) == -1)
24533 SWIG_fail;
24534 if (arg2 == NULL) {
24535 PyErr_SetString(PyExc_TypeError,"null reference");
24536 SWIG_fail;
24537 }
24538 {
24539 arg3 = wxString_in_helper(obj2);
24540 if (arg3 == NULL) SWIG_fail;
24541 temp3 = True;
24542 }
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 Py_INCREF(Py_None); resultobj = Py_None;
24551 {
24552 if (temp3)
24553 delete arg3;
24554 }
24555 return resultobj;
24556 fail:
24557 {
24558 if (temp3)
24559 delete arg3;
24560 }
24561 return NULL;
24562 }
24563
24564
24565 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24566 PyObject *resultobj;
24567 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24568 wxTreeItemId *arg2 = 0 ;
24569 int arg3 ;
24570 int arg4 = (int) wxTreeItemIcon_Normal ;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573 PyObject * obj2 = 0 ;
24574 PyObject * obj3 = 0 ;
24575 char *kwnames[] = {
24576 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24577 };
24578
24579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24583 SWIG_POINTER_EXCEPTION | 0)) == -1)
24584 SWIG_fail;
24585 if (arg2 == NULL) {
24586 PyErr_SetString(PyExc_TypeError,"null reference");
24587 SWIG_fail;
24588 }
24589 arg3 = (int) SWIG_AsInt(obj2);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 if (obj3) {
24592 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24598
24599 wxPyEndAllowThreads(__tstate);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
24602 Py_INCREF(Py_None); resultobj = Py_None;
24603 return resultobj;
24604 fail:
24605 return NULL;
24606 }
24607
24608
24609 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24610 PyObject *resultobj;
24611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24612 wxTreeItemId *arg2 = 0 ;
24613 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24614 PyObject * obj0 = 0 ;
24615 PyObject * obj1 = 0 ;
24616 PyObject * obj2 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self",(char *) "item",(char *) "data", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24625 SWIG_POINTER_EXCEPTION | 0)) == -1)
24626 SWIG_fail;
24627 if (arg2 == NULL) {
24628 PyErr_SetString(PyExc_TypeError,"null reference");
24629 SWIG_fail;
24630 }
24631 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24636
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
24640 Py_INCREF(Py_None); resultobj = Py_None;
24641 return resultobj;
24642 fail:
24643 return NULL;
24644 }
24645
24646
24647 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24650 wxTreeItemId *arg2 = 0 ;
24651 PyObject *arg3 = (PyObject *) 0 ;
24652 PyObject * obj0 = 0 ;
24653 PyObject * obj1 = 0 ;
24654 PyObject * obj2 = 0 ;
24655 char *kwnames[] = {
24656 (char *) "self",(char *) "item",(char *) "obj", NULL
24657 };
24658
24659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",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 arg3 = obj2;
24670 {
24671 PyThreadState* __tstate = wxPyBeginAllowThreads();
24672 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 Py_INCREF(Py_None); resultobj = Py_None;
24678 return resultobj;
24679 fail:
24680 return NULL;
24681 }
24682
24683
24684 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
24685 PyObject *resultobj;
24686 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24687 wxTreeItemId *arg2 = 0 ;
24688 bool arg3 = (bool) True ;
24689 PyObject * obj0 = 0 ;
24690 PyObject * obj1 = 0 ;
24691 PyObject * obj2 = 0 ;
24692 char *kwnames[] = {
24693 (char *) "self",(char *) "item",(char *) "has", NULL
24694 };
24695
24696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24700 SWIG_POINTER_EXCEPTION | 0)) == -1)
24701 SWIG_fail;
24702 if (arg2 == NULL) {
24703 PyErr_SetString(PyExc_TypeError,"null reference");
24704 SWIG_fail;
24705 }
24706 if (obj2) {
24707 arg3 = (bool) SWIG_AsBool(obj2);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 {
24711 PyThreadState* __tstate = wxPyBeginAllowThreads();
24712 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24713
24714 wxPyEndAllowThreads(__tstate);
24715 if (PyErr_Occurred()) SWIG_fail;
24716 }
24717 Py_INCREF(Py_None); resultobj = Py_None;
24718 return resultobj;
24719 fail:
24720 return NULL;
24721 }
24722
24723
24724 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
24725 PyObject *resultobj;
24726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24727 wxTreeItemId *arg2 = 0 ;
24728 bool arg3 = (bool) True ;
24729 PyObject * obj0 = 0 ;
24730 PyObject * obj1 = 0 ;
24731 PyObject * obj2 = 0 ;
24732 char *kwnames[] = {
24733 (char *) "self",(char *) "item",(char *) "bold", NULL
24734 };
24735
24736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24740 SWIG_POINTER_EXCEPTION | 0)) == -1)
24741 SWIG_fail;
24742 if (arg2 == NULL) {
24743 PyErr_SetString(PyExc_TypeError,"null reference");
24744 SWIG_fail;
24745 }
24746 if (obj2) {
24747 arg3 = (bool) SWIG_AsBool(obj2);
24748 if (PyErr_Occurred()) SWIG_fail;
24749 }
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 Py_INCREF(Py_None); resultobj = Py_None;
24758 return resultobj;
24759 fail:
24760 return NULL;
24761 }
24762
24763
24764 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24765 PyObject *resultobj;
24766 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24767 wxTreeItemId *arg2 = 0 ;
24768 wxColour *arg3 = 0 ;
24769 wxColour temp3 ;
24770 PyObject * obj0 = 0 ;
24771 PyObject * obj1 = 0 ;
24772 PyObject * obj2 = 0 ;
24773 char *kwnames[] = {
24774 (char *) "self",(char *) "item",(char *) "col", NULL
24775 };
24776
24777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24781 SWIG_POINTER_EXCEPTION | 0)) == -1)
24782 SWIG_fail;
24783 if (arg2 == NULL) {
24784 PyErr_SetString(PyExc_TypeError,"null reference");
24785 SWIG_fail;
24786 }
24787 {
24788 arg3 = &temp3;
24789 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24790 }
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24794
24795 wxPyEndAllowThreads(__tstate);
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 Py_INCREF(Py_None); resultobj = Py_None;
24799 return resultobj;
24800 fail:
24801 return NULL;
24802 }
24803
24804
24805 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24806 PyObject *resultobj;
24807 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24808 wxTreeItemId *arg2 = 0 ;
24809 wxColour *arg3 = 0 ;
24810 wxColour temp3 ;
24811 PyObject * obj0 = 0 ;
24812 PyObject * obj1 = 0 ;
24813 PyObject * obj2 = 0 ;
24814 char *kwnames[] = {
24815 (char *) "self",(char *) "item",(char *) "col", NULL
24816 };
24817
24818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24822 SWIG_POINTER_EXCEPTION | 0)) == -1)
24823 SWIG_fail;
24824 if (arg2 == NULL) {
24825 PyErr_SetString(PyExc_TypeError,"null reference");
24826 SWIG_fail;
24827 }
24828 {
24829 arg3 = &temp3;
24830 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24831 }
24832 {
24833 PyThreadState* __tstate = wxPyBeginAllowThreads();
24834 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24835
24836 wxPyEndAllowThreads(__tstate);
24837 if (PyErr_Occurred()) SWIG_fail;
24838 }
24839 Py_INCREF(Py_None); resultobj = Py_None;
24840 return resultobj;
24841 fail:
24842 return NULL;
24843 }
24844
24845
24846 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
24847 PyObject *resultobj;
24848 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24849 wxTreeItemId *arg2 = 0 ;
24850 wxFont *arg3 = 0 ;
24851 PyObject * obj0 = 0 ;
24852 PyObject * obj1 = 0 ;
24853 PyObject * obj2 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "self",(char *) "item",(char *) "font", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24862 SWIG_POINTER_EXCEPTION | 0)) == -1)
24863 SWIG_fail;
24864 if (arg2 == NULL) {
24865 PyErr_SetString(PyExc_TypeError,"null reference");
24866 SWIG_fail;
24867 }
24868 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
24869 SWIG_POINTER_EXCEPTION | 0)) == -1)
24870 SWIG_fail;
24871 if (arg3 == NULL) {
24872 PyErr_SetString(PyExc_TypeError,"null reference");
24873 SWIG_fail;
24874 }
24875 {
24876 PyThreadState* __tstate = wxPyBeginAllowThreads();
24877 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24878
24879 wxPyEndAllowThreads(__tstate);
24880 if (PyErr_Occurred()) SWIG_fail;
24881 }
24882 Py_INCREF(Py_None); resultobj = Py_None;
24883 return resultobj;
24884 fail:
24885 return NULL;
24886 }
24887
24888
24889 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
24890 PyObject *resultobj;
24891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24892 wxTreeItemId *arg2 = 0 ;
24893 bool result;
24894 PyObject * obj0 = 0 ;
24895 PyObject * obj1 = 0 ;
24896 char *kwnames[] = {
24897 (char *) "self",(char *) "item", NULL
24898 };
24899
24900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24904 SWIG_POINTER_EXCEPTION | 0)) == -1)
24905 SWIG_fail;
24906 if (arg2 == NULL) {
24907 PyErr_SetString(PyExc_TypeError,"null reference");
24908 SWIG_fail;
24909 }
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24913
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 {
24918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24919 }
24920 return resultobj;
24921 fail:
24922 return NULL;
24923 }
24924
24925
24926 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
24927 PyObject *resultobj;
24928 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24929 wxTreeItemId *arg2 = 0 ;
24930 bool result;
24931 PyObject * obj0 = 0 ;
24932 PyObject * obj1 = 0 ;
24933 char *kwnames[] = {
24934 (char *) "self",(char *) "item", NULL
24935 };
24936
24937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24941 SWIG_POINTER_EXCEPTION | 0)) == -1)
24942 SWIG_fail;
24943 if (arg2 == NULL) {
24944 PyErr_SetString(PyExc_TypeError,"null reference");
24945 SWIG_fail;
24946 }
24947 {
24948 PyThreadState* __tstate = wxPyBeginAllowThreads();
24949 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24950
24951 wxPyEndAllowThreads(__tstate);
24952 if (PyErr_Occurred()) SWIG_fail;
24953 }
24954 {
24955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24956 }
24957 return resultobj;
24958 fail:
24959 return NULL;
24960 }
24961
24962
24963 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
24964 PyObject *resultobj;
24965 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24966 wxTreeItemId *arg2 = 0 ;
24967 bool result;
24968 PyObject * obj0 = 0 ;
24969 PyObject * obj1 = 0 ;
24970 char *kwnames[] = {
24971 (char *) "self",(char *) "item", NULL
24972 };
24973
24974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24977 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24978 SWIG_POINTER_EXCEPTION | 0)) == -1)
24979 SWIG_fail;
24980 if (arg2 == NULL) {
24981 PyErr_SetString(PyExc_TypeError,"null reference");
24982 SWIG_fail;
24983 }
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 {
24992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24993 }
24994 return resultobj;
24995 fail:
24996 return NULL;
24997 }
24998
24999
25000 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
25001 PyObject *resultobj;
25002 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25003 wxTreeItemId *arg2 = 0 ;
25004 bool result;
25005 PyObject * obj0 = 0 ;
25006 PyObject * obj1 = 0 ;
25007 char *kwnames[] = {
25008 (char *) "self",(char *) "item", NULL
25009 };
25010
25011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
25012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25015 SWIG_POINTER_EXCEPTION | 0)) == -1)
25016 SWIG_fail;
25017 if (arg2 == NULL) {
25018 PyErr_SetString(PyExc_TypeError,"null reference");
25019 SWIG_fail;
25020 }
25021 {
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25024
25025 wxPyEndAllowThreads(__tstate);
25026 if (PyErr_Occurred()) SWIG_fail;
25027 }
25028 {
25029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25030 }
25031 return resultobj;
25032 fail:
25033 return NULL;
25034 }
25035
25036
25037 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
25038 PyObject *resultobj;
25039 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25040 wxTreeItemId *arg2 = 0 ;
25041 bool result;
25042 PyObject * obj0 = 0 ;
25043 PyObject * obj1 = 0 ;
25044 char *kwnames[] = {
25045 (char *) "self",(char *) "item", NULL
25046 };
25047
25048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
25049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25052 SWIG_POINTER_EXCEPTION | 0)) == -1)
25053 SWIG_fail;
25054 if (arg2 == NULL) {
25055 PyErr_SetString(PyExc_TypeError,"null reference");
25056 SWIG_fail;
25057 }
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25061
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 {
25066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25067 }
25068 return resultobj;
25069 fail:
25070 return NULL;
25071 }
25072
25073
25074 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
25075 PyObject *resultobj;
25076 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25077 wxTreeItemId *arg2 = 0 ;
25078 bool arg3 = (bool) True ;
25079 size_t result;
25080 PyObject * obj0 = 0 ;
25081 PyObject * obj1 = 0 ;
25082 PyObject * obj2 = 0 ;
25083 char *kwnames[] = {
25084 (char *) "self",(char *) "item",(char *) "recursively", NULL
25085 };
25086
25087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
25088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25091 SWIG_POINTER_EXCEPTION | 0)) == -1)
25092 SWIG_fail;
25093 if (arg2 == NULL) {
25094 PyErr_SetString(PyExc_TypeError,"null reference");
25095 SWIG_fail;
25096 }
25097 if (obj2) {
25098 arg3 = (bool) SWIG_AsBool(obj2);
25099 if (PyErr_Occurred()) SWIG_fail;
25100 }
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25104
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25109 return resultobj;
25110 fail:
25111 return NULL;
25112 }
25113
25114
25115 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
25116 PyObject *resultobj;
25117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25118 wxTreeItemId result;
25119 PyObject * obj0 = 0 ;
25120 char *kwnames[] = {
25121 (char *) "self", NULL
25122 };
25123
25124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25130
25131 wxPyEndAllowThreads(__tstate);
25132 if (PyErr_Occurred()) SWIG_fail;
25133 }
25134 {
25135 wxTreeItemId * resultptr;
25136 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25137 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25138 }
25139 return resultobj;
25140 fail:
25141 return NULL;
25142 }
25143
25144
25145 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
25146 PyObject *resultobj;
25147 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25148 wxTreeItemId result;
25149 PyObject * obj0 = 0 ;
25150 char *kwnames[] = {
25151 (char *) "self", NULL
25152 };
25153
25154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25157 {
25158 PyThreadState* __tstate = wxPyBeginAllowThreads();
25159 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25160
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 {
25165 wxTreeItemId * resultptr;
25166 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25167 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25168 }
25169 return resultobj;
25170 fail:
25171 return NULL;
25172 }
25173
25174
25175 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
25176 PyObject *resultobj;
25177 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25178 PyObject *result;
25179 PyObject * obj0 = 0 ;
25180 char *kwnames[] = {
25181 (char *) "self", NULL
25182 };
25183
25184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25190
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 resultobj = result;
25195 return resultobj;
25196 fail:
25197 return NULL;
25198 }
25199
25200
25201 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
25202 PyObject *resultobj;
25203 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25204 wxTreeItemId *arg2 = 0 ;
25205 wxTreeItemId result;
25206 PyObject * obj0 = 0 ;
25207 PyObject * obj1 = 0 ;
25208 char *kwnames[] = {
25209 (char *) "self",(char *) "item", NULL
25210 };
25211
25212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25216 SWIG_POINTER_EXCEPTION | 0)) == -1)
25217 SWIG_fail;
25218 if (arg2 == NULL) {
25219 PyErr_SetString(PyExc_TypeError,"null reference");
25220 SWIG_fail;
25221 }
25222 {
25223 PyThreadState* __tstate = wxPyBeginAllowThreads();
25224 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25225
25226 wxPyEndAllowThreads(__tstate);
25227 if (PyErr_Occurred()) SWIG_fail;
25228 }
25229 {
25230 wxTreeItemId * resultptr;
25231 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25233 }
25234 return resultobj;
25235 fail:
25236 return NULL;
25237 }
25238
25239
25240 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
25241 PyObject *resultobj;
25242 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25243 wxTreeItemId *arg2 = 0 ;
25244 PyObject *result;
25245 PyObject * obj0 = 0 ;
25246 PyObject * obj1 = 0 ;
25247 char *kwnames[] = {
25248 (char *) "self",(char *) "item", NULL
25249 };
25250
25251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25254 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25255 SWIG_POINTER_EXCEPTION | 0)) == -1)
25256 SWIG_fail;
25257 if (arg2 == NULL) {
25258 PyErr_SetString(PyExc_TypeError,"null reference");
25259 SWIG_fail;
25260 }
25261 {
25262 PyThreadState* __tstate = wxPyBeginAllowThreads();
25263 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25264
25265 wxPyEndAllowThreads(__tstate);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 }
25268 resultobj = result;
25269 return resultobj;
25270 fail:
25271 return NULL;
25272 }
25273
25274
25275 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
25276 PyObject *resultobj;
25277 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25278 wxTreeItemId *arg2 = 0 ;
25279 void *arg3 = (void *) 0 ;
25280 PyObject *result;
25281 PyObject * obj0 = 0 ;
25282 PyObject * obj1 = 0 ;
25283 PyObject * obj2 = 0 ;
25284 char *kwnames[] = {
25285 (char *) "self",(char *) "item",(char *) "cookie", NULL
25286 };
25287
25288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25292 SWIG_POINTER_EXCEPTION | 0)) == -1)
25293 SWIG_fail;
25294 if (arg2 == NULL) {
25295 PyErr_SetString(PyExc_TypeError,"null reference");
25296 SWIG_fail;
25297 }
25298 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25302
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 resultobj = result;
25307 return resultobj;
25308 fail:
25309 return NULL;
25310 }
25311
25312
25313 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
25314 PyObject *resultobj;
25315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25316 wxTreeItemId *arg2 = 0 ;
25317 wxTreeItemId result;
25318 PyObject * obj0 = 0 ;
25319 PyObject * obj1 = 0 ;
25320 char *kwnames[] = {
25321 (char *) "self",(char *) "item", NULL
25322 };
25323
25324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25328 SWIG_POINTER_EXCEPTION | 0)) == -1)
25329 SWIG_fail;
25330 if (arg2 == NULL) {
25331 PyErr_SetString(PyExc_TypeError,"null reference");
25332 SWIG_fail;
25333 }
25334 {
25335 PyThreadState* __tstate = wxPyBeginAllowThreads();
25336 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25337
25338 wxPyEndAllowThreads(__tstate);
25339 if (PyErr_Occurred()) SWIG_fail;
25340 }
25341 {
25342 wxTreeItemId * resultptr;
25343 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25345 }
25346 return resultobj;
25347 fail:
25348 return NULL;
25349 }
25350
25351
25352 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
25353 PyObject *resultobj;
25354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25355 wxTreeItemId *arg2 = 0 ;
25356 wxTreeItemId result;
25357 PyObject * obj0 = 0 ;
25358 PyObject * obj1 = 0 ;
25359 char *kwnames[] = {
25360 (char *) "self",(char *) "item", NULL
25361 };
25362
25363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25366 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25367 SWIG_POINTER_EXCEPTION | 0)) == -1)
25368 SWIG_fail;
25369 if (arg2 == NULL) {
25370 PyErr_SetString(PyExc_TypeError,"null reference");
25371 SWIG_fail;
25372 }
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25376
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 {
25381 wxTreeItemId * resultptr;
25382 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25384 }
25385 return resultobj;
25386 fail:
25387 return NULL;
25388 }
25389
25390
25391 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
25392 PyObject *resultobj;
25393 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25394 wxTreeItemId *arg2 = 0 ;
25395 wxTreeItemId result;
25396 PyObject * obj0 = 0 ;
25397 PyObject * obj1 = 0 ;
25398 char *kwnames[] = {
25399 (char *) "self",(char *) "item", NULL
25400 };
25401
25402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25406 SWIG_POINTER_EXCEPTION | 0)) == -1)
25407 SWIG_fail;
25408 if (arg2 == NULL) {
25409 PyErr_SetString(PyExc_TypeError,"null reference");
25410 SWIG_fail;
25411 }
25412 {
25413 PyThreadState* __tstate = wxPyBeginAllowThreads();
25414 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25415
25416 wxPyEndAllowThreads(__tstate);
25417 if (PyErr_Occurred()) SWIG_fail;
25418 }
25419 {
25420 wxTreeItemId * resultptr;
25421 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25423 }
25424 return resultobj;
25425 fail:
25426 return NULL;
25427 }
25428
25429
25430 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
25431 PyObject *resultobj;
25432 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25433 wxTreeItemId result;
25434 PyObject * obj0 = 0 ;
25435 char *kwnames[] = {
25436 (char *) "self", NULL
25437 };
25438
25439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25442 {
25443 PyThreadState* __tstate = wxPyBeginAllowThreads();
25444 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25445
25446 wxPyEndAllowThreads(__tstate);
25447 if (PyErr_Occurred()) SWIG_fail;
25448 }
25449 {
25450 wxTreeItemId * resultptr;
25451 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25453 }
25454 return resultobj;
25455 fail:
25456 return NULL;
25457 }
25458
25459
25460 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25461 PyObject *resultobj;
25462 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25463 wxTreeItemId *arg2 = 0 ;
25464 wxTreeItemId result;
25465 PyObject * obj0 = 0 ;
25466 PyObject * obj1 = 0 ;
25467 char *kwnames[] = {
25468 (char *) "self",(char *) "item", NULL
25469 };
25470
25471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25475 SWIG_POINTER_EXCEPTION | 0)) == -1)
25476 SWIG_fail;
25477 if (arg2 == NULL) {
25478 PyErr_SetString(PyExc_TypeError,"null reference");
25479 SWIG_fail;
25480 }
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25484
25485 wxPyEndAllowThreads(__tstate);
25486 if (PyErr_Occurred()) SWIG_fail;
25487 }
25488 {
25489 wxTreeItemId * resultptr;
25490 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25492 }
25493 return resultobj;
25494 fail:
25495 return NULL;
25496 }
25497
25498
25499 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25500 PyObject *resultobj;
25501 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25502 wxTreeItemId *arg2 = 0 ;
25503 wxTreeItemId result;
25504 PyObject * obj0 = 0 ;
25505 PyObject * obj1 = 0 ;
25506 char *kwnames[] = {
25507 (char *) "self",(char *) "item", NULL
25508 };
25509
25510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25513 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25514 SWIG_POINTER_EXCEPTION | 0)) == -1)
25515 SWIG_fail;
25516 if (arg2 == NULL) {
25517 PyErr_SetString(PyExc_TypeError,"null reference");
25518 SWIG_fail;
25519 }
25520 {
25521 PyThreadState* __tstate = wxPyBeginAllowThreads();
25522 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25523
25524 wxPyEndAllowThreads(__tstate);
25525 if (PyErr_Occurred()) SWIG_fail;
25526 }
25527 {
25528 wxTreeItemId * resultptr;
25529 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25531 }
25532 return resultobj;
25533 fail:
25534 return NULL;
25535 }
25536
25537
25538 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
25539 PyObject *resultobj;
25540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25541 wxString *arg2 = 0 ;
25542 int arg3 = (int) -1 ;
25543 int arg4 = (int) -1 ;
25544 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25545 wxTreeItemId result;
25546 bool temp2 = False ;
25547 PyObject * obj0 = 0 ;
25548 PyObject * obj1 = 0 ;
25549 PyObject * obj2 = 0 ;
25550 PyObject * obj3 = 0 ;
25551 PyObject * obj4 = 0 ;
25552 char *kwnames[] = {
25553 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25554 };
25555
25556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25559 {
25560 arg2 = wxString_in_helper(obj1);
25561 if (arg2 == NULL) SWIG_fail;
25562 temp2 = True;
25563 }
25564 if (obj2) {
25565 arg3 = (int) SWIG_AsInt(obj2);
25566 if (PyErr_Occurred()) SWIG_fail;
25567 }
25568 if (obj3) {
25569 arg4 = (int) SWIG_AsInt(obj3);
25570 if (PyErr_Occurred()) SWIG_fail;
25571 }
25572 if (obj4) {
25573 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25575 }
25576 {
25577 PyThreadState* __tstate = wxPyBeginAllowThreads();
25578 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25579
25580 wxPyEndAllowThreads(__tstate);
25581 if (PyErr_Occurred()) SWIG_fail;
25582 }
25583 {
25584 wxTreeItemId * resultptr;
25585 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25587 }
25588 {
25589 if (temp2)
25590 delete arg2;
25591 }
25592 return resultobj;
25593 fail:
25594 {
25595 if (temp2)
25596 delete arg2;
25597 }
25598 return NULL;
25599 }
25600
25601
25602 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
25603 PyObject *resultobj;
25604 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25605 wxTreeItemId *arg2 = 0 ;
25606 wxString *arg3 = 0 ;
25607 int arg4 = (int) -1 ;
25608 int arg5 = (int) -1 ;
25609 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25610 wxTreeItemId result;
25611 bool temp3 = False ;
25612 PyObject * obj0 = 0 ;
25613 PyObject * obj1 = 0 ;
25614 PyObject * obj2 = 0 ;
25615 PyObject * obj3 = 0 ;
25616 PyObject * obj4 = 0 ;
25617 PyObject * obj5 = 0 ;
25618 char *kwnames[] = {
25619 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25620 };
25621
25622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25626 SWIG_POINTER_EXCEPTION | 0)) == -1)
25627 SWIG_fail;
25628 if (arg2 == NULL) {
25629 PyErr_SetString(PyExc_TypeError,"null reference");
25630 SWIG_fail;
25631 }
25632 {
25633 arg3 = wxString_in_helper(obj2);
25634 if (arg3 == NULL) SWIG_fail;
25635 temp3 = True;
25636 }
25637 if (obj3) {
25638 arg4 = (int) SWIG_AsInt(obj3);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 }
25641 if (obj4) {
25642 arg5 = (int) SWIG_AsInt(obj4);
25643 if (PyErr_Occurred()) SWIG_fail;
25644 }
25645 if (obj5) {
25646 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25648 }
25649 {
25650 PyThreadState* __tstate = wxPyBeginAllowThreads();
25651 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25652
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 {
25657 wxTreeItemId * resultptr;
25658 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25659 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25660 }
25661 {
25662 if (temp3)
25663 delete arg3;
25664 }
25665 return resultobj;
25666 fail:
25667 {
25668 if (temp3)
25669 delete arg3;
25670 }
25671 return NULL;
25672 }
25673
25674
25675 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25676 PyObject *resultobj;
25677 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25678 wxTreeItemId *arg2 = 0 ;
25679 wxTreeItemId *arg3 = 0 ;
25680 wxString *arg4 = 0 ;
25681 int arg5 = (int) -1 ;
25682 int arg6 = (int) -1 ;
25683 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25684 wxTreeItemId result;
25685 bool temp4 = False ;
25686 PyObject * obj0 = 0 ;
25687 PyObject * obj1 = 0 ;
25688 PyObject * obj2 = 0 ;
25689 PyObject * obj3 = 0 ;
25690 PyObject * obj4 = 0 ;
25691 PyObject * obj5 = 0 ;
25692 PyObject * obj6 = 0 ;
25693 char *kwnames[] = {
25694 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25695 };
25696
25697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25700 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25701 SWIG_POINTER_EXCEPTION | 0)) == -1)
25702 SWIG_fail;
25703 if (arg2 == NULL) {
25704 PyErr_SetString(PyExc_TypeError,"null reference");
25705 SWIG_fail;
25706 }
25707 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
25708 SWIG_POINTER_EXCEPTION | 0)) == -1)
25709 SWIG_fail;
25710 if (arg3 == NULL) {
25711 PyErr_SetString(PyExc_TypeError,"null reference");
25712 SWIG_fail;
25713 }
25714 {
25715 arg4 = wxString_in_helper(obj3);
25716 if (arg4 == NULL) SWIG_fail;
25717 temp4 = True;
25718 }
25719 if (obj4) {
25720 arg5 = (int) SWIG_AsInt(obj4);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
25723 if (obj5) {
25724 arg6 = (int) SWIG_AsInt(obj5);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 if (obj6) {
25728 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25730 }
25731 {
25732 PyThreadState* __tstate = wxPyBeginAllowThreads();
25733 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25734
25735 wxPyEndAllowThreads(__tstate);
25736 if (PyErr_Occurred()) SWIG_fail;
25737 }
25738 {
25739 wxTreeItemId * resultptr;
25740 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25742 }
25743 {
25744 if (temp4)
25745 delete arg4;
25746 }
25747 return resultobj;
25748 fail:
25749 {
25750 if (temp4)
25751 delete arg4;
25752 }
25753 return NULL;
25754 }
25755
25756
25757 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
25758 PyObject *resultobj;
25759 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25760 wxTreeItemId *arg2 = 0 ;
25761 size_t arg3 ;
25762 wxString *arg4 = 0 ;
25763 int arg5 = (int) -1 ;
25764 int arg6 = (int) -1 ;
25765 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25766 wxTreeItemId result;
25767 bool temp4 = False ;
25768 PyObject * obj0 = 0 ;
25769 PyObject * obj1 = 0 ;
25770 PyObject * obj2 = 0 ;
25771 PyObject * obj3 = 0 ;
25772 PyObject * obj4 = 0 ;
25773 PyObject * obj5 = 0 ;
25774 PyObject * obj6 = 0 ;
25775 char *kwnames[] = {
25776 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25777 };
25778
25779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25783 SWIG_POINTER_EXCEPTION | 0)) == -1)
25784 SWIG_fail;
25785 if (arg2 == NULL) {
25786 PyErr_SetString(PyExc_TypeError,"null reference");
25787 SWIG_fail;
25788 }
25789 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 {
25792 arg4 = wxString_in_helper(obj3);
25793 if (arg4 == NULL) SWIG_fail;
25794 temp4 = True;
25795 }
25796 if (obj4) {
25797 arg5 = (int) SWIG_AsInt(obj4);
25798 if (PyErr_Occurred()) SWIG_fail;
25799 }
25800 if (obj5) {
25801 arg6 = (int) SWIG_AsInt(obj5);
25802 if (PyErr_Occurred()) SWIG_fail;
25803 }
25804 if (obj6) {
25805 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25807 }
25808 {
25809 PyThreadState* __tstate = wxPyBeginAllowThreads();
25810 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25811
25812 wxPyEndAllowThreads(__tstate);
25813 if (PyErr_Occurred()) SWIG_fail;
25814 }
25815 {
25816 wxTreeItemId * resultptr;
25817 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25819 }
25820 {
25821 if (temp4)
25822 delete arg4;
25823 }
25824 return resultobj;
25825 fail:
25826 {
25827 if (temp4)
25828 delete arg4;
25829 }
25830 return NULL;
25831 }
25832
25833
25834 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
25835 PyObject *resultobj;
25836 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25837 wxTreeItemId *arg2 = 0 ;
25838 wxString *arg3 = 0 ;
25839 int arg4 = (int) -1 ;
25840 int arg5 = (int) -1 ;
25841 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25842 wxTreeItemId result;
25843 bool temp3 = False ;
25844 PyObject * obj0 = 0 ;
25845 PyObject * obj1 = 0 ;
25846 PyObject * obj2 = 0 ;
25847 PyObject * obj3 = 0 ;
25848 PyObject * obj4 = 0 ;
25849 PyObject * obj5 = 0 ;
25850 char *kwnames[] = {
25851 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25852 };
25853
25854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25857 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25858 SWIG_POINTER_EXCEPTION | 0)) == -1)
25859 SWIG_fail;
25860 if (arg2 == NULL) {
25861 PyErr_SetString(PyExc_TypeError,"null reference");
25862 SWIG_fail;
25863 }
25864 {
25865 arg3 = wxString_in_helper(obj2);
25866 if (arg3 == NULL) SWIG_fail;
25867 temp3 = True;
25868 }
25869 if (obj3) {
25870 arg4 = (int) SWIG_AsInt(obj3);
25871 if (PyErr_Occurred()) SWIG_fail;
25872 }
25873 if (obj4) {
25874 arg5 = (int) SWIG_AsInt(obj4);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 }
25877 if (obj5) {
25878 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25880 }
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25884
25885 wxPyEndAllowThreads(__tstate);
25886 if (PyErr_Occurred()) SWIG_fail;
25887 }
25888 {
25889 wxTreeItemId * resultptr;
25890 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25891 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25892 }
25893 {
25894 if (temp3)
25895 delete arg3;
25896 }
25897 return resultobj;
25898 fail:
25899 {
25900 if (temp3)
25901 delete arg3;
25902 }
25903 return NULL;
25904 }
25905
25906
25907 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
25908 PyObject *resultobj;
25909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25910 wxTreeItemId *arg2 = 0 ;
25911 PyObject * obj0 = 0 ;
25912 PyObject * obj1 = 0 ;
25913 char *kwnames[] = {
25914 (char *) "self",(char *) "item", NULL
25915 };
25916
25917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25921 SWIG_POINTER_EXCEPTION | 0)) == -1)
25922 SWIG_fail;
25923 if (arg2 == NULL) {
25924 PyErr_SetString(PyExc_TypeError,"null reference");
25925 SWIG_fail;
25926 }
25927 {
25928 PyThreadState* __tstate = wxPyBeginAllowThreads();
25929 (arg1)->Delete((wxTreeItemId const &)*arg2);
25930
25931 wxPyEndAllowThreads(__tstate);
25932 if (PyErr_Occurred()) SWIG_fail;
25933 }
25934 Py_INCREF(Py_None); resultobj = Py_None;
25935 return resultobj;
25936 fail:
25937 return NULL;
25938 }
25939
25940
25941 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
25942 PyObject *resultobj;
25943 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25944 wxTreeItemId *arg2 = 0 ;
25945 PyObject * obj0 = 0 ;
25946 PyObject * obj1 = 0 ;
25947 char *kwnames[] = {
25948 (char *) "self",(char *) "item", NULL
25949 };
25950
25951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25955 SWIG_POINTER_EXCEPTION | 0)) == -1)
25956 SWIG_fail;
25957 if (arg2 == NULL) {
25958 PyErr_SetString(PyExc_TypeError,"null reference");
25959 SWIG_fail;
25960 }
25961 {
25962 PyThreadState* __tstate = wxPyBeginAllowThreads();
25963 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25964
25965 wxPyEndAllowThreads(__tstate);
25966 if (PyErr_Occurred()) SWIG_fail;
25967 }
25968 Py_INCREF(Py_None); resultobj = Py_None;
25969 return resultobj;
25970 fail:
25971 return NULL;
25972 }
25973
25974
25975 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25976 PyObject *resultobj;
25977 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25978 PyObject * obj0 = 0 ;
25979 char *kwnames[] = {
25980 (char *) "self", NULL
25981 };
25982
25983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 (arg1)->DeleteAllItems();
25989
25990 wxPyEndAllowThreads(__tstate);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 Py_INCREF(Py_None); resultobj = Py_None;
25994 return resultobj;
25995 fail:
25996 return NULL;
25997 }
25998
25999
26000 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
26001 PyObject *resultobj;
26002 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26003 wxTreeItemId *arg2 = 0 ;
26004 PyObject * obj0 = 0 ;
26005 PyObject * obj1 = 0 ;
26006 char *kwnames[] = {
26007 (char *) "self",(char *) "item", NULL
26008 };
26009
26010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
26011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26014 SWIG_POINTER_EXCEPTION | 0)) == -1)
26015 SWIG_fail;
26016 if (arg2 == NULL) {
26017 PyErr_SetString(PyExc_TypeError,"null reference");
26018 SWIG_fail;
26019 }
26020 {
26021 PyThreadState* __tstate = wxPyBeginAllowThreads();
26022 (arg1)->Expand((wxTreeItemId const &)*arg2);
26023
26024 wxPyEndAllowThreads(__tstate);
26025 if (PyErr_Occurred()) SWIG_fail;
26026 }
26027 Py_INCREF(Py_None); resultobj = Py_None;
26028 return resultobj;
26029 fail:
26030 return NULL;
26031 }
26032
26033
26034 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
26035 PyObject *resultobj;
26036 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26037 wxTreeItemId *arg2 = 0 ;
26038 PyObject * obj0 = 0 ;
26039 PyObject * obj1 = 0 ;
26040 char *kwnames[] = {
26041 (char *) "self",(char *) "item", NULL
26042 };
26043
26044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
26045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26048 SWIG_POINTER_EXCEPTION | 0)) == -1)
26049 SWIG_fail;
26050 if (arg2 == NULL) {
26051 PyErr_SetString(PyExc_TypeError,"null reference");
26052 SWIG_fail;
26053 }
26054 {
26055 PyThreadState* __tstate = wxPyBeginAllowThreads();
26056 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26057
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
26061 Py_INCREF(Py_None); resultobj = Py_None;
26062 return resultobj;
26063 fail:
26064 return NULL;
26065 }
26066
26067
26068 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
26069 PyObject *resultobj;
26070 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26071 wxTreeItemId *arg2 = 0 ;
26072 PyObject * obj0 = 0 ;
26073 PyObject * obj1 = 0 ;
26074 char *kwnames[] = {
26075 (char *) "self",(char *) "item", NULL
26076 };
26077
26078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
26079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26082 SWIG_POINTER_EXCEPTION | 0)) == -1)
26083 SWIG_fail;
26084 if (arg2 == NULL) {
26085 PyErr_SetString(PyExc_TypeError,"null reference");
26086 SWIG_fail;
26087 }
26088 {
26089 PyThreadState* __tstate = wxPyBeginAllowThreads();
26090 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26091
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
26095 Py_INCREF(Py_None); resultobj = Py_None;
26096 return resultobj;
26097 fail:
26098 return NULL;
26099 }
26100
26101
26102 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
26103 PyObject *resultobj;
26104 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26105 wxTreeItemId *arg2 = 0 ;
26106 PyObject * obj0 = 0 ;
26107 PyObject * obj1 = 0 ;
26108 char *kwnames[] = {
26109 (char *) "self",(char *) "item", NULL
26110 };
26111
26112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
26113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26116 SWIG_POINTER_EXCEPTION | 0)) == -1)
26117 SWIG_fail;
26118 if (arg2 == NULL) {
26119 PyErr_SetString(PyExc_TypeError,"null reference");
26120 SWIG_fail;
26121 }
26122 {
26123 PyThreadState* __tstate = wxPyBeginAllowThreads();
26124 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26125
26126 wxPyEndAllowThreads(__tstate);
26127 if (PyErr_Occurred()) SWIG_fail;
26128 }
26129 Py_INCREF(Py_None); resultobj = Py_None;
26130 return resultobj;
26131 fail:
26132 return NULL;
26133 }
26134
26135
26136 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
26137 PyObject *resultobj;
26138 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26139 PyObject * obj0 = 0 ;
26140 char *kwnames[] = {
26141 (char *) "self", NULL
26142 };
26143
26144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
26145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 (arg1)->Unselect();
26150
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
26154 Py_INCREF(Py_None); resultobj = Py_None;
26155 return resultobj;
26156 fail:
26157 return NULL;
26158 }
26159
26160
26161 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
26162 PyObject *resultobj;
26163 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26164 wxTreeItemId *arg2 = 0 ;
26165 PyObject * obj0 = 0 ;
26166 PyObject * obj1 = 0 ;
26167 char *kwnames[] = {
26168 (char *) "self",(char *) "item", NULL
26169 };
26170
26171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26175 SWIG_POINTER_EXCEPTION | 0)) == -1)
26176 SWIG_fail;
26177 if (arg2 == NULL) {
26178 PyErr_SetString(PyExc_TypeError,"null reference");
26179 SWIG_fail;
26180 }
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 Py_INCREF(Py_None); resultobj = Py_None;
26189 return resultobj;
26190 fail:
26191 return NULL;
26192 }
26193
26194
26195 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
26196 PyObject *resultobj;
26197 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26198 PyObject * obj0 = 0 ;
26199 char *kwnames[] = {
26200 (char *) "self", NULL
26201 };
26202
26203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26206 {
26207 PyThreadState* __tstate = wxPyBeginAllowThreads();
26208 (arg1)->UnselectAll();
26209
26210 wxPyEndAllowThreads(__tstate);
26211 if (PyErr_Occurred()) SWIG_fail;
26212 }
26213 Py_INCREF(Py_None); resultobj = Py_None;
26214 return resultobj;
26215 fail:
26216 return NULL;
26217 }
26218
26219
26220 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
26221 PyObject *resultobj;
26222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26223 wxTreeItemId *arg2 = 0 ;
26224 bool arg3 = (bool) True ;
26225 PyObject * obj0 = 0 ;
26226 PyObject * obj1 = 0 ;
26227 PyObject * obj2 = 0 ;
26228 char *kwnames[] = {
26229 (char *) "self",(char *) "item",(char *) "select", NULL
26230 };
26231
26232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26236 SWIG_POINTER_EXCEPTION | 0)) == -1)
26237 SWIG_fail;
26238 if (arg2 == NULL) {
26239 PyErr_SetString(PyExc_TypeError,"null reference");
26240 SWIG_fail;
26241 }
26242 if (obj2) {
26243 arg3 = (bool) SWIG_AsBool(obj2);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
26246 {
26247 PyThreadState* __tstate = wxPyBeginAllowThreads();
26248 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26249
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 Py_INCREF(Py_None); resultobj = Py_None;
26254 return resultobj;
26255 fail:
26256 return NULL;
26257 }
26258
26259
26260 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
26261 PyObject *resultobj;
26262 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26263 wxTreeItemId *arg2 = 0 ;
26264 PyObject * obj0 = 0 ;
26265 PyObject * obj1 = 0 ;
26266 char *kwnames[] = {
26267 (char *) "self",(char *) "item", NULL
26268 };
26269
26270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26274 SWIG_POINTER_EXCEPTION | 0)) == -1)
26275 SWIG_fail;
26276 if (arg2 == NULL) {
26277 PyErr_SetString(PyExc_TypeError,"null reference");
26278 SWIG_fail;
26279 }
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26283
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 Py_INCREF(Py_None); resultobj = Py_None;
26288 return resultobj;
26289 fail:
26290 return NULL;
26291 }
26292
26293
26294 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26295 PyObject *resultobj;
26296 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26297 wxTreeItemId *arg2 = 0 ;
26298 PyObject * obj0 = 0 ;
26299 PyObject * obj1 = 0 ;
26300 char *kwnames[] = {
26301 (char *) "self",(char *) "item", NULL
26302 };
26303
26304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26308 SWIG_POINTER_EXCEPTION | 0)) == -1)
26309 SWIG_fail;
26310 if (arg2 == NULL) {
26311 PyErr_SetString(PyExc_TypeError,"null reference");
26312 SWIG_fail;
26313 }
26314 {
26315 PyThreadState* __tstate = wxPyBeginAllowThreads();
26316 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26317
26318 wxPyEndAllowThreads(__tstate);
26319 if (PyErr_Occurred()) SWIG_fail;
26320 }
26321 Py_INCREF(Py_None); resultobj = Py_None;
26322 return resultobj;
26323 fail:
26324 return NULL;
26325 }
26326
26327
26328 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
26329 PyObject *resultobj;
26330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26331 wxTreeItemId *arg2 = 0 ;
26332 PyObject * obj0 = 0 ;
26333 PyObject * obj1 = 0 ;
26334 char *kwnames[] = {
26335 (char *) "self",(char *) "item", NULL
26336 };
26337
26338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26342 SWIG_POINTER_EXCEPTION | 0)) == -1)
26343 SWIG_fail;
26344 if (arg2 == NULL) {
26345 PyErr_SetString(PyExc_TypeError,"null reference");
26346 SWIG_fail;
26347 }
26348 {
26349 PyThreadState* __tstate = wxPyBeginAllowThreads();
26350 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26351
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 Py_INCREF(Py_None); resultobj = Py_None;
26356 return resultobj;
26357 fail:
26358 return NULL;
26359 }
26360
26361
26362 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
26363 PyObject *resultobj;
26364 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26365 wxTreeItemId *arg2 = 0 ;
26366 PyObject * obj0 = 0 ;
26367 PyObject * obj1 = 0 ;
26368 char *kwnames[] = {
26369 (char *) "self",(char *) "item", NULL
26370 };
26371
26372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26376 SWIG_POINTER_EXCEPTION | 0)) == -1)
26377 SWIG_fail;
26378 if (arg2 == NULL) {
26379 PyErr_SetString(PyExc_TypeError,"null reference");
26380 SWIG_fail;
26381 }
26382 {
26383 PyThreadState* __tstate = wxPyBeginAllowThreads();
26384 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26385
26386 wxPyEndAllowThreads(__tstate);
26387 if (PyErr_Occurred()) SWIG_fail;
26388 }
26389 Py_INCREF(Py_None); resultobj = Py_None;
26390 return resultobj;
26391 fail:
26392 return NULL;
26393 }
26394
26395
26396 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
26397 PyObject *resultobj;
26398 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26399 wxTextCtrl *result;
26400 PyObject * obj0 = 0 ;
26401 char *kwnames[] = {
26402 (char *) "self", NULL
26403 };
26404
26405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26408 {
26409 PyThreadState* __tstate = wxPyBeginAllowThreads();
26410 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26411
26412 wxPyEndAllowThreads(__tstate);
26413 if (PyErr_Occurred()) SWIG_fail;
26414 }
26415 {
26416 resultobj = wxPyMake_wxObject(result);
26417 }
26418 return resultobj;
26419 fail:
26420 return NULL;
26421 }
26422
26423
26424 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26425 PyObject *resultobj;
26426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26427 wxTreeItemId *arg2 = 0 ;
26428 PyObject * obj0 = 0 ;
26429 PyObject * obj1 = 0 ;
26430 char *kwnames[] = {
26431 (char *) "self",(char *) "item", NULL
26432 };
26433
26434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26438 SWIG_POINTER_EXCEPTION | 0)) == -1)
26439 SWIG_fail;
26440 if (arg2 == NULL) {
26441 PyErr_SetString(PyExc_TypeError,"null reference");
26442 SWIG_fail;
26443 }
26444 {
26445 PyThreadState* __tstate = wxPyBeginAllowThreads();
26446 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26447
26448 wxPyEndAllowThreads(__tstate);
26449 if (PyErr_Occurred()) SWIG_fail;
26450 }
26451 Py_INCREF(Py_None); resultobj = Py_None;
26452 return resultobj;
26453 fail:
26454 return NULL;
26455 }
26456
26457
26458 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
26459 PyObject *resultobj;
26460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26461 wxPoint *arg2 = 0 ;
26462 int *arg3 = 0 ;
26463 wxTreeItemId result;
26464 wxPoint temp2 ;
26465 int temp3 ;
26466 PyObject * obj0 = 0 ;
26467 PyObject * obj1 = 0 ;
26468 char *kwnames[] = {
26469 (char *) "self",(char *) "point", NULL
26470 };
26471
26472 arg3 = &temp3;
26473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26476 {
26477 arg2 = &temp2;
26478 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26479 }
26480 {
26481 PyThreadState* __tstate = wxPyBeginAllowThreads();
26482 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26483
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 {
26488 wxTreeItemId * resultptr;
26489 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26491 }
26492 {
26493 PyObject *o = PyInt_FromLong((long) (*arg3));
26494 resultobj = t_output_helper(resultobj,o);
26495 }
26496 return resultobj;
26497 fail:
26498 return NULL;
26499 }
26500
26501
26502 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
26503 PyObject *resultobj;
26504 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26505 wxTreeItemId *arg2 = 0 ;
26506 bool arg3 = (bool) False ;
26507 PyObject *result;
26508 PyObject * obj0 = 0 ;
26509 PyObject * obj1 = 0 ;
26510 PyObject * obj2 = 0 ;
26511 char *kwnames[] = {
26512 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26513 };
26514
26515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26519 SWIG_POINTER_EXCEPTION | 0)) == -1)
26520 SWIG_fail;
26521 if (arg2 == NULL) {
26522 PyErr_SetString(PyExc_TypeError,"null reference");
26523 SWIG_fail;
26524 }
26525 if (obj2) {
26526 arg3 = (bool) SWIG_AsBool(obj2);
26527 if (PyErr_Occurred()) SWIG_fail;
26528 }
26529 {
26530 PyThreadState* __tstate = wxPyBeginAllowThreads();
26531 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26532
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 resultobj = result;
26537 return resultobj;
26538 fail:
26539 return NULL;
26540 }
26541
26542
26543 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
26544 PyObject *obj;
26545 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26546 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26547 Py_INCREF(obj);
26548 return Py_BuildValue((char *)"");
26549 }
26550 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
26551 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26552 return 1;
26553 }
26554
26555
26556 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26557 PyObject *pyobj;
26558
26559 {
26560 #if wxUSE_UNICODE
26561 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26562 #else
26563 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26564 #endif
26565 }
26566 return pyobj;
26567 }
26568
26569
26570 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26571 PyObject *resultobj;
26572 wxWindow *arg1 = (wxWindow *) 0 ;
26573 int arg2 = (int) (int)-1 ;
26574 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26575 wxString *arg3 = (wxString *) &arg3_defvalue ;
26576 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26577 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26578 wxSize const &arg5_defvalue = wxDefaultSize ;
26579 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26580 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26581 wxString const &arg7_defvalue = wxPyEmptyString ;
26582 wxString *arg7 = (wxString *) &arg7_defvalue ;
26583 int arg8 = (int) 0 ;
26584 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26585 wxString *arg9 = (wxString *) &arg9_defvalue ;
26586 wxGenericDirCtrl *result;
26587 bool temp3 = False ;
26588 wxPoint temp4 ;
26589 wxSize temp5 ;
26590 bool temp7 = False ;
26591 bool temp9 = False ;
26592 PyObject * obj0 = 0 ;
26593 PyObject * obj1 = 0 ;
26594 PyObject * obj2 = 0 ;
26595 PyObject * obj3 = 0 ;
26596 PyObject * obj4 = 0 ;
26597 PyObject * obj5 = 0 ;
26598 PyObject * obj6 = 0 ;
26599 PyObject * obj7 = 0 ;
26600 PyObject * obj8 = 0 ;
26601 char *kwnames[] = {
26602 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26603 };
26604
26605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26608 if (obj1) {
26609 arg2 = (int const) SWIG_AsInt(obj1);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
26612 if (obj2) {
26613 {
26614 arg3 = wxString_in_helper(obj2);
26615 if (arg3 == NULL) SWIG_fail;
26616 temp3 = True;
26617 }
26618 }
26619 if (obj3) {
26620 {
26621 arg4 = &temp4;
26622 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26623 }
26624 }
26625 if (obj4) {
26626 {
26627 arg5 = &temp5;
26628 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26629 }
26630 }
26631 if (obj5) {
26632 arg6 = (long) SWIG_AsLong(obj5);
26633 if (PyErr_Occurred()) SWIG_fail;
26634 }
26635 if (obj6) {
26636 {
26637 arg7 = wxString_in_helper(obj6);
26638 if (arg7 == NULL) SWIG_fail;
26639 temp7 = True;
26640 }
26641 }
26642 if (obj7) {
26643 arg8 = (int) SWIG_AsInt(obj7);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 }
26646 if (obj8) {
26647 {
26648 arg9 = wxString_in_helper(obj8);
26649 if (arg9 == NULL) SWIG_fail;
26650 temp9 = True;
26651 }
26652 }
26653 {
26654 PyThreadState* __tstate = wxPyBeginAllowThreads();
26655 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26656
26657 wxPyEndAllowThreads(__tstate);
26658 if (PyErr_Occurred()) SWIG_fail;
26659 }
26660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26661 {
26662 if (temp3)
26663 delete arg3;
26664 }
26665 {
26666 if (temp7)
26667 delete arg7;
26668 }
26669 {
26670 if (temp9)
26671 delete arg9;
26672 }
26673 return resultobj;
26674 fail:
26675 {
26676 if (temp3)
26677 delete arg3;
26678 }
26679 {
26680 if (temp7)
26681 delete arg7;
26682 }
26683 {
26684 if (temp9)
26685 delete arg9;
26686 }
26687 return NULL;
26688 }
26689
26690
26691 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26692 PyObject *resultobj;
26693 wxGenericDirCtrl *result;
26694 char *kwnames[] = {
26695 NULL
26696 };
26697
26698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26699 {
26700 PyThreadState* __tstate = wxPyBeginAllowThreads();
26701 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26702
26703 wxPyEndAllowThreads(__tstate);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 }
26706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26707 return resultobj;
26708 fail:
26709 return NULL;
26710 }
26711
26712
26713 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26714 PyObject *resultobj;
26715 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26716 wxWindow *arg2 = (wxWindow *) 0 ;
26717 int arg3 = (int) (int)-1 ;
26718 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26719 wxString *arg4 = (wxString *) &arg4_defvalue ;
26720 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26721 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26722 wxSize const &arg6_defvalue = wxDefaultSize ;
26723 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26724 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26725 wxString const &arg8_defvalue = wxPyEmptyString ;
26726 wxString *arg8 = (wxString *) &arg8_defvalue ;
26727 int arg9 = (int) 0 ;
26728 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26729 wxString *arg10 = (wxString *) &arg10_defvalue ;
26730 bool result;
26731 bool temp4 = False ;
26732 wxPoint temp5 ;
26733 wxSize temp6 ;
26734 bool temp8 = False ;
26735 bool temp10 = False ;
26736 PyObject * obj0 = 0 ;
26737 PyObject * obj1 = 0 ;
26738 PyObject * obj2 = 0 ;
26739 PyObject * obj3 = 0 ;
26740 PyObject * obj4 = 0 ;
26741 PyObject * obj5 = 0 ;
26742 PyObject * obj6 = 0 ;
26743 PyObject * obj7 = 0 ;
26744 PyObject * obj8 = 0 ;
26745 PyObject * obj9 = 0 ;
26746 char *kwnames[] = {
26747 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26748 };
26749
26750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26755 if (obj2) {
26756 arg3 = (int const) SWIG_AsInt(obj2);
26757 if (PyErr_Occurred()) SWIG_fail;
26758 }
26759 if (obj3) {
26760 {
26761 arg4 = wxString_in_helper(obj3);
26762 if (arg4 == NULL) SWIG_fail;
26763 temp4 = True;
26764 }
26765 }
26766 if (obj4) {
26767 {
26768 arg5 = &temp5;
26769 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26770 }
26771 }
26772 if (obj5) {
26773 {
26774 arg6 = &temp6;
26775 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26776 }
26777 }
26778 if (obj6) {
26779 arg7 = (long) SWIG_AsLong(obj6);
26780 if (PyErr_Occurred()) SWIG_fail;
26781 }
26782 if (obj7) {
26783 {
26784 arg8 = wxString_in_helper(obj7);
26785 if (arg8 == NULL) SWIG_fail;
26786 temp8 = True;
26787 }
26788 }
26789 if (obj8) {
26790 arg9 = (int) SWIG_AsInt(obj8);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 }
26793 if (obj9) {
26794 {
26795 arg10 = wxString_in_helper(obj9);
26796 if (arg10 == NULL) SWIG_fail;
26797 temp10 = True;
26798 }
26799 }
26800 {
26801 PyThreadState* __tstate = wxPyBeginAllowThreads();
26802 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26803
26804 wxPyEndAllowThreads(__tstate);
26805 if (PyErr_Occurred()) SWIG_fail;
26806 }
26807 {
26808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26809 }
26810 {
26811 if (temp4)
26812 delete arg4;
26813 }
26814 {
26815 if (temp8)
26816 delete arg8;
26817 }
26818 {
26819 if (temp10)
26820 delete arg10;
26821 }
26822 return resultobj;
26823 fail:
26824 {
26825 if (temp4)
26826 delete arg4;
26827 }
26828 {
26829 if (temp8)
26830 delete arg8;
26831 }
26832 {
26833 if (temp10)
26834 delete arg10;
26835 }
26836 return NULL;
26837 }
26838
26839
26840 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
26841 PyObject *resultobj;
26842 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26843 wxString *arg2 = 0 ;
26844 bool result;
26845 bool temp2 = False ;
26846 PyObject * obj0 = 0 ;
26847 PyObject * obj1 = 0 ;
26848 char *kwnames[] = {
26849 (char *) "self",(char *) "path", NULL
26850 };
26851
26852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26855 {
26856 arg2 = wxString_in_helper(obj1);
26857 if (arg2 == NULL) SWIG_fail;
26858 temp2 = True;
26859 }
26860 {
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26863
26864 wxPyEndAllowThreads(__tstate);
26865 if (PyErr_Occurred()) SWIG_fail;
26866 }
26867 {
26868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26869 }
26870 {
26871 if (temp2)
26872 delete arg2;
26873 }
26874 return resultobj;
26875 fail:
26876 {
26877 if (temp2)
26878 delete arg2;
26879 }
26880 return NULL;
26881 }
26882
26883
26884 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
26885 PyObject *resultobj;
26886 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26887 wxString result;
26888 PyObject * obj0 = 0 ;
26889 char *kwnames[] = {
26890 (char *) "self", NULL
26891 };
26892
26893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26896 {
26897 PyThreadState* __tstate = wxPyBeginAllowThreads();
26898 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26899
26900 wxPyEndAllowThreads(__tstate);
26901 if (PyErr_Occurred()) SWIG_fail;
26902 }
26903 {
26904 #if wxUSE_UNICODE
26905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26906 #else
26907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26908 #endif
26909 }
26910 return resultobj;
26911 fail:
26912 return NULL;
26913 }
26914
26915
26916 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
26917 PyObject *resultobj;
26918 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26919 wxString *arg2 = 0 ;
26920 bool temp2 = False ;
26921 PyObject * obj0 = 0 ;
26922 PyObject * obj1 = 0 ;
26923 char *kwnames[] = {
26924 (char *) "self",(char *) "path", NULL
26925 };
26926
26927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26930 {
26931 arg2 = wxString_in_helper(obj1);
26932 if (arg2 == NULL) SWIG_fail;
26933 temp2 = True;
26934 }
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 (arg1)->SetDefaultPath((wxString const &)*arg2);
26938
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
26942 Py_INCREF(Py_None); resultobj = Py_None;
26943 {
26944 if (temp2)
26945 delete arg2;
26946 }
26947 return resultobj;
26948 fail:
26949 {
26950 if (temp2)
26951 delete arg2;
26952 }
26953 return NULL;
26954 }
26955
26956
26957 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
26958 PyObject *resultobj;
26959 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26960 wxString result;
26961 PyObject * obj0 = 0 ;
26962 char *kwnames[] = {
26963 (char *) "self", NULL
26964 };
26965
26966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
26971 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26972
26973 wxPyEndAllowThreads(__tstate);
26974 if (PyErr_Occurred()) SWIG_fail;
26975 }
26976 {
26977 #if wxUSE_UNICODE
26978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26979 #else
26980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26981 #endif
26982 }
26983 return resultobj;
26984 fail:
26985 return NULL;
26986 }
26987
26988
26989 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
26990 PyObject *resultobj;
26991 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26992 wxString result;
26993 PyObject * obj0 = 0 ;
26994 char *kwnames[] = {
26995 (char *) "self", NULL
26996 };
26997
26998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27001 {
27002 PyThreadState* __tstate = wxPyBeginAllowThreads();
27003 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27004
27005 wxPyEndAllowThreads(__tstate);
27006 if (PyErr_Occurred()) SWIG_fail;
27007 }
27008 {
27009 #if wxUSE_UNICODE
27010 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27011 #else
27012 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27013 #endif
27014 }
27015 return resultobj;
27016 fail:
27017 return NULL;
27018 }
27019
27020
27021 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
27022 PyObject *resultobj;
27023 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27024 wxString *arg2 = 0 ;
27025 bool temp2 = False ;
27026 PyObject * obj0 = 0 ;
27027 PyObject * obj1 = 0 ;
27028 char *kwnames[] = {
27029 (char *) "self",(char *) "path", NULL
27030 };
27031
27032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
27033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27035 {
27036 arg2 = wxString_in_helper(obj1);
27037 if (arg2 == NULL) SWIG_fail;
27038 temp2 = True;
27039 }
27040 {
27041 PyThreadState* __tstate = wxPyBeginAllowThreads();
27042 (arg1)->SetPath((wxString const &)*arg2);
27043
27044 wxPyEndAllowThreads(__tstate);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
27047 Py_INCREF(Py_None); resultobj = Py_None;
27048 {
27049 if (temp2)
27050 delete arg2;
27051 }
27052 return resultobj;
27053 fail:
27054 {
27055 if (temp2)
27056 delete arg2;
27057 }
27058 return NULL;
27059 }
27060
27061
27062 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
27063 PyObject *resultobj;
27064 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27065 bool arg2 ;
27066 PyObject * obj0 = 0 ;
27067 PyObject * obj1 = 0 ;
27068 char *kwnames[] = {
27069 (char *) "self",(char *) "show", NULL
27070 };
27071
27072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
27073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27075 arg2 = (bool) SWIG_AsBool(obj1);
27076 if (PyErr_Occurred()) SWIG_fail;
27077 {
27078 PyThreadState* __tstate = wxPyBeginAllowThreads();
27079 (arg1)->ShowHidden(arg2);
27080
27081 wxPyEndAllowThreads(__tstate);
27082 if (PyErr_Occurred()) SWIG_fail;
27083 }
27084 Py_INCREF(Py_None); resultobj = Py_None;
27085 return resultobj;
27086 fail:
27087 return NULL;
27088 }
27089
27090
27091 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
27092 PyObject *resultobj;
27093 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27094 bool result;
27095 PyObject * obj0 = 0 ;
27096 char *kwnames[] = {
27097 (char *) "self", NULL
27098 };
27099
27100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
27101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27103 {
27104 PyThreadState* __tstate = wxPyBeginAllowThreads();
27105 result = (bool)(arg1)->GetShowHidden();
27106
27107 wxPyEndAllowThreads(__tstate);
27108 if (PyErr_Occurred()) SWIG_fail;
27109 }
27110 {
27111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27112 }
27113 return resultobj;
27114 fail:
27115 return NULL;
27116 }
27117
27118
27119 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
27120 PyObject *resultobj;
27121 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27122 wxString result;
27123 PyObject * obj0 = 0 ;
27124 char *kwnames[] = {
27125 (char *) "self", NULL
27126 };
27127
27128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
27129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27131 {
27132 PyThreadState* __tstate = wxPyBeginAllowThreads();
27133 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27134
27135 wxPyEndAllowThreads(__tstate);
27136 if (PyErr_Occurred()) SWIG_fail;
27137 }
27138 {
27139 #if wxUSE_UNICODE
27140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27141 #else
27142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27143 #endif
27144 }
27145 return resultobj;
27146 fail:
27147 return NULL;
27148 }
27149
27150
27151 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
27152 PyObject *resultobj;
27153 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27154 wxString *arg2 = 0 ;
27155 bool temp2 = False ;
27156 PyObject * obj0 = 0 ;
27157 PyObject * obj1 = 0 ;
27158 char *kwnames[] = {
27159 (char *) "self",(char *) "filter", NULL
27160 };
27161
27162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27165 {
27166 arg2 = wxString_in_helper(obj1);
27167 if (arg2 == NULL) SWIG_fail;
27168 temp2 = True;
27169 }
27170 {
27171 PyThreadState* __tstate = wxPyBeginAllowThreads();
27172 (arg1)->SetFilter((wxString const &)*arg2);
27173
27174 wxPyEndAllowThreads(__tstate);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 }
27177 Py_INCREF(Py_None); resultobj = Py_None;
27178 {
27179 if (temp2)
27180 delete arg2;
27181 }
27182 return resultobj;
27183 fail:
27184 {
27185 if (temp2)
27186 delete arg2;
27187 }
27188 return NULL;
27189 }
27190
27191
27192 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
27193 PyObject *resultobj;
27194 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27195 int result;
27196 PyObject * obj0 = 0 ;
27197 char *kwnames[] = {
27198 (char *) "self", NULL
27199 };
27200
27201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27207
27208 wxPyEndAllowThreads(__tstate);
27209 if (PyErr_Occurred()) SWIG_fail;
27210 }
27211 resultobj = SWIG_FromInt((int)result);
27212 return resultobj;
27213 fail:
27214 return NULL;
27215 }
27216
27217
27218 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
27219 PyObject *resultobj;
27220 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27221 int arg2 ;
27222 PyObject * obj0 = 0 ;
27223 PyObject * obj1 = 0 ;
27224 char *kwnames[] = {
27225 (char *) "self",(char *) "n", NULL
27226 };
27227
27228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27231 arg2 = (int) SWIG_AsInt(obj1);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 {
27234 PyThreadState* __tstate = wxPyBeginAllowThreads();
27235 (arg1)->SetFilterIndex(arg2);
27236
27237 wxPyEndAllowThreads(__tstate);
27238 if (PyErr_Occurred()) SWIG_fail;
27239 }
27240 Py_INCREF(Py_None); resultobj = Py_None;
27241 return resultobj;
27242 fail:
27243 return NULL;
27244 }
27245
27246
27247 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
27248 PyObject *resultobj;
27249 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27250 wxTreeItemId result;
27251 PyObject * obj0 = 0 ;
27252 char *kwnames[] = {
27253 (char *) "self", NULL
27254 };
27255
27256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27259 {
27260 PyThreadState* __tstate = wxPyBeginAllowThreads();
27261 result = (arg1)->GetRootId();
27262
27263 wxPyEndAllowThreads(__tstate);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 }
27266 {
27267 wxTreeItemId * resultptr;
27268 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27270 }
27271 return resultobj;
27272 fail:
27273 return NULL;
27274 }
27275
27276
27277 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27278 PyObject *resultobj;
27279 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27280 wxPyTreeCtrl *result;
27281 PyObject * obj0 = 0 ;
27282 char *kwnames[] = {
27283 (char *) "self", NULL
27284 };
27285
27286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27289 {
27290 PyThreadState* __tstate = wxPyBeginAllowThreads();
27291 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27292
27293 wxPyEndAllowThreads(__tstate);
27294 if (PyErr_Occurred()) SWIG_fail;
27295 }
27296 {
27297 resultobj = wxPyMake_wxObject(result);
27298 }
27299 return resultobj;
27300 fail:
27301 return NULL;
27302 }
27303
27304
27305 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27306 PyObject *resultobj;
27307 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27308 wxDirFilterListCtrl *result;
27309 PyObject * obj0 = 0 ;
27310 char *kwnames[] = {
27311 (char *) "self", NULL
27312 };
27313
27314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27317 {
27318 PyThreadState* __tstate = wxPyBeginAllowThreads();
27319 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27320
27321 wxPyEndAllowThreads(__tstate);
27322 if (PyErr_Occurred()) SWIG_fail;
27323 }
27324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27325 return resultobj;
27326 fail:
27327 return NULL;
27328 }
27329
27330
27331 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
27332 PyObject *resultobj;
27333 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27334 wxTreeItemId arg2 ;
27335 wxString *arg3 = 0 ;
27336 bool *arg4 = 0 ;
27337 wxTreeItemId result;
27338 wxTreeItemId *argp2 ;
27339 bool temp3 = False ;
27340 bool temp4 ;
27341 PyObject * obj0 = 0 ;
27342 PyObject * obj1 = 0 ;
27343 PyObject * obj2 = 0 ;
27344 char *kwnames[] = {
27345 (char *) "self",(char *) "parentId",(char *) "path", NULL
27346 };
27347
27348 arg4 = &temp4;
27349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27352 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27353 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27354 arg2 = *argp2;
27355 {
27356 arg3 = wxString_in_helper(obj2);
27357 if (arg3 == NULL) SWIG_fail;
27358 temp3 = True;
27359 }
27360 {
27361 PyThreadState* __tstate = wxPyBeginAllowThreads();
27362 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27363
27364 wxPyEndAllowThreads(__tstate);
27365 if (PyErr_Occurred()) SWIG_fail;
27366 }
27367 {
27368 wxTreeItemId * resultptr;
27369 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27371 }
27372 {
27373 PyObject *o = PyInt_FromLong((long) (*arg4));
27374 resultobj = t_output_helper(resultobj,o);
27375 }
27376 {
27377 if (temp3)
27378 delete arg3;
27379 }
27380 return resultobj;
27381 fail:
27382 {
27383 if (temp3)
27384 delete arg3;
27385 }
27386 return NULL;
27387 }
27388
27389
27390 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
27391 PyObject *resultobj;
27392 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27393 PyObject * obj0 = 0 ;
27394 char *kwnames[] = {
27395 (char *) "self", NULL
27396 };
27397
27398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27401 {
27402 PyThreadState* __tstate = wxPyBeginAllowThreads();
27403 (arg1)->DoResize();
27404
27405 wxPyEndAllowThreads(__tstate);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 Py_INCREF(Py_None); resultobj = Py_None;
27409 return resultobj;
27410 fail:
27411 return NULL;
27412 }
27413
27414
27415 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
27416 PyObject *resultobj;
27417 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27418 PyObject * obj0 = 0 ;
27419 char *kwnames[] = {
27420 (char *) "self", NULL
27421 };
27422
27423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27426 {
27427 PyThreadState* __tstate = wxPyBeginAllowThreads();
27428 (arg1)->ReCreateTree();
27429
27430 wxPyEndAllowThreads(__tstate);
27431 if (PyErr_Occurred()) SWIG_fail;
27432 }
27433 Py_INCREF(Py_None); resultobj = Py_None;
27434 return resultobj;
27435 fail:
27436 return NULL;
27437 }
27438
27439
27440 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
27441 PyObject *obj;
27442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27443 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27444 Py_INCREF(obj);
27445 return Py_BuildValue((char *)"");
27446 }
27447 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27448 PyObject *resultobj;
27449 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27450 int arg2 = (int) (int)-1 ;
27451 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27452 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27453 wxSize const &arg4_defvalue = wxDefaultSize ;
27454 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27455 long arg5 = (long) 0 ;
27456 wxDirFilterListCtrl *result;
27457 wxPoint temp3 ;
27458 wxSize temp4 ;
27459 PyObject * obj0 = 0 ;
27460 PyObject * obj1 = 0 ;
27461 PyObject * obj2 = 0 ;
27462 PyObject * obj3 = 0 ;
27463 PyObject * obj4 = 0 ;
27464 char *kwnames[] = {
27465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27466 };
27467
27468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27471 if (obj1) {
27472 arg2 = (int const) SWIG_AsInt(obj1);
27473 if (PyErr_Occurred()) SWIG_fail;
27474 }
27475 if (obj2) {
27476 {
27477 arg3 = &temp3;
27478 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27479 }
27480 }
27481 if (obj3) {
27482 {
27483 arg4 = &temp4;
27484 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27485 }
27486 }
27487 if (obj4) {
27488 arg5 = (long) SWIG_AsLong(obj4);
27489 if (PyErr_Occurred()) SWIG_fail;
27490 }
27491 {
27492 PyThreadState* __tstate = wxPyBeginAllowThreads();
27493 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27494
27495 wxPyEndAllowThreads(__tstate);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 }
27498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27499 return resultobj;
27500 fail:
27501 return NULL;
27502 }
27503
27504
27505 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27506 PyObject *resultobj;
27507 wxDirFilterListCtrl *result;
27508 char *kwnames[] = {
27509 NULL
27510 };
27511
27512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27513 {
27514 PyThreadState* __tstate = wxPyBeginAllowThreads();
27515 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27516
27517 wxPyEndAllowThreads(__tstate);
27518 if (PyErr_Occurred()) SWIG_fail;
27519 }
27520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27521 return resultobj;
27522 fail:
27523 return NULL;
27524 }
27525
27526
27527 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
27528 PyObject *resultobj;
27529 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27530 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27531 int arg3 = (int) (int)-1 ;
27532 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27533 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27534 wxSize const &arg5_defvalue = wxDefaultSize ;
27535 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27536 long arg6 = (long) 0 ;
27537 bool result;
27538 wxPoint temp4 ;
27539 wxSize temp5 ;
27540 PyObject * obj0 = 0 ;
27541 PyObject * obj1 = 0 ;
27542 PyObject * obj2 = 0 ;
27543 PyObject * obj3 = 0 ;
27544 PyObject * obj4 = 0 ;
27545 PyObject * obj5 = 0 ;
27546 char *kwnames[] = {
27547 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27548 };
27549
27550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27555 if (obj2) {
27556 arg3 = (int const) SWIG_AsInt(obj2);
27557 if (PyErr_Occurred()) SWIG_fail;
27558 }
27559 if (obj3) {
27560 {
27561 arg4 = &temp4;
27562 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27563 }
27564 }
27565 if (obj4) {
27566 {
27567 arg5 = &temp5;
27568 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27569 }
27570 }
27571 if (obj5) {
27572 arg6 = (long) SWIG_AsLong(obj5);
27573 if (PyErr_Occurred()) SWIG_fail;
27574 }
27575 {
27576 PyThreadState* __tstate = wxPyBeginAllowThreads();
27577 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27578
27579 wxPyEndAllowThreads(__tstate);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 }
27582 {
27583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27584 }
27585 return resultobj;
27586 fail:
27587 return NULL;
27588 }
27589
27590
27591 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
27592 PyObject *resultobj;
27593 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27594 wxString *arg2 = 0 ;
27595 int arg3 ;
27596 bool temp2 = False ;
27597 PyObject * obj0 = 0 ;
27598 PyObject * obj1 = 0 ;
27599 PyObject * obj2 = 0 ;
27600 char *kwnames[] = {
27601 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27602 };
27603
27604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27607 {
27608 arg2 = wxString_in_helper(obj1);
27609 if (arg2 == NULL) SWIG_fail;
27610 temp2 = True;
27611 }
27612 arg3 = (int) SWIG_AsInt(obj2);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 {
27615 PyThreadState* __tstate = wxPyBeginAllowThreads();
27616 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27617
27618 wxPyEndAllowThreads(__tstate);
27619 if (PyErr_Occurred()) SWIG_fail;
27620 }
27621 Py_INCREF(Py_None); resultobj = Py_None;
27622 {
27623 if (temp2)
27624 delete arg2;
27625 }
27626 return resultobj;
27627 fail:
27628 {
27629 if (temp2)
27630 delete arg2;
27631 }
27632 return NULL;
27633 }
27634
27635
27636 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
27637 PyObject *obj;
27638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27639 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27640 Py_INCREF(obj);
27641 return Py_BuildValue((char *)"");
27642 }
27643 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
27644 PyObject *resultobj;
27645 wxWindow *arg1 = (wxWindow *) 0 ;
27646 int arg2 ;
27647 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27648 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27649 wxSize const &arg4_defvalue = wxDefaultSize ;
27650 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27651 long arg5 = (long) 0 ;
27652 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27653 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27654 wxString const &arg7_defvalue = wxPyControlNameStr ;
27655 wxString *arg7 = (wxString *) &arg7_defvalue ;
27656 wxPyControl *result;
27657 wxPoint temp3 ;
27658 wxSize temp4 ;
27659 bool temp7 = False ;
27660 PyObject * obj0 = 0 ;
27661 PyObject * obj1 = 0 ;
27662 PyObject * obj2 = 0 ;
27663 PyObject * obj3 = 0 ;
27664 PyObject * obj4 = 0 ;
27665 PyObject * obj5 = 0 ;
27666 PyObject * obj6 = 0 ;
27667 char *kwnames[] = {
27668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27669 };
27670
27671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27674 arg2 = (int const) SWIG_AsInt(obj1);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 if (obj2) {
27677 {
27678 arg3 = &temp3;
27679 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27680 }
27681 }
27682 if (obj3) {
27683 {
27684 arg4 = &temp4;
27685 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27686 }
27687 }
27688 if (obj4) {
27689 arg5 = (long) SWIG_AsLong(obj4);
27690 if (PyErr_Occurred()) SWIG_fail;
27691 }
27692 if (obj5) {
27693 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
27694 SWIG_POINTER_EXCEPTION | 0)) == -1)
27695 SWIG_fail;
27696 if (arg6 == NULL) {
27697 PyErr_SetString(PyExc_TypeError,"null reference");
27698 SWIG_fail;
27699 }
27700 }
27701 if (obj6) {
27702 {
27703 arg7 = wxString_in_helper(obj6);
27704 if (arg7 == NULL) SWIG_fail;
27705 temp7 = True;
27706 }
27707 }
27708 {
27709 PyThreadState* __tstate = wxPyBeginAllowThreads();
27710 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27711
27712 wxPyEndAllowThreads(__tstate);
27713 if (PyErr_Occurred()) SWIG_fail;
27714 }
27715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27716 {
27717 if (temp7)
27718 delete arg7;
27719 }
27720 return resultobj;
27721 fail:
27722 {
27723 if (temp7)
27724 delete arg7;
27725 }
27726 return NULL;
27727 }
27728
27729
27730 static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
27731 PyObject *resultobj;
27732 wxPyControl *result;
27733 char *kwnames[] = {
27734 NULL
27735 };
27736
27737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
27738 {
27739 PyThreadState* __tstate = wxPyBeginAllowThreads();
27740 result = (wxPyControl *)new wxPyControl();
27741
27742 wxPyEndAllowThreads(__tstate);
27743 if (PyErr_Occurred()) SWIG_fail;
27744 }
27745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27746 return resultobj;
27747 fail:
27748 return NULL;
27749 }
27750
27751
27752 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27753 PyObject *resultobj;
27754 wxPyControl *arg1 = (wxPyControl *) 0 ;
27755 PyObject *arg2 = (PyObject *) 0 ;
27756 PyObject *arg3 = (PyObject *) 0 ;
27757 PyObject * obj0 = 0 ;
27758 PyObject * obj1 = 0 ;
27759 PyObject * obj2 = 0 ;
27760 char *kwnames[] = {
27761 (char *) "self",(char *) "self",(char *) "_class", NULL
27762 };
27763
27764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27767 arg2 = obj1;
27768 arg3 = obj2;
27769 {
27770 PyThreadState* __tstate = wxPyBeginAllowThreads();
27771 (arg1)->_setCallbackInfo(arg2,arg3);
27772
27773 wxPyEndAllowThreads(__tstate);
27774 if (PyErr_Occurred()) SWIG_fail;
27775 }
27776 Py_INCREF(Py_None); resultobj = Py_None;
27777 return resultobj;
27778 fail:
27779 return NULL;
27780 }
27781
27782
27783 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27784 PyObject *resultobj;
27785 wxPyControl *arg1 = (wxPyControl *) 0 ;
27786 int arg2 ;
27787 int arg3 ;
27788 int arg4 ;
27789 int arg5 ;
27790 PyObject * obj0 = 0 ;
27791 PyObject * obj1 = 0 ;
27792 PyObject * obj2 = 0 ;
27793 PyObject * obj3 = 0 ;
27794 PyObject * obj4 = 0 ;
27795 char *kwnames[] = {
27796 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27797 };
27798
27799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27802 arg2 = (int) SWIG_AsInt(obj1);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 arg3 = (int) SWIG_AsInt(obj2);
27805 if (PyErr_Occurred()) SWIG_fail;
27806 arg4 = (int) SWIG_AsInt(obj3);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 arg5 = (int) SWIG_AsInt(obj4);
27809 if (PyErr_Occurred()) SWIG_fail;
27810 {
27811 PyThreadState* __tstate = wxPyBeginAllowThreads();
27812 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27813
27814 wxPyEndAllowThreads(__tstate);
27815 if (PyErr_Occurred()) SWIG_fail;
27816 }
27817 Py_INCREF(Py_None); resultobj = Py_None;
27818 return resultobj;
27819 fail:
27820 return NULL;
27821 }
27822
27823
27824 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
27825 PyObject *resultobj;
27826 wxPyControl *arg1 = (wxPyControl *) 0 ;
27827 int arg2 ;
27828 int arg3 ;
27829 int arg4 ;
27830 int arg5 ;
27831 int arg6 = (int) wxSIZE_AUTO ;
27832 PyObject * obj0 = 0 ;
27833 PyObject * obj1 = 0 ;
27834 PyObject * obj2 = 0 ;
27835 PyObject * obj3 = 0 ;
27836 PyObject * obj4 = 0 ;
27837 PyObject * obj5 = 0 ;
27838 char *kwnames[] = {
27839 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27840 };
27841
27842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27845 arg2 = (int) SWIG_AsInt(obj1);
27846 if (PyErr_Occurred()) SWIG_fail;
27847 arg3 = (int) SWIG_AsInt(obj2);
27848 if (PyErr_Occurred()) SWIG_fail;
27849 arg4 = (int) SWIG_AsInt(obj3);
27850 if (PyErr_Occurred()) SWIG_fail;
27851 arg5 = (int) SWIG_AsInt(obj4);
27852 if (PyErr_Occurred()) SWIG_fail;
27853 if (obj5) {
27854 arg6 = (int) SWIG_AsInt(obj5);
27855 if (PyErr_Occurred()) SWIG_fail;
27856 }
27857 {
27858 PyThreadState* __tstate = wxPyBeginAllowThreads();
27859 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27860
27861 wxPyEndAllowThreads(__tstate);
27862 if (PyErr_Occurred()) SWIG_fail;
27863 }
27864 Py_INCREF(Py_None); resultobj = Py_None;
27865 return resultobj;
27866 fail:
27867 return NULL;
27868 }
27869
27870
27871 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
27872 PyObject *resultobj;
27873 wxPyControl *arg1 = (wxPyControl *) 0 ;
27874 int arg2 ;
27875 int arg3 ;
27876 PyObject * obj0 = 0 ;
27877 PyObject * obj1 = 0 ;
27878 PyObject * obj2 = 0 ;
27879 char *kwnames[] = {
27880 (char *) "self",(char *) "width",(char *) "height", NULL
27881 };
27882
27883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27886 arg2 = (int) SWIG_AsInt(obj1);
27887 if (PyErr_Occurred()) SWIG_fail;
27888 arg3 = (int) SWIG_AsInt(obj2);
27889 if (PyErr_Occurred()) SWIG_fail;
27890 {
27891 PyThreadState* __tstate = wxPyBeginAllowThreads();
27892 (arg1)->base_DoSetClientSize(arg2,arg3);
27893
27894 wxPyEndAllowThreads(__tstate);
27895 if (PyErr_Occurred()) SWIG_fail;
27896 }
27897 Py_INCREF(Py_None); resultobj = Py_None;
27898 return resultobj;
27899 fail:
27900 return NULL;
27901 }
27902
27903
27904 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
27905 PyObject *resultobj;
27906 wxPyControl *arg1 = (wxPyControl *) 0 ;
27907 int arg2 ;
27908 int arg3 ;
27909 PyObject * obj0 = 0 ;
27910 PyObject * obj1 = 0 ;
27911 PyObject * obj2 = 0 ;
27912 char *kwnames[] = {
27913 (char *) "self",(char *) "x",(char *) "y", NULL
27914 };
27915
27916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27919 arg2 = (int) SWIG_AsInt(obj1);
27920 if (PyErr_Occurred()) SWIG_fail;
27921 arg3 = (int) SWIG_AsInt(obj2);
27922 if (PyErr_Occurred()) SWIG_fail;
27923 {
27924 PyThreadState* __tstate = wxPyBeginAllowThreads();
27925 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27926
27927 wxPyEndAllowThreads(__tstate);
27928 if (PyErr_Occurred()) SWIG_fail;
27929 }
27930 Py_INCREF(Py_None); resultobj = Py_None;
27931 return resultobj;
27932 fail:
27933 return NULL;
27934 }
27935
27936
27937 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
27938 PyObject *resultobj;
27939 wxPyControl *arg1 = (wxPyControl *) 0 ;
27940 int *arg2 = (int *) 0 ;
27941 int *arg3 = (int *) 0 ;
27942 int temp2 ;
27943 int temp3 ;
27944 PyObject * obj0 = 0 ;
27945 char *kwnames[] = {
27946 (char *) "self", NULL
27947 };
27948
27949 arg2 = &temp2;
27950 arg3 = &temp3;
27951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27954 {
27955 PyThreadState* __tstate = wxPyBeginAllowThreads();
27956 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27957
27958 wxPyEndAllowThreads(__tstate);
27959 if (PyErr_Occurred()) SWIG_fail;
27960 }
27961 Py_INCREF(Py_None); resultobj = Py_None;
27962 {
27963 PyObject *o = PyInt_FromLong((long) (*arg2));
27964 resultobj = t_output_helper(resultobj,o);
27965 }
27966 {
27967 PyObject *o = PyInt_FromLong((long) (*arg3));
27968 resultobj = t_output_helper(resultobj,o);
27969 }
27970 return resultobj;
27971 fail:
27972 return NULL;
27973 }
27974
27975
27976 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
27977 PyObject *resultobj;
27978 wxPyControl *arg1 = (wxPyControl *) 0 ;
27979 int *arg2 = (int *) 0 ;
27980 int *arg3 = (int *) 0 ;
27981 int temp2 ;
27982 int temp3 ;
27983 PyObject * obj0 = 0 ;
27984 char *kwnames[] = {
27985 (char *) "self", NULL
27986 };
27987
27988 arg2 = &temp2;
27989 arg3 = &temp3;
27990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27993 {
27994 PyThreadState* __tstate = wxPyBeginAllowThreads();
27995 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27996
27997 wxPyEndAllowThreads(__tstate);
27998 if (PyErr_Occurred()) SWIG_fail;
27999 }
28000 Py_INCREF(Py_None); resultobj = Py_None;
28001 {
28002 PyObject *o = PyInt_FromLong((long) (*arg2));
28003 resultobj = t_output_helper(resultobj,o);
28004 }
28005 {
28006 PyObject *o = PyInt_FromLong((long) (*arg3));
28007 resultobj = t_output_helper(resultobj,o);
28008 }
28009 return resultobj;
28010 fail:
28011 return NULL;
28012 }
28013
28014
28015 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28016 PyObject *resultobj;
28017 wxPyControl *arg1 = (wxPyControl *) 0 ;
28018 int *arg2 = (int *) 0 ;
28019 int *arg3 = (int *) 0 ;
28020 int temp2 ;
28021 int temp3 ;
28022 PyObject * obj0 = 0 ;
28023 char *kwnames[] = {
28024 (char *) "self", NULL
28025 };
28026
28027 arg2 = &temp2;
28028 arg3 = &temp3;
28029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
28030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28032 {
28033 PyThreadState* __tstate = wxPyBeginAllowThreads();
28034 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28035
28036 wxPyEndAllowThreads(__tstate);
28037 if (PyErr_Occurred()) SWIG_fail;
28038 }
28039 Py_INCREF(Py_None); resultobj = Py_None;
28040 {
28041 PyObject *o = PyInt_FromLong((long) (*arg2));
28042 resultobj = t_output_helper(resultobj,o);
28043 }
28044 {
28045 PyObject *o = PyInt_FromLong((long) (*arg3));
28046 resultobj = t_output_helper(resultobj,o);
28047 }
28048 return resultobj;
28049 fail:
28050 return NULL;
28051 }
28052
28053
28054 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
28055 PyObject *resultobj;
28056 wxPyControl *arg1 = (wxPyControl *) 0 ;
28057 wxSize result;
28058 PyObject * obj0 = 0 ;
28059 char *kwnames[] = {
28060 (char *) "self", NULL
28061 };
28062
28063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
28064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28066 {
28067 PyThreadState* __tstate = wxPyBeginAllowThreads();
28068 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28069
28070 wxPyEndAllowThreads(__tstate);
28071 if (PyErr_Occurred()) SWIG_fail;
28072 }
28073 {
28074 wxSize * resultptr;
28075 resultptr = new wxSize((wxSize &) result);
28076 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28077 }
28078 return resultobj;
28079 fail:
28080 return NULL;
28081 }
28082
28083
28084 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
28085 PyObject *resultobj;
28086 wxPyControl *arg1 = (wxPyControl *) 0 ;
28087 wxSize result;
28088 PyObject * obj0 = 0 ;
28089 char *kwnames[] = {
28090 (char *) "self", NULL
28091 };
28092
28093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
28094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28096 {
28097 PyThreadState* __tstate = wxPyBeginAllowThreads();
28098 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28099
28100 wxPyEndAllowThreads(__tstate);
28101 if (PyErr_Occurred()) SWIG_fail;
28102 }
28103 {
28104 wxSize * resultptr;
28105 resultptr = new wxSize((wxSize &) result);
28106 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28107 }
28108 return resultobj;
28109 fail:
28110 return NULL;
28111 }
28112
28113
28114 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
28115 PyObject *resultobj;
28116 wxPyControl *arg1 = (wxPyControl *) 0 ;
28117 PyObject * obj0 = 0 ;
28118 char *kwnames[] = {
28119 (char *) "self", NULL
28120 };
28121
28122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
28123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28125 {
28126 PyThreadState* __tstate = wxPyBeginAllowThreads();
28127 (arg1)->base_InitDialog();
28128
28129 wxPyEndAllowThreads(__tstate);
28130 if (PyErr_Occurred()) SWIG_fail;
28131 }
28132 Py_INCREF(Py_None); resultobj = Py_None;
28133 return resultobj;
28134 fail:
28135 return NULL;
28136 }
28137
28138
28139 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
28140 PyObject *resultobj;
28141 wxPyControl *arg1 = (wxPyControl *) 0 ;
28142 bool result;
28143 PyObject * obj0 = 0 ;
28144 char *kwnames[] = {
28145 (char *) "self", NULL
28146 };
28147
28148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
28149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28151 {
28152 PyThreadState* __tstate = wxPyBeginAllowThreads();
28153 result = (bool)(arg1)->base_TransferDataToWindow();
28154
28155 wxPyEndAllowThreads(__tstate);
28156 if (PyErr_Occurred()) SWIG_fail;
28157 }
28158 {
28159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28160 }
28161 return resultobj;
28162 fail:
28163 return NULL;
28164 }
28165
28166
28167 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
28168 PyObject *resultobj;
28169 wxPyControl *arg1 = (wxPyControl *) 0 ;
28170 bool result;
28171 PyObject * obj0 = 0 ;
28172 char *kwnames[] = {
28173 (char *) "self", NULL
28174 };
28175
28176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28179 {
28180 PyThreadState* __tstate = wxPyBeginAllowThreads();
28181 result = (bool)(arg1)->base_TransferDataFromWindow();
28182
28183 wxPyEndAllowThreads(__tstate);
28184 if (PyErr_Occurred()) SWIG_fail;
28185 }
28186 {
28187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28188 }
28189 return resultobj;
28190 fail:
28191 return NULL;
28192 }
28193
28194
28195 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
28196 PyObject *resultobj;
28197 wxPyControl *arg1 = (wxPyControl *) 0 ;
28198 bool result;
28199 PyObject * obj0 = 0 ;
28200 char *kwnames[] = {
28201 (char *) "self", NULL
28202 };
28203
28204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28207 {
28208 PyThreadState* __tstate = wxPyBeginAllowThreads();
28209 result = (bool)(arg1)->base_Validate();
28210
28211 wxPyEndAllowThreads(__tstate);
28212 if (PyErr_Occurred()) SWIG_fail;
28213 }
28214 {
28215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28216 }
28217 return resultobj;
28218 fail:
28219 return NULL;
28220 }
28221
28222
28223 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
28224 PyObject *resultobj;
28225 wxPyControl *arg1 = (wxPyControl *) 0 ;
28226 bool result;
28227 PyObject * obj0 = 0 ;
28228 char *kwnames[] = {
28229 (char *) "self", NULL
28230 };
28231
28232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28235 {
28236 PyThreadState* __tstate = wxPyBeginAllowThreads();
28237 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28238
28239 wxPyEndAllowThreads(__tstate);
28240 if (PyErr_Occurred()) SWIG_fail;
28241 }
28242 {
28243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28244 }
28245 return resultobj;
28246 fail:
28247 return NULL;
28248 }
28249
28250
28251 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
28252 PyObject *resultobj;
28253 wxPyControl *arg1 = (wxPyControl *) 0 ;
28254 bool result;
28255 PyObject * obj0 = 0 ;
28256 char *kwnames[] = {
28257 (char *) "self", NULL
28258 };
28259
28260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28263 {
28264 PyThreadState* __tstate = wxPyBeginAllowThreads();
28265 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28266
28267 wxPyEndAllowThreads(__tstate);
28268 if (PyErr_Occurred()) SWIG_fail;
28269 }
28270 {
28271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28272 }
28273 return resultobj;
28274 fail:
28275 return NULL;
28276 }
28277
28278
28279 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
28280 PyObject *resultobj;
28281 wxPyControl *arg1 = (wxPyControl *) 0 ;
28282 wxSize result;
28283 PyObject * obj0 = 0 ;
28284 char *kwnames[] = {
28285 (char *) "self", NULL
28286 };
28287
28288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28291 {
28292 PyThreadState* __tstate = wxPyBeginAllowThreads();
28293 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28294
28295 wxPyEndAllowThreads(__tstate);
28296 if (PyErr_Occurred()) SWIG_fail;
28297 }
28298 {
28299 wxSize * resultptr;
28300 resultptr = new wxSize((wxSize &) result);
28301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28302 }
28303 return resultobj;
28304 fail:
28305 return NULL;
28306 }
28307
28308
28309 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
28310 PyObject *resultobj;
28311 wxPyControl *arg1 = (wxPyControl *) 0 ;
28312 wxWindow *arg2 = (wxWindow *) 0 ;
28313 PyObject * obj0 = 0 ;
28314 PyObject * obj1 = 0 ;
28315 char *kwnames[] = {
28316 (char *) "self",(char *) "child", NULL
28317 };
28318
28319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28324 {
28325 PyThreadState* __tstate = wxPyBeginAllowThreads();
28326 (arg1)->base_AddChild(arg2);
28327
28328 wxPyEndAllowThreads(__tstate);
28329 if (PyErr_Occurred()) SWIG_fail;
28330 }
28331 Py_INCREF(Py_None); resultobj = Py_None;
28332 return resultobj;
28333 fail:
28334 return NULL;
28335 }
28336
28337
28338 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
28339 PyObject *resultobj;
28340 wxPyControl *arg1 = (wxPyControl *) 0 ;
28341 wxWindow *arg2 = (wxWindow *) 0 ;
28342 PyObject * obj0 = 0 ;
28343 PyObject * obj1 = 0 ;
28344 char *kwnames[] = {
28345 (char *) "self",(char *) "child", NULL
28346 };
28347
28348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28353 {
28354 PyThreadState* __tstate = wxPyBeginAllowThreads();
28355 (arg1)->base_RemoveChild(arg2);
28356
28357 wxPyEndAllowThreads(__tstate);
28358 if (PyErr_Occurred()) SWIG_fail;
28359 }
28360 Py_INCREF(Py_None); resultobj = Py_None;
28361 return resultobj;
28362 fail:
28363 return NULL;
28364 }
28365
28366
28367 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
28368 PyObject *resultobj;
28369 wxPyControl *arg1 = (wxPyControl *) 0 ;
28370 bool result;
28371 PyObject * obj0 = 0 ;
28372 char *kwnames[] = {
28373 (char *) "self", NULL
28374 };
28375
28376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
28377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28379 {
28380 PyThreadState* __tstate = wxPyBeginAllowThreads();
28381 result = (bool)(arg1)->base_ShouldInheritColours();
28382
28383 wxPyEndAllowThreads(__tstate);
28384 if (PyErr_Occurred()) SWIG_fail;
28385 }
28386 {
28387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28388 }
28389 return resultobj;
28390 fail:
28391 return NULL;
28392 }
28393
28394
28395 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
28396 PyObject *resultobj;
28397 wxPyControl *arg1 = (wxPyControl *) 0 ;
28398 wxColour *arg2 = 0 ;
28399 wxColour temp2 ;
28400 PyObject * obj0 = 0 ;
28401 PyObject * obj1 = 0 ;
28402 char *kwnames[] = {
28403 (char *) "self",(char *) "c", NULL
28404 };
28405
28406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
28407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28409 {
28410 arg2 = &temp2;
28411 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28412 }
28413 {
28414 PyThreadState* __tstate = wxPyBeginAllowThreads();
28415 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
28416
28417 wxPyEndAllowThreads(__tstate);
28418 if (PyErr_Occurred()) SWIG_fail;
28419 }
28420 Py_INCREF(Py_None); resultobj = Py_None;
28421 return resultobj;
28422 fail:
28423 return NULL;
28424 }
28425
28426
28427 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
28428 PyObject *obj;
28429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28430 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28431 Py_INCREF(obj);
28432 return Py_BuildValue((char *)"");
28433 }
28434 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28435 PyObject *resultobj;
28436 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28437 int arg2 = (int) 0 ;
28438 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28439 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28440 wxHelpEvent *result;
28441 wxPoint temp3 ;
28442 PyObject * obj0 = 0 ;
28443 PyObject * obj1 = 0 ;
28444 PyObject * obj2 = 0 ;
28445 char *kwnames[] = {
28446 (char *) "type",(char *) "winid",(char *) "pt", NULL
28447 };
28448
28449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28450 if (obj0) {
28451 arg1 = (wxEventType) SWIG_AsInt(obj0);
28452 if (PyErr_Occurred()) SWIG_fail;
28453 }
28454 if (obj1) {
28455 arg2 = (int) SWIG_AsInt(obj1);
28456 if (PyErr_Occurred()) SWIG_fail;
28457 }
28458 if (obj2) {
28459 {
28460 arg3 = &temp3;
28461 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28462 }
28463 }
28464 {
28465 PyThreadState* __tstate = wxPyBeginAllowThreads();
28466 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28467
28468 wxPyEndAllowThreads(__tstate);
28469 if (PyErr_Occurred()) SWIG_fail;
28470 }
28471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28472 return resultobj;
28473 fail:
28474 return NULL;
28475 }
28476
28477
28478 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28479 PyObject *resultobj;
28480 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28481 wxPoint result;
28482 PyObject * obj0 = 0 ;
28483 char *kwnames[] = {
28484 (char *) "self", NULL
28485 };
28486
28487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28490 {
28491 PyThreadState* __tstate = wxPyBeginAllowThreads();
28492 result = ((wxHelpEvent const *)arg1)->GetPosition();
28493
28494 wxPyEndAllowThreads(__tstate);
28495 if (PyErr_Occurred()) SWIG_fail;
28496 }
28497 {
28498 wxPoint * resultptr;
28499 resultptr = new wxPoint((wxPoint &) result);
28500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28501 }
28502 return resultobj;
28503 fail:
28504 return NULL;
28505 }
28506
28507
28508 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28509 PyObject *resultobj;
28510 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28511 wxPoint *arg2 = 0 ;
28512 wxPoint temp2 ;
28513 PyObject * obj0 = 0 ;
28514 PyObject * obj1 = 0 ;
28515 char *kwnames[] = {
28516 (char *) "self",(char *) "pos", NULL
28517 };
28518
28519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28522 {
28523 arg2 = &temp2;
28524 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28525 }
28526 {
28527 PyThreadState* __tstate = wxPyBeginAllowThreads();
28528 (arg1)->SetPosition((wxPoint const &)*arg2);
28529
28530 wxPyEndAllowThreads(__tstate);
28531 if (PyErr_Occurred()) SWIG_fail;
28532 }
28533 Py_INCREF(Py_None); resultobj = Py_None;
28534 return resultobj;
28535 fail:
28536 return NULL;
28537 }
28538
28539
28540 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
28541 PyObject *resultobj;
28542 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28543 wxString *result;
28544 PyObject * obj0 = 0 ;
28545 char *kwnames[] = {
28546 (char *) "self", NULL
28547 };
28548
28549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28552 {
28553 PyThreadState* __tstate = wxPyBeginAllowThreads();
28554 {
28555 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28556 result = (wxString *) &_result_ref;
28557 }
28558
28559 wxPyEndAllowThreads(__tstate);
28560 if (PyErr_Occurred()) SWIG_fail;
28561 }
28562 {
28563 #if wxUSE_UNICODE
28564 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28565 #else
28566 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28567 #endif
28568 }
28569 return resultobj;
28570 fail:
28571 return NULL;
28572 }
28573
28574
28575 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
28576 PyObject *resultobj;
28577 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28578 wxString *arg2 = 0 ;
28579 bool temp2 = False ;
28580 PyObject * obj0 = 0 ;
28581 PyObject * obj1 = 0 ;
28582 char *kwnames[] = {
28583 (char *) "self",(char *) "link", NULL
28584 };
28585
28586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28589 {
28590 arg2 = wxString_in_helper(obj1);
28591 if (arg2 == NULL) SWIG_fail;
28592 temp2 = True;
28593 }
28594 {
28595 PyThreadState* __tstate = wxPyBeginAllowThreads();
28596 (arg1)->SetLink((wxString const &)*arg2);
28597
28598 wxPyEndAllowThreads(__tstate);
28599 if (PyErr_Occurred()) SWIG_fail;
28600 }
28601 Py_INCREF(Py_None); resultobj = Py_None;
28602 {
28603 if (temp2)
28604 delete arg2;
28605 }
28606 return resultobj;
28607 fail:
28608 {
28609 if (temp2)
28610 delete arg2;
28611 }
28612 return NULL;
28613 }
28614
28615
28616 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28617 PyObject *resultobj;
28618 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28619 wxString *result;
28620 PyObject * obj0 = 0 ;
28621 char *kwnames[] = {
28622 (char *) "self", NULL
28623 };
28624
28625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28628 {
28629 PyThreadState* __tstate = wxPyBeginAllowThreads();
28630 {
28631 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28632 result = (wxString *) &_result_ref;
28633 }
28634
28635 wxPyEndAllowThreads(__tstate);
28636 if (PyErr_Occurred()) SWIG_fail;
28637 }
28638 {
28639 #if wxUSE_UNICODE
28640 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28641 #else
28642 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28643 #endif
28644 }
28645 return resultobj;
28646 fail:
28647 return NULL;
28648 }
28649
28650
28651 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28652 PyObject *resultobj;
28653 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28654 wxString *arg2 = 0 ;
28655 bool temp2 = False ;
28656 PyObject * obj0 = 0 ;
28657 PyObject * obj1 = 0 ;
28658 char *kwnames[] = {
28659 (char *) "self",(char *) "target", NULL
28660 };
28661
28662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28665 {
28666 arg2 = wxString_in_helper(obj1);
28667 if (arg2 == NULL) SWIG_fail;
28668 temp2 = True;
28669 }
28670 {
28671 PyThreadState* __tstate = wxPyBeginAllowThreads();
28672 (arg1)->SetTarget((wxString const &)*arg2);
28673
28674 wxPyEndAllowThreads(__tstate);
28675 if (PyErr_Occurred()) SWIG_fail;
28676 }
28677 Py_INCREF(Py_None); resultobj = Py_None;
28678 {
28679 if (temp2)
28680 delete arg2;
28681 }
28682 return resultobj;
28683 fail:
28684 {
28685 if (temp2)
28686 delete arg2;
28687 }
28688 return NULL;
28689 }
28690
28691
28692 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
28693 PyObject *obj;
28694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28695 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28696 Py_INCREF(obj);
28697 return Py_BuildValue((char *)"");
28698 }
28699 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28700 PyObject *resultobj;
28701 wxWindow *arg1 = (wxWindow *) NULL ;
28702 bool arg2 = (bool) True ;
28703 wxContextHelp *result;
28704 PyObject * obj0 = 0 ;
28705 PyObject * obj1 = 0 ;
28706 char *kwnames[] = {
28707 (char *) "window",(char *) "doNow", NULL
28708 };
28709
28710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28711 if (obj0) {
28712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28714 }
28715 if (obj1) {
28716 arg2 = (bool) SWIG_AsBool(obj1);
28717 if (PyErr_Occurred()) SWIG_fail;
28718 }
28719 {
28720 PyThreadState* __tstate = wxPyBeginAllowThreads();
28721 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28722
28723 wxPyEndAllowThreads(__tstate);
28724 if (PyErr_Occurred()) SWIG_fail;
28725 }
28726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
28727 return resultobj;
28728 fail:
28729 return NULL;
28730 }
28731
28732
28733 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28734 PyObject *resultobj;
28735 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28736 PyObject * obj0 = 0 ;
28737 char *kwnames[] = {
28738 (char *) "self", NULL
28739 };
28740
28741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28744 {
28745 PyThreadState* __tstate = wxPyBeginAllowThreads();
28746 delete arg1;
28747
28748 wxPyEndAllowThreads(__tstate);
28749 if (PyErr_Occurred()) SWIG_fail;
28750 }
28751 Py_INCREF(Py_None); resultobj = Py_None;
28752 return resultobj;
28753 fail:
28754 return NULL;
28755 }
28756
28757
28758 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28759 PyObject *resultobj;
28760 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28761 wxWindow *arg2 = (wxWindow *) NULL ;
28762 bool result;
28763 PyObject * obj0 = 0 ;
28764 PyObject * obj1 = 0 ;
28765 char *kwnames[] = {
28766 (char *) "self",(char *) "window", NULL
28767 };
28768
28769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28772 if (obj1) {
28773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28775 }
28776 {
28777 PyThreadState* __tstate = wxPyBeginAllowThreads();
28778 result = (bool)(arg1)->BeginContextHelp(arg2);
28779
28780 wxPyEndAllowThreads(__tstate);
28781 if (PyErr_Occurred()) SWIG_fail;
28782 }
28783 {
28784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28785 }
28786 return resultobj;
28787 fail:
28788 return NULL;
28789 }
28790
28791
28792 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28793 PyObject *resultobj;
28794 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28795 bool result;
28796 PyObject * obj0 = 0 ;
28797 char *kwnames[] = {
28798 (char *) "self", NULL
28799 };
28800
28801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28804 {
28805 PyThreadState* __tstate = wxPyBeginAllowThreads();
28806 result = (bool)(arg1)->EndContextHelp();
28807
28808 wxPyEndAllowThreads(__tstate);
28809 if (PyErr_Occurred()) SWIG_fail;
28810 }
28811 {
28812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28813 }
28814 return resultobj;
28815 fail:
28816 return NULL;
28817 }
28818
28819
28820 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
28821 PyObject *obj;
28822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28823 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28824 Py_INCREF(obj);
28825 return Py_BuildValue((char *)"");
28826 }
28827 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
28828 PyObject *resultobj;
28829 wxWindow *arg1 = (wxWindow *) 0 ;
28830 int arg2 = (int) wxID_CONTEXT_HELP ;
28831 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28832 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28833 wxSize const &arg4_defvalue = wxDefaultSize ;
28834 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28835 long arg5 = (long) wxBU_AUTODRAW ;
28836 wxContextHelpButton *result;
28837 wxPoint temp3 ;
28838 wxSize temp4 ;
28839 PyObject * obj0 = 0 ;
28840 PyObject * obj1 = 0 ;
28841 PyObject * obj2 = 0 ;
28842 PyObject * obj3 = 0 ;
28843 PyObject * obj4 = 0 ;
28844 char *kwnames[] = {
28845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28846 };
28847
28848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28851 if (obj1) {
28852 arg2 = (int) SWIG_AsInt(obj1);
28853 if (PyErr_Occurred()) SWIG_fail;
28854 }
28855 if (obj2) {
28856 {
28857 arg3 = &temp3;
28858 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28859 }
28860 }
28861 if (obj3) {
28862 {
28863 arg4 = &temp4;
28864 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28865 }
28866 }
28867 if (obj4) {
28868 arg5 = (long) SWIG_AsLong(obj4);
28869 if (PyErr_Occurred()) SWIG_fail;
28870 }
28871 {
28872 PyThreadState* __tstate = wxPyBeginAllowThreads();
28873 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28874
28875 wxPyEndAllowThreads(__tstate);
28876 if (PyErr_Occurred()) SWIG_fail;
28877 }
28878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
28879 return resultobj;
28880 fail:
28881 return NULL;
28882 }
28883
28884
28885 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
28886 PyObject *obj;
28887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28888 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28889 Py_INCREF(obj);
28890 return Py_BuildValue((char *)"");
28891 }
28892 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
28893 PyObject *resultobj;
28894 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28895 wxHelpProvider *result;
28896 PyObject * obj0 = 0 ;
28897 char *kwnames[] = {
28898 (char *) "helpProvider", NULL
28899 };
28900
28901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28904 {
28905 PyThreadState* __tstate = wxPyBeginAllowThreads();
28906 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28907
28908 wxPyEndAllowThreads(__tstate);
28909 if (PyErr_Occurred()) SWIG_fail;
28910 }
28911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
28912 return resultobj;
28913 fail:
28914 return NULL;
28915 }
28916
28917
28918 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
28919 PyObject *resultobj;
28920 wxHelpProvider *result;
28921 char *kwnames[] = {
28922 NULL
28923 };
28924
28925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28926 {
28927 PyThreadState* __tstate = wxPyBeginAllowThreads();
28928 result = (wxHelpProvider *)wxHelpProvider::Get();
28929
28930 wxPyEndAllowThreads(__tstate);
28931 if (PyErr_Occurred()) SWIG_fail;
28932 }
28933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
28934 return resultobj;
28935 fail:
28936 return NULL;
28937 }
28938
28939
28940 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28941 PyObject *resultobj;
28942 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28943 wxWindow *arg2 = (wxWindow *) 0 ;
28944 wxString result;
28945 PyObject * obj0 = 0 ;
28946 PyObject * obj1 = 0 ;
28947 char *kwnames[] = {
28948 (char *) "self",(char *) "window", NULL
28949 };
28950
28951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28956 {
28957 PyThreadState* __tstate = wxPyBeginAllowThreads();
28958 result = (arg1)->GetHelp((wxWindow const *)arg2);
28959
28960 wxPyEndAllowThreads(__tstate);
28961 if (PyErr_Occurred()) SWIG_fail;
28962 }
28963 {
28964 #if wxUSE_UNICODE
28965 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28966 #else
28967 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28968 #endif
28969 }
28970 return resultobj;
28971 fail:
28972 return NULL;
28973 }
28974
28975
28976 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28977 PyObject *resultobj;
28978 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28979 wxWindow *arg2 = (wxWindow *) 0 ;
28980 bool result;
28981 PyObject * obj0 = 0 ;
28982 PyObject * obj1 = 0 ;
28983 char *kwnames[] = {
28984 (char *) "self",(char *) "window", NULL
28985 };
28986
28987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28992 {
28993 PyThreadState* __tstate = wxPyBeginAllowThreads();
28994 result = (bool)(arg1)->ShowHelp(arg2);
28995
28996 wxPyEndAllowThreads(__tstate);
28997 if (PyErr_Occurred()) SWIG_fail;
28998 }
28999 {
29000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29001 }
29002 return resultobj;
29003 fail:
29004 return NULL;
29005 }
29006
29007
29008 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
29009 PyObject *resultobj;
29010 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29011 wxWindow *arg2 = (wxWindow *) 0 ;
29012 wxString *arg3 = 0 ;
29013 bool temp3 = False ;
29014 PyObject * obj0 = 0 ;
29015 PyObject * obj1 = 0 ;
29016 PyObject * obj2 = 0 ;
29017 char *kwnames[] = {
29018 (char *) "self",(char *) "window",(char *) "text", NULL
29019 };
29020
29021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
29022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29026 {
29027 arg3 = wxString_in_helper(obj2);
29028 if (arg3 == NULL) SWIG_fail;
29029 temp3 = True;
29030 }
29031 {
29032 PyThreadState* __tstate = wxPyBeginAllowThreads();
29033 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29034
29035 wxPyEndAllowThreads(__tstate);
29036 if (PyErr_Occurred()) SWIG_fail;
29037 }
29038 Py_INCREF(Py_None); resultobj = Py_None;
29039 {
29040 if (temp3)
29041 delete arg3;
29042 }
29043 return resultobj;
29044 fail:
29045 {
29046 if (temp3)
29047 delete arg3;
29048 }
29049 return NULL;
29050 }
29051
29052
29053 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
29054 PyObject *resultobj;
29055 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29056 int arg2 ;
29057 wxString *arg3 = 0 ;
29058 bool temp3 = False ;
29059 PyObject * obj0 = 0 ;
29060 PyObject * obj1 = 0 ;
29061 PyObject * obj2 = 0 ;
29062 char *kwnames[] = {
29063 (char *) "self",(char *) "id",(char *) "text", NULL
29064 };
29065
29066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
29067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29069 arg2 = (int) SWIG_AsInt(obj1);
29070 if (PyErr_Occurred()) SWIG_fail;
29071 {
29072 arg3 = wxString_in_helper(obj2);
29073 if (arg3 == NULL) SWIG_fail;
29074 temp3 = True;
29075 }
29076 {
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29079
29080 wxPyEndAllowThreads(__tstate);
29081 if (PyErr_Occurred()) SWIG_fail;
29082 }
29083 Py_INCREF(Py_None); resultobj = Py_None;
29084 {
29085 if (temp3)
29086 delete arg3;
29087 }
29088 return resultobj;
29089 fail:
29090 {
29091 if (temp3)
29092 delete arg3;
29093 }
29094 return NULL;
29095 }
29096
29097
29098 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
29099 PyObject *resultobj;
29100 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29101 wxWindow *arg2 = (wxWindow *) 0 ;
29102 PyObject * obj0 = 0 ;
29103 PyObject * obj1 = 0 ;
29104 char *kwnames[] = {
29105 (char *) "self",(char *) "window", NULL
29106 };
29107
29108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29113 {
29114 PyThreadState* __tstate = wxPyBeginAllowThreads();
29115 (arg1)->RemoveHelp(arg2);
29116
29117 wxPyEndAllowThreads(__tstate);
29118 if (PyErr_Occurred()) SWIG_fail;
29119 }
29120 Py_INCREF(Py_None); resultobj = Py_None;
29121 return resultobj;
29122 fail:
29123 return NULL;
29124 }
29125
29126
29127 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
29128 PyObject *resultobj;
29129 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29130 PyObject * obj0 = 0 ;
29131 char *kwnames[] = {
29132 (char *) "self", NULL
29133 };
29134
29135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
29136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29138 {
29139 PyThreadState* __tstate = wxPyBeginAllowThreads();
29140 wxHelpProvider_Destroy(arg1);
29141
29142 wxPyEndAllowThreads(__tstate);
29143 if (PyErr_Occurred()) SWIG_fail;
29144 }
29145 Py_INCREF(Py_None); resultobj = Py_None;
29146 return resultobj;
29147 fail:
29148 return NULL;
29149 }
29150
29151
29152 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
29153 PyObject *obj;
29154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29155 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29156 Py_INCREF(obj);
29157 return Py_BuildValue((char *)"");
29158 }
29159 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
29160 PyObject *resultobj;
29161 wxSimpleHelpProvider *result;
29162 char *kwnames[] = {
29163 NULL
29164 };
29165
29166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29167 {
29168 PyThreadState* __tstate = wxPyBeginAllowThreads();
29169 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29170
29171 wxPyEndAllowThreads(__tstate);
29172 if (PyErr_Occurred()) SWIG_fail;
29173 }
29174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
29175 return resultobj;
29176 fail:
29177 return NULL;
29178 }
29179
29180
29181 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
29182 PyObject *obj;
29183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29184 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29185 Py_INCREF(obj);
29186 return Py_BuildValue((char *)"");
29187 }
29188 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
29189 PyObject *resultobj;
29190 wxBitmap *arg1 = 0 ;
29191 wxCursor const &arg2_defvalue = wxNullCursor ;
29192 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29193 wxGenericDragImage *result;
29194 PyObject * obj0 = 0 ;
29195 PyObject * obj1 = 0 ;
29196 char *kwnames[] = {
29197 (char *) "image",(char *) "cursor", NULL
29198 };
29199
29200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
29201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29202 SWIG_POINTER_EXCEPTION | 0)) == -1)
29203 SWIG_fail;
29204 if (arg1 == NULL) {
29205 PyErr_SetString(PyExc_TypeError,"null reference");
29206 SWIG_fail;
29207 }
29208 if (obj1) {
29209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29210 SWIG_POINTER_EXCEPTION | 0)) == -1)
29211 SWIG_fail;
29212 if (arg2 == NULL) {
29213 PyErr_SetString(PyExc_TypeError,"null reference");
29214 SWIG_fail;
29215 }
29216 }
29217 {
29218 PyThreadState* __tstate = wxPyBeginAllowThreads();
29219 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29220
29221 wxPyEndAllowThreads(__tstate);
29222 if (PyErr_Occurred()) SWIG_fail;
29223 }
29224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29225 return resultobj;
29226 fail:
29227 return NULL;
29228 }
29229
29230
29231 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
29232 PyObject *resultobj;
29233 wxIcon *arg1 = 0 ;
29234 wxCursor const &arg2_defvalue = wxNullCursor ;
29235 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29236 wxGenericDragImage *result;
29237 PyObject * obj0 = 0 ;
29238 PyObject * obj1 = 0 ;
29239 char *kwnames[] = {
29240 (char *) "image",(char *) "cursor", NULL
29241 };
29242
29243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
29244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29245 SWIG_POINTER_EXCEPTION | 0)) == -1)
29246 SWIG_fail;
29247 if (arg1 == NULL) {
29248 PyErr_SetString(PyExc_TypeError,"null reference");
29249 SWIG_fail;
29250 }
29251 if (obj1) {
29252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29253 SWIG_POINTER_EXCEPTION | 0)) == -1)
29254 SWIG_fail;
29255 if (arg2 == NULL) {
29256 PyErr_SetString(PyExc_TypeError,"null reference");
29257 SWIG_fail;
29258 }
29259 }
29260 {
29261 PyThreadState* __tstate = wxPyBeginAllowThreads();
29262 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29263
29264 wxPyEndAllowThreads(__tstate);
29265 if (PyErr_Occurred()) SWIG_fail;
29266 }
29267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29268 return resultobj;
29269 fail:
29270 return NULL;
29271 }
29272
29273
29274 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
29275 PyObject *resultobj;
29276 wxString *arg1 = 0 ;
29277 wxCursor const &arg2_defvalue = wxNullCursor ;
29278 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29279 wxGenericDragImage *result;
29280 bool temp1 = False ;
29281 PyObject * obj0 = 0 ;
29282 PyObject * obj1 = 0 ;
29283 char *kwnames[] = {
29284 (char *) "str",(char *) "cursor", NULL
29285 };
29286
29287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29288 {
29289 arg1 = wxString_in_helper(obj0);
29290 if (arg1 == NULL) SWIG_fail;
29291 temp1 = True;
29292 }
29293 if (obj1) {
29294 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29295 SWIG_POINTER_EXCEPTION | 0)) == -1)
29296 SWIG_fail;
29297 if (arg2 == NULL) {
29298 PyErr_SetString(PyExc_TypeError,"null reference");
29299 SWIG_fail;
29300 }
29301 }
29302 {
29303 PyThreadState* __tstate = wxPyBeginAllowThreads();
29304 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29305
29306 wxPyEndAllowThreads(__tstate);
29307 if (PyErr_Occurred()) SWIG_fail;
29308 }
29309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29310 {
29311 if (temp1)
29312 delete arg1;
29313 }
29314 return resultobj;
29315 fail:
29316 {
29317 if (temp1)
29318 delete arg1;
29319 }
29320 return NULL;
29321 }
29322
29323
29324 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
29325 PyObject *resultobj;
29326 wxPyTreeCtrl *arg1 = 0 ;
29327 wxTreeItemId *arg2 = 0 ;
29328 wxGenericDragImage *result;
29329 PyObject * obj0 = 0 ;
29330 PyObject * obj1 = 0 ;
29331 char *kwnames[] = {
29332 (char *) "treeCtrl",(char *) "id", NULL
29333 };
29334
29335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29337 SWIG_POINTER_EXCEPTION | 0)) == -1)
29338 SWIG_fail;
29339 if (arg1 == NULL) {
29340 PyErr_SetString(PyExc_TypeError,"null reference");
29341 SWIG_fail;
29342 }
29343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29344 SWIG_POINTER_EXCEPTION | 0)) == -1)
29345 SWIG_fail;
29346 if (arg2 == NULL) {
29347 PyErr_SetString(PyExc_TypeError,"null reference");
29348 SWIG_fail;
29349 }
29350 {
29351 PyThreadState* __tstate = wxPyBeginAllowThreads();
29352 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29353
29354 wxPyEndAllowThreads(__tstate);
29355 if (PyErr_Occurred()) SWIG_fail;
29356 }
29357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29358 return resultobj;
29359 fail:
29360 return NULL;
29361 }
29362
29363
29364 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
29365 PyObject *resultobj;
29366 wxPyListCtrl *arg1 = 0 ;
29367 long arg2 ;
29368 wxGenericDragImage *result;
29369 PyObject * obj0 = 0 ;
29370 PyObject * obj1 = 0 ;
29371 char *kwnames[] = {
29372 (char *) "listCtrl",(char *) "id", NULL
29373 };
29374
29375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29377 SWIG_POINTER_EXCEPTION | 0)) == -1)
29378 SWIG_fail;
29379 if (arg1 == NULL) {
29380 PyErr_SetString(PyExc_TypeError,"null reference");
29381 SWIG_fail;
29382 }
29383 arg2 = (long) SWIG_AsLong(obj1);
29384 if (PyErr_Occurred()) SWIG_fail;
29385 {
29386 PyThreadState* __tstate = wxPyBeginAllowThreads();
29387 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29388
29389 wxPyEndAllowThreads(__tstate);
29390 if (PyErr_Occurred()) SWIG_fail;
29391 }
29392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29393 return resultobj;
29394 fail:
29395 return NULL;
29396 }
29397
29398
29399 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
29400 PyObject *resultobj;
29401 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29402 PyObject * obj0 = 0 ;
29403 char *kwnames[] = {
29404 (char *) "self", NULL
29405 };
29406
29407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29410 {
29411 PyThreadState* __tstate = wxPyBeginAllowThreads();
29412 delete arg1;
29413
29414 wxPyEndAllowThreads(__tstate);
29415 if (PyErr_Occurred()) SWIG_fail;
29416 }
29417 Py_INCREF(Py_None); resultobj = Py_None;
29418 return resultobj;
29419 fail:
29420 return NULL;
29421 }
29422
29423
29424 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
29425 PyObject *resultobj;
29426 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29427 wxBitmap *arg2 = (wxBitmap *) 0 ;
29428 PyObject * obj0 = 0 ;
29429 PyObject * obj1 = 0 ;
29430 char *kwnames[] = {
29431 (char *) "self",(char *) "bitmap", NULL
29432 };
29433
29434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 (arg1)->SetBackingBitmap(arg2);
29442
29443 wxPyEndAllowThreads(__tstate);
29444 if (PyErr_Occurred()) SWIG_fail;
29445 }
29446 Py_INCREF(Py_None); resultobj = Py_None;
29447 return resultobj;
29448 fail:
29449 return NULL;
29450 }
29451
29452
29453 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
29454 PyObject *resultobj;
29455 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29456 wxPoint *arg2 = 0 ;
29457 wxWindow *arg3 = (wxWindow *) 0 ;
29458 bool arg4 = (bool) False ;
29459 wxRect *arg5 = (wxRect *) NULL ;
29460 bool result;
29461 wxPoint temp2 ;
29462 PyObject * obj0 = 0 ;
29463 PyObject * obj1 = 0 ;
29464 PyObject * obj2 = 0 ;
29465 PyObject * obj3 = 0 ;
29466 PyObject * obj4 = 0 ;
29467 char *kwnames[] = {
29468 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29469 };
29470
29471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29474 {
29475 arg2 = &temp2;
29476 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29477 }
29478 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29480 if (obj3) {
29481 arg4 = (bool) SWIG_AsBool(obj3);
29482 if (PyErr_Occurred()) SWIG_fail;
29483 }
29484 if (obj4) {
29485 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29487 }
29488 {
29489 PyThreadState* __tstate = wxPyBeginAllowThreads();
29490 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29491
29492 wxPyEndAllowThreads(__tstate);
29493 if (PyErr_Occurred()) SWIG_fail;
29494 }
29495 {
29496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29497 }
29498 return resultobj;
29499 fail:
29500 return NULL;
29501 }
29502
29503
29504 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
29505 PyObject *resultobj;
29506 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29507 wxPoint *arg2 = 0 ;
29508 wxWindow *arg3 = (wxWindow *) 0 ;
29509 wxWindow *arg4 = (wxWindow *) 0 ;
29510 bool result;
29511 wxPoint temp2 ;
29512 PyObject * obj0 = 0 ;
29513 PyObject * obj1 = 0 ;
29514 PyObject * obj2 = 0 ;
29515 PyObject * obj3 = 0 ;
29516 char *kwnames[] = {
29517 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29518 };
29519
29520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29523 {
29524 arg2 = &temp2;
29525 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29526 }
29527 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29529 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29531 {
29532 PyThreadState* __tstate = wxPyBeginAllowThreads();
29533 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29534
29535 wxPyEndAllowThreads(__tstate);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 }
29538 {
29539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29540 }
29541 return resultobj;
29542 fail:
29543 return NULL;
29544 }
29545
29546
29547 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
29548 PyObject *resultobj;
29549 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29550 bool result;
29551 PyObject * obj0 = 0 ;
29552 char *kwnames[] = {
29553 (char *) "self", NULL
29554 };
29555
29556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29559 {
29560 PyThreadState* __tstate = wxPyBeginAllowThreads();
29561 result = (bool)(arg1)->EndDrag();
29562
29563 wxPyEndAllowThreads(__tstate);
29564 if (PyErr_Occurred()) SWIG_fail;
29565 }
29566 {
29567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29568 }
29569 return resultobj;
29570 fail:
29571 return NULL;
29572 }
29573
29574
29575 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
29576 PyObject *resultobj;
29577 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29578 wxPoint *arg2 = 0 ;
29579 bool result;
29580 wxPoint temp2 ;
29581 PyObject * obj0 = 0 ;
29582 PyObject * obj1 = 0 ;
29583 char *kwnames[] = {
29584 (char *) "self",(char *) "pt", NULL
29585 };
29586
29587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29590 {
29591 arg2 = &temp2;
29592 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29593 }
29594 {
29595 PyThreadState* __tstate = wxPyBeginAllowThreads();
29596 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29597
29598 wxPyEndAllowThreads(__tstate);
29599 if (PyErr_Occurred()) SWIG_fail;
29600 }
29601 {
29602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29603 }
29604 return resultobj;
29605 fail:
29606 return NULL;
29607 }
29608
29609
29610 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
29611 PyObject *resultobj;
29612 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29613 bool result;
29614 PyObject * obj0 = 0 ;
29615 char *kwnames[] = {
29616 (char *) "self", NULL
29617 };
29618
29619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29622 {
29623 PyThreadState* __tstate = wxPyBeginAllowThreads();
29624 result = (bool)(arg1)->Show();
29625
29626 wxPyEndAllowThreads(__tstate);
29627 if (PyErr_Occurred()) SWIG_fail;
29628 }
29629 {
29630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29631 }
29632 return resultobj;
29633 fail:
29634 return NULL;
29635 }
29636
29637
29638 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
29639 PyObject *resultobj;
29640 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29641 bool result;
29642 PyObject * obj0 = 0 ;
29643 char *kwnames[] = {
29644 (char *) "self", NULL
29645 };
29646
29647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29650 {
29651 PyThreadState* __tstate = wxPyBeginAllowThreads();
29652 result = (bool)(arg1)->Hide();
29653
29654 wxPyEndAllowThreads(__tstate);
29655 if (PyErr_Occurred()) SWIG_fail;
29656 }
29657 {
29658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29659 }
29660 return resultobj;
29661 fail:
29662 return NULL;
29663 }
29664
29665
29666 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
29667 PyObject *resultobj;
29668 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29669 wxPoint *arg2 = 0 ;
29670 wxRect result;
29671 wxPoint temp2 ;
29672 PyObject * obj0 = 0 ;
29673 PyObject * obj1 = 0 ;
29674 char *kwnames[] = {
29675 (char *) "self",(char *) "pos", NULL
29676 };
29677
29678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29681 {
29682 arg2 = &temp2;
29683 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29684 }
29685 {
29686 PyThreadState* __tstate = wxPyBeginAllowThreads();
29687 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29688
29689 wxPyEndAllowThreads(__tstate);
29690 if (PyErr_Occurred()) SWIG_fail;
29691 }
29692 {
29693 wxRect * resultptr;
29694 resultptr = new wxRect((wxRect &) result);
29695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
29696 }
29697 return resultobj;
29698 fail:
29699 return NULL;
29700 }
29701
29702
29703 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
29704 PyObject *resultobj;
29705 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29706 wxDC *arg2 = 0 ;
29707 wxPoint *arg3 = 0 ;
29708 bool result;
29709 wxPoint temp3 ;
29710 PyObject * obj0 = 0 ;
29711 PyObject * obj1 = 0 ;
29712 PyObject * obj2 = 0 ;
29713 char *kwnames[] = {
29714 (char *) "self",(char *) "dc",(char *) "pos", NULL
29715 };
29716
29717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29721 SWIG_POINTER_EXCEPTION | 0)) == -1)
29722 SWIG_fail;
29723 if (arg2 == NULL) {
29724 PyErr_SetString(PyExc_TypeError,"null reference");
29725 SWIG_fail;
29726 }
29727 {
29728 arg3 = &temp3;
29729 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29730 }
29731 {
29732 PyThreadState* __tstate = wxPyBeginAllowThreads();
29733 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29734
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 {
29739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29740 }
29741 return resultobj;
29742 fail:
29743 return NULL;
29744 }
29745
29746
29747 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29748 PyObject *resultobj;
29749 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29750 wxDC *arg2 = 0 ;
29751 wxMemoryDC *arg3 = 0 ;
29752 wxRect *arg4 = 0 ;
29753 wxRect *arg5 = 0 ;
29754 bool result;
29755 wxRect temp4 ;
29756 wxRect temp5 ;
29757 PyObject * obj0 = 0 ;
29758 PyObject * obj1 = 0 ;
29759 PyObject * obj2 = 0 ;
29760 PyObject * obj3 = 0 ;
29761 PyObject * obj4 = 0 ;
29762 char *kwnames[] = {
29763 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29764 };
29765
29766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29770 SWIG_POINTER_EXCEPTION | 0)) == -1)
29771 SWIG_fail;
29772 if (arg2 == NULL) {
29773 PyErr_SetString(PyExc_TypeError,"null reference");
29774 SWIG_fail;
29775 }
29776 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
29777 SWIG_POINTER_EXCEPTION | 0)) == -1)
29778 SWIG_fail;
29779 if (arg3 == NULL) {
29780 PyErr_SetString(PyExc_TypeError,"null reference");
29781 SWIG_fail;
29782 }
29783 {
29784 arg4 = &temp4;
29785 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29786 }
29787 {
29788 arg5 = &temp5;
29789 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29790 }
29791 {
29792 PyThreadState* __tstate = wxPyBeginAllowThreads();
29793 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29794
29795 wxPyEndAllowThreads(__tstate);
29796 if (PyErr_Occurred()) SWIG_fail;
29797 }
29798 {
29799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29800 }
29801 return resultobj;
29802 fail:
29803 return NULL;
29804 }
29805
29806
29807 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
29808 PyObject *resultobj;
29809 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29810 wxPoint *arg2 = 0 ;
29811 wxPoint *arg3 = 0 ;
29812 bool arg4 ;
29813 bool arg5 ;
29814 bool result;
29815 wxPoint temp2 ;
29816 wxPoint temp3 ;
29817 PyObject * obj0 = 0 ;
29818 PyObject * obj1 = 0 ;
29819 PyObject * obj2 = 0 ;
29820 PyObject * obj3 = 0 ;
29821 PyObject * obj4 = 0 ;
29822 char *kwnames[] = {
29823 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29824 };
29825
29826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29829 {
29830 arg2 = &temp2;
29831 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29832 }
29833 {
29834 arg3 = &temp3;
29835 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29836 }
29837 arg4 = (bool) SWIG_AsBool(obj3);
29838 if (PyErr_Occurred()) SWIG_fail;
29839 arg5 = (bool) SWIG_AsBool(obj4);
29840 if (PyErr_Occurred()) SWIG_fail;
29841 {
29842 PyThreadState* __tstate = wxPyBeginAllowThreads();
29843 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29844
29845 wxPyEndAllowThreads(__tstate);
29846 if (PyErr_Occurred()) SWIG_fail;
29847 }
29848 {
29849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29850 }
29851 return resultobj;
29852 fail:
29853 return NULL;
29854 }
29855
29856
29857 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
29858 PyObject *obj;
29859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29860 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29861 Py_INCREF(obj);
29862 return Py_BuildValue((char *)"");
29863 }
29864 static PyMethodDef SwigMethods[] = {
29865 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
29866 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
29867 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29868 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
29869 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
29870 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
29871 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
29872 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
29873 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29874 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29875 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
29876 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
29877 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29878 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
29879 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
29880 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29881 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29882 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
29883 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
29884 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
29885 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
29886 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
29887 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
29888 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29889 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29890 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
29891 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29892 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
29893 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
29894 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
29895 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
29896 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
29897 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
29898 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
29899 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29900 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29901 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29902 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
29903 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
29904 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
29905 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
29906 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29907 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29908 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29909 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
29910 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
29911 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
29912 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29913 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29914 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29915 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
29916 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29917 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
29918 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
29919 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29920 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
29921 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
29922 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
29923 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
29924 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29925 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29926 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29927 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29928 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29929 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29930 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29931 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29932 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
29933 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
29934 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
29935 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
29936 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
29937 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29938 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
29939 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
29940 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
29941 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29942 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29943 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
29944 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
29945 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
29946 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
29947 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29948 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
29949 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29950 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29951 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29952 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29953 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29954 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29955 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
29956 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29957 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29958 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29959 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
29960 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
29961 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29962 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29963 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29964 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
29965 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
29966 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
29967 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29968 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
29969 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
29970 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
29971 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
29972 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
29973 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
29974 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29975 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29976 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
29977 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
29978 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29979 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29980 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29981 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
29982 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
29983 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
29984 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
29985 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
29986 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS, NULL },
29987 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
29988 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
29989 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29990 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29991 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29992 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
29993 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
29994 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29995 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29996 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
29997 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29998 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29999 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
30000 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
30001 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
30002 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30003 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30004 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
30005 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30006 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30007 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30008 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
30009 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
30010 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30011 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30012 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
30013 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
30014 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
30015 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
30016 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30017 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30018 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30019 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30020 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30021 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30022 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
30023 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
30024 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
30025 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
30026 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
30027 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
30028 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
30029 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30030 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30031 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
30032 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
30033 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
30034 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
30035 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
30036 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
30037 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
30038 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
30039 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
30040 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
30041 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
30042 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30043 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30044 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30045 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30046 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30047 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
30048 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30049 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30050 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
30051 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
30052 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
30053 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
30054 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
30055 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
30056 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
30057 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
30058 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
30059 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
30060 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30061 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
30062 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30063 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30064 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30065 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
30066 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
30067 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
30068 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
30069 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
30070 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30071 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30072 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
30073 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
30074 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
30075 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
30076 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
30077 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30078 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30079 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
30080 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30081 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30082 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30083 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30084 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
30085 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
30086 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
30087 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
30088 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30089 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30090 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30091 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30092 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30093 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30094 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30095 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30096 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30097 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
30098 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30099 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30100 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30101 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30102 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30103 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
30104 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30105 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30106 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30107 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30108 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
30109 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30110 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30111 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30112 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
30113 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
30114 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
30115 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30116 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30117 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30118 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30119 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30120 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
30121 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
30122 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
30123 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
30124 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
30125 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
30126 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
30127 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
30128 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
30129 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
30130 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
30131 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
30132 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30133 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30134 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30135 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
30136 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
30137 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
30138 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30139 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30140 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30141 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30142 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30143 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30144 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30145 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30146 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
30147 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30148 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
30149 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30150 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
30151 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
30152 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
30153 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
30154 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
30155 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
30156 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
30157 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
30158 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
30159 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30160 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
30161 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
30162 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
30163 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
30164 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
30165 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
30166 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30167 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
30168 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
30169 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30170 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30171 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30172 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
30173 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
30174 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30175 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
30176 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
30177 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
30178 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
30179 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
30180 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
30181 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30182 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30183 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS, NULL },
30184 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30185 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30186 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30187 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30188 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30189 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS, NULL },
30190 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
30191 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
30192 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30193 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
30194 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
30195 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
30196 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30197 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
30198 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
30199 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30200 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
30201 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
30202 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
30203 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30204 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30205 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
30206 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30207 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
30208 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
30209 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
30210 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
30211 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
30212 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
30213 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
30214 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
30215 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
30216 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
30217 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
30218 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30219 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
30220 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
30221 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
30222 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
30223 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
30224 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30225 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
30226 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
30227 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
30228 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
30229 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30230 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30231 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30232 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30233 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30234 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30235 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
30236 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
30237 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
30238 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30239 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30240 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30241 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30242 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30243 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
30244 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
30245 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30246 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30247 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
30248 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
30249 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
30250 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
30251 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
30252 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
30253 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
30254 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
30255 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
30256 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
30257 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
30258 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
30259 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
30260 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
30261 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
30262 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
30263 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
30264 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
30265 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30266 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30267 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
30268 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
30269 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
30270 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30271 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30272 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30273 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30274 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
30275 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
30276 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
30277 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
30278 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
30279 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
30280 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
30281 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
30282 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
30283 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
30284 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
30285 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
30286 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
30287 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
30288 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
30289 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30290 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
30291 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30292 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
30293 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
30294 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
30295 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30296 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30297 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
30298 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
30299 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30300 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30301 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30302 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30303 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30304 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
30305 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30306 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30307 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30308 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30309 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
30310 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30311 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30312 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
30313 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30314 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
30315 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
30316 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30317 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
30318 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
30319 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
30320 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
30321 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
30322 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30323 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
30324 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30325 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30326 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30327 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
30328 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30329 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30330 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
30331 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
30332 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
30333 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30334 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30335 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
30336 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30337 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30338 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30339 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30340 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30341 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
30342 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
30343 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
30344 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
30345 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
30346 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
30347 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
30348 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
30349 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
30350 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
30351 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
30352 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
30353 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
30354 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
30355 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
30356 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
30357 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
30358 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
30359 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
30360 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
30361 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
30362 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30363 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
30364 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
30365 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
30366 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
30367 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
30368 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
30369 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
30370 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
30371 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
30372 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
30373 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
30374 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
30375 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30376 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30377 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30378 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30379 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
30380 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
30381 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30382 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
30383 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30384 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
30385 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
30386 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
30387 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
30388 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
30389 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30390 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30391 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30392 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30393 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30394 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30395 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30396 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30397 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30398 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30399 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
30400 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
30401 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30402 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30403 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30404 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
30405 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
30406 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30407 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30408 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30409 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30410 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30411 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30412 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
30413 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30414 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30415 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
30416 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30417 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30418 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30419 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30420 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30421 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
30422 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30423 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
30424 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
30425 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30426 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30427 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30428 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL },
30429 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
30430 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
30431 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
30432 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
30433 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
30434 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
30435 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30436 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
30437 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
30438 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30439 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30440 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
30441 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30442 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
30443 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30444 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
30445 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30446 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
30447 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30448 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30449 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30450 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30451 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
30452 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30453 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30454 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30455 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30456 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
30457 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30458 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
30459 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
30460 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
30461 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30462 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
30463 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
30464 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
30465 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30466 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30467 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30468 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
30469 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
30470 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
30471 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
30472 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
30473 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
30474 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
30475 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
30476 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
30477 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
30478 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
30479 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30480 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30481 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
30482 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30483 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
30484 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30485 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
30486 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30487 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30488 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30489 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
30490 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
30491 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30492 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30493 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30494 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
30495 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30496 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30497 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30498 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
30499 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
30500 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
30501 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
30502 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30503 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30504 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30505 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30506 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
30507 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30508 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30509 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30510 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30511 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30512 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30513 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30514 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30515 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30516 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30517 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30518 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30519 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30520 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
30521 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30522 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30523 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30524 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30525 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30526 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30527 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
30528 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30529 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
30530 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30531 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30532 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30533 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30534 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30535 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
30536 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30537 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
30538 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
30539 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
30540 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30541 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
30542 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
30543 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
30544 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
30545 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
30546 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
30547 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
30548 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
30549 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30550 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30551 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
30552 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
30553 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
30554 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
30555 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
30556 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
30557 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30558 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
30559 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
30560 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
30561 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
30562 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
30563 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
30564 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
30565 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
30566 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
30567 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30568 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30569 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
30570 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30571 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
30572 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30573 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30574 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
30575 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
30576 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30577 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30578 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30579 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
30580 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
30581 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
30582 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
30583 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
30584 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
30585 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
30586 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
30587 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
30588 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
30589 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30590 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30591 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
30592 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30593 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30594 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
30595 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
30596 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
30597 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
30598 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30599 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30600 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30601 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
30602 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
30603 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
30604 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL },
30605 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30606 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30607 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
30608 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
30609 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
30610 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
30611 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
30612 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30613 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
30614 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
30615 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
30616 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30617 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30618 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
30619 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
30620 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
30621 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
30622 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
30623 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
30624 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
30625 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
30626 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
30627 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30628 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30629 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30630 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
30631 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
30632 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
30633 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
30634 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
30635 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30636 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30637 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30638 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30639 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
30640 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
30641 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
30642 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
30643 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
30644 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30645 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30646 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30647 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
30648 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30649 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30650 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
30651 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
30652 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
30653 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
30654 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
30655 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
30656 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
30657 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30658 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
30659 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30660 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
30661 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
30662 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
30663 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
30664 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
30665 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
30666 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
30667 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
30668 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30669 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
30670 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
30671 { NULL, NULL, 0, NULL }
30672 };
30673
30674
30675 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30676
30677 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30678 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30679 }
30680 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30681 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30682 }
30683 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30684 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30685 }
30686 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30687 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30688 }
30689 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30690 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30691 }
30692 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30693 return (void *)((wxSizer *) ((wxGridSizer *) x));
30694 }
30695 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30696 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30697 }
30698 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30699 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30700 }
30701 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30702 return (void *)((wxSizer *) ((wxPySizer *) x));
30703 }
30704 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30705 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30706 }
30707 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30708 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30709 }
30710 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30711 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30712 }
30713 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30714 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30715 }
30716 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30717 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30718 }
30719 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30720 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30721 }
30722 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30723 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30724 }
30725 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30726 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30727 }
30728 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30729 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30730 }
30731 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30732 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30733 }
30734 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30735 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30736 }
30737 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30738 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30739 }
30740 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30741 return (void *)((wxEvent *) ((wxPyEvent *) x));
30742 }
30743 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30744 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30745 }
30746 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30747 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30748 }
30749 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30750 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30751 }
30752 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30753 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30754 }
30755 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30756 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30757 }
30758 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30759 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30760 }
30761 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30762 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30763 }
30764 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30765 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30766 }
30767 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30768 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30769 }
30770 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30771 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30772 }
30773 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30774 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30775 }
30776 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30777 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30778 }
30779 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30780 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30781 }
30782 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30783 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30784 }
30785 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30786 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30787 }
30788 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30789 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30790 }
30791 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30792 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30793 }
30794 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30795 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30796 }
30797 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30798 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30799 }
30800 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30801 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30802 }
30803 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30804 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30805 }
30806 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30807 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30808 }
30809 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30810 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30811 }
30812 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30813 return (void *)((wxEvent *) ((wxShowEvent *) x));
30814 }
30815 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30816 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30817 }
30818 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30819 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30820 }
30821 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30822 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30823 }
30824 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30825 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30826 }
30827 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30828 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30829 }
30830 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30831 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30832 }
30833 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30834 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30835 }
30836 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30837 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30838 }
30839 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30840 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30841 }
30842 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30843 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30844 }
30845 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30846 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30847 }
30848 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30849 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30850 }
30851 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30852 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30853 }
30854 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30855 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30856 }
30857 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30858 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30859 }
30860 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30861 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30862 }
30863 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30864 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30865 }
30866 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30867 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30868 }
30869 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30870 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30871 }
30872 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30873 return (void *)((wxControl *) ((wxComboBox *) x));
30874 }
30875 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30876 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30877 }
30878 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30879 return (void *)((wxControl *) ((wxStaticBox *) x));
30880 }
30881 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30882 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30883 }
30884 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30885 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30886 }
30887 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30888 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30889 }
30890 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30891 return (void *)((wxControl *) ((wxScrollBar *) x));
30892 }
30893 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30894 return (void *)((wxControl *) ((wxBookCtrl *) x));
30895 }
30896 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30897 return (void *)((wxControl *) ((wxRadioButton *) x));
30898 }
30899 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30900 return (void *)((wxControl *) ((wxToggleButton *) x));
30901 }
30902 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30903 return (void *)((wxControl *) ((wxGauge *) x));
30904 }
30905 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30906 return (void *)((wxControl *) ((wxToolBarBase *) x));
30907 }
30908 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30909 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30910 }
30911 static void *_p_wxButtonTo_p_wxControl(void *x) {
30912 return (void *)((wxControl *) ((wxButton *) x));
30913 }
30914 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30915 return (void *)((wxControl *) ((wxSpinButton *) x));
30916 }
30917 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30918 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30919 }
30920 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30921 return (void *)((wxControl *) ((wxControlWithItems *) x));
30922 }
30923 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30924 return (void *)((wxControl *) ((wxRadioBox *) x));
30925 }
30926 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30927 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30928 }
30929 static void *_p_wxListbookTo_p_wxControl(void *x) {
30930 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30931 }
30932 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30933 return (void *)((wxControl *) ((wxCheckBox *) x));
30934 }
30935 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30936 return (void *)((wxControl *) ((wxTextCtrl *) x));
30937 }
30938 static void *_p_wxListViewTo_p_wxControl(void *x) {
30939 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30940 }
30941 static void *_p_wxSliderTo_p_wxControl(void *x) {
30942 return (void *)((wxControl *) ((wxSlider *) x));
30943 }
30944 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30945 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30946 }
30947 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30948 return (void *)((wxControl *) ((wxPyControl *) x));
30949 }
30950 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30951 return (void *)((wxControl *) ((wxStaticLine *) x));
30952 }
30953 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30954 return (void *)((wxControl *) ((wxStaticText *) x));
30955 }
30956 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30957 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30958 }
30959 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30960 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30961 }
30962 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30963 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30964 }
30965 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30966 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30967 }
30968 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30969 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30970 }
30971 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30972 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30973 }
30974 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30975 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30976 }
30977 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30978 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30979 }
30980 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30981 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30982 }
30983 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30984 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30985 }
30986 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30987 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30988 }
30989 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30990 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30991 }
30992 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30993 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30994 }
30995 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30996 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30997 }
30998 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30999 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31000 }
31001 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31002 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31003 }
31004 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31005 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31006 }
31007 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31008 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31009 }
31010 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31011 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31012 }
31013 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31014 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31015 }
31016 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31017 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
31018 }
31019 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31020 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31021 }
31022 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31023 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31024 }
31025 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31026 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31027 }
31028 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31029 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31030 }
31031 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31032 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31033 }
31034 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31035 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31036 }
31037 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31038 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31039 }
31040 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31041 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31042 }
31043 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31044 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31045 }
31046 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31047 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31048 }
31049 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31050 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31051 }
31052 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31053 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31054 }
31055 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31056 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31057 }
31058 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31059 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31060 }
31061 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31062 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31063 }
31064 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31065 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31066 }
31067 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31068 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31069 }
31070 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31071 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31072 }
31073 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31074 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31075 }
31076 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31077 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31078 }
31079 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31080 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31081 }
31082 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31083 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31084 }
31085 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31086 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31087 }
31088 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31089 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31090 }
31091 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31092 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31093 }
31094 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31095 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31096 }
31097 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31098 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31099 }
31100 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31101 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31102 }
31103 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31104 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31105 }
31106 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31107 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31108 }
31109 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31110 return (void *)((wxButton *) ((wxBitmapButton *) x));
31111 }
31112 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31113 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31114 }
31115 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31116 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31117 }
31118 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31119 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31120 }
31121 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31122 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31123 }
31124 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31125 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31126 }
31127 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31128 return (void *)((wxObject *) ((wxSizerItem *) x));
31129 }
31130 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31131 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31132 }
31133 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31134 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31135 }
31136 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31138 }
31139 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31140 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31141 }
31142 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31143 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31144 }
31145 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31146 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31147 }
31148 static void *_p_wxSizerTo_p_wxObject(void *x) {
31149 return (void *)((wxObject *) ((wxSizer *) x));
31150 }
31151 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31152 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31153 }
31154 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31156 }
31157 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31159 }
31160 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31161 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31162 }
31163 static void *_p_wxEventTo_p_wxObject(void *x) {
31164 return (void *)((wxObject *) ((wxEvent *) x));
31165 }
31166 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31167 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31168 }
31169 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31170 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31171 }
31172 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31173 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31174 }
31175 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31177 }
31178 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31180 }
31181 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31183 }
31184 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31185 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31186 }
31187 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31188 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31189 }
31190 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31191 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31192 }
31193 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31194 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31195 }
31196 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31197 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31198 }
31199 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31200 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31201 }
31202 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31204 }
31205 static void *_p_wxControlTo_p_wxObject(void *x) {
31206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31207 }
31208 static void *_p_wxPyControlTo_p_wxObject(void *x) {
31209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31210 }
31211 static void *_p_wxGaugeTo_p_wxObject(void *x) {
31212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31213 }
31214 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31216 }
31217 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31219 }
31220 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31222 }
31223 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31224 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31225 }
31226 static void *_p_wxChoiceTo_p_wxObject(void *x) {
31227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31228 }
31229 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31230 return (void *)((wxObject *) ((wxFSFile *) x));
31231 }
31232 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31233 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31234 }
31235 static void *_p_wxListViewTo_p_wxObject(void *x) {
31236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31237 }
31238 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31240 }
31241 static void *_p_wxNotebookTo_p_wxObject(void *x) {
31242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31243 }
31244 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31245 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31246 }
31247 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31248 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31249 }
31250 static void *_p_wxListbookTo_p_wxObject(void *x) {
31251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31252 }
31253 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31254 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31255 }
31256 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31258 }
31259 static void *_p_wxSliderTo_p_wxObject(void *x) {
31260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31261 }
31262 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31263 return (void *)((wxObject *) ((wxMenuItem *) x));
31264 }
31265 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31266 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31267 }
31268 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31269 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31270 }
31271 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31272 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31273 }
31274 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31275 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31276 }
31277 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31278 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31279 }
31280 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31281 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31282 }
31283 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31284 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31285 }
31286 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31287 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31288 }
31289 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31291 }
31292 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31293 return (void *)((wxObject *) ((wxContextHelp *) x));
31294 }
31295 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31296 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31297 }
31298 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31299 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31300 }
31301 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31302 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31303 }
31304 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31305 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31306 }
31307 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31308 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31309 }
31310 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31311 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31312 }
31313 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31314 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31315 }
31316 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31317 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31318 }
31319 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31320 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31321 }
31322 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31323 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31324 }
31325 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31326 return (void *)((wxObject *) ((wxImageHandler *) x));
31327 }
31328 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31329 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31330 }
31331 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31332 return (void *)((wxObject *) ((wxEvtHandler *) x));
31333 }
31334 static void *_p_wxListEventTo_p_wxObject(void *x) {
31335 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31336 }
31337 static void *_p_wxListBoxTo_p_wxObject(void *x) {
31338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31339 }
31340 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31342 }
31343 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31345 }
31346 static void *_p_wxButtonTo_p_wxObject(void *x) {
31347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31348 }
31349 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31351 }
31352 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31354 }
31355 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31357 }
31358 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31359 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31360 }
31361 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31363 }
31364 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31366 }
31367 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31369 }
31370 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31371 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31372 }
31373 static void *_p_wxListItemTo_p_wxObject(void *x) {
31374 return (void *)((wxObject *) ((wxListItem *) x));
31375 }
31376 static void *_p_wxImageTo_p_wxObject(void *x) {
31377 return (void *)((wxObject *) ((wxImage *) x));
31378 }
31379 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31380 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31381 }
31382 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31383 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31384 }
31385 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31386 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31387 }
31388 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31389 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31390 }
31391 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31393 }
31394 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31395 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31396 }
31397 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31399 }
31400 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31401 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31402 }
31403 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31404 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31405 }
31406 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31407 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31408 }
31409 static void *_p_wxWindowTo_p_wxObject(void *x) {
31410 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31411 }
31412 static void *_p_wxMenuTo_p_wxObject(void *x) {
31413 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31414 }
31415 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31416 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31417 }
31418 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31419 return (void *)((wxObject *) ((wxFileSystem *) x));
31420 }
31421 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31422 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31423 }
31424 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31425 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31426 }
31427 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31428 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31429 }
31430 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31431 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31432 }
31433 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31434 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31435 }
31436 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31437 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31438 }
31439 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31440 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31441 }
31442 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31443 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31444 }
31445 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31446 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31447 }
31448 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31449 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31450 }
31451 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31452 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31453 }
31454 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31455 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31456 }
31457 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31458 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31459 }
31460 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31462 }
31463 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31464 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31465 }
31466 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31468 }
31469 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31470 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31471 }
31472 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31473 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31474 }
31475 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31476 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31477 }
31478 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31479 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31480 }
31481 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31482 return (void *)((wxWindow *) ((wxMenuBar *) x));
31483 }
31484 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31485 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31486 }
31487 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31488 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31489 }
31490 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31491 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31492 }
31493 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31494 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31495 }
31496 static void *_p_wxControlTo_p_wxWindow(void *x) {
31497 return (void *)((wxWindow *) ((wxControl *) x));
31498 }
31499 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31500 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31501 }
31502 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31503 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31504 }
31505 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31506 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31507 }
31508 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31509 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31510 }
31511 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31512 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31513 }
31514 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31515 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31516 }
31517 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31518 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31519 }
31520 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31521 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31522 }
31523 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31524 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31525 }
31526 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31527 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31528 }
31529 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31530 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31531 }
31532 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31533 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31534 }
31535 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31536 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31537 }
31538 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31539 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31540 }
31541 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31542 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31543 }
31544 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31545 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31546 }
31547 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31548 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31549 }
31550 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31551 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31552 }
31553 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31554 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31555 }
31556 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31557 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31558 }
31559 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31560 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31561 }
31562 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31563 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31564 }
31565 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31566 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31567 }
31568 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31569 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31570 }
31571 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31572 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31573 }
31574 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31575 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31576 }
31577 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31578 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31579 }
31580 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31581 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31582 }
31583 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31584 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31585 }
31586 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31587 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31588 }
31589 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31590 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31591 }
31592 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31593 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31594 }
31595 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31596 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31597 }
31598 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31599 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31600 }
31601 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31602 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31603 }
31604 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31605 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31606 }
31607 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31608 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31609 }
31610 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31611 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31612 }
31613 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31614 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31615 }
31616 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31617 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31618 }
31619 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31620 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31621 }
31622 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31623 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31624 }
31625 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31626 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31627 }
31628 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31629 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31630 }
31631 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31632 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31633 }
31634 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31635 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31636 }
31637 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31638 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31639 }
31640 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31641 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31642 }
31643 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31644 return (void *)((wxValidator *) ((wxPyValidator *) x));
31645 }
31646 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}};
31647 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}};
31648 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}};
31649 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}};
31650 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}};
31651 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}};
31652 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}};
31653 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}};
31654 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}};
31655 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}};
31656 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}};
31657 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}};
31658 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}};
31659 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}};
31660 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}};
31661 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}};
31662 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}};
31663 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}};
31664 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}};
31665 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}};
31666 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31667 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}};
31668 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}};
31669 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}};
31670 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}};
31671 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}};
31672 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}};
31673 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}};
31674 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}};
31675 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}};
31676 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}};
31677 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}};
31678 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}};
31679 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}};
31680 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}};
31681 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}};
31682 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}};
31683 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}};
31684 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}};
31685 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}};
31686 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}};
31687 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}};
31688 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}};
31689 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}};
31690 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}};
31691 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}};
31692 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}};
31693 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}};
31694 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}};
31695 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}};
31696 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}};
31697 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}};
31698 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}};
31699 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}};
31700 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}};
31701 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}};
31702 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}};
31703 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}};
31704 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}};
31705 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}};
31706 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}};
31707 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}};
31708 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}};
31709 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}};
31710 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}};
31711 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}};
31712 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}};
31713 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}};
31714 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}};
31715 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}};
31716 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}};
31717 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}};
31718 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}};
31719 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}};
31720 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}};
31721 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}};
31722 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}};
31723 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}};
31724 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31725 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}};
31726 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}};
31727 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}};
31728 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}};
31729 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}};
31730
31731 static swig_type_info *swig_types_initial[] = {
31732 _swigt__p_wxTextUrlEvent,
31733 _swigt__p_wxBookCtrlEvent,
31734 _swigt__p_wxSizer,
31735 _swigt__p_wxCheckBox,
31736 _swigt__p_wxPyTreeCtrl,
31737 _swigt__p_wxEvent,
31738 _swigt__p_wxGenericDirCtrl,
31739 _swigt__p_bool,
31740 _swigt__p_wxPyTreeItemData,
31741 _swigt__p_wxItemContainer,
31742 _swigt__p_wxDirFilterListCtrl,
31743 _swigt__p_wxPyListCtrl,
31744 _swigt__p_wxStaticLine,
31745 _swigt__p_wxControl,
31746 _swigt__p_wxPyControl,
31747 _swigt__p_wxGauge,
31748 _swigt__p_wxToolBarBase,
31749 _swigt__p_wxFont,
31750 _swigt__p_wxToggleButton,
31751 _swigt__p_wxRadioButton,
31752 _swigt__p_wxChoice,
31753 _swigt__p_wxMemoryDC,
31754 _swigt__p_wxListItemAttr,
31755 _swigt__p_void,
31756 _swigt__p_int,
31757 _swigt__p_wxSize,
31758 _swigt__p_wxDC,
31759 _swigt__p_wxListView,
31760 _swigt__p_wxIcon,
31761 _swigt__p_wxTextCtrl,
31762 _swigt__p_wxNotebook,
31763 _swigt__p_wxNotifyEvent,
31764 _swigt__p_wxArrayString,
31765 _swigt__p_wxListbook,
31766 _swigt__p_wxStaticBitmap,
31767 _swigt__p_wxSlider,
31768 _swigt__p_wxStaticBox,
31769 _swigt__p_wxArrayInt,
31770 _swigt__p_wxContextHelp,
31771 _swigt__p_long,
31772 _swigt__p_wxEvtHandler,
31773 _swigt__p_wxListEvent,
31774 _swigt__p_wxListBox,
31775 _swigt__p_wxCheckListBox,
31776 _swigt__p_wxBookCtrl,
31777 _swigt__p_wxSpinButton,
31778 _swigt__p_wxButton,
31779 _swigt__p_wxBitmapButton,
31780 _swigt__p_wxRect,
31781 _swigt__p_wxContextHelpButton,
31782 _swigt__p_wxRadioBox,
31783 _swigt__p_wxScrollBar,
31784 _swigt__p_char,
31785 _swigt__p_wxTreeItemId,
31786 _swigt__p_wxComboBox,
31787 _swigt__p_wxHelpEvent,
31788 _swigt__p_wxListItem,
31789 _swigt__p_wxNotebookSizer,
31790 _swigt__p_wxSpinEvent,
31791 _swigt__p_wxGenericDragImage,
31792 _swigt__p_wxSpinCtrl,
31793 _swigt__p_wxImageList,
31794 _swigt__p_wxHelpProvider,
31795 _swigt__p_wxTextAttr,
31796 _swigt__p_wxSimpleHelpProvider,
31797 _swigt__p_wxPoint,
31798 _swigt__p_wxListbookEvent,
31799 _swigt__p_wxNotebookEvent,
31800 _swigt__p_wxObject,
31801 _swigt__p_wxCursor,
31802 _swigt__p_wxKeyEvent,
31803 _swigt__p_wxWindow,
31804 _swigt__p_wxString,
31805 _swigt__p_wxBitmap,
31806 _swigt__p_wxTreeEvent,
31807 _swigt__p_wxMouseEvent,
31808 _swigt__p_wxCommandEvent,
31809 _swigt__p_wxStaticText,
31810 _swigt__p_wxControlWithItems,
31811 _swigt__p_wxToolBarToolBase,
31812 _swigt__p_wxColour,
31813 _swigt__p_wxToolBar,
31814 _swigt__p_wxBookCtrlSizer,
31815 _swigt__p_wxValidator,
31816 0
31817 };
31818
31819
31820 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31821
31822 static swig_const_info swig_const_table[] = {
31823 {0, 0, 0, 0.0, 0, 0}};
31824
31825 #ifdef __cplusplus
31826 }
31827 #endif
31828
31829 #ifdef __cplusplus
31830 extern "C"
31831 #endif
31832 SWIGEXPORT(void) SWIG_init(void) {
31833 static PyObject *SWIG_globals = 0;
31834 static int typeinit = 0;
31835 PyObject *m, *d;
31836 int i;
31837 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31838 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31839 d = PyModule_GetDict(m);
31840
31841 if (!typeinit) {
31842 for (i = 0; swig_types_initial[i]; i++) {
31843 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31844 }
31845 typeinit = 1;
31846 }
31847 SWIG_InstallConstants(d,swig_const_table);
31848
31849 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31850 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31851 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
31852 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
31853 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
31854 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
31855 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
31856 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
31857 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31858 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
31859 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
31860 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31861 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
31862 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
31863 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
31864 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31865 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31866 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31867 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
31868 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
31869 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
31870 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
31871 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31872 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31873 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31874 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31875 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31876 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
31877 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
31878 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
31879 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
31880 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
31881 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
31882 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
31883 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
31884 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
31885 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
31886 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
31887 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
31888 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
31889 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
31890 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
31891 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
31892 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
31893 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
31894 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31895 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31896 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31897 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31898 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31899 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31900 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31901 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31902 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31903 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31904 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31905 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31906 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31907 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
31908 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31909 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31910 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31911 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
31912 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
31913 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
31914 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
31915 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
31916 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
31917 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31918 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31919 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31920 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31921 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31922 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31923 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31924 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
31925 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
31926 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
31927 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
31928 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31929 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31930 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31931 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31932 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31933 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31934 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31935 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
31936 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
31937 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
31938 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
31939 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
31940 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
31941 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
31942 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
31943 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
31944 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
31945 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31946 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31947 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
31948 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
31949 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
31950 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
31951 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
31952 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
31953 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31954 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31955 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
31956 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31957 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
31958 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
31959 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
31960 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
31961 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
31962 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
31963 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
31964 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
31965 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
31966 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
31967 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
31968 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
31969 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31970 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
31971 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
31972 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
31973 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
31974 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
31975 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
31976 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
31977 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
31978 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
31979 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
31980 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
31981 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
31982 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
31983 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
31984 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
31985 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
31986 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
31987 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
31988 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
31989 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
31990 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
31991 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
31992 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
31993 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
31994 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
31995 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
31996 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
31997 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
31998 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
31999 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32000 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32001 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32002 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32003 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32004 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32005 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32006 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32007 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32008 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32009 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32010 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32011 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32012 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32013 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32014 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32015 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32016 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32017 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32018 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32019 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32020 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32021 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32022 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32023 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32024 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32025 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32026 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32027 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32028 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32029 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32030 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32031 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32032 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32033 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32034 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32035 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32036 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32037 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
32038 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32039 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32040 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32041 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32042 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32043 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32044 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32045 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32046 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32047 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32048 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32049 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32050 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32051 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32052 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32053 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32054 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32055 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32056 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32057 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32058 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32059 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32060
32061 // Map renamed classes back to their common name for OOR
32062 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32063
32064 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
32065 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32066 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32067 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32068 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32069 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32070 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32071 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32072 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32073 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32074 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32075 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32076 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32077 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32078 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32079 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32080 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32081 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32082 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32083 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32084 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32085 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32086 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32087 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32088 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32089 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32090 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32091 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32092 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32093 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32094 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32095 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32096 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32097 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32098 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32099 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
32100 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32101 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32102 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32103 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32104 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32105 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32106 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32107 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32108 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32109 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32110 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32111 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32112 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32113 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32114 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32115 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32116 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32117 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32118 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
32119 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
32120
32121 // Map renamed classes back to their common name for OOR
32122 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32123 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32124
32125 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
32126 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32127 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32128 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32129 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32130 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32131 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32132 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
32133 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32134 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
32135
32136 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32137
32138 }
32139