]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
Fixed the readme
[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
966 PYPRIVATE;
967 };
968
969 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
970
971 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
972 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
973 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
975
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
979
980 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
981 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
982
983 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
984 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
985 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
986 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
987
988 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
989 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
991
992 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
994
995 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
996
997
998
999 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1000
1001 #include <wx/generic/dragimgg.h>
1002
1003 #ifdef __cplusplus
1004 extern "C" {
1005 #endif
1006 static int _wrap_ButtonNameStr_set(PyObject *) {
1007 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1008 return 1;
1009 }
1010
1011
1012 static PyObject *_wrap_ButtonNameStr_get() {
1013 PyObject *pyobj;
1014
1015 {
1016 #if wxUSE_UNICODE
1017 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1018 #else
1019 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1020 #endif
1021 }
1022 return pyobj;
1023 }
1024
1025
1026 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
1027 PyObject *resultobj;
1028 wxWindow *arg1 = (wxWindow *) 0 ;
1029 int arg2 ;
1030 wxString *arg3 = 0 ;
1031 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1032 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1033 wxSize const &arg5_defvalue = wxDefaultSize ;
1034 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1035 long arg6 = (long) 0 ;
1036 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1037 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1038 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1039 wxString *arg8 = (wxString *) &arg8_defvalue ;
1040 wxButton *result;
1041 bool temp3 = False ;
1042 wxPoint temp4 ;
1043 wxSize temp5 ;
1044 bool temp8 = False ;
1045 PyObject * obj0 = 0 ;
1046 PyObject * obj1 = 0 ;
1047 PyObject * obj2 = 0 ;
1048 PyObject * obj3 = 0 ;
1049 PyObject * obj4 = 0 ;
1050 PyObject * obj5 = 0 ;
1051 PyObject * obj6 = 0 ;
1052 PyObject * obj7 = 0 ;
1053 char *kwnames[] = {
1054 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1055 };
1056
1057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1060 arg2 = (int) SWIG_AsInt(obj1);
1061 if (PyErr_Occurred()) SWIG_fail;
1062 {
1063 arg3 = wxString_in_helper(obj2);
1064 if (arg3 == NULL) SWIG_fail;
1065 temp3 = True;
1066 }
1067 if (obj3) {
1068 {
1069 arg4 = &temp4;
1070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1071 }
1072 }
1073 if (obj4) {
1074 {
1075 arg5 = &temp5;
1076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1077 }
1078 }
1079 if (obj5) {
1080 arg6 = (long) SWIG_AsLong(obj5);
1081 if (PyErr_Occurred()) SWIG_fail;
1082 }
1083 if (obj6) {
1084 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1085 SWIG_POINTER_EXCEPTION | 0)) == -1)
1086 SWIG_fail;
1087 if (arg7 == NULL) {
1088 PyErr_SetString(PyExc_TypeError,"null reference");
1089 SWIG_fail;
1090 }
1091 }
1092 if (obj7) {
1093 {
1094 arg8 = wxString_in_helper(obj7);
1095 if (arg8 == NULL) SWIG_fail;
1096 temp8 = True;
1097 }
1098 }
1099 {
1100 PyThreadState* __tstate = wxPyBeginAllowThreads();
1101 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1102
1103 wxPyEndAllowThreads(__tstate);
1104 if (PyErr_Occurred()) SWIG_fail;
1105 }
1106 {
1107 resultobj = wxPyMake_wxObject(result);
1108 }
1109 {
1110 if (temp3)
1111 delete arg3;
1112 }
1113 {
1114 if (temp8)
1115 delete arg8;
1116 }
1117 return resultobj;
1118 fail:
1119 {
1120 if (temp3)
1121 delete arg3;
1122 }
1123 {
1124 if (temp8)
1125 delete arg8;
1126 }
1127 return NULL;
1128 }
1129
1130
1131 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
1132 PyObject *resultobj;
1133 wxButton *result;
1134 char *kwnames[] = {
1135 NULL
1136 };
1137
1138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1139 {
1140 PyThreadState* __tstate = wxPyBeginAllowThreads();
1141 result = (wxButton *)new wxButton();
1142
1143 wxPyEndAllowThreads(__tstate);
1144 if (PyErr_Occurred()) SWIG_fail;
1145 }
1146 {
1147 resultobj = wxPyMake_wxObject(result);
1148 }
1149 return resultobj;
1150 fail:
1151 return NULL;
1152 }
1153
1154
1155 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1156 PyObject *resultobj;
1157 wxButton *arg1 = (wxButton *) 0 ;
1158 wxWindow *arg2 = (wxWindow *) 0 ;
1159 int arg3 ;
1160 wxString *arg4 = 0 ;
1161 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1162 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1163 wxSize const &arg6_defvalue = wxDefaultSize ;
1164 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1165 long arg7 = (long) 0 ;
1166 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1167 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1168 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1169 wxString *arg9 = (wxString *) &arg9_defvalue ;
1170 bool result;
1171 bool temp4 = False ;
1172 wxPoint temp5 ;
1173 wxSize temp6 ;
1174 bool temp9 = False ;
1175 PyObject * obj0 = 0 ;
1176 PyObject * obj1 = 0 ;
1177 PyObject * obj2 = 0 ;
1178 PyObject * obj3 = 0 ;
1179 PyObject * obj4 = 0 ;
1180 PyObject * obj5 = 0 ;
1181 PyObject * obj6 = 0 ;
1182 PyObject * obj7 = 0 ;
1183 PyObject * obj8 = 0 ;
1184 char *kwnames[] = {
1185 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1186 };
1187
1188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1193 arg3 = (int) SWIG_AsInt(obj2);
1194 if (PyErr_Occurred()) SWIG_fail;
1195 {
1196 arg4 = wxString_in_helper(obj3);
1197 if (arg4 == NULL) SWIG_fail;
1198 temp4 = True;
1199 }
1200 if (obj4) {
1201 {
1202 arg5 = &temp5;
1203 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1204 }
1205 }
1206 if (obj5) {
1207 {
1208 arg6 = &temp6;
1209 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1210 }
1211 }
1212 if (obj6) {
1213 arg7 = (long) SWIG_AsLong(obj6);
1214 if (PyErr_Occurred()) SWIG_fail;
1215 }
1216 if (obj7) {
1217 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1218 SWIG_POINTER_EXCEPTION | 0)) == -1)
1219 SWIG_fail;
1220 if (arg8 == NULL) {
1221 PyErr_SetString(PyExc_TypeError,"null reference");
1222 SWIG_fail;
1223 }
1224 }
1225 if (obj8) {
1226 {
1227 arg9 = wxString_in_helper(obj8);
1228 if (arg9 == NULL) SWIG_fail;
1229 temp9 = True;
1230 }
1231 }
1232 {
1233 PyThreadState* __tstate = wxPyBeginAllowThreads();
1234 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1235
1236 wxPyEndAllowThreads(__tstate);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 }
1239 {
1240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1241 }
1242 {
1243 if (temp4)
1244 delete arg4;
1245 }
1246 {
1247 if (temp9)
1248 delete arg9;
1249 }
1250 return resultobj;
1251 fail:
1252 {
1253 if (temp4)
1254 delete arg4;
1255 }
1256 {
1257 if (temp9)
1258 delete arg9;
1259 }
1260 return NULL;
1261 }
1262
1263
1264 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
1265 PyObject *resultobj;
1266 wxButton *arg1 = (wxButton *) 0 ;
1267 PyObject * obj0 = 0 ;
1268 char *kwnames[] = {
1269 (char *) "self", NULL
1270 };
1271
1272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1275 {
1276 PyThreadState* __tstate = wxPyBeginAllowThreads();
1277 (arg1)->SetDefault();
1278
1279 wxPyEndAllowThreads(__tstate);
1280 if (PyErr_Occurred()) SWIG_fail;
1281 }
1282 Py_INCREF(Py_None); resultobj = Py_None;
1283 return resultobj;
1284 fail:
1285 return NULL;
1286 }
1287
1288
1289 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
1290 PyObject *resultobj;
1291 wxSize result;
1292 char *kwnames[] = {
1293 NULL
1294 };
1295
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1297 {
1298 PyThreadState* __tstate = wxPyBeginAllowThreads();
1299 result = wxButton::GetDefaultSize();
1300
1301 wxPyEndAllowThreads(__tstate);
1302 if (PyErr_Occurred()) SWIG_fail;
1303 }
1304 {
1305 wxSize * resultptr;
1306 resultptr = new wxSize((wxSize &) result);
1307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1308 }
1309 return resultobj;
1310 fail:
1311 return NULL;
1312 }
1313
1314
1315 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
1316 PyObject *obj;
1317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1318 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1319 Py_INCREF(obj);
1320 return Py_BuildValue((char *)"");
1321 }
1322 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1323 PyObject *resultobj;
1324 wxWindow *arg1 = (wxWindow *) 0 ;
1325 int arg2 ;
1326 wxBitmap *arg3 = 0 ;
1327 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1328 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1329 wxSize const &arg5_defvalue = wxDefaultSize ;
1330 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1331 long arg6 = (long) wxBU_AUTODRAW ;
1332 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1333 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1334 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1335 wxString *arg8 = (wxString *) &arg8_defvalue ;
1336 wxBitmapButton *result;
1337 wxPoint temp4 ;
1338 wxSize temp5 ;
1339 bool temp8 = False ;
1340 PyObject * obj0 = 0 ;
1341 PyObject * obj1 = 0 ;
1342 PyObject * obj2 = 0 ;
1343 PyObject * obj3 = 0 ;
1344 PyObject * obj4 = 0 ;
1345 PyObject * obj5 = 0 ;
1346 PyObject * obj6 = 0 ;
1347 PyObject * obj7 = 0 ;
1348 char *kwnames[] = {
1349 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1350 };
1351
1352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1355 arg2 = (int) SWIG_AsInt(obj1);
1356 if (PyErr_Occurred()) SWIG_fail;
1357 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1358 SWIG_POINTER_EXCEPTION | 0)) == -1)
1359 SWIG_fail;
1360 if (arg3 == NULL) {
1361 PyErr_SetString(PyExc_TypeError,"null reference");
1362 SWIG_fail;
1363 }
1364 if (obj3) {
1365 {
1366 arg4 = &temp4;
1367 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1368 }
1369 }
1370 if (obj4) {
1371 {
1372 arg5 = &temp5;
1373 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1374 }
1375 }
1376 if (obj5) {
1377 arg6 = (long) SWIG_AsLong(obj5);
1378 if (PyErr_Occurred()) SWIG_fail;
1379 }
1380 if (obj6) {
1381 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1382 SWIG_POINTER_EXCEPTION | 0)) == -1)
1383 SWIG_fail;
1384 if (arg7 == NULL) {
1385 PyErr_SetString(PyExc_TypeError,"null reference");
1386 SWIG_fail;
1387 }
1388 }
1389 if (obj7) {
1390 {
1391 arg8 = wxString_in_helper(obj7);
1392 if (arg8 == NULL) SWIG_fail;
1393 temp8 = True;
1394 }
1395 }
1396 {
1397 PyThreadState* __tstate = wxPyBeginAllowThreads();
1398 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1399
1400 wxPyEndAllowThreads(__tstate);
1401 if (PyErr_Occurred()) SWIG_fail;
1402 }
1403 {
1404 resultobj = wxPyMake_wxObject(result);
1405 }
1406 {
1407 if (temp8)
1408 delete arg8;
1409 }
1410 return resultobj;
1411 fail:
1412 {
1413 if (temp8)
1414 delete arg8;
1415 }
1416 return NULL;
1417 }
1418
1419
1420 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1421 PyObject *resultobj;
1422 wxBitmapButton *result;
1423 char *kwnames[] = {
1424 NULL
1425 };
1426
1427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1428 {
1429 PyThreadState* __tstate = wxPyBeginAllowThreads();
1430 result = (wxBitmapButton *)new wxBitmapButton();
1431
1432 wxPyEndAllowThreads(__tstate);
1433 if (PyErr_Occurred()) SWIG_fail;
1434 }
1435 {
1436 resultobj = wxPyMake_wxObject(result);
1437 }
1438 return resultobj;
1439 fail:
1440 return NULL;
1441 }
1442
1443
1444 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1445 PyObject *resultobj;
1446 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1447 wxWindow *arg2 = (wxWindow *) 0 ;
1448 int arg3 ;
1449 wxBitmap *arg4 = 0 ;
1450 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1451 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1452 wxSize const &arg6_defvalue = wxDefaultSize ;
1453 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1454 long arg7 = (long) wxBU_AUTODRAW ;
1455 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1456 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1457 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1458 wxString *arg9 = (wxString *) &arg9_defvalue ;
1459 bool result;
1460 wxPoint temp5 ;
1461 wxSize temp6 ;
1462 bool temp9 = False ;
1463 PyObject * obj0 = 0 ;
1464 PyObject * obj1 = 0 ;
1465 PyObject * obj2 = 0 ;
1466 PyObject * obj3 = 0 ;
1467 PyObject * obj4 = 0 ;
1468 PyObject * obj5 = 0 ;
1469 PyObject * obj6 = 0 ;
1470 PyObject * obj7 = 0 ;
1471 PyObject * obj8 = 0 ;
1472 char *kwnames[] = {
1473 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1474 };
1475
1476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1481 arg3 = (int) SWIG_AsInt(obj2);
1482 if (PyErr_Occurred()) SWIG_fail;
1483 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1484 SWIG_POINTER_EXCEPTION | 0)) == -1)
1485 SWIG_fail;
1486 if (arg4 == NULL) {
1487 PyErr_SetString(PyExc_TypeError,"null reference");
1488 SWIG_fail;
1489 }
1490 if (obj4) {
1491 {
1492 arg5 = &temp5;
1493 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1494 }
1495 }
1496 if (obj5) {
1497 {
1498 arg6 = &temp6;
1499 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1500 }
1501 }
1502 if (obj6) {
1503 arg7 = (long) SWIG_AsLong(obj6);
1504 if (PyErr_Occurred()) SWIG_fail;
1505 }
1506 if (obj7) {
1507 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1508 SWIG_POINTER_EXCEPTION | 0)) == -1)
1509 SWIG_fail;
1510 if (arg8 == NULL) {
1511 PyErr_SetString(PyExc_TypeError,"null reference");
1512 SWIG_fail;
1513 }
1514 }
1515 if (obj8) {
1516 {
1517 arg9 = wxString_in_helper(obj8);
1518 if (arg9 == NULL) SWIG_fail;
1519 temp9 = True;
1520 }
1521 }
1522 {
1523 PyThreadState* __tstate = wxPyBeginAllowThreads();
1524 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1525
1526 wxPyEndAllowThreads(__tstate);
1527 if (PyErr_Occurred()) SWIG_fail;
1528 }
1529 {
1530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1531 }
1532 {
1533 if (temp9)
1534 delete arg9;
1535 }
1536 return resultobj;
1537 fail:
1538 {
1539 if (temp9)
1540 delete arg9;
1541 }
1542 return NULL;
1543 }
1544
1545
1546 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1547 PyObject *resultobj;
1548 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1549 wxBitmap result;
1550 PyObject * obj0 = 0 ;
1551 char *kwnames[] = {
1552 (char *) "self", NULL
1553 };
1554
1555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1558 {
1559 PyThreadState* __tstate = wxPyBeginAllowThreads();
1560 result = (arg1)->GetBitmapLabel();
1561
1562 wxPyEndAllowThreads(__tstate);
1563 if (PyErr_Occurred()) SWIG_fail;
1564 }
1565 {
1566 wxBitmap * resultptr;
1567 resultptr = new wxBitmap((wxBitmap &) result);
1568 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1569 }
1570 return resultobj;
1571 fail:
1572 return NULL;
1573 }
1574
1575
1576 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1577 PyObject *resultobj;
1578 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1579 wxBitmap result;
1580 PyObject * obj0 = 0 ;
1581 char *kwnames[] = {
1582 (char *) "self", NULL
1583 };
1584
1585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1588 {
1589 PyThreadState* __tstate = wxPyBeginAllowThreads();
1590 result = (arg1)->GetBitmapDisabled();
1591
1592 wxPyEndAllowThreads(__tstate);
1593 if (PyErr_Occurred()) SWIG_fail;
1594 }
1595 {
1596 wxBitmap * resultptr;
1597 resultptr = new wxBitmap((wxBitmap &) result);
1598 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1599 }
1600 return resultobj;
1601 fail:
1602 return NULL;
1603 }
1604
1605
1606 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1607 PyObject *resultobj;
1608 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1609 wxBitmap result;
1610 PyObject * obj0 = 0 ;
1611 char *kwnames[] = {
1612 (char *) "self", NULL
1613 };
1614
1615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1618 {
1619 PyThreadState* __tstate = wxPyBeginAllowThreads();
1620 result = (arg1)->GetBitmapFocus();
1621
1622 wxPyEndAllowThreads(__tstate);
1623 if (PyErr_Occurred()) SWIG_fail;
1624 }
1625 {
1626 wxBitmap * resultptr;
1627 resultptr = new wxBitmap((wxBitmap &) result);
1628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1629 }
1630 return resultobj;
1631 fail:
1632 return NULL;
1633 }
1634
1635
1636 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1637 PyObject *resultobj;
1638 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1639 wxBitmap result;
1640 PyObject * obj0 = 0 ;
1641 char *kwnames[] = {
1642 (char *) "self", NULL
1643 };
1644
1645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 result = (arg1)->GetBitmapSelected();
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 {
1656 wxBitmap * resultptr;
1657 resultptr = new wxBitmap((wxBitmap &) result);
1658 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1659 }
1660 return resultobj;
1661 fail:
1662 return NULL;
1663 }
1664
1665
1666 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1667 PyObject *resultobj;
1668 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1669 wxBitmap *arg2 = 0 ;
1670 PyObject * obj0 = 0 ;
1671 PyObject * obj1 = 0 ;
1672 char *kwnames[] = {
1673 (char *) "self",(char *) "bitmap", NULL
1674 };
1675
1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1680 SWIG_POINTER_EXCEPTION | 0)) == -1)
1681 SWIG_fail;
1682 if (arg2 == NULL) {
1683 PyErr_SetString(PyExc_TypeError,"null reference");
1684 SWIG_fail;
1685 }
1686 {
1687 PyThreadState* __tstate = wxPyBeginAllowThreads();
1688 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1689
1690 wxPyEndAllowThreads(__tstate);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 }
1693 Py_INCREF(Py_None); resultobj = Py_None;
1694 return resultobj;
1695 fail:
1696 return NULL;
1697 }
1698
1699
1700 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1701 PyObject *resultobj;
1702 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1703 wxBitmap *arg2 = 0 ;
1704 PyObject * obj0 = 0 ;
1705 PyObject * obj1 = 0 ;
1706 char *kwnames[] = {
1707 (char *) "self",(char *) "bitmap", NULL
1708 };
1709
1710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1714 SWIG_POINTER_EXCEPTION | 0)) == -1)
1715 SWIG_fail;
1716 if (arg2 == NULL) {
1717 PyErr_SetString(PyExc_TypeError,"null reference");
1718 SWIG_fail;
1719 }
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
1727 Py_INCREF(Py_None); resultobj = Py_None;
1728 return resultobj;
1729 fail:
1730 return NULL;
1731 }
1732
1733
1734 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1735 PyObject *resultobj;
1736 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1737 wxBitmap *arg2 = 0 ;
1738 PyObject * obj0 = 0 ;
1739 PyObject * obj1 = 0 ;
1740 char *kwnames[] = {
1741 (char *) "self",(char *) "bitmap", NULL
1742 };
1743
1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1748 SWIG_POINTER_EXCEPTION | 0)) == -1)
1749 SWIG_fail;
1750 if (arg2 == NULL) {
1751 PyErr_SetString(PyExc_TypeError,"null reference");
1752 SWIG_fail;
1753 }
1754 {
1755 PyThreadState* __tstate = wxPyBeginAllowThreads();
1756 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1757
1758 wxPyEndAllowThreads(__tstate);
1759 if (PyErr_Occurred()) SWIG_fail;
1760 }
1761 Py_INCREF(Py_None); resultobj = Py_None;
1762 return resultobj;
1763 fail:
1764 return NULL;
1765 }
1766
1767
1768 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1769 PyObject *resultobj;
1770 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1771 wxBitmap *arg2 = 0 ;
1772 PyObject * obj0 = 0 ;
1773 PyObject * obj1 = 0 ;
1774 char *kwnames[] = {
1775 (char *) "self",(char *) "bitmap", NULL
1776 };
1777
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1781 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1782 SWIG_POINTER_EXCEPTION | 0)) == -1)
1783 SWIG_fail;
1784 if (arg2 == NULL) {
1785 PyErr_SetString(PyExc_TypeError,"null reference");
1786 SWIG_fail;
1787 }
1788 {
1789 PyThreadState* __tstate = wxPyBeginAllowThreads();
1790 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1791
1792 wxPyEndAllowThreads(__tstate);
1793 if (PyErr_Occurred()) SWIG_fail;
1794 }
1795 Py_INCREF(Py_None); resultobj = Py_None;
1796 return resultobj;
1797 fail:
1798 return NULL;
1799 }
1800
1801
1802 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
1803 PyObject *resultobj;
1804 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1805 int arg2 ;
1806 int arg3 ;
1807 PyObject * obj0 = 0 ;
1808 PyObject * obj1 = 0 ;
1809 PyObject * obj2 = 0 ;
1810 char *kwnames[] = {
1811 (char *) "self",(char *) "x",(char *) "y", NULL
1812 };
1813
1814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1817 arg2 = (int) SWIG_AsInt(obj1);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 arg3 = (int) SWIG_AsInt(obj2);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 {
1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
1823 (arg1)->SetMargins(arg2,arg3);
1824
1825 wxPyEndAllowThreads(__tstate);
1826 if (PyErr_Occurred()) SWIG_fail;
1827 }
1828 Py_INCREF(Py_None); resultobj = Py_None;
1829 return resultobj;
1830 fail:
1831 return NULL;
1832 }
1833
1834
1835 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
1836 PyObject *resultobj;
1837 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1838 int result;
1839 PyObject * obj0 = 0 ;
1840 char *kwnames[] = {
1841 (char *) "self", NULL
1842 };
1843
1844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1847 {
1848 PyThreadState* __tstate = wxPyBeginAllowThreads();
1849 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1850
1851 wxPyEndAllowThreads(__tstate);
1852 if (PyErr_Occurred()) SWIG_fail;
1853 }
1854 resultobj = SWIG_FromInt((int)result);
1855 return resultobj;
1856 fail:
1857 return NULL;
1858 }
1859
1860
1861 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
1862 PyObject *resultobj;
1863 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1864 int result;
1865 PyObject * obj0 = 0 ;
1866 char *kwnames[] = {
1867 (char *) "self", NULL
1868 };
1869
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1873 {
1874 PyThreadState* __tstate = wxPyBeginAllowThreads();
1875 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1876
1877 wxPyEndAllowThreads(__tstate);
1878 if (PyErr_Occurred()) SWIG_fail;
1879 }
1880 resultobj = SWIG_FromInt((int)result);
1881 return resultobj;
1882 fail:
1883 return NULL;
1884 }
1885
1886
1887 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
1888 PyObject *obj;
1889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1890 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1891 Py_INCREF(obj);
1892 return Py_BuildValue((char *)"");
1893 }
1894 static int _wrap_CheckBoxNameStr_set(PyObject *) {
1895 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1896 return 1;
1897 }
1898
1899
1900 static PyObject *_wrap_CheckBoxNameStr_get() {
1901 PyObject *pyobj;
1902
1903 {
1904 #if wxUSE_UNICODE
1905 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1906 #else
1907 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1908 #endif
1909 }
1910 return pyobj;
1911 }
1912
1913
1914 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
1915 PyObject *resultobj;
1916 wxWindow *arg1 = (wxWindow *) 0 ;
1917 int arg2 ;
1918 wxString *arg3 = 0 ;
1919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1921 wxSize const &arg5_defvalue = wxDefaultSize ;
1922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1923 long arg6 = (long) 0 ;
1924 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1925 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1926 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1927 wxString *arg8 = (wxString *) &arg8_defvalue ;
1928 wxCheckBox *result;
1929 bool temp3 = False ;
1930 wxPoint temp4 ;
1931 wxSize temp5 ;
1932 bool temp8 = False ;
1933 PyObject * obj0 = 0 ;
1934 PyObject * obj1 = 0 ;
1935 PyObject * obj2 = 0 ;
1936 PyObject * obj3 = 0 ;
1937 PyObject * obj4 = 0 ;
1938 PyObject * obj5 = 0 ;
1939 PyObject * obj6 = 0 ;
1940 PyObject * obj7 = 0 ;
1941 char *kwnames[] = {
1942 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1943 };
1944
1945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1948 arg2 = (int) SWIG_AsInt(obj1);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 {
1951 arg3 = wxString_in_helper(obj2);
1952 if (arg3 == NULL) SWIG_fail;
1953 temp3 = True;
1954 }
1955 if (obj3) {
1956 {
1957 arg4 = &temp4;
1958 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1959 }
1960 }
1961 if (obj4) {
1962 {
1963 arg5 = &temp5;
1964 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1965 }
1966 }
1967 if (obj5) {
1968 arg6 = (long) SWIG_AsLong(obj5);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 if (obj6) {
1972 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1973 SWIG_POINTER_EXCEPTION | 0)) == -1)
1974 SWIG_fail;
1975 if (arg7 == NULL) {
1976 PyErr_SetString(PyExc_TypeError,"null reference");
1977 SWIG_fail;
1978 }
1979 }
1980 if (obj7) {
1981 {
1982 arg8 = wxString_in_helper(obj7);
1983 if (arg8 == NULL) SWIG_fail;
1984 temp8 = True;
1985 }
1986 }
1987 {
1988 PyThreadState* __tstate = wxPyBeginAllowThreads();
1989 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1990
1991 wxPyEndAllowThreads(__tstate);
1992 if (PyErr_Occurred()) SWIG_fail;
1993 }
1994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
1995 {
1996 if (temp3)
1997 delete arg3;
1998 }
1999 {
2000 if (temp8)
2001 delete arg8;
2002 }
2003 return resultobj;
2004 fail:
2005 {
2006 if (temp3)
2007 delete arg3;
2008 }
2009 {
2010 if (temp8)
2011 delete arg8;
2012 }
2013 return NULL;
2014 }
2015
2016
2017 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
2018 PyObject *resultobj;
2019 wxCheckBox *result;
2020 char *kwnames[] = {
2021 NULL
2022 };
2023
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2025 {
2026 PyThreadState* __tstate = wxPyBeginAllowThreads();
2027 result = (wxCheckBox *)new wxCheckBox();
2028
2029 wxPyEndAllowThreads(__tstate);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 }
2032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2033 return resultobj;
2034 fail:
2035 return NULL;
2036 }
2037
2038
2039 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2040 PyObject *resultobj;
2041 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2042 wxWindow *arg2 = (wxWindow *) 0 ;
2043 int arg3 ;
2044 wxString *arg4 = 0 ;
2045 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2046 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2047 wxSize const &arg6_defvalue = wxDefaultSize ;
2048 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2049 long arg7 = (long) 0 ;
2050 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2051 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2052 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2053 wxString *arg9 = (wxString *) &arg9_defvalue ;
2054 bool result;
2055 bool temp4 = False ;
2056 wxPoint temp5 ;
2057 wxSize temp6 ;
2058 bool temp9 = False ;
2059 PyObject * obj0 = 0 ;
2060 PyObject * obj1 = 0 ;
2061 PyObject * obj2 = 0 ;
2062 PyObject * obj3 = 0 ;
2063 PyObject * obj4 = 0 ;
2064 PyObject * obj5 = 0 ;
2065 PyObject * obj6 = 0 ;
2066 PyObject * obj7 = 0 ;
2067 PyObject * obj8 = 0 ;
2068 char *kwnames[] = {
2069 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2070 };
2071
2072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2075 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2077 arg3 = (int) SWIG_AsInt(obj2);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 {
2080 arg4 = wxString_in_helper(obj3);
2081 if (arg4 == NULL) SWIG_fail;
2082 temp4 = True;
2083 }
2084 if (obj4) {
2085 {
2086 arg5 = &temp5;
2087 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2088 }
2089 }
2090 if (obj5) {
2091 {
2092 arg6 = &temp6;
2093 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2094 }
2095 }
2096 if (obj6) {
2097 arg7 = (long) SWIG_AsLong(obj6);
2098 if (PyErr_Occurred()) SWIG_fail;
2099 }
2100 if (obj7) {
2101 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2102 SWIG_POINTER_EXCEPTION | 0)) == -1)
2103 SWIG_fail;
2104 if (arg8 == NULL) {
2105 PyErr_SetString(PyExc_TypeError,"null reference");
2106 SWIG_fail;
2107 }
2108 }
2109 if (obj8) {
2110 {
2111 arg9 = wxString_in_helper(obj8);
2112 if (arg9 == NULL) SWIG_fail;
2113 temp9 = True;
2114 }
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 {
2124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2125 }
2126 {
2127 if (temp4)
2128 delete arg4;
2129 }
2130 {
2131 if (temp9)
2132 delete arg9;
2133 }
2134 return resultobj;
2135 fail:
2136 {
2137 if (temp4)
2138 delete arg4;
2139 }
2140 {
2141 if (temp9)
2142 delete arg9;
2143 }
2144 return NULL;
2145 }
2146
2147
2148 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2149 PyObject *resultobj;
2150 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2151 bool result;
2152 PyObject * obj0 = 0 ;
2153 char *kwnames[] = {
2154 (char *) "self", NULL
2155 };
2156
2157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2160 {
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 result = (bool)(arg1)->GetValue();
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 }
2167 {
2168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2169 }
2170 return resultobj;
2171 fail:
2172 return NULL;
2173 }
2174
2175
2176 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
2177 PyObject *resultobj;
2178 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2179 bool result;
2180 PyObject * obj0 = 0 ;
2181 char *kwnames[] = {
2182 (char *) "self", NULL
2183 };
2184
2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2188 {
2189 PyThreadState* __tstate = wxPyBeginAllowThreads();
2190 result = (bool)(arg1)->IsChecked();
2191
2192 wxPyEndAllowThreads(__tstate);
2193 if (PyErr_Occurred()) SWIG_fail;
2194 }
2195 {
2196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2197 }
2198 return resultobj;
2199 fail:
2200 return NULL;
2201 }
2202
2203
2204 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2205 PyObject *resultobj;
2206 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2207 bool arg2 ;
2208 PyObject * obj0 = 0 ;
2209 PyObject * obj1 = 0 ;
2210 char *kwnames[] = {
2211 (char *) "self",(char *) "state", NULL
2212 };
2213
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2217 arg2 = (bool const) SWIG_AsBool(obj1);
2218 if (PyErr_Occurred()) SWIG_fail;
2219 {
2220 PyThreadState* __tstate = wxPyBeginAllowThreads();
2221 (arg1)->SetValue(arg2);
2222
2223 wxPyEndAllowThreads(__tstate);
2224 if (PyErr_Occurred()) SWIG_fail;
2225 }
2226 Py_INCREF(Py_None); resultobj = Py_None;
2227 return resultobj;
2228 fail:
2229 return NULL;
2230 }
2231
2232
2233 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2234 PyObject *resultobj;
2235 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2236 int result;
2237 PyObject * obj0 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 resultobj = SWIG_FromInt((int)result);
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2262 int arg2 ;
2263 PyObject * obj0 = 0 ;
2264 PyObject * obj1 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "self",(char *) "state", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2272 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2273 if (PyErr_Occurred()) SWIG_fail;
2274 {
2275 PyThreadState* __tstate = wxPyBeginAllowThreads();
2276 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2277
2278 wxPyEndAllowThreads(__tstate);
2279 if (PyErr_Occurred()) SWIG_fail;
2280 }
2281 Py_INCREF(Py_None); resultobj = Py_None;
2282 return resultobj;
2283 fail:
2284 return NULL;
2285 }
2286
2287
2288 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
2289 PyObject *resultobj;
2290 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2291 bool result;
2292 PyObject * obj0 = 0 ;
2293 char *kwnames[] = {
2294 (char *) "self", NULL
2295 };
2296
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2300 {
2301 PyThreadState* __tstate = wxPyBeginAllowThreads();
2302 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2303
2304 wxPyEndAllowThreads(__tstate);
2305 if (PyErr_Occurred()) SWIG_fail;
2306 }
2307 {
2308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2309 }
2310 return resultobj;
2311 fail:
2312 return NULL;
2313 }
2314
2315
2316 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2319 bool result;
2320 PyObject * obj0 = 0 ;
2321 char *kwnames[] = {
2322 (char *) "self", NULL
2323 };
2324
2325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2328 {
2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
2330 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2331
2332 wxPyEndAllowThreads(__tstate);
2333 if (PyErr_Occurred()) SWIG_fail;
2334 }
2335 {
2336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2337 }
2338 return resultobj;
2339 fail:
2340 return NULL;
2341 }
2342
2343
2344 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
2345 PyObject *obj;
2346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2347 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2348 Py_INCREF(obj);
2349 return Py_BuildValue((char *)"");
2350 }
2351 static int _wrap_ChoiceNameStr_set(PyObject *) {
2352 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2353 return 1;
2354 }
2355
2356
2357 static PyObject *_wrap_ChoiceNameStr_get() {
2358 PyObject *pyobj;
2359
2360 {
2361 #if wxUSE_UNICODE
2362 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2363 #else
2364 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2365 #endif
2366 }
2367 return pyobj;
2368 }
2369
2370
2371 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxWindow *arg1 = (wxWindow *) 0 ;
2374 int arg2 ;
2375 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2376 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2377 wxSize const &arg4_defvalue = wxDefaultSize ;
2378 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2379 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2380 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2381 long arg6 = (long) 0 ;
2382 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2383 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2384 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2385 wxString *arg8 = (wxString *) &arg8_defvalue ;
2386 wxChoice *result;
2387 wxPoint temp3 ;
2388 wxSize temp4 ;
2389 bool temp5 = False ;
2390 bool temp8 = False ;
2391 PyObject * obj0 = 0 ;
2392 PyObject * obj1 = 0 ;
2393 PyObject * obj2 = 0 ;
2394 PyObject * obj3 = 0 ;
2395 PyObject * obj4 = 0 ;
2396 PyObject * obj5 = 0 ;
2397 PyObject * obj6 = 0 ;
2398 PyObject * obj7 = 0 ;
2399 char *kwnames[] = {
2400 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2401 };
2402
2403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2406 arg2 = (int) SWIG_AsInt(obj1);
2407 if (PyErr_Occurred()) SWIG_fail;
2408 if (obj2) {
2409 {
2410 arg3 = &temp3;
2411 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2412 }
2413 }
2414 if (obj3) {
2415 {
2416 arg4 = &temp4;
2417 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2418 }
2419 }
2420 if (obj4) {
2421 {
2422 if (! PySequence_Check(obj4)) {
2423 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2424 SWIG_fail;
2425 }
2426 arg5 = new wxArrayString;
2427 temp5 = True;
2428 int i, len=PySequence_Length(obj4);
2429 for (i=0; i<len; i++) {
2430 PyObject* item = PySequence_GetItem(obj4, i);
2431 #if wxUSE_UNICODE
2432 PyObject* str = PyObject_Unicode(item);
2433 #else
2434 PyObject* str = PyObject_Str(item);
2435 #endif
2436 arg5->Add(Py2wxString(str));
2437 Py_DECREF(item);
2438 Py_DECREF(str);
2439 }
2440 }
2441 }
2442 if (obj5) {
2443 arg6 = (long) SWIG_AsLong(obj5);
2444 if (PyErr_Occurred()) SWIG_fail;
2445 }
2446 if (obj6) {
2447 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2448 SWIG_POINTER_EXCEPTION | 0)) == -1)
2449 SWIG_fail;
2450 if (arg7 == NULL) {
2451 PyErr_SetString(PyExc_TypeError,"null reference");
2452 SWIG_fail;
2453 }
2454 }
2455 if (obj7) {
2456 {
2457 arg8 = wxString_in_helper(obj7);
2458 if (arg8 == NULL) SWIG_fail;
2459 temp8 = True;
2460 }
2461 }
2462 {
2463 PyThreadState* __tstate = wxPyBeginAllowThreads();
2464 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2465
2466 wxPyEndAllowThreads(__tstate);
2467 if (PyErr_Occurred()) SWIG_fail;
2468 }
2469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2470 {
2471 if (temp5) delete arg5;
2472 }
2473 {
2474 if (temp8)
2475 delete arg8;
2476 }
2477 return resultobj;
2478 fail:
2479 {
2480 if (temp5) delete arg5;
2481 }
2482 {
2483 if (temp8)
2484 delete arg8;
2485 }
2486 return NULL;
2487 }
2488
2489
2490 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
2491 PyObject *resultobj;
2492 wxChoice *result;
2493 char *kwnames[] = {
2494 NULL
2495 };
2496
2497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2498 {
2499 PyThreadState* __tstate = wxPyBeginAllowThreads();
2500 result = (wxChoice *)new wxChoice();
2501
2502 wxPyEndAllowThreads(__tstate);
2503 if (PyErr_Occurred()) SWIG_fail;
2504 }
2505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2506 return resultobj;
2507 fail:
2508 return NULL;
2509 }
2510
2511
2512 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2513 PyObject *resultobj;
2514 wxChoice *arg1 = (wxChoice *) 0 ;
2515 wxWindow *arg2 = (wxWindow *) 0 ;
2516 int arg3 ;
2517 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2518 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2519 wxSize const &arg5_defvalue = wxDefaultSize ;
2520 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2521 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2522 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2523 long arg7 = (long) 0 ;
2524 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2525 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2526 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2527 wxString *arg9 = (wxString *) &arg9_defvalue ;
2528 bool result;
2529 wxPoint temp4 ;
2530 wxSize temp5 ;
2531 bool temp6 = False ;
2532 bool temp9 = False ;
2533 PyObject * obj0 = 0 ;
2534 PyObject * obj1 = 0 ;
2535 PyObject * obj2 = 0 ;
2536 PyObject * obj3 = 0 ;
2537 PyObject * obj4 = 0 ;
2538 PyObject * obj5 = 0 ;
2539 PyObject * obj6 = 0 ;
2540 PyObject * obj7 = 0 ;
2541 PyObject * obj8 = 0 ;
2542 char *kwnames[] = {
2543 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2544 };
2545
2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2551 arg3 = (int) SWIG_AsInt(obj2);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 if (obj3) {
2554 {
2555 arg4 = &temp4;
2556 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2557 }
2558 }
2559 if (obj4) {
2560 {
2561 arg5 = &temp5;
2562 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2563 }
2564 }
2565 if (obj5) {
2566 {
2567 if (! PySequence_Check(obj5)) {
2568 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2569 SWIG_fail;
2570 }
2571 arg6 = new wxArrayString;
2572 temp6 = True;
2573 int i, len=PySequence_Length(obj5);
2574 for (i=0; i<len; i++) {
2575 PyObject* item = PySequence_GetItem(obj5, i);
2576 #if wxUSE_UNICODE
2577 PyObject* str = PyObject_Unicode(item);
2578 #else
2579 PyObject* str = PyObject_Str(item);
2580 #endif
2581 arg6->Add(Py2wxString(str));
2582 Py_DECREF(item);
2583 Py_DECREF(str);
2584 }
2585 }
2586 }
2587 if (obj6) {
2588 arg7 = (long) SWIG_AsLong(obj6);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 if (obj7) {
2592 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2593 SWIG_POINTER_EXCEPTION | 0)) == -1)
2594 SWIG_fail;
2595 if (arg8 == NULL) {
2596 PyErr_SetString(PyExc_TypeError,"null reference");
2597 SWIG_fail;
2598 }
2599 }
2600 if (obj8) {
2601 {
2602 arg9 = wxString_in_helper(obj8);
2603 if (arg9 == NULL) SWIG_fail;
2604 temp9 = True;
2605 }
2606 }
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 {
2615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2616 }
2617 {
2618 if (temp6) delete arg6;
2619 }
2620 {
2621 if (temp9)
2622 delete arg9;
2623 }
2624 return resultobj;
2625 fail:
2626 {
2627 if (temp6) delete arg6;
2628 }
2629 {
2630 if (temp9)
2631 delete arg9;
2632 }
2633 return NULL;
2634 }
2635
2636
2637 static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2638 PyObject *resultobj;
2639 wxChoice *arg1 = (wxChoice *) 0 ;
2640 int arg2 ;
2641 PyObject * obj0 = 0 ;
2642 PyObject * obj1 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self",(char *) "n", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2650 arg2 = (int const) SWIG_AsInt(obj1);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 {
2653 PyThreadState* __tstate = wxPyBeginAllowThreads();
2654 (arg1)->SetSelection(arg2);
2655
2656 wxPyEndAllowThreads(__tstate);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 Py_INCREF(Py_None); resultobj = Py_None;
2660 return resultobj;
2661 fail:
2662 return NULL;
2663 }
2664
2665
2666 static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2667 PyObject *resultobj;
2668 wxChoice *arg1 = (wxChoice *) 0 ;
2669 wxString *arg2 = 0 ;
2670 bool temp2 = False ;
2671 PyObject * obj0 = 0 ;
2672 PyObject * obj1 = 0 ;
2673 char *kwnames[] = {
2674 (char *) "self",(char *) "string", NULL
2675 };
2676
2677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2680 {
2681 arg2 = wxString_in_helper(obj1);
2682 if (arg2 == NULL) SWIG_fail;
2683 temp2 = True;
2684 }
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 (arg1)->SetStringSelection((wxString const &)*arg2);
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 Py_INCREF(Py_None); resultobj = Py_None;
2693 {
2694 if (temp2)
2695 delete arg2;
2696 }
2697 return resultobj;
2698 fail:
2699 {
2700 if (temp2)
2701 delete arg2;
2702 }
2703 return NULL;
2704 }
2705
2706
2707 static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
2708 PyObject *resultobj;
2709 wxChoice *arg1 = (wxChoice *) 0 ;
2710 int arg2 ;
2711 wxString *arg3 = 0 ;
2712 bool temp3 = False ;
2713 PyObject * obj0 = 0 ;
2714 PyObject * obj1 = 0 ;
2715 PyObject * obj2 = 0 ;
2716 char *kwnames[] = {
2717 (char *) "self",(char *) "n",(char *) "string", NULL
2718 };
2719
2720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2723 arg2 = (int) SWIG_AsInt(obj1);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 {
2726 arg3 = wxString_in_helper(obj2);
2727 if (arg3 == NULL) SWIG_fail;
2728 temp3 = True;
2729 }
2730 {
2731 PyThreadState* __tstate = wxPyBeginAllowThreads();
2732 (arg1)->SetString(arg2,(wxString const &)*arg3);
2733
2734 wxPyEndAllowThreads(__tstate);
2735 if (PyErr_Occurred()) SWIG_fail;
2736 }
2737 Py_INCREF(Py_None); resultobj = Py_None;
2738 {
2739 if (temp3)
2740 delete arg3;
2741 }
2742 return resultobj;
2743 fail:
2744 {
2745 if (temp3)
2746 delete arg3;
2747 }
2748 return NULL;
2749 }
2750
2751
2752 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
2753 PyObject *obj;
2754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2755 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2756 Py_INCREF(obj);
2757 return Py_BuildValue((char *)"");
2758 }
2759 static int _wrap_ComboBoxNameStr_set(PyObject *) {
2760 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2761 return 1;
2762 }
2763
2764
2765 static PyObject *_wrap_ComboBoxNameStr_get() {
2766 PyObject *pyobj;
2767
2768 {
2769 #if wxUSE_UNICODE
2770 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2771 #else
2772 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2773 #endif
2774 }
2775 return pyobj;
2776 }
2777
2778
2779 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
2780 PyObject *resultobj;
2781 wxWindow *arg1 = (wxWindow *) 0 ;
2782 int arg2 ;
2783 wxString const &arg3_defvalue = wxPyEmptyString ;
2784 wxString *arg3 = (wxString *) &arg3_defvalue ;
2785 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2786 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2787 wxSize const &arg5_defvalue = wxDefaultSize ;
2788 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2789 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2790 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2791 long arg7 = (long) 0 ;
2792 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2793 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2794 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2795 wxString *arg9 = (wxString *) &arg9_defvalue ;
2796 wxComboBox *result;
2797 bool temp3 = False ;
2798 wxPoint temp4 ;
2799 wxSize temp5 ;
2800 bool temp6 = False ;
2801 bool temp9 = False ;
2802 PyObject * obj0 = 0 ;
2803 PyObject * obj1 = 0 ;
2804 PyObject * obj2 = 0 ;
2805 PyObject * obj3 = 0 ;
2806 PyObject * obj4 = 0 ;
2807 PyObject * obj5 = 0 ;
2808 PyObject * obj6 = 0 ;
2809 PyObject * obj7 = 0 ;
2810 PyObject * obj8 = 0 ;
2811 char *kwnames[] = {
2812 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2813 };
2814
2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2818 arg2 = (int) SWIG_AsInt(obj1);
2819 if (PyErr_Occurred()) SWIG_fail;
2820 if (obj2) {
2821 {
2822 arg3 = wxString_in_helper(obj2);
2823 if (arg3 == NULL) SWIG_fail;
2824 temp3 = True;
2825 }
2826 }
2827 if (obj3) {
2828 {
2829 arg4 = &temp4;
2830 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2831 }
2832 }
2833 if (obj4) {
2834 {
2835 arg5 = &temp5;
2836 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2837 }
2838 }
2839 if (obj5) {
2840 {
2841 if (! PySequence_Check(obj5)) {
2842 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2843 SWIG_fail;
2844 }
2845 arg6 = new wxArrayString;
2846 temp6 = True;
2847 int i, len=PySequence_Length(obj5);
2848 for (i=0; i<len; i++) {
2849 PyObject* item = PySequence_GetItem(obj5, i);
2850 #if wxUSE_UNICODE
2851 PyObject* str = PyObject_Unicode(item);
2852 #else
2853 PyObject* str = PyObject_Str(item);
2854 #endif
2855 arg6->Add(Py2wxString(str));
2856 Py_DECREF(item);
2857 Py_DECREF(str);
2858 }
2859 }
2860 }
2861 if (obj6) {
2862 arg7 = (long) SWIG_AsLong(obj6);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 if (obj7) {
2866 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2867 SWIG_POINTER_EXCEPTION | 0)) == -1)
2868 SWIG_fail;
2869 if (arg8 == NULL) {
2870 PyErr_SetString(PyExc_TypeError,"null reference");
2871 SWIG_fail;
2872 }
2873 }
2874 if (obj8) {
2875 {
2876 arg9 = wxString_in_helper(obj8);
2877 if (arg9 == NULL) SWIG_fail;
2878 temp9 = True;
2879 }
2880 }
2881 {
2882 PyThreadState* __tstate = wxPyBeginAllowThreads();
2883 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);
2884
2885 wxPyEndAllowThreads(__tstate);
2886 if (PyErr_Occurred()) SWIG_fail;
2887 }
2888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2889 {
2890 if (temp3)
2891 delete arg3;
2892 }
2893 {
2894 if (temp6) delete arg6;
2895 }
2896 {
2897 if (temp9)
2898 delete arg9;
2899 }
2900 return resultobj;
2901 fail:
2902 {
2903 if (temp3)
2904 delete arg3;
2905 }
2906 {
2907 if (temp6) delete arg6;
2908 }
2909 {
2910 if (temp9)
2911 delete arg9;
2912 }
2913 return NULL;
2914 }
2915
2916
2917 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
2918 PyObject *resultobj;
2919 wxComboBox *result;
2920 char *kwnames[] = {
2921 NULL
2922 };
2923
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2925 {
2926 PyThreadState* __tstate = wxPyBeginAllowThreads();
2927 result = (wxComboBox *)new wxComboBox();
2928
2929 wxPyEndAllowThreads(__tstate);
2930 if (PyErr_Occurred()) SWIG_fail;
2931 }
2932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2933 return resultobj;
2934 fail:
2935 return NULL;
2936 }
2937
2938
2939 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2940 PyObject *resultobj;
2941 wxComboBox *arg1 = (wxComboBox *) 0 ;
2942 wxWindow *arg2 = (wxWindow *) 0 ;
2943 int arg3 ;
2944 wxString const &arg4_defvalue = wxPyEmptyString ;
2945 wxString *arg4 = (wxString *) &arg4_defvalue ;
2946 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2947 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2948 wxSize const &arg6_defvalue = wxDefaultSize ;
2949 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2950 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2951 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2952 long arg8 = (long) 0 ;
2953 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2954 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2955 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2956 wxString *arg10 = (wxString *) &arg10_defvalue ;
2957 bool result;
2958 bool temp4 = False ;
2959 wxPoint temp5 ;
2960 wxSize temp6 ;
2961 bool temp7 = False ;
2962 bool temp10 = False ;
2963 PyObject * obj0 = 0 ;
2964 PyObject * obj1 = 0 ;
2965 PyObject * obj2 = 0 ;
2966 PyObject * obj3 = 0 ;
2967 PyObject * obj4 = 0 ;
2968 PyObject * obj5 = 0 ;
2969 PyObject * obj6 = 0 ;
2970 PyObject * obj7 = 0 ;
2971 PyObject * obj8 = 0 ;
2972 PyObject * obj9 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2982 arg3 = (int) SWIG_AsInt(obj2);
2983 if (PyErr_Occurred()) SWIG_fail;
2984 if (obj3) {
2985 {
2986 arg4 = wxString_in_helper(obj3);
2987 if (arg4 == NULL) SWIG_fail;
2988 temp4 = True;
2989 }
2990 }
2991 if (obj4) {
2992 {
2993 arg5 = &temp5;
2994 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2995 }
2996 }
2997 if (obj5) {
2998 {
2999 arg6 = &temp6;
3000 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3001 }
3002 }
3003 if (obj6) {
3004 {
3005 if (! PySequence_Check(obj6)) {
3006 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3007 SWIG_fail;
3008 }
3009 arg7 = new wxArrayString;
3010 temp7 = True;
3011 int i, len=PySequence_Length(obj6);
3012 for (i=0; i<len; i++) {
3013 PyObject* item = PySequence_GetItem(obj6, i);
3014 #if wxUSE_UNICODE
3015 PyObject* str = PyObject_Unicode(item);
3016 #else
3017 PyObject* str = PyObject_Str(item);
3018 #endif
3019 arg7->Add(Py2wxString(str));
3020 Py_DECREF(item);
3021 Py_DECREF(str);
3022 }
3023 }
3024 }
3025 if (obj7) {
3026 arg8 = (long) SWIG_AsLong(obj7);
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 if (obj8) {
3030 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3031 SWIG_POINTER_EXCEPTION | 0)) == -1)
3032 SWIG_fail;
3033 if (arg9 == NULL) {
3034 PyErr_SetString(PyExc_TypeError,"null reference");
3035 SWIG_fail;
3036 }
3037 }
3038 if (obj9) {
3039 {
3040 arg10 = wxString_in_helper(obj9);
3041 if (arg10 == NULL) SWIG_fail;
3042 temp10 = True;
3043 }
3044 }
3045 {
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 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);
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 {
3053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3054 }
3055 {
3056 if (temp4)
3057 delete arg4;
3058 }
3059 {
3060 if (temp7) delete arg7;
3061 }
3062 {
3063 if (temp10)
3064 delete arg10;
3065 }
3066 return resultobj;
3067 fail:
3068 {
3069 if (temp4)
3070 delete arg4;
3071 }
3072 {
3073 if (temp7) delete arg7;
3074 }
3075 {
3076 if (temp10)
3077 delete arg10;
3078 }
3079 return NULL;
3080 }
3081
3082
3083 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3084 PyObject *resultobj;
3085 wxComboBox *arg1 = (wxComboBox *) 0 ;
3086 wxString result;
3087 PyObject * obj0 = 0 ;
3088 char *kwnames[] = {
3089 (char *) "self", NULL
3090 };
3091
3092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3095 {
3096 PyThreadState* __tstate = wxPyBeginAllowThreads();
3097 result = ((wxComboBox const *)arg1)->GetValue();
3098
3099 wxPyEndAllowThreads(__tstate);
3100 if (PyErr_Occurred()) SWIG_fail;
3101 }
3102 {
3103 #if wxUSE_UNICODE
3104 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3105 #else
3106 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3107 #endif
3108 }
3109 return resultobj;
3110 fail:
3111 return NULL;
3112 }
3113
3114
3115 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3116 PyObject *resultobj;
3117 wxComboBox *arg1 = (wxComboBox *) 0 ;
3118 wxString *arg2 = 0 ;
3119 bool temp2 = False ;
3120 PyObject * obj0 = 0 ;
3121 PyObject * obj1 = 0 ;
3122 char *kwnames[] = {
3123 (char *) "self",(char *) "value", NULL
3124 };
3125
3126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3129 {
3130 arg2 = wxString_in_helper(obj1);
3131 if (arg2 == NULL) SWIG_fail;
3132 temp2 = True;
3133 }
3134 {
3135 PyThreadState* __tstate = wxPyBeginAllowThreads();
3136 (arg1)->SetValue((wxString const &)*arg2);
3137
3138 wxPyEndAllowThreads(__tstate);
3139 if (PyErr_Occurred()) SWIG_fail;
3140 }
3141 Py_INCREF(Py_None); resultobj = Py_None;
3142 {
3143 if (temp2)
3144 delete arg2;
3145 }
3146 return resultobj;
3147 fail:
3148 {
3149 if (temp2)
3150 delete arg2;
3151 }
3152 return NULL;
3153 }
3154
3155
3156 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
3157 PyObject *resultobj;
3158 wxComboBox *arg1 = (wxComboBox *) 0 ;
3159 PyObject * obj0 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3167 {
3168 PyThreadState* __tstate = wxPyBeginAllowThreads();
3169 (arg1)->Copy();
3170
3171 wxPyEndAllowThreads(__tstate);
3172 if (PyErr_Occurred()) SWIG_fail;
3173 }
3174 Py_INCREF(Py_None); resultobj = Py_None;
3175 return resultobj;
3176 fail:
3177 return NULL;
3178 }
3179
3180
3181 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
3182 PyObject *resultobj;
3183 wxComboBox *arg1 = (wxComboBox *) 0 ;
3184 PyObject * obj0 = 0 ;
3185 char *kwnames[] = {
3186 (char *) "self", NULL
3187 };
3188
3189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3192 {
3193 PyThreadState* __tstate = wxPyBeginAllowThreads();
3194 (arg1)->Cut();
3195
3196 wxPyEndAllowThreads(__tstate);
3197 if (PyErr_Occurred()) SWIG_fail;
3198 }
3199 Py_INCREF(Py_None); resultobj = Py_None;
3200 return resultobj;
3201 fail:
3202 return NULL;
3203 }
3204
3205
3206 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
3207 PyObject *resultobj;
3208 wxComboBox *arg1 = (wxComboBox *) 0 ;
3209 PyObject * obj0 = 0 ;
3210 char *kwnames[] = {
3211 (char *) "self", NULL
3212 };
3213
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3217 {
3218 PyThreadState* __tstate = wxPyBeginAllowThreads();
3219 (arg1)->Paste();
3220
3221 wxPyEndAllowThreads(__tstate);
3222 if (PyErr_Occurred()) SWIG_fail;
3223 }
3224 Py_INCREF(Py_None); resultobj = Py_None;
3225 return resultobj;
3226 fail:
3227 return NULL;
3228 }
3229
3230
3231 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3232 PyObject *resultobj;
3233 wxComboBox *arg1 = (wxComboBox *) 0 ;
3234 long arg2 ;
3235 PyObject * obj0 = 0 ;
3236 PyObject * obj1 = 0 ;
3237 char *kwnames[] = {
3238 (char *) "self",(char *) "pos", NULL
3239 };
3240
3241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3244 arg2 = (long) SWIG_AsLong(obj1);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 {
3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
3248 (arg1)->SetInsertionPoint(arg2);
3249
3250 wxPyEndAllowThreads(__tstate);
3251 if (PyErr_Occurred()) SWIG_fail;
3252 }
3253 Py_INCREF(Py_None); resultobj = Py_None;
3254 return resultobj;
3255 fail:
3256 return NULL;
3257 }
3258
3259
3260 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3261 PyObject *resultobj;
3262 wxComboBox *arg1 = (wxComboBox *) 0 ;
3263 long result;
3264 PyObject * obj0 = 0 ;
3265 char *kwnames[] = {
3266 (char *) "self", NULL
3267 };
3268
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 resultobj = SWIG_FromLong((long)result);
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxComboBox *arg1 = (wxComboBox *) 0 ;
3289 long result;
3290 PyObject * obj0 = 0 ;
3291 char *kwnames[] = {
3292 (char *) "self", NULL
3293 };
3294
3295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3298 {
3299 PyThreadState* __tstate = wxPyBeginAllowThreads();
3300 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3301
3302 wxPyEndAllowThreads(__tstate);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 resultobj = SWIG_FromLong((long)result);
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxComboBox *arg1 = (wxComboBox *) 0 ;
3315 long arg2 ;
3316 long arg3 ;
3317 wxString *arg4 = 0 ;
3318 bool temp4 = False ;
3319 PyObject * obj0 = 0 ;
3320 PyObject * obj1 = 0 ;
3321 PyObject * obj2 = 0 ;
3322 PyObject * obj3 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3330 arg2 = (long) SWIG_AsLong(obj1);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 arg3 = (long) SWIG_AsLong(obj2);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 {
3335 arg4 = wxString_in_helper(obj3);
3336 if (arg4 == NULL) SWIG_fail;
3337 temp4 = True;
3338 }
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 Py_INCREF(Py_None); resultobj = Py_None;
3347 {
3348 if (temp4)
3349 delete arg4;
3350 }
3351 return resultobj;
3352 fail:
3353 {
3354 if (temp4)
3355 delete arg4;
3356 }
3357 return NULL;
3358 }
3359
3360
3361 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3362 PyObject *resultobj;
3363 wxComboBox *arg1 = (wxComboBox *) 0 ;
3364 int arg2 ;
3365 PyObject * obj0 = 0 ;
3366 PyObject * obj1 = 0 ;
3367 char *kwnames[] = {
3368 (char *) "self",(char *) "n", NULL
3369 };
3370
3371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3374 arg2 = (int) SWIG_AsInt(obj1);
3375 if (PyErr_Occurred()) SWIG_fail;
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 (arg1)->SetSelection(arg2);
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 Py_INCREF(Py_None); resultobj = Py_None;
3384 return resultobj;
3385 fail:
3386 return NULL;
3387 }
3388
3389
3390 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
3391 PyObject *resultobj;
3392 wxComboBox *arg1 = (wxComboBox *) 0 ;
3393 long arg2 ;
3394 long arg3 ;
3395 PyObject * obj0 = 0 ;
3396 PyObject * obj1 = 0 ;
3397 PyObject * obj2 = 0 ;
3398 char *kwnames[] = {
3399 (char *) "self",(char *) "from",(char *) "to", NULL
3400 };
3401
3402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3405 arg2 = (long) SWIG_AsLong(obj1);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 arg3 = (long) SWIG_AsLong(obj2);
3408 if (PyErr_Occurred()) SWIG_fail;
3409 {
3410 PyThreadState* __tstate = wxPyBeginAllowThreads();
3411 (arg1)->SetSelection(arg2,arg3);
3412
3413 wxPyEndAllowThreads(__tstate);
3414 if (PyErr_Occurred()) SWIG_fail;
3415 }
3416 Py_INCREF(Py_None); resultobj = Py_None;
3417 return resultobj;
3418 fail:
3419 return NULL;
3420 }
3421
3422
3423 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
3424 PyObject *resultobj;
3425 wxComboBox *arg1 = (wxComboBox *) 0 ;
3426 bool arg2 ;
3427 PyObject * obj0 = 0 ;
3428 PyObject * obj1 = 0 ;
3429 char *kwnames[] = {
3430 (char *) "self",(char *) "editable", NULL
3431 };
3432
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3436 arg2 = (bool) SWIG_AsBool(obj1);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
3440 (arg1)->SetEditable(arg2);
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 Py_INCREF(Py_None); resultobj = Py_None;
3446 return resultobj;
3447 fail:
3448 return NULL;
3449 }
3450
3451
3452 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
3453 PyObject *resultobj;
3454 wxComboBox *arg1 = (wxComboBox *) 0 ;
3455 PyObject * obj0 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "self", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 (arg1)->SetInsertionPointEnd();
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
3470 Py_INCREF(Py_None); resultobj = Py_None;
3471 return resultobj;
3472 fail:
3473 return NULL;
3474 }
3475
3476
3477 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
3478 PyObject *resultobj;
3479 wxComboBox *arg1 = (wxComboBox *) 0 ;
3480 long arg2 ;
3481 long arg3 ;
3482 PyObject * obj0 = 0 ;
3483 PyObject * obj1 = 0 ;
3484 PyObject * obj2 = 0 ;
3485 char *kwnames[] = {
3486 (char *) "self",(char *) "from",(char *) "to", NULL
3487 };
3488
3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3492 arg2 = (long) SWIG_AsLong(obj1);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 arg3 = (long) SWIG_AsLong(obj2);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 {
3497 PyThreadState* __tstate = wxPyBeginAllowThreads();
3498 (arg1)->Remove(arg2,arg3);
3499
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 Py_INCREF(Py_None); resultobj = Py_None;
3504 return resultobj;
3505 fail:
3506 return NULL;
3507 }
3508
3509
3510 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
3511 PyObject *obj;
3512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3513 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3514 Py_INCREF(obj);
3515 return Py_BuildValue((char *)"");
3516 }
3517 static int _wrap_GaugeNameStr_set(PyObject *) {
3518 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3519 return 1;
3520 }
3521
3522
3523 static PyObject *_wrap_GaugeNameStr_get() {
3524 PyObject *pyobj;
3525
3526 {
3527 #if wxUSE_UNICODE
3528 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3529 #else
3530 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3531 #endif
3532 }
3533 return pyobj;
3534 }
3535
3536
3537 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj;
3539 wxWindow *arg1 = (wxWindow *) 0 ;
3540 int arg2 ;
3541 int arg3 ;
3542 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3543 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3544 wxSize const &arg5_defvalue = wxDefaultSize ;
3545 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3546 long arg6 = (long) wxGA_HORIZONTAL ;
3547 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3548 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3549 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3550 wxString *arg8 = (wxString *) &arg8_defvalue ;
3551 wxGauge *result;
3552 wxPoint temp4 ;
3553 wxSize temp5 ;
3554 bool temp8 = False ;
3555 PyObject * obj0 = 0 ;
3556 PyObject * obj1 = 0 ;
3557 PyObject * obj2 = 0 ;
3558 PyObject * obj3 = 0 ;
3559 PyObject * obj4 = 0 ;
3560 PyObject * obj5 = 0 ;
3561 PyObject * obj6 = 0 ;
3562 PyObject * obj7 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3570 arg2 = (int) SWIG_AsInt(obj1);
3571 if (PyErr_Occurred()) SWIG_fail;
3572 arg3 = (int) SWIG_AsInt(obj2);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 if (obj3) {
3575 {
3576 arg4 = &temp4;
3577 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3578 }
3579 }
3580 if (obj4) {
3581 {
3582 arg5 = &temp5;
3583 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3584 }
3585 }
3586 if (obj5) {
3587 arg6 = (long) SWIG_AsLong(obj5);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 if (obj6) {
3591 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3592 SWIG_POINTER_EXCEPTION | 0)) == -1)
3593 SWIG_fail;
3594 if (arg7 == NULL) {
3595 PyErr_SetString(PyExc_TypeError,"null reference");
3596 SWIG_fail;
3597 }
3598 }
3599 if (obj7) {
3600 {
3601 arg8 = wxString_in_helper(obj7);
3602 if (arg8 == NULL) SWIG_fail;
3603 temp8 = True;
3604 }
3605 }
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3614 {
3615 if (temp8)
3616 delete arg8;
3617 }
3618 return resultobj;
3619 fail:
3620 {
3621 if (temp8)
3622 delete arg8;
3623 }
3624 return NULL;
3625 }
3626
3627
3628 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxGauge *result;
3631 char *kwnames[] = {
3632 NULL
3633 };
3634
3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 result = (wxGauge *)new wxGauge();
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
3643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3644 return resultobj;
3645 fail:
3646 return NULL;
3647 }
3648
3649
3650 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3651 PyObject *resultobj;
3652 wxGauge *arg1 = (wxGauge *) 0 ;
3653 wxWindow *arg2 = (wxWindow *) 0 ;
3654 int arg3 ;
3655 int arg4 ;
3656 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3657 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3658 wxSize const &arg6_defvalue = wxDefaultSize ;
3659 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3660 long arg7 = (long) wxGA_HORIZONTAL ;
3661 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3662 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3663 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3664 wxString *arg9 = (wxString *) &arg9_defvalue ;
3665 bool result;
3666 wxPoint temp5 ;
3667 wxSize temp6 ;
3668 bool temp9 = False ;
3669 PyObject * obj0 = 0 ;
3670 PyObject * obj1 = 0 ;
3671 PyObject * obj2 = 0 ;
3672 PyObject * obj3 = 0 ;
3673 PyObject * obj4 = 0 ;
3674 PyObject * obj5 = 0 ;
3675 PyObject * obj6 = 0 ;
3676 PyObject * obj7 = 0 ;
3677 PyObject * obj8 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3687 arg3 = (int) SWIG_AsInt(obj2);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 arg4 = (int) SWIG_AsInt(obj3);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 if (obj4) {
3692 {
3693 arg5 = &temp5;
3694 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3695 }
3696 }
3697 if (obj5) {
3698 {
3699 arg6 = &temp6;
3700 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3701 }
3702 }
3703 if (obj6) {
3704 arg7 = (long) SWIG_AsLong(obj6);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 if (obj7) {
3708 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3709 SWIG_POINTER_EXCEPTION | 0)) == -1)
3710 SWIG_fail;
3711 if (arg8 == NULL) {
3712 PyErr_SetString(PyExc_TypeError,"null reference");
3713 SWIG_fail;
3714 }
3715 }
3716 if (obj8) {
3717 {
3718 arg9 = wxString_in_helper(obj8);
3719 if (arg9 == NULL) SWIG_fail;
3720 temp9 = True;
3721 }
3722 }
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 {
3731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3732 }
3733 {
3734 if (temp9)
3735 delete arg9;
3736 }
3737 return resultobj;
3738 fail:
3739 {
3740 if (temp9)
3741 delete arg9;
3742 }
3743 return NULL;
3744 }
3745
3746
3747 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
3748 PyObject *resultobj;
3749 wxGauge *arg1 = (wxGauge *) 0 ;
3750 int arg2 ;
3751 PyObject * obj0 = 0 ;
3752 PyObject * obj1 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "self",(char *) "range", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3760 arg2 = (int) SWIG_AsInt(obj1);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 (arg1)->SetRange(arg2);
3765
3766 wxPyEndAllowThreads(__tstate);
3767 if (PyErr_Occurred()) SWIG_fail;
3768 }
3769 Py_INCREF(Py_None); resultobj = Py_None;
3770 return resultobj;
3771 fail:
3772 return NULL;
3773 }
3774
3775
3776 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
3777 PyObject *resultobj;
3778 wxGauge *arg1 = (wxGauge *) 0 ;
3779 int result;
3780 PyObject * obj0 = 0 ;
3781 char *kwnames[] = {
3782 (char *) "self", NULL
3783 };
3784
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 result = (int)((wxGauge const *)arg1)->GetRange();
3791
3792 wxPyEndAllowThreads(__tstate);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 resultobj = SWIG_FromInt((int)result);
3796 return resultobj;
3797 fail:
3798 return NULL;
3799 }
3800
3801
3802 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3803 PyObject *resultobj;
3804 wxGauge *arg1 = (wxGauge *) 0 ;
3805 int arg2 ;
3806 PyObject * obj0 = 0 ;
3807 PyObject * obj1 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "self",(char *) "pos", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3815 arg2 = (int) SWIG_AsInt(obj1);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 (arg1)->SetValue(arg2);
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) SWIG_fail;
3823 }
3824 Py_INCREF(Py_None); resultobj = Py_None;
3825 return resultobj;
3826 fail:
3827 return NULL;
3828 }
3829
3830
3831 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3832 PyObject *resultobj;
3833 wxGauge *arg1 = (wxGauge *) 0 ;
3834 int result;
3835 PyObject * obj0 = 0 ;
3836 char *kwnames[] = {
3837 (char *) "self", NULL
3838 };
3839
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3843 {
3844 PyThreadState* __tstate = wxPyBeginAllowThreads();
3845 result = (int)((wxGauge const *)arg1)->GetValue();
3846
3847 wxPyEndAllowThreads(__tstate);
3848 if (PyErr_Occurred()) SWIG_fail;
3849 }
3850 resultobj = SWIG_FromInt((int)result);
3851 return resultobj;
3852 fail:
3853 return NULL;
3854 }
3855
3856
3857 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
3858 PyObject *resultobj;
3859 wxGauge *arg1 = (wxGauge *) 0 ;
3860 bool result;
3861 PyObject * obj0 = 0 ;
3862 char *kwnames[] = {
3863 (char *) "self", NULL
3864 };
3865
3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (bool)((wxGauge const *)arg1)->IsVertical();
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 {
3877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3878 }
3879 return resultobj;
3880 fail:
3881 return NULL;
3882 }
3883
3884
3885 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxGauge *arg1 = (wxGauge *) 0 ;
3888 int arg2 ;
3889 PyObject * obj0 = 0 ;
3890 PyObject * obj1 = 0 ;
3891 char *kwnames[] = {
3892 (char *) "self",(char *) "w", NULL
3893 };
3894
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3898 arg2 = (int) SWIG_AsInt(obj1);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 (arg1)->SetShadowWidth(arg2);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 Py_INCREF(Py_None); resultobj = Py_None;
3908 return resultobj;
3909 fail:
3910 return NULL;
3911 }
3912
3913
3914 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxGauge *arg1 = (wxGauge *) 0 ;
3917 int result;
3918 PyObject * obj0 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3929
3930 wxPyEndAllowThreads(__tstate);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 }
3933 resultobj = SWIG_FromInt((int)result);
3934 return resultobj;
3935 fail:
3936 return NULL;
3937 }
3938
3939
3940 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj;
3942 wxGauge *arg1 = (wxGauge *) 0 ;
3943 int arg2 ;
3944 PyObject * obj0 = 0 ;
3945 PyObject * obj1 = 0 ;
3946 char *kwnames[] = {
3947 (char *) "self",(char *) "w", NULL
3948 };
3949
3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3953 arg2 = (int) SWIG_AsInt(obj1);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 {
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 (arg1)->SetBezelFace(arg2);
3958
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 Py_INCREF(Py_None); resultobj = Py_None;
3963 return resultobj;
3964 fail:
3965 return NULL;
3966 }
3967
3968
3969 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
3970 PyObject *resultobj;
3971 wxGauge *arg1 = (wxGauge *) 0 ;
3972 int result;
3973 PyObject * obj0 = 0 ;
3974 char *kwnames[] = {
3975 (char *) "self", NULL
3976 };
3977
3978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
3983 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 resultobj = SWIG_FromInt((int)result);
3989 return resultobj;
3990 fail:
3991 return NULL;
3992 }
3993
3994
3995 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
3996 PyObject *obj;
3997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3998 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3999 Py_INCREF(obj);
4000 return Py_BuildValue((char *)"");
4001 }
4002 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
4003 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4004 return 1;
4005 }
4006
4007
4008 static PyObject *_wrap_StaticBitmapNameStr_get() {
4009 PyObject *pyobj;
4010
4011 {
4012 #if wxUSE_UNICODE
4013 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4014 #else
4015 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4016 #endif
4017 }
4018 return pyobj;
4019 }
4020
4021
4022 static int _wrap_StaticBoxNameStr_set(PyObject *) {
4023 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4024 return 1;
4025 }
4026
4027
4028 static PyObject *_wrap_StaticBoxNameStr_get() {
4029 PyObject *pyobj;
4030
4031 {
4032 #if wxUSE_UNICODE
4033 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4034 #else
4035 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4036 #endif
4037 }
4038 return pyobj;
4039 }
4040
4041
4042 static int _wrap_StaticTextNameStr_set(PyObject *) {
4043 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4044 return 1;
4045 }
4046
4047
4048 static PyObject *_wrap_StaticTextNameStr_get() {
4049 PyObject *pyobj;
4050
4051 {
4052 #if wxUSE_UNICODE
4053 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4054 #else
4055 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4056 #endif
4057 }
4058 return pyobj;
4059 }
4060
4061
4062 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxWindow *arg1 = (wxWindow *) 0 ;
4065 int arg2 ;
4066 wxString *arg3 = 0 ;
4067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4069 wxSize const &arg5_defvalue = wxDefaultSize ;
4070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4071 long arg6 = (long) 0 ;
4072 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4073 wxString *arg7 = (wxString *) &arg7_defvalue ;
4074 wxStaticBox *result;
4075 bool temp3 = False ;
4076 wxPoint temp4 ;
4077 wxSize temp5 ;
4078 bool temp7 = False ;
4079 PyObject * obj0 = 0 ;
4080 PyObject * obj1 = 0 ;
4081 PyObject * obj2 = 0 ;
4082 PyObject * obj3 = 0 ;
4083 PyObject * obj4 = 0 ;
4084 PyObject * obj5 = 0 ;
4085 PyObject * obj6 = 0 ;
4086 char *kwnames[] = {
4087 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4088 };
4089
4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4093 arg2 = (int) SWIG_AsInt(obj1);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 {
4096 arg3 = wxString_in_helper(obj2);
4097 if (arg3 == NULL) SWIG_fail;
4098 temp3 = True;
4099 }
4100 if (obj3) {
4101 {
4102 arg4 = &temp4;
4103 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4104 }
4105 }
4106 if (obj4) {
4107 {
4108 arg5 = &temp5;
4109 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4110 }
4111 }
4112 if (obj5) {
4113 arg6 = (long) SWIG_AsLong(obj5);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 if (obj6) {
4117 {
4118 arg7 = wxString_in_helper(obj6);
4119 if (arg7 == NULL) SWIG_fail;
4120 temp7 = True;
4121 }
4122 }
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4126
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 {
4131 resultobj = wxPyMake_wxObject(result);
4132 }
4133 {
4134 if (temp3)
4135 delete arg3;
4136 }
4137 {
4138 if (temp7)
4139 delete arg7;
4140 }
4141 return resultobj;
4142 fail:
4143 {
4144 if (temp3)
4145 delete arg3;
4146 }
4147 {
4148 if (temp7)
4149 delete arg7;
4150 }
4151 return NULL;
4152 }
4153
4154
4155 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj;
4157 wxStaticBox *result;
4158 char *kwnames[] = {
4159 NULL
4160 };
4161
4162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 result = (wxStaticBox *)new wxStaticBox();
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 {
4171 resultobj = wxPyMake_wxObject(result);
4172 }
4173 return resultobj;
4174 fail:
4175 return NULL;
4176 }
4177
4178
4179 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4180 PyObject *resultobj;
4181 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4182 wxWindow *arg2 = (wxWindow *) 0 ;
4183 int arg3 ;
4184 wxString *arg4 = 0 ;
4185 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4186 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4187 wxSize const &arg6_defvalue = wxDefaultSize ;
4188 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4189 long arg7 = (long) 0 ;
4190 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4191 wxString *arg8 = (wxString *) &arg8_defvalue ;
4192 bool result;
4193 bool temp4 = False ;
4194 wxPoint temp5 ;
4195 wxSize temp6 ;
4196 bool temp8 = False ;
4197 PyObject * obj0 = 0 ;
4198 PyObject * obj1 = 0 ;
4199 PyObject * obj2 = 0 ;
4200 PyObject * obj3 = 0 ;
4201 PyObject * obj4 = 0 ;
4202 PyObject * obj5 = 0 ;
4203 PyObject * obj6 = 0 ;
4204 PyObject * obj7 = 0 ;
4205 char *kwnames[] = {
4206 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4207 };
4208
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4214 arg3 = (int) SWIG_AsInt(obj2);
4215 if (PyErr_Occurred()) SWIG_fail;
4216 {
4217 arg4 = wxString_in_helper(obj3);
4218 if (arg4 == NULL) SWIG_fail;
4219 temp4 = True;
4220 }
4221 if (obj4) {
4222 {
4223 arg5 = &temp5;
4224 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4225 }
4226 }
4227 if (obj5) {
4228 {
4229 arg6 = &temp6;
4230 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4231 }
4232 }
4233 if (obj6) {
4234 arg7 = (long) SWIG_AsLong(obj6);
4235 if (PyErr_Occurred()) SWIG_fail;
4236 }
4237 if (obj7) {
4238 {
4239 arg8 = wxString_in_helper(obj7);
4240 if (arg8 == NULL) SWIG_fail;
4241 temp8 = True;
4242 }
4243 }
4244 {
4245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4246 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4247
4248 wxPyEndAllowThreads(__tstate);
4249 if (PyErr_Occurred()) SWIG_fail;
4250 }
4251 {
4252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4253 }
4254 {
4255 if (temp4)
4256 delete arg4;
4257 }
4258 {
4259 if (temp8)
4260 delete arg8;
4261 }
4262 return resultobj;
4263 fail:
4264 {
4265 if (temp4)
4266 delete arg4;
4267 }
4268 {
4269 if (temp8)
4270 delete arg8;
4271 }
4272 return NULL;
4273 }
4274
4275
4276 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
4277 PyObject *obj;
4278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4279 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4280 Py_INCREF(obj);
4281 return Py_BuildValue((char *)"");
4282 }
4283 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4284 PyObject *resultobj;
4285 wxWindow *arg1 = (wxWindow *) 0 ;
4286 int arg2 ;
4287 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4288 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4289 wxSize const &arg4_defvalue = wxDefaultSize ;
4290 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4291 long arg5 = (long) wxLI_HORIZONTAL ;
4292 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4293 wxString *arg6 = (wxString *) &arg6_defvalue ;
4294 wxStaticLine *result;
4295 wxPoint temp3 ;
4296 wxSize temp4 ;
4297 bool temp6 = False ;
4298 PyObject * obj0 = 0 ;
4299 PyObject * obj1 = 0 ;
4300 PyObject * obj2 = 0 ;
4301 PyObject * obj3 = 0 ;
4302 PyObject * obj4 = 0 ;
4303 PyObject * obj5 = 0 ;
4304 char *kwnames[] = {
4305 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4306 };
4307
4308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4311 arg2 = (int) SWIG_AsInt(obj1);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 if (obj2) {
4314 {
4315 arg3 = &temp3;
4316 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4317 }
4318 }
4319 if (obj3) {
4320 {
4321 arg4 = &temp4;
4322 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4323 }
4324 }
4325 if (obj4) {
4326 arg5 = (long) SWIG_AsLong(obj4);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 if (obj5) {
4330 {
4331 arg6 = wxString_in_helper(obj5);
4332 if (arg6 == NULL) SWIG_fail;
4333 temp6 = True;
4334 }
4335 }
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4344 {
4345 if (temp6)
4346 delete arg6;
4347 }
4348 return resultobj;
4349 fail:
4350 {
4351 if (temp6)
4352 delete arg6;
4353 }
4354 return NULL;
4355 }
4356
4357
4358 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj;
4360 wxStaticLine *result;
4361 char *kwnames[] = {
4362 NULL
4363 };
4364
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4366 {
4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
4368 result = (wxStaticLine *)new wxStaticLine();
4369
4370 wxPyEndAllowThreads(__tstate);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4374 return resultobj;
4375 fail:
4376 return NULL;
4377 }
4378
4379
4380 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4381 PyObject *resultobj;
4382 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4383 wxWindow *arg2 = (wxWindow *) 0 ;
4384 int arg3 ;
4385 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4386 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4387 wxSize const &arg5_defvalue = wxDefaultSize ;
4388 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4389 long arg6 = (long) wxLI_HORIZONTAL ;
4390 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4391 wxString *arg7 = (wxString *) &arg7_defvalue ;
4392 bool result;
4393 wxPoint temp4 ;
4394 wxSize temp5 ;
4395 bool temp7 = False ;
4396 PyObject * obj0 = 0 ;
4397 PyObject * obj1 = 0 ;
4398 PyObject * obj2 = 0 ;
4399 PyObject * obj3 = 0 ;
4400 PyObject * obj4 = 0 ;
4401 PyObject * obj5 = 0 ;
4402 PyObject * obj6 = 0 ;
4403 char *kwnames[] = {
4404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4405 };
4406
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4412 arg3 = (int) SWIG_AsInt(obj2);
4413 if (PyErr_Occurred()) SWIG_fail;
4414 if (obj3) {
4415 {
4416 arg4 = &temp4;
4417 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4418 }
4419 }
4420 if (obj4) {
4421 {
4422 arg5 = &temp5;
4423 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4424 }
4425 }
4426 if (obj5) {
4427 arg6 = (long) SWIG_AsLong(obj5);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 if (obj6) {
4431 {
4432 arg7 = wxString_in_helper(obj6);
4433 if (arg7 == NULL) SWIG_fail;
4434 temp7 = True;
4435 }
4436 }
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 {
4445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4446 }
4447 {
4448 if (temp7)
4449 delete arg7;
4450 }
4451 return resultobj;
4452 fail:
4453 {
4454 if (temp7)
4455 delete arg7;
4456 }
4457 return NULL;
4458 }
4459
4460
4461 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj;
4463 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4464 bool result;
4465 PyObject * obj0 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4476
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 {
4481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4482 }
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 int result;
4492 char *kwnames[] = {
4493 NULL
4494 };
4495
4496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4497 {
4498 PyThreadState* __tstate = wxPyBeginAllowThreads();
4499 result = (int)wxStaticLine::GetDefaultSize();
4500
4501 wxPyEndAllowThreads(__tstate);
4502 if (PyErr_Occurred()) SWIG_fail;
4503 }
4504 resultobj = SWIG_FromInt((int)result);
4505 return resultobj;
4506 fail:
4507 return NULL;
4508 }
4509
4510
4511 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
4512 PyObject *obj;
4513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4514 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4515 Py_INCREF(obj);
4516 return Py_BuildValue((char *)"");
4517 }
4518 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj;
4520 wxWindow *arg1 = (wxWindow *) 0 ;
4521 int arg2 ;
4522 wxString *arg3 = 0 ;
4523 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4524 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4525 wxSize const &arg5_defvalue = wxDefaultSize ;
4526 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4527 long arg6 = (long) 0 ;
4528 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4529 wxString *arg7 = (wxString *) &arg7_defvalue ;
4530 wxStaticText *result;
4531 bool temp3 = False ;
4532 wxPoint temp4 ;
4533 wxSize temp5 ;
4534 bool temp7 = False ;
4535 PyObject * obj0 = 0 ;
4536 PyObject * obj1 = 0 ;
4537 PyObject * obj2 = 0 ;
4538 PyObject * obj3 = 0 ;
4539 PyObject * obj4 = 0 ;
4540 PyObject * obj5 = 0 ;
4541 PyObject * obj6 = 0 ;
4542 char *kwnames[] = {
4543 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4544 };
4545
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4549 arg2 = (int) SWIG_AsInt(obj1);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 {
4552 arg3 = wxString_in_helper(obj2);
4553 if (arg3 == NULL) SWIG_fail;
4554 temp3 = True;
4555 }
4556 if (obj3) {
4557 {
4558 arg4 = &temp4;
4559 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4560 }
4561 }
4562 if (obj4) {
4563 {
4564 arg5 = &temp5;
4565 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4566 }
4567 }
4568 if (obj5) {
4569 arg6 = (long) SWIG_AsLong(obj5);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 if (obj6) {
4573 {
4574 arg7 = wxString_in_helper(obj6);
4575 if (arg7 == NULL) SWIG_fail;
4576 temp7 = True;
4577 }
4578 }
4579 {
4580 PyThreadState* __tstate = wxPyBeginAllowThreads();
4581 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4582
4583 wxPyEndAllowThreads(__tstate);
4584 if (PyErr_Occurred()) SWIG_fail;
4585 }
4586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4587 {
4588 if (temp3)
4589 delete arg3;
4590 }
4591 {
4592 if (temp7)
4593 delete arg7;
4594 }
4595 return resultobj;
4596 fail:
4597 {
4598 if (temp3)
4599 delete arg3;
4600 }
4601 {
4602 if (temp7)
4603 delete arg7;
4604 }
4605 return NULL;
4606 }
4607
4608
4609 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
4610 PyObject *resultobj;
4611 wxStaticText *result;
4612 char *kwnames[] = {
4613 NULL
4614 };
4615
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4617 {
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 result = (wxStaticText *)new wxStaticText();
4620
4621 wxPyEndAllowThreads(__tstate);
4622 if (PyErr_Occurred()) SWIG_fail;
4623 }
4624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4625 return resultobj;
4626 fail:
4627 return NULL;
4628 }
4629
4630
4631 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxStaticText *arg1 = (wxStaticText *) 0 ;
4634 wxWindow *arg2 = (wxWindow *) 0 ;
4635 int arg3 ;
4636 wxString *arg4 = 0 ;
4637 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4638 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4639 wxSize const &arg6_defvalue = wxDefaultSize ;
4640 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4641 long arg7 = (long) 0 ;
4642 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4643 wxString *arg8 = (wxString *) &arg8_defvalue ;
4644 bool result;
4645 bool temp4 = False ;
4646 wxPoint temp5 ;
4647 wxSize temp6 ;
4648 bool temp8 = False ;
4649 PyObject * obj0 = 0 ;
4650 PyObject * obj1 = 0 ;
4651 PyObject * obj2 = 0 ;
4652 PyObject * obj3 = 0 ;
4653 PyObject * obj4 = 0 ;
4654 PyObject * obj5 = 0 ;
4655 PyObject * obj6 = 0 ;
4656 PyObject * obj7 = 0 ;
4657 char *kwnames[] = {
4658 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4666 arg3 = (int) SWIG_AsInt(obj2);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 {
4669 arg4 = wxString_in_helper(obj3);
4670 if (arg4 == NULL) SWIG_fail;
4671 temp4 = True;
4672 }
4673 if (obj4) {
4674 {
4675 arg5 = &temp5;
4676 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4677 }
4678 }
4679 if (obj5) {
4680 {
4681 arg6 = &temp6;
4682 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4683 }
4684 }
4685 if (obj6) {
4686 arg7 = (long) SWIG_AsLong(obj6);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 if (obj7) {
4690 {
4691 arg8 = wxString_in_helper(obj7);
4692 if (arg8 == NULL) SWIG_fail;
4693 temp8 = True;
4694 }
4695 }
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 {
4704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4705 }
4706 {
4707 if (temp4)
4708 delete arg4;
4709 }
4710 {
4711 if (temp8)
4712 delete arg8;
4713 }
4714 return resultobj;
4715 fail:
4716 {
4717 if (temp4)
4718 delete arg4;
4719 }
4720 {
4721 if (temp8)
4722 delete arg8;
4723 }
4724 return NULL;
4725 }
4726
4727
4728 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
4729 PyObject *obj;
4730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4731 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4732 Py_INCREF(obj);
4733 return Py_BuildValue((char *)"");
4734 }
4735 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4736 PyObject *resultobj;
4737 wxWindow *arg1 = (wxWindow *) 0 ;
4738 int arg2 ;
4739 wxBitmap *arg3 = 0 ;
4740 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4741 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4742 wxSize const &arg5_defvalue = wxDefaultSize ;
4743 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4744 long arg6 = (long) 0 ;
4745 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4746 wxString *arg7 = (wxString *) &arg7_defvalue ;
4747 wxStaticBitmap *result;
4748 wxPoint temp4 ;
4749 wxSize temp5 ;
4750 bool temp7 = False ;
4751 PyObject * obj0 = 0 ;
4752 PyObject * obj1 = 0 ;
4753 PyObject * obj2 = 0 ;
4754 PyObject * obj3 = 0 ;
4755 PyObject * obj4 = 0 ;
4756 PyObject * obj5 = 0 ;
4757 PyObject * obj6 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4765 arg2 = (int) SWIG_AsInt(obj1);
4766 if (PyErr_Occurred()) SWIG_fail;
4767 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4768 SWIG_POINTER_EXCEPTION | 0)) == -1)
4769 SWIG_fail;
4770 if (arg3 == NULL) {
4771 PyErr_SetString(PyExc_TypeError,"null reference");
4772 SWIG_fail;
4773 }
4774 if (obj3) {
4775 {
4776 arg4 = &temp4;
4777 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4778 }
4779 }
4780 if (obj4) {
4781 {
4782 arg5 = &temp5;
4783 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4784 }
4785 }
4786 if (obj5) {
4787 arg6 = (long) SWIG_AsLong(obj5);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 if (obj6) {
4791 {
4792 arg7 = wxString_in_helper(obj6);
4793 if (arg7 == NULL) SWIG_fail;
4794 temp7 = True;
4795 }
4796 }
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4805 {
4806 if (temp7)
4807 delete arg7;
4808 }
4809 return resultobj;
4810 fail:
4811 {
4812 if (temp7)
4813 delete arg7;
4814 }
4815 return NULL;
4816 }
4817
4818
4819 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4820 PyObject *resultobj;
4821 wxStaticBitmap *result;
4822 char *kwnames[] = {
4823 NULL
4824 };
4825
4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (wxStaticBitmap *)new wxStaticBitmap();
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4844 wxWindow *arg2 = (wxWindow *) 0 ;
4845 int arg3 ;
4846 wxBitmap *arg4 = 0 ;
4847 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4848 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4849 wxSize const &arg6_defvalue = wxDefaultSize ;
4850 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4851 long arg7 = (long) 0 ;
4852 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4853 wxString *arg8 = (wxString *) &arg8_defvalue ;
4854 bool result;
4855 wxPoint temp5 ;
4856 wxSize temp6 ;
4857 bool temp8 = False ;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4860 PyObject * obj2 = 0 ;
4861 PyObject * obj3 = 0 ;
4862 PyObject * obj4 = 0 ;
4863 PyObject * obj5 = 0 ;
4864 PyObject * obj6 = 0 ;
4865 PyObject * obj7 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4875 arg3 = (int) SWIG_AsInt(obj2);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4878 SWIG_POINTER_EXCEPTION | 0)) == -1)
4879 SWIG_fail;
4880 if (arg4 == NULL) {
4881 PyErr_SetString(PyExc_TypeError,"null reference");
4882 SWIG_fail;
4883 }
4884 if (obj4) {
4885 {
4886 arg5 = &temp5;
4887 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4888 }
4889 }
4890 if (obj5) {
4891 {
4892 arg6 = &temp6;
4893 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4894 }
4895 }
4896 if (obj6) {
4897 arg7 = (long) SWIG_AsLong(obj6);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 }
4900 if (obj7) {
4901 {
4902 arg8 = wxString_in_helper(obj7);
4903 if (arg8 == NULL) SWIG_fail;
4904 temp8 = True;
4905 }
4906 }
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 {
4915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4916 }
4917 {
4918 if (temp8)
4919 delete arg8;
4920 }
4921 return resultobj;
4922 fail:
4923 {
4924 if (temp8)
4925 delete arg8;
4926 }
4927 return NULL;
4928 }
4929
4930
4931 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4932 PyObject *resultobj;
4933 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4934 wxBitmap result;
4935 PyObject * obj0 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 result = (arg1)->GetBitmap();
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 {
4951 wxBitmap * resultptr;
4952 resultptr = new wxBitmap((wxBitmap &) result);
4953 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4954 }
4955 return resultobj;
4956 fail:
4957 return NULL;
4958 }
4959
4960
4961 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4962 PyObject *resultobj;
4963 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4964 wxBitmap *arg2 = 0 ;
4965 PyObject * obj0 = 0 ;
4966 PyObject * obj1 = 0 ;
4967 char *kwnames[] = {
4968 (char *) "self",(char *) "bitmap", NULL
4969 };
4970
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1)
4976 SWIG_fail;
4977 if (arg2 == NULL) {
4978 PyErr_SetString(PyExc_TypeError,"null reference");
4979 SWIG_fail;
4980 }
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4984
4985 wxPyEndAllowThreads(__tstate);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 }
4988 Py_INCREF(Py_None); resultobj = Py_None;
4989 return resultobj;
4990 fail:
4991 return NULL;
4992 }
4993
4994
4995 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4996 PyObject *resultobj;
4997 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4998 wxIcon *arg2 = 0 ;
4999 PyObject * obj0 = 0 ;
5000 PyObject * obj1 = 0 ;
5001 char *kwnames[] = {
5002 (char *) "self",(char *) "icon", NULL
5003 };
5004
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5009 SWIG_POINTER_EXCEPTION | 0)) == -1)
5010 SWIG_fail;
5011 if (arg2 == NULL) {
5012 PyErr_SetString(PyExc_TypeError,"null reference");
5013 SWIG_fail;
5014 }
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 (arg1)->SetIcon((wxIcon const &)*arg2);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 Py_INCREF(Py_None); resultobj = Py_None;
5023 return resultobj;
5024 fail:
5025 return NULL;
5026 }
5027
5028
5029 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
5030 PyObject *obj;
5031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5032 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5033 Py_INCREF(obj);
5034 return Py_BuildValue((char *)"");
5035 }
5036 static int _wrap_ListBoxNameStr_set(PyObject *) {
5037 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5038 return 1;
5039 }
5040
5041
5042 static PyObject *_wrap_ListBoxNameStr_get() {
5043 PyObject *pyobj;
5044
5045 {
5046 #if wxUSE_UNICODE
5047 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5048 #else
5049 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5050 #endif
5051 }
5052 return pyobj;
5053 }
5054
5055
5056 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj;
5058 wxWindow *arg1 = (wxWindow *) 0 ;
5059 int arg2 ;
5060 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5061 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5062 wxSize const &arg4_defvalue = wxDefaultSize ;
5063 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5064 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5065 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5066 long arg6 = (long) 0 ;
5067 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5068 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5069 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5070 wxString *arg8 = (wxString *) &arg8_defvalue ;
5071 wxListBox *result;
5072 wxPoint temp3 ;
5073 wxSize temp4 ;
5074 bool temp5 = False ;
5075 bool temp8 = False ;
5076 PyObject * obj0 = 0 ;
5077 PyObject * obj1 = 0 ;
5078 PyObject * obj2 = 0 ;
5079 PyObject * obj3 = 0 ;
5080 PyObject * obj4 = 0 ;
5081 PyObject * obj5 = 0 ;
5082 PyObject * obj6 = 0 ;
5083 PyObject * obj7 = 0 ;
5084 char *kwnames[] = {
5085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5086 };
5087
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5091 arg2 = (int) SWIG_AsInt(obj1);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 if (obj2) {
5094 {
5095 arg3 = &temp3;
5096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5097 }
5098 }
5099 if (obj3) {
5100 {
5101 arg4 = &temp4;
5102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5103 }
5104 }
5105 if (obj4) {
5106 {
5107 if (! PySequence_Check(obj4)) {
5108 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5109 SWIG_fail;
5110 }
5111 arg5 = new wxArrayString;
5112 temp5 = True;
5113 int i, len=PySequence_Length(obj4);
5114 for (i=0; i<len; i++) {
5115 PyObject* item = PySequence_GetItem(obj4, i);
5116 #if wxUSE_UNICODE
5117 PyObject* str = PyObject_Unicode(item);
5118 #else
5119 PyObject* str = PyObject_Str(item);
5120 #endif
5121 arg5->Add(Py2wxString(str));
5122 Py_DECREF(item);
5123 Py_DECREF(str);
5124 }
5125 }
5126 }
5127 if (obj5) {
5128 arg6 = (long) SWIG_AsLong(obj5);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 if (obj6) {
5132 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5133 SWIG_POINTER_EXCEPTION | 0)) == -1)
5134 SWIG_fail;
5135 if (arg7 == NULL) {
5136 PyErr_SetString(PyExc_TypeError,"null reference");
5137 SWIG_fail;
5138 }
5139 }
5140 if (obj7) {
5141 {
5142 arg8 = wxString_in_helper(obj7);
5143 if (arg8 == NULL) SWIG_fail;
5144 temp8 = True;
5145 }
5146 }
5147 {
5148 PyThreadState* __tstate = wxPyBeginAllowThreads();
5149 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5150
5151 wxPyEndAllowThreads(__tstate);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 }
5154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5155 {
5156 if (temp5) delete arg5;
5157 }
5158 {
5159 if (temp8)
5160 delete arg8;
5161 }
5162 return resultobj;
5163 fail:
5164 {
5165 if (temp5) delete arg5;
5166 }
5167 {
5168 if (temp8)
5169 delete arg8;
5170 }
5171 return NULL;
5172 }
5173
5174
5175 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5176 PyObject *resultobj;
5177 wxListBox *result;
5178 char *kwnames[] = {
5179 NULL
5180 };
5181
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 result = (wxListBox *)new wxListBox();
5186
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5191 return resultobj;
5192 fail:
5193 return NULL;
5194 }
5195
5196
5197 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxListBox *arg1 = (wxListBox *) 0 ;
5200 wxWindow *arg2 = (wxWindow *) 0 ;
5201 int arg3 ;
5202 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5203 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5204 wxSize const &arg5_defvalue = wxDefaultSize ;
5205 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5206 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5207 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5208 long arg7 = (long) 0 ;
5209 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5210 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5211 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5212 wxString *arg9 = (wxString *) &arg9_defvalue ;
5213 bool result;
5214 wxPoint temp4 ;
5215 wxSize temp5 ;
5216 bool temp6 = False ;
5217 bool temp9 = False ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 PyObject * obj2 = 0 ;
5221 PyObject * obj3 = 0 ;
5222 PyObject * obj4 = 0 ;
5223 PyObject * obj5 = 0 ;
5224 PyObject * obj6 = 0 ;
5225 PyObject * obj7 = 0 ;
5226 PyObject * obj8 = 0 ;
5227 char *kwnames[] = {
5228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5229 };
5230
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5236 arg3 = (int) SWIG_AsInt(obj2);
5237 if (PyErr_Occurred()) SWIG_fail;
5238 if (obj3) {
5239 {
5240 arg4 = &temp4;
5241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5242 }
5243 }
5244 if (obj4) {
5245 {
5246 arg5 = &temp5;
5247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5248 }
5249 }
5250 if (obj5) {
5251 {
5252 if (! PySequence_Check(obj5)) {
5253 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5254 SWIG_fail;
5255 }
5256 arg6 = new wxArrayString;
5257 temp6 = True;
5258 int i, len=PySequence_Length(obj5);
5259 for (i=0; i<len; i++) {
5260 PyObject* item = PySequence_GetItem(obj5, i);
5261 #if wxUSE_UNICODE
5262 PyObject* str = PyObject_Unicode(item);
5263 #else
5264 PyObject* str = PyObject_Str(item);
5265 #endif
5266 arg6->Add(Py2wxString(str));
5267 Py_DECREF(item);
5268 Py_DECREF(str);
5269 }
5270 }
5271 }
5272 if (obj6) {
5273 arg7 = (long) SWIG_AsLong(obj6);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 if (obj7) {
5277 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5278 SWIG_POINTER_EXCEPTION | 0)) == -1)
5279 SWIG_fail;
5280 if (arg8 == NULL) {
5281 PyErr_SetString(PyExc_TypeError,"null reference");
5282 SWIG_fail;
5283 }
5284 }
5285 if (obj8) {
5286 {
5287 arg9 = wxString_in_helper(obj8);
5288 if (arg9 == NULL) SWIG_fail;
5289 temp9 = True;
5290 }
5291 }
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 {
5300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5301 }
5302 {
5303 if (temp6) delete arg6;
5304 }
5305 {
5306 if (temp9)
5307 delete arg9;
5308 }
5309 return resultobj;
5310 fail:
5311 {
5312 if (temp6) delete arg6;
5313 }
5314 {
5315 if (temp9)
5316 delete arg9;
5317 }
5318 return NULL;
5319 }
5320
5321
5322 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
5323 PyObject *resultobj;
5324 wxListBox *arg1 = (wxListBox *) 0 ;
5325 wxString *arg2 = 0 ;
5326 int arg3 ;
5327 PyObject *arg4 = (PyObject *) NULL ;
5328 bool temp2 = False ;
5329 PyObject * obj0 = 0 ;
5330 PyObject * obj1 = 0 ;
5331 PyObject * obj2 = 0 ;
5332 PyObject * obj3 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5340 {
5341 arg2 = wxString_in_helper(obj1);
5342 if (arg2 == NULL) SWIG_fail;
5343 temp2 = True;
5344 }
5345 arg3 = (int) SWIG_AsInt(obj2);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 if (obj3) {
5348 arg4 = obj3;
5349 }
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 Py_INCREF(Py_None); resultobj = Py_None;
5358 {
5359 if (temp2)
5360 delete arg2;
5361 }
5362 return resultobj;
5363 fail:
5364 {
5365 if (temp2)
5366 delete arg2;
5367 }
5368 return NULL;
5369 }
5370
5371
5372 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj;
5374 wxListBox *arg1 = (wxListBox *) 0 ;
5375 wxArrayString *arg2 = 0 ;
5376 int arg3 ;
5377 bool temp2 = False ;
5378 PyObject * obj0 = 0 ;
5379 PyObject * obj1 = 0 ;
5380 PyObject * obj2 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self",(char *) "items",(char *) "pos", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5388 {
5389 if (! PySequence_Check(obj1)) {
5390 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5391 SWIG_fail;
5392 }
5393 arg2 = new wxArrayString;
5394 temp2 = True;
5395 int i, len=PySequence_Length(obj1);
5396 for (i=0; i<len; i++) {
5397 PyObject* item = PySequence_GetItem(obj1, i);
5398 #if wxUSE_UNICODE
5399 PyObject* str = PyObject_Unicode(item);
5400 #else
5401 PyObject* str = PyObject_Str(item);
5402 #endif
5403 arg2->Add(Py2wxString(str));
5404 Py_DECREF(item);
5405 Py_DECREF(str);
5406 }
5407 }
5408 arg3 = (int) SWIG_AsInt(obj2);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 Py_INCREF(Py_None); resultobj = Py_None;
5418 {
5419 if (temp2) delete arg2;
5420 }
5421 return resultobj;
5422 fail:
5423 {
5424 if (temp2) delete arg2;
5425 }
5426 return NULL;
5427 }
5428
5429
5430 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
5431 PyObject *resultobj;
5432 wxListBox *arg1 = (wxListBox *) 0 ;
5433 wxArrayString *arg2 = 0 ;
5434 bool temp2 = False ;
5435 PyObject * obj0 = 0 ;
5436 PyObject * obj1 = 0 ;
5437 char *kwnames[] = {
5438 (char *) "self",(char *) "items", NULL
5439 };
5440
5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5444 {
5445 if (! PySequence_Check(obj1)) {
5446 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5447 SWIG_fail;
5448 }
5449 arg2 = new wxArrayString;
5450 temp2 = True;
5451 int i, len=PySequence_Length(obj1);
5452 for (i=0; i<len; i++) {
5453 PyObject* item = PySequence_GetItem(obj1, i);
5454 #if wxUSE_UNICODE
5455 PyObject* str = PyObject_Unicode(item);
5456 #else
5457 PyObject* str = PyObject_Str(item);
5458 #endif
5459 arg2->Add(Py2wxString(str));
5460 Py_DECREF(item);
5461 Py_DECREF(str);
5462 }
5463 }
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 (arg1)->Set((wxArrayString const &)*arg2);
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 Py_INCREF(Py_None); resultobj = Py_None;
5472 {
5473 if (temp2) delete arg2;
5474 }
5475 return resultobj;
5476 fail:
5477 {
5478 if (temp2) delete arg2;
5479 }
5480 return NULL;
5481 }
5482
5483
5484 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
5485 PyObject *resultobj;
5486 wxListBox *arg1 = (wxListBox *) 0 ;
5487 int arg2 ;
5488 bool result;
5489 PyObject * obj0 = 0 ;
5490 PyObject * obj1 = 0 ;
5491 char *kwnames[] = {
5492 (char *) "self",(char *) "n", NULL
5493 };
5494
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5498 arg2 = (int) SWIG_AsInt(obj1);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 {
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5503
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 {
5508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5509 }
5510 return resultobj;
5511 fail:
5512 return NULL;
5513 }
5514
5515
5516 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 wxListBox *arg1 = (wxListBox *) 0 ;
5519 int arg2 ;
5520 bool arg3 = (bool) True ;
5521 PyObject * obj0 = 0 ;
5522 PyObject * obj1 = 0 ;
5523 PyObject * obj2 = 0 ;
5524 char *kwnames[] = {
5525 (char *) "self",(char *) "n",(char *) "select", NULL
5526 };
5527
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5531 arg2 = (int) SWIG_AsInt(obj1);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 if (obj2) {
5534 arg3 = (bool) SWIG_AsBool(obj2);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 (arg1)->SetSelection(arg2,arg3);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 Py_INCREF(Py_None); resultobj = Py_None;
5545 return resultobj;
5546 fail:
5547 return NULL;
5548 }
5549
5550
5551 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj;
5553 wxListBox *arg1 = (wxListBox *) 0 ;
5554 int arg2 ;
5555 PyObject * obj0 = 0 ;
5556 PyObject * obj1 = 0 ;
5557 char *kwnames[] = {
5558 (char *) "self",(char *) "n", NULL
5559 };
5560
5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5564 arg2 = (int) SWIG_AsInt(obj1);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 (arg1)->Select(arg2);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 Py_INCREF(Py_None); resultobj = Py_None;
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxListBox *arg1 = (wxListBox *) 0 ;
5583 int arg2 ;
5584 PyObject * obj0 = 0 ;
5585 PyObject * obj1 = 0 ;
5586 char *kwnames[] = {
5587 (char *) "self",(char *) "n", NULL
5588 };
5589
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5593 arg2 = (int) SWIG_AsInt(obj1);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 {
5596 PyThreadState* __tstate = wxPyBeginAllowThreads();
5597 (arg1)->Deselect(arg2);
5598
5599 wxPyEndAllowThreads(__tstate);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 Py_INCREF(Py_None); resultobj = Py_None;
5603 return resultobj;
5604 fail:
5605 return NULL;
5606 }
5607
5608
5609 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5610 PyObject *resultobj;
5611 wxListBox *arg1 = (wxListBox *) 0 ;
5612 int arg2 = (int) -1 ;
5613 PyObject * obj0 = 0 ;
5614 PyObject * obj1 = 0 ;
5615 char *kwnames[] = {
5616 (char *) "self",(char *) "itemToLeaveSelected", NULL
5617 };
5618
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5622 if (obj1) {
5623 arg2 = (int) SWIG_AsInt(obj1);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 {
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 (arg1)->DeselectAll(arg2);
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 Py_INCREF(Py_None); resultobj = Py_None;
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5641 PyObject *resultobj;
5642 wxListBox *arg1 = (wxListBox *) 0 ;
5643 wxString *arg2 = 0 ;
5644 bool arg3 = (bool) True ;
5645 bool result;
5646 bool temp2 = False ;
5647 PyObject * obj0 = 0 ;
5648 PyObject * obj1 = 0 ;
5649 PyObject * obj2 = 0 ;
5650 char *kwnames[] = {
5651 (char *) "self",(char *) "s",(char *) "select", NULL
5652 };
5653
5654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5657 {
5658 arg2 = wxString_in_helper(obj1);
5659 if (arg2 == NULL) SWIG_fail;
5660 temp2 = True;
5661 }
5662 if (obj2) {
5663 arg3 = (bool) SWIG_AsBool(obj2);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 {
5667 PyThreadState* __tstate = wxPyBeginAllowThreads();
5668 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5669
5670 wxPyEndAllowThreads(__tstate);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 {
5674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5675 }
5676 {
5677 if (temp2)
5678 delete arg2;
5679 }
5680 return resultobj;
5681 fail:
5682 {
5683 if (temp2)
5684 delete arg2;
5685 }
5686 return NULL;
5687 }
5688
5689
5690 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
5691 PyObject *resultobj;
5692 wxListBox *arg1 = (wxListBox *) 0 ;
5693 PyObject *result;
5694 PyObject * obj0 = 0 ;
5695 char *kwnames[] = {
5696 (char *) "self", NULL
5697 };
5698
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 result = (PyObject *)wxListBox_GetSelections(arg1);
5705
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 resultobj = result;
5710 return resultobj;
5711 fail:
5712 return NULL;
5713 }
5714
5715
5716 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
5717 PyObject *resultobj;
5718 wxListBox *arg1 = (wxListBox *) 0 ;
5719 int arg2 ;
5720 PyObject * obj0 = 0 ;
5721 PyObject * obj1 = 0 ;
5722 char *kwnames[] = {
5723 (char *) "self",(char *) "n", NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5729 arg2 = (int) SWIG_AsInt(obj1);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 (arg1)->SetFirstItem(arg2);
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 Py_INCREF(Py_None); resultobj = Py_None;
5739 return resultobj;
5740 fail:
5741 return NULL;
5742 }
5743
5744
5745 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxListBox *arg1 = (wxListBox *) 0 ;
5748 wxString *arg2 = 0 ;
5749 bool temp2 = False ;
5750 PyObject * obj0 = 0 ;
5751 PyObject * obj1 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "s", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5759 {
5760 arg2 = wxString_in_helper(obj1);
5761 if (arg2 == NULL) SWIG_fail;
5762 temp2 = True;
5763 }
5764 {
5765 PyThreadState* __tstate = wxPyBeginAllowThreads();
5766 (arg1)->SetFirstItem((wxString const &)*arg2);
5767
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 Py_INCREF(Py_None); resultobj = Py_None;
5772 {
5773 if (temp2)
5774 delete arg2;
5775 }
5776 return resultobj;
5777 fail:
5778 {
5779 if (temp2)
5780 delete arg2;
5781 }
5782 return NULL;
5783 }
5784
5785
5786 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5787 PyObject *resultobj;
5788 wxListBox *arg1 = (wxListBox *) 0 ;
5789 int arg2 ;
5790 PyObject * obj0 = 0 ;
5791 PyObject * obj1 = 0 ;
5792 char *kwnames[] = {
5793 (char *) "self",(char *) "n", NULL
5794 };
5795
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5799 arg2 = (int) SWIG_AsInt(obj1);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 {
5802 PyThreadState* __tstate = wxPyBeginAllowThreads();
5803 (arg1)->EnsureVisible(arg2);
5804
5805 wxPyEndAllowThreads(__tstate);
5806 if (PyErr_Occurred()) SWIG_fail;
5807 }
5808 Py_INCREF(Py_None); resultobj = Py_None;
5809 return resultobj;
5810 fail:
5811 return NULL;
5812 }
5813
5814
5815 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5816 PyObject *resultobj;
5817 wxListBox *arg1 = (wxListBox *) 0 ;
5818 wxString *arg2 = 0 ;
5819 bool temp2 = False ;
5820 PyObject * obj0 = 0 ;
5821 PyObject * obj1 = 0 ;
5822 char *kwnames[] = {
5823 (char *) "self",(char *) "s", NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5829 {
5830 arg2 = wxString_in_helper(obj1);
5831 if (arg2 == NULL) SWIG_fail;
5832 temp2 = True;
5833 }
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5837
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 Py_INCREF(Py_None); resultobj = Py_None;
5842 {
5843 if (temp2)
5844 delete arg2;
5845 }
5846 return resultobj;
5847 fail:
5848 {
5849 if (temp2)
5850 delete arg2;
5851 }
5852 return NULL;
5853 }
5854
5855
5856 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxListBox *arg1 = (wxListBox *) 0 ;
5859 bool result;
5860 PyObject * obj0 = 0 ;
5861 char *kwnames[] = {
5862 (char *) "self", NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 result = (bool)((wxListBox const *)arg1)->IsSorted();
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 {
5876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5877 }
5878 return resultobj;
5879 fail:
5880 return NULL;
5881 }
5882
5883
5884 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5885 PyObject *resultobj;
5886 wxListBox *arg1 = (wxListBox *) 0 ;
5887 int arg2 ;
5888 wxColour *arg3 = 0 ;
5889 wxColour temp3 ;
5890 PyObject * obj0 = 0 ;
5891 PyObject * obj1 = 0 ;
5892 PyObject * obj2 = 0 ;
5893 char *kwnames[] = {
5894 (char *) "self",(char *) "item",(char *) "c", NULL
5895 };
5896
5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5900 arg2 = (int) SWIG_AsInt(obj1);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 {
5903 arg3 = &temp3;
5904 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5905 }
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5909
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 Py_INCREF(Py_None); resultobj = Py_None;
5914 return resultobj;
5915 fail:
5916 return NULL;
5917 }
5918
5919
5920 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5921 PyObject *resultobj;
5922 wxListBox *arg1 = (wxListBox *) 0 ;
5923 int arg2 ;
5924 wxColour *arg3 = 0 ;
5925 wxColour temp3 ;
5926 PyObject * obj0 = 0 ;
5927 PyObject * obj1 = 0 ;
5928 PyObject * obj2 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self",(char *) "item",(char *) "c", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5936 arg2 = (int) SWIG_AsInt(obj1);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 {
5939 arg3 = &temp3;
5940 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5941 }
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 Py_INCREF(Py_None); resultobj = Py_None;
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxListBox *arg1 = (wxListBox *) 0 ;
5959 int arg2 ;
5960 wxFont *arg3 = 0 ;
5961 PyObject * obj0 = 0 ;
5962 PyObject * obj1 = 0 ;
5963 PyObject * obj2 = 0 ;
5964 char *kwnames[] = {
5965 (char *) "self",(char *) "item",(char *) "f", NULL
5966 };
5967
5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5971 arg2 = (int) SWIG_AsInt(obj1);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
5974 SWIG_POINTER_EXCEPTION | 0)) == -1)
5975 SWIG_fail;
5976 if (arg3 == NULL) {
5977 PyErr_SetString(PyExc_TypeError,"null reference");
5978 SWIG_fail;
5979 }
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5983
5984 wxPyEndAllowThreads(__tstate);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
5987 Py_INCREF(Py_None); resultobj = Py_None;
5988 return resultobj;
5989 fail:
5990 return NULL;
5991 }
5992
5993
5994 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
5995 PyObject *obj;
5996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5997 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5998 Py_INCREF(obj);
5999 return Py_BuildValue((char *)"");
6000 }
6001 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxWindow *arg1 = (wxWindow *) 0 ;
6004 int arg2 ;
6005 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6006 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6007 wxSize const &arg4_defvalue = wxDefaultSize ;
6008 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6009 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6010 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6011 long arg6 = (long) 0 ;
6012 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6013 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6014 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6015 wxString *arg8 = (wxString *) &arg8_defvalue ;
6016 wxCheckListBox *result;
6017 wxPoint temp3 ;
6018 wxSize temp4 ;
6019 bool temp5 = False ;
6020 bool temp8 = False ;
6021 PyObject * obj0 = 0 ;
6022 PyObject * obj1 = 0 ;
6023 PyObject * obj2 = 0 ;
6024 PyObject * obj3 = 0 ;
6025 PyObject * obj4 = 0 ;
6026 PyObject * obj5 = 0 ;
6027 PyObject * obj6 = 0 ;
6028 PyObject * obj7 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6036 arg2 = (int) SWIG_AsInt(obj1);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 if (obj2) {
6039 {
6040 arg3 = &temp3;
6041 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6042 }
6043 }
6044 if (obj3) {
6045 {
6046 arg4 = &temp4;
6047 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6048 }
6049 }
6050 if (obj4) {
6051 {
6052 if (! PySequence_Check(obj4)) {
6053 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6054 SWIG_fail;
6055 }
6056 arg5 = new wxArrayString;
6057 temp5 = True;
6058 int i, len=PySequence_Length(obj4);
6059 for (i=0; i<len; i++) {
6060 PyObject* item = PySequence_GetItem(obj4, i);
6061 #if wxUSE_UNICODE
6062 PyObject* str = PyObject_Unicode(item);
6063 #else
6064 PyObject* str = PyObject_Str(item);
6065 #endif
6066 arg5->Add(Py2wxString(str));
6067 Py_DECREF(item);
6068 Py_DECREF(str);
6069 }
6070 }
6071 }
6072 if (obj5) {
6073 arg6 = (long) SWIG_AsLong(obj5);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 if (obj6) {
6077 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6078 SWIG_POINTER_EXCEPTION | 0)) == -1)
6079 SWIG_fail;
6080 if (arg7 == NULL) {
6081 PyErr_SetString(PyExc_TypeError,"null reference");
6082 SWIG_fail;
6083 }
6084 }
6085 if (obj7) {
6086 {
6087 arg8 = wxString_in_helper(obj7);
6088 if (arg8 == NULL) SWIG_fail;
6089 temp8 = True;
6090 }
6091 }
6092 {
6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
6094 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6095
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6100 {
6101 if (temp5) delete arg5;
6102 }
6103 {
6104 if (temp8)
6105 delete arg8;
6106 }
6107 return resultobj;
6108 fail:
6109 {
6110 if (temp5) delete arg5;
6111 }
6112 {
6113 if (temp8)
6114 delete arg8;
6115 }
6116 return NULL;
6117 }
6118
6119
6120 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj;
6122 wxCheckListBox *result;
6123 char *kwnames[] = {
6124 NULL
6125 };
6126
6127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6128 {
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 result = (wxCheckListBox *)new wxCheckListBox();
6131
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6136 return resultobj;
6137 fail:
6138 return NULL;
6139 }
6140
6141
6142 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj;
6144 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6145 wxWindow *arg2 = (wxWindow *) 0 ;
6146 int arg3 ;
6147 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6148 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6149 wxSize const &arg5_defvalue = wxDefaultSize ;
6150 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6151 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6152 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6153 long arg7 = (long) 0 ;
6154 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6155 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6156 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6157 wxString *arg9 = (wxString *) &arg9_defvalue ;
6158 bool result;
6159 wxPoint temp4 ;
6160 wxSize temp5 ;
6161 bool temp6 = False ;
6162 bool temp9 = False ;
6163 PyObject * obj0 = 0 ;
6164 PyObject * obj1 = 0 ;
6165 PyObject * obj2 = 0 ;
6166 PyObject * obj3 = 0 ;
6167 PyObject * obj4 = 0 ;
6168 PyObject * obj5 = 0 ;
6169 PyObject * obj6 = 0 ;
6170 PyObject * obj7 = 0 ;
6171 PyObject * obj8 = 0 ;
6172 char *kwnames[] = {
6173 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6174 };
6175
6176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6181 arg3 = (int) SWIG_AsInt(obj2);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 if (obj3) {
6184 {
6185 arg4 = &temp4;
6186 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6187 }
6188 }
6189 if (obj4) {
6190 {
6191 arg5 = &temp5;
6192 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6193 }
6194 }
6195 if (obj5) {
6196 {
6197 if (! PySequence_Check(obj5)) {
6198 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6199 SWIG_fail;
6200 }
6201 arg6 = new wxArrayString;
6202 temp6 = True;
6203 int i, len=PySequence_Length(obj5);
6204 for (i=0; i<len; i++) {
6205 PyObject* item = PySequence_GetItem(obj5, i);
6206 #if wxUSE_UNICODE
6207 PyObject* str = PyObject_Unicode(item);
6208 #else
6209 PyObject* str = PyObject_Str(item);
6210 #endif
6211 arg6->Add(Py2wxString(str));
6212 Py_DECREF(item);
6213 Py_DECREF(str);
6214 }
6215 }
6216 }
6217 if (obj6) {
6218 arg7 = (long) SWIG_AsLong(obj6);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 if (obj7) {
6222 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6223 SWIG_POINTER_EXCEPTION | 0)) == -1)
6224 SWIG_fail;
6225 if (arg8 == NULL) {
6226 PyErr_SetString(PyExc_TypeError,"null reference");
6227 SWIG_fail;
6228 }
6229 }
6230 if (obj8) {
6231 {
6232 arg9 = wxString_in_helper(obj8);
6233 if (arg9 == NULL) SWIG_fail;
6234 temp9 = True;
6235 }
6236 }
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6240
6241 wxPyEndAllowThreads(__tstate);
6242 if (PyErr_Occurred()) SWIG_fail;
6243 }
6244 {
6245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6246 }
6247 {
6248 if (temp6) delete arg6;
6249 }
6250 {
6251 if (temp9)
6252 delete arg9;
6253 }
6254 return resultobj;
6255 fail:
6256 {
6257 if (temp6) delete arg6;
6258 }
6259 {
6260 if (temp9)
6261 delete arg9;
6262 }
6263 return NULL;
6264 }
6265
6266
6267 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj;
6269 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6270 int arg2 ;
6271 bool result;
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self",(char *) "index", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6281 arg2 = (int) SWIG_AsInt(obj1);
6282 if (PyErr_Occurred()) SWIG_fail;
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 result = (bool)(arg1)->IsChecked(arg2);
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 {
6291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6292 }
6293 return resultobj;
6294 fail:
6295 return NULL;
6296 }
6297
6298
6299 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
6300 PyObject *resultobj;
6301 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6302 int arg2 ;
6303 int arg3 = (int) True ;
6304 PyObject * obj0 = 0 ;
6305 PyObject * obj1 = 0 ;
6306 PyObject * obj2 = 0 ;
6307 char *kwnames[] = {
6308 (char *) "self",(char *) "index",(char *) "check", NULL
6309 };
6310
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6314 arg2 = (int) SWIG_AsInt(obj1);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 if (obj2) {
6317 arg3 = (int) SWIG_AsInt(obj2);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 (arg1)->Check(arg2,arg3);
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 Py_INCREF(Py_None); resultobj = Py_None;
6328 return resultobj;
6329 fail:
6330 return NULL;
6331 }
6332
6333
6334 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6337 wxPoint *arg2 = 0 ;
6338 int result;
6339 wxPoint temp2 ;
6340 PyObject * obj0 = 0 ;
6341 PyObject * obj1 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "self",(char *) "pt", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6349 {
6350 arg2 = &temp2;
6351 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6352 }
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6356
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 resultobj = SWIG_FromInt((int)result);
6361 return resultobj;
6362 fail:
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6370 int arg2 ;
6371 int arg3 ;
6372 int result;
6373 PyObject * obj0 = 0 ;
6374 PyObject * obj1 = 0 ;
6375 PyObject * obj2 = 0 ;
6376 char *kwnames[] = {
6377 (char *) "self",(char *) "x",(char *) "y", NULL
6378 };
6379
6380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6383 arg2 = (int) SWIG_AsInt(obj1);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 arg3 = (int) SWIG_AsInt(obj2);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6390
6391 wxPyEndAllowThreads(__tstate);
6392 if (PyErr_Occurred()) SWIG_fail;
6393 }
6394 resultobj = SWIG_FromInt((int)result);
6395 return resultobj;
6396 fail:
6397 return NULL;
6398 }
6399
6400
6401 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
6402 PyObject *obj;
6403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6404 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6405 Py_INCREF(obj);
6406 return Py_BuildValue((char *)"");
6407 }
6408 static int _wrap_TextCtrlNameStr_set(PyObject *) {
6409 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6410 return 1;
6411 }
6412
6413
6414 static PyObject *_wrap_TextCtrlNameStr_get() {
6415 PyObject *pyobj;
6416
6417 {
6418 #if wxUSE_UNICODE
6419 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6420 #else
6421 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6422 #endif
6423 }
6424 return pyobj;
6425 }
6426
6427
6428 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *, PyObject *args) {
6429 PyObject *resultobj;
6430 wxTextAttr *result;
6431
6432 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6433 {
6434 PyThreadState* __tstate = wxPyBeginAllowThreads();
6435 result = (wxTextAttr *)new wxTextAttr();
6436
6437 wxPyEndAllowThreads(__tstate);
6438 if (PyErr_Occurred()) SWIG_fail;
6439 }
6440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6441 return resultobj;
6442 fail:
6443 return NULL;
6444 }
6445
6446
6447 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *, PyObject *args) {
6448 PyObject *resultobj;
6449 wxColour *arg1 = 0 ;
6450 wxColour const &arg2_defvalue = wxNullColour ;
6451 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6452 wxFont const &arg3_defvalue = wxNullFont ;
6453 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6454 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6455 wxTextAttr *result;
6456 wxColour temp1 ;
6457 wxColour temp2 ;
6458 PyObject * obj0 = 0 ;
6459 PyObject * obj1 = 0 ;
6460 PyObject * obj2 = 0 ;
6461 PyObject * obj3 = 0 ;
6462
6463 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6464 {
6465 arg1 = &temp1;
6466 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6467 }
6468 if (obj1) {
6469 {
6470 arg2 = &temp2;
6471 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6472 }
6473 }
6474 if (obj2) {
6475 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6476 SWIG_POINTER_EXCEPTION | 0)) == -1)
6477 SWIG_fail;
6478 if (arg3 == NULL) {
6479 PyErr_SetString(PyExc_TypeError,"null reference");
6480 SWIG_fail;
6481 }
6482 }
6483 if (obj3) {
6484 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6502 int argc;
6503 PyObject *argv[5];
6504 int ii;
6505
6506 argc = PyObject_Length(args);
6507 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6508 argv[ii] = PyTuple_GetItem(args,ii);
6509 }
6510 if (argc == 0) {
6511 return _wrap_new_TextAttr__SWIG_0(self,args);
6512 }
6513 if ((argc >= 1) && (argc <= 4)) {
6514 int _v;
6515 {
6516 _v = wxColour_typecheck(argv[0]);
6517 }
6518 if (_v) {
6519 if (argc <= 1) {
6520 return _wrap_new_TextAttr__SWIG_1(self,args);
6521 }
6522 {
6523 _v = wxColour_typecheck(argv[1]);
6524 }
6525 if (_v) {
6526 if (argc <= 2) {
6527 return _wrap_new_TextAttr__SWIG_1(self,args);
6528 }
6529 {
6530 void *ptr;
6531 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6532 _v = 0;
6533 PyErr_Clear();
6534 } else {
6535 _v = 1;
6536 }
6537 }
6538 if (_v) {
6539 if (argc <= 3) {
6540 return _wrap_new_TextAttr__SWIG_1(self,args);
6541 }
6542 _v = SWIG_CheckInt(argv[3]);
6543 if (_v) {
6544 return _wrap_new_TextAttr__SWIG_1(self,args);
6545 }
6546 }
6547 }
6548 }
6549 }
6550
6551 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6552 return NULL;
6553 }
6554
6555
6556 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
6557 PyObject *resultobj;
6558 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6559 PyObject * obj0 = 0 ;
6560 char *kwnames[] = {
6561 (char *) "self", NULL
6562 };
6563
6564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 delete arg1;
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 Py_INCREF(Py_None); resultobj = Py_None;
6575 return resultobj;
6576 fail:
6577 return NULL;
6578 }
6579
6580
6581 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
6582 PyObject *resultobj;
6583 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6584 PyObject * obj0 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "self", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 (arg1)->Init();
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 Py_INCREF(Py_None); resultobj = Py_None;
6600 return resultobj;
6601 fail:
6602 return NULL;
6603 }
6604
6605
6606 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6609 wxColour *arg2 = 0 ;
6610 wxColour temp2 ;
6611 PyObject * obj0 = 0 ;
6612 PyObject * obj1 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "self",(char *) "colText", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6620 {
6621 arg2 = &temp2;
6622 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6623 }
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 (arg1)->SetTextColour((wxColour const &)*arg2);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 Py_INCREF(Py_None); resultobj = Py_None;
6632 return resultobj;
6633 fail:
6634 return NULL;
6635 }
6636
6637
6638 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj;
6640 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6641 wxColour *arg2 = 0 ;
6642 wxColour temp2 ;
6643 PyObject * obj0 = 0 ;
6644 PyObject * obj1 = 0 ;
6645 char *kwnames[] = {
6646 (char *) "self",(char *) "colBack", NULL
6647 };
6648
6649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6652 {
6653 arg2 = &temp2;
6654 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6655 }
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 Py_INCREF(Py_None); resultobj = Py_None;
6664 return resultobj;
6665 fail:
6666 return NULL;
6667 }
6668
6669
6670 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj;
6672 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6673 wxFont *arg2 = 0 ;
6674 long arg3 = (long) wxTEXT_ATTR_FONT ;
6675 PyObject * obj0 = 0 ;
6676 PyObject * obj1 = 0 ;
6677 PyObject * obj2 = 0 ;
6678 char *kwnames[] = {
6679 (char *) "self",(char *) "font",(char *) "flags", NULL
6680 };
6681
6682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6686 SWIG_POINTER_EXCEPTION | 0)) == -1)
6687 SWIG_fail;
6688 if (arg2 == NULL) {
6689 PyErr_SetString(PyExc_TypeError,"null reference");
6690 SWIG_fail;
6691 }
6692 if (obj2) {
6693 arg3 = (long) SWIG_AsLong(obj2);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 Py_INCREF(Py_None); resultobj = Py_None;
6704 return resultobj;
6705 fail:
6706 return NULL;
6707 }
6708
6709
6710 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj;
6712 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6713 int arg2 ;
6714 PyObject * obj0 = 0 ;
6715 PyObject * obj1 = 0 ;
6716 char *kwnames[] = {
6717 (char *) "self",(char *) "alignment", NULL
6718 };
6719
6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6723 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 Py_INCREF(Py_None); resultobj = Py_None;
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj;
6741 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6742 wxArrayInt *arg2 = 0 ;
6743 bool temp2 = False ;
6744 PyObject * obj0 = 0 ;
6745 PyObject * obj1 = 0 ;
6746 char *kwnames[] = {
6747 (char *) "self",(char *) "tabs", NULL
6748 };
6749
6750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6753 {
6754 if (! PySequence_Check(obj1)) {
6755 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6756 SWIG_fail;
6757 }
6758 arg2 = new wxArrayInt;
6759 temp2 = True;
6760 int i, len=PySequence_Length(obj1);
6761 for (i=0; i<len; i++) {
6762 PyObject* item = PySequence_GetItem(obj1, i);
6763 PyObject* number = PyNumber_Int(item);
6764 arg2->Add(PyInt_AS_LONG(number));
6765 Py_DECREF(item);
6766 Py_DECREF(number);
6767 }
6768 }
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 Py_INCREF(Py_None); resultobj = Py_None;
6777 {
6778 if (temp2) delete arg2;
6779 }
6780 return resultobj;
6781 fail:
6782 {
6783 if (temp2) delete arg2;
6784 }
6785 return NULL;
6786 }
6787
6788
6789 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6790 PyObject *resultobj;
6791 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6792 int arg2 ;
6793 PyObject * obj0 = 0 ;
6794 PyObject * obj1 = 0 ;
6795 char *kwnames[] = {
6796 (char *) "self",(char *) "indent", NULL
6797 };
6798
6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6802 arg2 = (int) SWIG_AsInt(obj1);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 (arg1)->SetLeftIndent(arg2);
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 Py_INCREF(Py_None); resultobj = Py_None;
6812 return resultobj;
6813 fail:
6814 return NULL;
6815 }
6816
6817
6818 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6821 int arg2 ;
6822 PyObject * obj0 = 0 ;
6823 PyObject * obj1 = 0 ;
6824 char *kwnames[] = {
6825 (char *) "self",(char *) "indent", NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6831 arg2 = (int) SWIG_AsInt(obj1);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 (arg1)->SetRightIndent(arg2);
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 Py_INCREF(Py_None); resultobj = Py_None;
6841 return resultobj;
6842 fail:
6843 return NULL;
6844 }
6845
6846
6847 static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6850 long arg2 ;
6851 PyObject * obj0 = 0 ;
6852 PyObject * obj1 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "flags", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6860 arg2 = (long) SWIG_AsLong(obj1);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 {
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 (arg1)->SetFlags(arg2);
6865
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 Py_INCREF(Py_None); resultobj = Py_None;
6870 return resultobj;
6871 fail:
6872 return NULL;
6873 }
6874
6875
6876 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6877 PyObject *resultobj;
6878 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6879 bool result;
6880 PyObject * obj0 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 {
6896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6897 }
6898 return resultobj;
6899 fail:
6900 return NULL;
6901 }
6902
6903
6904 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6905 PyObject *resultobj;
6906 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6907 bool result;
6908 PyObject * obj0 = 0 ;
6909 char *kwnames[] = {
6910 (char *) "self", NULL
6911 };
6912
6913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6916 {
6917 PyThreadState* __tstate = wxPyBeginAllowThreads();
6918 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6919
6920 wxPyEndAllowThreads(__tstate);
6921 if (PyErr_Occurred()) SWIG_fail;
6922 }
6923 {
6924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6925 }
6926 return resultobj;
6927 fail:
6928 return NULL;
6929 }
6930
6931
6932 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
6933 PyObject *resultobj;
6934 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6935 bool result;
6936 PyObject * obj0 = 0 ;
6937 char *kwnames[] = {
6938 (char *) "self", NULL
6939 };
6940
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6947
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 {
6952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6953 }
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6963 bool result;
6964 PyObject * obj0 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "self", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 {
6980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6981 }
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6991 bool result;
6992 PyObject * obj0 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 {
7008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7009 }
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj;
7018 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7019 bool result;
7020 PyObject * obj0 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 {
7036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7037 }
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7047 bool result;
7048 PyObject * obj0 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "self", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 {
7064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7065 }
7066 return resultobj;
7067 fail:
7068 return NULL;
7069 }
7070
7071
7072 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7073 PyObject *resultobj;
7074 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7075 long arg2 ;
7076 bool result;
7077 PyObject * obj0 = 0 ;
7078 PyObject * obj1 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "self",(char *) "flag", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7086 arg2 = (long) SWIG_AsLong(obj1);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 {
7096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7097 }
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7107 wxColour *result;
7108 PyObject * obj0 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 {
7119 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7120 result = (wxColour *) &_result_ref;
7121 }
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7127 return resultobj;
7128 fail:
7129 return NULL;
7130 }
7131
7132
7133 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7136 wxColour *result;
7137 PyObject * obj0 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 {
7148 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7149 result = (wxColour *) &_result_ref;
7150 }
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7156 return resultobj;
7157 fail:
7158 return NULL;
7159 }
7160
7161
7162 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7165 wxFont *result;
7166 PyObject * obj0 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "self", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 {
7177 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7178 result = (wxFont *) &_result_ref;
7179 }
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 {
7185 wxFont* resultptr = new wxFont(*result);
7186 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7187 }
7188 return resultobj;
7189 fail:
7190 return NULL;
7191 }
7192
7193
7194 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj;
7196 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7197 int result;
7198 PyObject * obj0 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 resultobj = SWIG_FromInt((int)result);
7214 return resultobj;
7215 fail:
7216 return NULL;
7217 }
7218
7219
7220 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7221 PyObject *resultobj;
7222 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7223 wxArrayInt *result;
7224 PyObject * obj0 = 0 ;
7225 char *kwnames[] = {
7226 (char *) "self", NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 {
7235 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7236 result = (wxArrayInt *) &_result_ref;
7237 }
7238
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 {
7243 resultobj = PyList_New(0);
7244 size_t idx;
7245 for (idx = 0; idx < result->GetCount(); idx += 1) {
7246 PyObject* val = PyInt_FromLong( result->Item(idx) );
7247 PyList_Append(resultobj, val);
7248 Py_DECREF(val);
7249 }
7250 }
7251 return resultobj;
7252 fail:
7253 return NULL;
7254 }
7255
7256
7257 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7260 long result;
7261 PyObject * obj0 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7272
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 resultobj = SWIG_FromLong((long)result);
7277 return resultobj;
7278 fail:
7279 return NULL;
7280 }
7281
7282
7283 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7284 PyObject *resultobj;
7285 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7286 long result;
7287 PyObject * obj0 = 0 ;
7288 char *kwnames[] = {
7289 (char *) "self", NULL
7290 };
7291
7292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 resultobj = SWIG_FromLong((long)result);
7303 return resultobj;
7304 fail:
7305 return NULL;
7306 }
7307
7308
7309 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7310 PyObject *resultobj;
7311 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7312 long result;
7313 PyObject * obj0 = 0 ;
7314 char *kwnames[] = {
7315 (char *) "self", NULL
7316 };
7317
7318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 resultobj = SWIG_FromLong((long)result);
7329 return resultobj;
7330 fail:
7331 return NULL;
7332 }
7333
7334
7335 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj;
7337 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7338 bool result;
7339 PyObject * obj0 = 0 ;
7340 char *kwnames[] = {
7341 (char *) "self", NULL
7342 };
7343
7344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 {
7355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7356 }
7357 return resultobj;
7358 fail:
7359 return NULL;
7360 }
7361
7362
7363 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
7364 PyObject *resultobj;
7365 wxTextAttr *arg1 = 0 ;
7366 wxTextAttr *arg2 = 0 ;
7367 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7368 wxTextAttr result;
7369 PyObject * obj0 = 0 ;
7370 PyObject * obj1 = 0 ;
7371 PyObject * obj2 = 0 ;
7372 char *kwnames[] = {
7373 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7374 };
7375
7376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7378 SWIG_POINTER_EXCEPTION | 0)) == -1)
7379 SWIG_fail;
7380 if (arg1 == NULL) {
7381 PyErr_SetString(PyExc_TypeError,"null reference");
7382 SWIG_fail;
7383 }
7384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7385 SWIG_POINTER_EXCEPTION | 0)) == -1)
7386 SWIG_fail;
7387 if (arg2 == NULL) {
7388 PyErr_SetString(PyExc_TypeError,"null reference");
7389 SWIG_fail;
7390 }
7391 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7393 {
7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
7395 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7396
7397 wxPyEndAllowThreads(__tstate);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 }
7400 {
7401 wxTextAttr * resultptr;
7402 resultptr = new wxTextAttr((wxTextAttr &) result);
7403 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7404 }
7405 return resultobj;
7406 fail:
7407 return NULL;
7408 }
7409
7410
7411 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
7412 PyObject *obj;
7413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7414 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7415 Py_INCREF(obj);
7416 return Py_BuildValue((char *)"");
7417 }
7418 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7419 PyObject *resultobj;
7420 wxWindow *arg1 = (wxWindow *) 0 ;
7421 int arg2 ;
7422 wxString const &arg3_defvalue = wxPyEmptyString ;
7423 wxString *arg3 = (wxString *) &arg3_defvalue ;
7424 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7425 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7426 wxSize const &arg5_defvalue = wxDefaultSize ;
7427 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7428 long arg6 = (long) 0 ;
7429 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7430 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7431 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7432 wxString *arg8 = (wxString *) &arg8_defvalue ;
7433 wxTextCtrl *result;
7434 bool temp3 = False ;
7435 wxPoint temp4 ;
7436 wxSize temp5 ;
7437 bool temp8 = False ;
7438 PyObject * obj0 = 0 ;
7439 PyObject * obj1 = 0 ;
7440 PyObject * obj2 = 0 ;
7441 PyObject * obj3 = 0 ;
7442 PyObject * obj4 = 0 ;
7443 PyObject * obj5 = 0 ;
7444 PyObject * obj6 = 0 ;
7445 PyObject * obj7 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7453 arg2 = (int) SWIG_AsInt(obj1);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 if (obj2) {
7456 {
7457 arg3 = wxString_in_helper(obj2);
7458 if (arg3 == NULL) SWIG_fail;
7459 temp3 = True;
7460 }
7461 }
7462 if (obj3) {
7463 {
7464 arg4 = &temp4;
7465 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7466 }
7467 }
7468 if (obj4) {
7469 {
7470 arg5 = &temp5;
7471 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7472 }
7473 }
7474 if (obj5) {
7475 arg6 = (long) SWIG_AsLong(obj5);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 if (obj6) {
7479 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7480 SWIG_POINTER_EXCEPTION | 0)) == -1)
7481 SWIG_fail;
7482 if (arg7 == NULL) {
7483 PyErr_SetString(PyExc_TypeError,"null reference");
7484 SWIG_fail;
7485 }
7486 }
7487 if (obj7) {
7488 {
7489 arg8 = wxString_in_helper(obj7);
7490 if (arg8 == NULL) SWIG_fail;
7491 temp8 = True;
7492 }
7493 }
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7497
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 {
7502 resultobj = wxPyMake_wxObject(result);
7503 }
7504 {
7505 if (temp3)
7506 delete arg3;
7507 }
7508 {
7509 if (temp8)
7510 delete arg8;
7511 }
7512 return resultobj;
7513 fail:
7514 {
7515 if (temp3)
7516 delete arg3;
7517 }
7518 {
7519 if (temp8)
7520 delete arg8;
7521 }
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxTextCtrl *result;
7529 char *kwnames[] = {
7530 NULL
7531 };
7532
7533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 result = (wxTextCtrl *)new wxTextCtrl();
7537
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 {
7542 resultobj = wxPyMake_wxObject(result);
7543 }
7544 return resultobj;
7545 fail:
7546 return NULL;
7547 }
7548
7549
7550 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7551 PyObject *resultobj;
7552 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7553 wxWindow *arg2 = (wxWindow *) 0 ;
7554 int arg3 ;
7555 wxString const &arg4_defvalue = wxPyEmptyString ;
7556 wxString *arg4 = (wxString *) &arg4_defvalue ;
7557 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7558 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7559 wxSize const &arg6_defvalue = wxDefaultSize ;
7560 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7561 long arg7 = (long) 0 ;
7562 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7563 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7564 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7565 wxString *arg9 = (wxString *) &arg9_defvalue ;
7566 bool result;
7567 bool temp4 = False ;
7568 wxPoint temp5 ;
7569 wxSize temp6 ;
7570 bool temp9 = False ;
7571 PyObject * obj0 = 0 ;
7572 PyObject * obj1 = 0 ;
7573 PyObject * obj2 = 0 ;
7574 PyObject * obj3 = 0 ;
7575 PyObject * obj4 = 0 ;
7576 PyObject * obj5 = 0 ;
7577 PyObject * obj6 = 0 ;
7578 PyObject * obj7 = 0 ;
7579 PyObject * obj8 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7589 arg3 = (int) SWIG_AsInt(obj2);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 if (obj3) {
7592 {
7593 arg4 = wxString_in_helper(obj3);
7594 if (arg4 == NULL) SWIG_fail;
7595 temp4 = True;
7596 }
7597 }
7598 if (obj4) {
7599 {
7600 arg5 = &temp5;
7601 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7602 }
7603 }
7604 if (obj5) {
7605 {
7606 arg6 = &temp6;
7607 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7608 }
7609 }
7610 if (obj6) {
7611 arg7 = (long) SWIG_AsLong(obj6);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 if (obj7) {
7615 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7616 SWIG_POINTER_EXCEPTION | 0)) == -1)
7617 SWIG_fail;
7618 if (arg8 == NULL) {
7619 PyErr_SetString(PyExc_TypeError,"null reference");
7620 SWIG_fail;
7621 }
7622 }
7623 if (obj8) {
7624 {
7625 arg9 = wxString_in_helper(obj8);
7626 if (arg9 == NULL) SWIG_fail;
7627 temp9 = True;
7628 }
7629 }
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 {
7638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7639 }
7640 {
7641 if (temp4)
7642 delete arg4;
7643 }
7644 {
7645 if (temp9)
7646 delete arg9;
7647 }
7648 return resultobj;
7649 fail:
7650 {
7651 if (temp4)
7652 delete arg4;
7653 }
7654 {
7655 if (temp9)
7656 delete arg9;
7657 }
7658 return NULL;
7659 }
7660
7661
7662 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7663 PyObject *resultobj;
7664 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7665 wxString result;
7666 PyObject * obj0 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "self", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 result = ((wxTextCtrl const *)arg1)->GetValue();
7677
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) SWIG_fail;
7680 }
7681 {
7682 #if wxUSE_UNICODE
7683 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7684 #else
7685 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7686 #endif
7687 }
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7695 PyObject *resultobj;
7696 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7697 wxString *arg2 = 0 ;
7698 bool temp2 = False ;
7699 PyObject * obj0 = 0 ;
7700 PyObject * obj1 = 0 ;
7701 char *kwnames[] = {
7702 (char *) "self",(char *) "value", NULL
7703 };
7704
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7708 {
7709 arg2 = wxString_in_helper(obj1);
7710 if (arg2 == NULL) SWIG_fail;
7711 temp2 = True;
7712 }
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 (arg1)->SetValue((wxString const &)*arg2);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 Py_INCREF(Py_None); resultobj = Py_None;
7721 {
7722 if (temp2)
7723 delete arg2;
7724 }
7725 return resultobj;
7726 fail:
7727 {
7728 if (temp2)
7729 delete arg2;
7730 }
7731 return NULL;
7732 }
7733
7734
7735 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7736 PyObject *resultobj;
7737 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7738 long arg2 ;
7739 long arg3 ;
7740 wxString result;
7741 PyObject * obj0 = 0 ;
7742 PyObject * obj1 = 0 ;
7743 PyObject * obj2 = 0 ;
7744 char *kwnames[] = {
7745 (char *) "self",(char *) "from",(char *) "to", NULL
7746 };
7747
7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7751 arg2 = (long) SWIG_AsLong(obj1);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 arg3 = (long) SWIG_AsLong(obj2);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 {
7763 #if wxUSE_UNICODE
7764 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7765 #else
7766 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7767 #endif
7768 }
7769 return resultobj;
7770 fail:
7771 return NULL;
7772 }
7773
7774
7775 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
7776 PyObject *resultobj;
7777 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7778 long arg2 ;
7779 int result;
7780 PyObject * obj0 = 0 ;
7781 PyObject * obj1 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "self",(char *) "lineNo", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7789 arg2 = (long) SWIG_AsLong(obj1);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 resultobj = SWIG_FromInt((int)result);
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7808 long arg2 ;
7809 wxString result;
7810 PyObject * obj0 = 0 ;
7811 PyObject * obj1 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self",(char *) "lineNo", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7819 arg2 = (long) SWIG_AsLong(obj1);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7824
7825 wxPyEndAllowThreads(__tstate);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
7828 {
7829 #if wxUSE_UNICODE
7830 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7831 #else
7832 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7833 #endif
7834 }
7835 return resultobj;
7836 fail:
7837 return NULL;
7838 }
7839
7840
7841 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
7842 PyObject *resultobj;
7843 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7844 int result;
7845 PyObject * obj0 = 0 ;
7846 char *kwnames[] = {
7847 (char *) "self", NULL
7848 };
7849
7850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 resultobj = SWIG_FromInt((int)result);
7861 return resultobj;
7862 fail:
7863 return NULL;
7864 }
7865
7866
7867 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
7868 PyObject *resultobj;
7869 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7870 bool result;
7871 PyObject * obj0 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 {
7887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7888 }
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj;
7897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7898 bool result;
7899 PyObject * obj0 = 0 ;
7900 char *kwnames[] = {
7901 (char *) "self", NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7907 {
7908 PyThreadState* __tstate = wxPyBeginAllowThreads();
7909 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7910
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 {
7915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7916 }
7917 return resultobj;
7918 fail:
7919 return NULL;
7920 }
7921
7922
7923 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7926 bool result;
7927 PyObject * obj0 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 {
7943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7944 }
7945 return resultobj;
7946 fail:
7947 return NULL;
7948 }
7949
7950
7951 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7954 bool result;
7955 PyObject * obj0 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "self", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 {
7971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7972 }
7973 return resultobj;
7974 fail:
7975 return NULL;
7976 }
7977
7978
7979 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7982 long *arg2 = (long *) 0 ;
7983 long *arg3 = (long *) 0 ;
7984 long temp2 ;
7985 long temp3 ;
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "self", NULL
7989 };
7990
7991 arg2 = &temp2;
7992 arg3 = &temp3;
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 Py_INCREF(Py_None); resultobj = Py_None;
8004 {
8005 PyObject *o = PyInt_FromLong((long) (*arg2));
8006 resultobj = t_output_helper(resultobj,o);
8007 }
8008 {
8009 PyObject *o = PyInt_FromLong((long) (*arg3));
8010 resultobj = t_output_helper(resultobj,o);
8011 }
8012 return resultobj;
8013 fail:
8014 return NULL;
8015 }
8016
8017
8018 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj;
8020 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8021 wxString result;
8022 PyObject * obj0 = 0 ;
8023 char *kwnames[] = {
8024 (char *) "self", NULL
8025 };
8026
8027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 {
8038 #if wxUSE_UNICODE
8039 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8040 #else
8041 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8042 #endif
8043 }
8044 return resultobj;
8045 fail:
8046 return NULL;
8047 }
8048
8049
8050 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8053 PyObject * obj0 = 0 ;
8054 char *kwnames[] = {
8055 (char *) "self", NULL
8056 };
8057
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
8063 (arg1)->Clear();
8064
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 Py_INCREF(Py_None); resultobj = Py_None;
8069 return resultobj;
8070 fail:
8071 return NULL;
8072 }
8073
8074
8075 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
8076 PyObject *resultobj;
8077 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8078 long arg2 ;
8079 long arg3 ;
8080 wxString *arg4 = 0 ;
8081 bool temp4 = False ;
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 PyObject * obj2 = 0 ;
8085 PyObject * obj3 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8093 arg2 = (long) SWIG_AsLong(obj1);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 arg3 = (long) SWIG_AsLong(obj2);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 {
8098 arg4 = wxString_in_helper(obj3);
8099 if (arg4 == NULL) SWIG_fail;
8100 temp4 = True;
8101 }
8102 {
8103 PyThreadState* __tstate = wxPyBeginAllowThreads();
8104 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8105
8106 wxPyEndAllowThreads(__tstate);
8107 if (PyErr_Occurred()) SWIG_fail;
8108 }
8109 Py_INCREF(Py_None); resultobj = Py_None;
8110 {
8111 if (temp4)
8112 delete arg4;
8113 }
8114 return resultobj;
8115 fail:
8116 {
8117 if (temp4)
8118 delete arg4;
8119 }
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8127 long arg2 ;
8128 long arg3 ;
8129 PyObject * obj0 = 0 ;
8130 PyObject * obj1 = 0 ;
8131 PyObject * obj2 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self",(char *) "from",(char *) "to", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8139 arg2 = (long) SWIG_AsLong(obj1);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 arg3 = (long) SWIG_AsLong(obj2);
8142 if (PyErr_Occurred()) SWIG_fail;
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 (arg1)->Remove(arg2,arg3);
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 Py_INCREF(Py_None); resultobj = Py_None;
8151 return resultobj;
8152 fail:
8153 return NULL;
8154 }
8155
8156
8157 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
8158 PyObject *resultobj;
8159 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8160 wxString *arg2 = 0 ;
8161 bool result;
8162 bool temp2 = False ;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj1 = 0 ;
8165 char *kwnames[] = {
8166 (char *) "self",(char *) "file", NULL
8167 };
8168
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8172 {
8173 arg2 = wxString_in_helper(obj1);
8174 if (arg2 == NULL) SWIG_fail;
8175 temp2 = True;
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 {
8185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8186 }
8187 {
8188 if (temp2)
8189 delete arg2;
8190 }
8191 return resultobj;
8192 fail:
8193 {
8194 if (temp2)
8195 delete arg2;
8196 }
8197 return NULL;
8198 }
8199
8200
8201 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
8202 PyObject *resultobj;
8203 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8204 wxString const &arg2_defvalue = wxPyEmptyString ;
8205 wxString *arg2 = (wxString *) &arg2_defvalue ;
8206 bool result;
8207 bool temp2 = False ;
8208 PyObject * obj0 = 0 ;
8209 PyObject * obj1 = 0 ;
8210 char *kwnames[] = {
8211 (char *) "self",(char *) "file", NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8217 if (obj1) {
8218 {
8219 arg2 = wxString_in_helper(obj1);
8220 if (arg2 == NULL) SWIG_fail;
8221 temp2 = True;
8222 }
8223 }
8224 {
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8227
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 {
8232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8233 }
8234 {
8235 if (temp2)
8236 delete arg2;
8237 }
8238 return resultobj;
8239 fail:
8240 {
8241 if (temp2)
8242 delete arg2;
8243 }
8244 return NULL;
8245 }
8246
8247
8248 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8251 PyObject * obj0 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "self", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 (arg1)->MarkDirty();
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 Py_INCREF(Py_None); resultobj = Py_None;
8267 return resultobj;
8268 fail:
8269 return NULL;
8270 }
8271
8272
8273 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj;
8275 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8276 PyObject * obj0 = 0 ;
8277 char *kwnames[] = {
8278 (char *) "self", NULL
8279 };
8280
8281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8284 {
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 (arg1)->DiscardEdits();
8287
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 Py_INCREF(Py_None); resultobj = Py_None;
8292 return resultobj;
8293 fail:
8294 return NULL;
8295 }
8296
8297
8298 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
8299 PyObject *resultobj;
8300 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8301 unsigned long arg2 ;
8302 PyObject * obj0 = 0 ;
8303 PyObject * obj1 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self",(char *) "len", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8311 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 {
8314 PyThreadState* __tstate = wxPyBeginAllowThreads();
8315 (arg1)->SetMaxLength(arg2);
8316
8317 wxPyEndAllowThreads(__tstate);
8318 if (PyErr_Occurred()) SWIG_fail;
8319 }
8320 Py_INCREF(Py_None); resultobj = Py_None;
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj;
8329 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8330 wxString *arg2 = 0 ;
8331 bool temp2 = False ;
8332 PyObject * obj0 = 0 ;
8333 PyObject * obj1 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self",(char *) "text", NULL
8336 };
8337
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8341 {
8342 arg2 = wxString_in_helper(obj1);
8343 if (arg2 == NULL) SWIG_fail;
8344 temp2 = True;
8345 }
8346 {
8347 PyThreadState* __tstate = wxPyBeginAllowThreads();
8348 (arg1)->WriteText((wxString const &)*arg2);
8349
8350 wxPyEndAllowThreads(__tstate);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 }
8353 Py_INCREF(Py_None); resultobj = Py_None;
8354 {
8355 if (temp2)
8356 delete arg2;
8357 }
8358 return resultobj;
8359 fail:
8360 {
8361 if (temp2)
8362 delete arg2;
8363 }
8364 return NULL;
8365 }
8366
8367
8368 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
8369 PyObject *resultobj;
8370 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8371 wxString *arg2 = 0 ;
8372 bool temp2 = False ;
8373 PyObject * obj0 = 0 ;
8374 PyObject * obj1 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "self",(char *) "text", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8382 {
8383 arg2 = wxString_in_helper(obj1);
8384 if (arg2 == NULL) SWIG_fail;
8385 temp2 = True;
8386 }
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 (arg1)->AppendText((wxString const &)*arg2);
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 Py_INCREF(Py_None); resultobj = Py_None;
8395 {
8396 if (temp2)
8397 delete arg2;
8398 }
8399 return resultobj;
8400 fail:
8401 {
8402 if (temp2)
8403 delete arg2;
8404 }
8405 return NULL;
8406 }
8407
8408
8409 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
8410 PyObject *resultobj;
8411 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8412 wxKeyEvent *arg2 = 0 ;
8413 bool result;
8414 PyObject * obj0 = 0 ;
8415 PyObject * obj1 = 0 ;
8416 char *kwnames[] = {
8417 (char *) "self",(char *) "event", NULL
8418 };
8419
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8424 SWIG_POINTER_EXCEPTION | 0)) == -1)
8425 SWIG_fail;
8426 if (arg2 == NULL) {
8427 PyErr_SetString(PyExc_TypeError,"null reference");
8428 SWIG_fail;
8429 }
8430 {
8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
8432 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8433
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 {
8438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8439 }
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8449 long arg2 ;
8450 long arg3 ;
8451 wxTextAttr *arg4 = 0 ;
8452 bool result;
8453 PyObject * obj0 = 0 ;
8454 PyObject * obj1 = 0 ;
8455 PyObject * obj2 = 0 ;
8456 PyObject * obj3 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8464 arg2 = (long) SWIG_AsLong(obj1);
8465 if (PyErr_Occurred()) SWIG_fail;
8466 arg3 = (long) SWIG_AsLong(obj2);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8469 SWIG_POINTER_EXCEPTION | 0)) == -1)
8470 SWIG_fail;
8471 if (arg4 == NULL) {
8472 PyErr_SetString(PyExc_TypeError,"null reference");
8473 SWIG_fail;
8474 }
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 {
8483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8484 }
8485 return resultobj;
8486 fail:
8487 return NULL;
8488 }
8489
8490
8491 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8492 PyObject *resultobj;
8493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8494 long arg2 ;
8495 wxTextAttr *arg3 = 0 ;
8496 bool result;
8497 PyObject * obj0 = 0 ;
8498 PyObject * obj1 = 0 ;
8499 PyObject * obj2 = 0 ;
8500 char *kwnames[] = {
8501 (char *) "self",(char *) "position",(char *) "style", NULL
8502 };
8503
8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8507 arg2 = (long) SWIG_AsLong(obj1);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8510 SWIG_POINTER_EXCEPTION | 0)) == -1)
8511 SWIG_fail;
8512 if (arg3 == NULL) {
8513 PyErr_SetString(PyExc_TypeError,"null reference");
8514 SWIG_fail;
8515 }
8516 {
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8519
8520 wxPyEndAllowThreads(__tstate);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 }
8523 {
8524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8525 }
8526 return resultobj;
8527 fail:
8528 return NULL;
8529 }
8530
8531
8532 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj;
8534 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8535 wxTextAttr *arg2 = 0 ;
8536 bool result;
8537 PyObject * obj0 = 0 ;
8538 PyObject * obj1 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self",(char *) "style", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8547 SWIG_POINTER_EXCEPTION | 0)) == -1)
8548 SWIG_fail;
8549 if (arg2 == NULL) {
8550 PyErr_SetString(PyExc_TypeError,"null reference");
8551 SWIG_fail;
8552 }
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 {
8561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8562 }
8563 return resultobj;
8564 fail:
8565 return NULL;
8566 }
8567
8568
8569 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj;
8571 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8572 wxTextAttr *result;
8573 PyObject * obj0 = 0 ;
8574 char *kwnames[] = {
8575 (char *) "self", NULL
8576 };
8577
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 {
8584 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8585 result = (wxTextAttr *) &_result_ref;
8586 }
8587
8588 wxPyEndAllowThreads(__tstate);
8589 if (PyErr_Occurred()) SWIG_fail;
8590 }
8591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8592 return resultobj;
8593 fail:
8594 return NULL;
8595 }
8596
8597
8598 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8599 PyObject *resultobj;
8600 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8601 long arg2 ;
8602 long arg3 ;
8603 long result;
8604 PyObject * obj0 = 0 ;
8605 PyObject * obj1 = 0 ;
8606 PyObject * obj2 = 0 ;
8607 char *kwnames[] = {
8608 (char *) "self",(char *) "x",(char *) "y", NULL
8609 };
8610
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8614 arg2 = (long) SWIG_AsLong(obj1);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 arg3 = (long) SWIG_AsLong(obj2);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 resultobj = SWIG_FromLong((long)result);
8626 return resultobj;
8627 fail:
8628 return NULL;
8629 }
8630
8631
8632 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj;
8634 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8635 long arg2 ;
8636 long *arg3 = (long *) 0 ;
8637 long *arg4 = (long *) 0 ;
8638 long temp3 ;
8639 long temp4 ;
8640 PyObject * obj0 = 0 ;
8641 PyObject * obj1 = 0 ;
8642 char *kwnames[] = {
8643 (char *) "self",(char *) "pos", NULL
8644 };
8645
8646 arg3 = &temp3;
8647 arg4 = &temp4;
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8651 arg2 = (long) SWIG_AsLong(obj1);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8656
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) SWIG_fail;
8659 }
8660 Py_INCREF(Py_None); resultobj = Py_None;
8661 {
8662 PyObject *o = PyInt_FromLong((long) (*arg3));
8663 resultobj = t_output_helper(resultobj,o);
8664 }
8665 {
8666 PyObject *o = PyInt_FromLong((long) (*arg4));
8667 resultobj = t_output_helper(resultobj,o);
8668 }
8669 return resultobj;
8670 fail:
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8678 long arg2 ;
8679 PyObject * obj0 = 0 ;
8680 PyObject * obj1 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self",(char *) "pos", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8688 arg2 = (long) SWIG_AsLong(obj1);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 (arg1)->ShowPosition(arg2);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 Py_INCREF(Py_None); resultobj = Py_None;
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8707 wxPoint *arg2 = 0 ;
8708 long *arg3 = (long *) 0 ;
8709 long *arg4 = (long *) 0 ;
8710 int result;
8711 wxPoint temp2 ;
8712 long temp3 ;
8713 long temp4 ;
8714 PyObject * obj0 = 0 ;
8715 PyObject * obj1 = 0 ;
8716 char *kwnames[] = {
8717 (char *) "self",(char *) "pt", NULL
8718 };
8719
8720 arg3 = &temp3;
8721 arg4 = &temp4;
8722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8725 {
8726 arg2 = &temp2;
8727 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8728 }
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 resultobj = SWIG_FromInt((int)result);
8737 {
8738 PyObject *o = PyInt_FromLong((long) (*arg3));
8739 resultobj = t_output_helper(resultobj,o);
8740 }
8741 {
8742 PyObject *o = PyInt_FromLong((long) (*arg4));
8743 resultobj = t_output_helper(resultobj,o);
8744 }
8745 return resultobj;
8746 fail:
8747 return NULL;
8748 }
8749
8750
8751 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8754 PyObject * obj0 = 0 ;
8755 char *kwnames[] = {
8756 (char *) "self", NULL
8757 };
8758
8759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 (arg1)->Copy();
8765
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 Py_INCREF(Py_None); resultobj = Py_None;
8770 return resultobj;
8771 fail:
8772 return NULL;
8773 }
8774
8775
8776 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
8777 PyObject *resultobj;
8778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8779 PyObject * obj0 = 0 ;
8780 char *kwnames[] = {
8781 (char *) "self", NULL
8782 };
8783
8784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8787 {
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 (arg1)->Cut();
8790
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) SWIG_fail;
8793 }
8794 Py_INCREF(Py_None); resultobj = Py_None;
8795 return resultobj;
8796 fail:
8797 return NULL;
8798 }
8799
8800
8801 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
8802 PyObject *resultobj;
8803 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8804 PyObject * obj0 = 0 ;
8805 char *kwnames[] = {
8806 (char *) "self", NULL
8807 };
8808
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 (arg1)->Paste();
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 Py_INCREF(Py_None); resultobj = Py_None;
8820 return resultobj;
8821 fail:
8822 return NULL;
8823 }
8824
8825
8826 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
8827 PyObject *resultobj;
8828 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8829 bool result;
8830 PyObject * obj0 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8841
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 {
8846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8847 }
8848 return resultobj;
8849 fail:
8850 return NULL;
8851 }
8852
8853
8854 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
8855 PyObject *resultobj;
8856 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8857 bool result;
8858 PyObject * obj0 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self", NULL
8861 };
8862
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 {
8874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8875 }
8876 return resultobj;
8877 fail:
8878 return NULL;
8879 }
8880
8881
8882 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj;
8884 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8885 bool result;
8886 PyObject * obj0 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 {
8902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8903 }
8904 return resultobj;
8905 fail:
8906 return NULL;
8907 }
8908
8909
8910 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
8911 PyObject *resultobj;
8912 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8913 PyObject * obj0 = 0 ;
8914 char *kwnames[] = {
8915 (char *) "self", NULL
8916 };
8917
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8921 {
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 (arg1)->Undo();
8924
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 Py_INCREF(Py_None); resultobj = Py_None;
8929 return resultobj;
8930 fail:
8931 return NULL;
8932 }
8933
8934
8935 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
8936 PyObject *resultobj;
8937 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8938 PyObject * obj0 = 0 ;
8939 char *kwnames[] = {
8940 (char *) "self", NULL
8941 };
8942
8943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8946 {
8947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8948 (arg1)->Redo();
8949
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 Py_INCREF(Py_None); resultobj = Py_None;
8954 return resultobj;
8955 fail:
8956 return NULL;
8957 }
8958
8959
8960 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
8961 PyObject *resultobj;
8962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8963 bool result;
8964 PyObject * obj0 = 0 ;
8965 char *kwnames[] = {
8966 (char *) "self", NULL
8967 };
8968
8969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 {
8980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8981 }
8982 return resultobj;
8983 fail:
8984 return NULL;
8985 }
8986
8987
8988 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
8989 PyObject *resultobj;
8990 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8991 bool result;
8992 PyObject * obj0 = 0 ;
8993 char *kwnames[] = {
8994 (char *) "self", NULL
8995 };
8996
8997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9003
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 {
9008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9009 }
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
9017 PyObject *resultobj;
9018 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9019 long arg2 ;
9020 PyObject * obj0 = 0 ;
9021 PyObject * obj1 = 0 ;
9022 char *kwnames[] = {
9023 (char *) "self",(char *) "pos", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9029 arg2 = (long) SWIG_AsLong(obj1);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 (arg1)->SetInsertionPoint(arg2);
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 Py_INCREF(Py_None); resultobj = Py_None;
9039 return resultobj;
9040 fail:
9041 return NULL;
9042 }
9043
9044
9045 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9048 PyObject * obj0 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 (arg1)->SetInsertionPointEnd();
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 Py_INCREF(Py_None); resultobj = Py_None;
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9073 long result;
9074 PyObject * obj0 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 resultobj = SWIG_FromLong((long)result);
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9099 long result;
9100 PyObject * obj0 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "self", NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9108 {
9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
9110 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9111
9112 wxPyEndAllowThreads(__tstate);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 }
9115 resultobj = SWIG_FromLong((long)result);
9116 return resultobj;
9117 fail:
9118 return NULL;
9119 }
9120
9121
9122 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9125 long arg2 ;
9126 long arg3 ;
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9129 PyObject * obj2 = 0 ;
9130 char *kwnames[] = {
9131 (char *) "self",(char *) "from",(char *) "to", NULL
9132 };
9133
9134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9137 arg2 = (long) SWIG_AsLong(obj1);
9138 if (PyErr_Occurred()) SWIG_fail;
9139 arg3 = (long) SWIG_AsLong(obj2);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 (arg1)->SetSelection(arg2,arg3);
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
9148 Py_INCREF(Py_None); resultobj = Py_None;
9149 return resultobj;
9150 fail:
9151 return NULL;
9152 }
9153
9154
9155 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9156 PyObject *resultobj;
9157 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9158 PyObject * obj0 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 (arg1)->SelectAll();
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 Py_INCREF(Py_None); resultobj = Py_None;
9174 return resultobj;
9175 fail:
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9183 bool arg2 ;
9184 PyObject * obj0 = 0 ;
9185 PyObject * obj1 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self",(char *) "editable", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9193 arg2 = (bool) SWIG_AsBool(obj1);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 (arg1)->SetEditable(arg2);
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 Py_INCREF(Py_None); resultobj = Py_None;
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9212 wxString *arg2 = 0 ;
9213 bool temp2 = False ;
9214 PyObject * obj0 = 0 ;
9215 PyObject * obj1 = 0 ;
9216 char *kwnames[] = {
9217 (char *) "self",(char *) "text", NULL
9218 };
9219
9220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9223 {
9224 arg2 = wxString_in_helper(obj1);
9225 if (arg2 == NULL) SWIG_fail;
9226 temp2 = True;
9227 }
9228 {
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9231
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 Py_INCREF(Py_None); resultobj = Py_None;
9236 {
9237 if (temp2)
9238 delete arg2;
9239 }
9240 return resultobj;
9241 fail:
9242 {
9243 if (temp2)
9244 delete arg2;
9245 }
9246 return NULL;
9247 }
9248
9249
9250 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj;
9252 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9253 long arg2 ;
9254 long arg3 ;
9255 wxString result;
9256 PyObject * obj0 = 0 ;
9257 PyObject * obj1 = 0 ;
9258 PyObject * obj2 = 0 ;
9259 char *kwnames[] = {
9260 (char *) "self",(char *) "from",(char *) "to", NULL
9261 };
9262
9263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9266 arg2 = (long) SWIG_AsLong(obj1);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 arg3 = (long) SWIG_AsLong(obj2);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 {
9278 #if wxUSE_UNICODE
9279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9280 #else
9281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9282 #endif
9283 }
9284 return resultobj;
9285 fail:
9286 return NULL;
9287 }
9288
9289
9290 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
9291 PyObject *obj;
9292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9293 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9294 Py_INCREF(obj);
9295 return Py_BuildValue((char *)"");
9296 }
9297 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj;
9299 int arg1 ;
9300 wxMouseEvent *arg2 = 0 ;
9301 long arg3 ;
9302 long arg4 ;
9303 wxTextUrlEvent *result;
9304 PyObject * obj0 = 0 ;
9305 PyObject * obj1 = 0 ;
9306 PyObject * obj2 = 0 ;
9307 PyObject * obj3 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9313 arg1 = (int) SWIG_AsInt(obj0);
9314 if (PyErr_Occurred()) SWIG_fail;
9315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9316 SWIG_POINTER_EXCEPTION | 0)) == -1)
9317 SWIG_fail;
9318 if (arg2 == NULL) {
9319 PyErr_SetString(PyExc_TypeError,"null reference");
9320 SWIG_fail;
9321 }
9322 arg3 = (long) SWIG_AsLong(obj2);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 arg4 = (long) SWIG_AsLong(obj3);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9334 return resultobj;
9335 fail:
9336 return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9343 wxMouseEvent *result;
9344 PyObject * obj0 = 0 ;
9345 char *kwnames[] = {
9346 (char *) "self", NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9352 {
9353 PyThreadState* __tstate = wxPyBeginAllowThreads();
9354 {
9355 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9356 result = (wxMouseEvent *) &_result_ref;
9357 }
9358
9359 wxPyEndAllowThreads(__tstate);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9363 return resultobj;
9364 fail:
9365 return NULL;
9366 }
9367
9368
9369 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
9370 PyObject *resultobj;
9371 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9372 long result;
9373 PyObject * obj0 = 0 ;
9374 char *kwnames[] = {
9375 (char *) "self", NULL
9376 };
9377
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 resultobj = SWIG_FromLong((long)result);
9389 return resultobj;
9390 fail:
9391 return NULL;
9392 }
9393
9394
9395 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9396 PyObject *resultobj;
9397 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9398 long result;
9399 PyObject * obj0 = 0 ;
9400 char *kwnames[] = {
9401 (char *) "self", NULL
9402 };
9403
9404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9410
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 resultobj = SWIG_FromLong((long)result);
9415 return resultobj;
9416 fail:
9417 return NULL;
9418 }
9419
9420
9421 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
9422 PyObject *obj;
9423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9424 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9425 Py_INCREF(obj);
9426 return Py_BuildValue((char *)"");
9427 }
9428 static int _wrap_ScrollBarNameStr_set(PyObject *) {
9429 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9430 return 1;
9431 }
9432
9433
9434 static PyObject *_wrap_ScrollBarNameStr_get() {
9435 PyObject *pyobj;
9436
9437 {
9438 #if wxUSE_UNICODE
9439 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9440 #else
9441 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9442 #endif
9443 }
9444 return pyobj;
9445 }
9446
9447
9448 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9449 PyObject *resultobj;
9450 wxWindow *arg1 = (wxWindow *) 0 ;
9451 int arg2 = (int) -1 ;
9452 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9453 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9454 wxSize const &arg4_defvalue = wxDefaultSize ;
9455 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9456 long arg5 = (long) wxSB_HORIZONTAL ;
9457 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9458 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9459 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9460 wxString *arg7 = (wxString *) &arg7_defvalue ;
9461 wxScrollBar *result;
9462 wxPoint temp3 ;
9463 wxSize temp4 ;
9464 bool temp7 = False ;
9465 PyObject * obj0 = 0 ;
9466 PyObject * obj1 = 0 ;
9467 PyObject * obj2 = 0 ;
9468 PyObject * obj3 = 0 ;
9469 PyObject * obj4 = 0 ;
9470 PyObject * obj5 = 0 ;
9471 PyObject * obj6 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9479 if (obj1) {
9480 arg2 = (int) SWIG_AsInt(obj1);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 if (obj2) {
9484 {
9485 arg3 = &temp3;
9486 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9487 }
9488 }
9489 if (obj3) {
9490 {
9491 arg4 = &temp4;
9492 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9493 }
9494 }
9495 if (obj4) {
9496 arg5 = (long) SWIG_AsLong(obj4);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 if (obj5) {
9500 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9501 SWIG_POINTER_EXCEPTION | 0)) == -1)
9502 SWIG_fail;
9503 if (arg6 == NULL) {
9504 PyErr_SetString(PyExc_TypeError,"null reference");
9505 SWIG_fail;
9506 }
9507 }
9508 if (obj6) {
9509 {
9510 arg7 = wxString_in_helper(obj6);
9511 if (arg7 == NULL) SWIG_fail;
9512 temp7 = True;
9513 }
9514 }
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9523 {
9524 if (temp7)
9525 delete arg7;
9526 }
9527 return resultobj;
9528 fail:
9529 {
9530 if (temp7)
9531 delete arg7;
9532 }
9533 return NULL;
9534 }
9535
9536
9537 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9538 PyObject *resultobj;
9539 wxScrollBar *result;
9540 char *kwnames[] = {
9541 NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (wxScrollBar *)new wxScrollBar();
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9553 return resultobj;
9554 fail:
9555 return NULL;
9556 }
9557
9558
9559 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj;
9561 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9562 wxWindow *arg2 = (wxWindow *) 0 ;
9563 int arg3 = (int) -1 ;
9564 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9565 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9566 wxSize const &arg5_defvalue = wxDefaultSize ;
9567 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9568 long arg6 = (long) wxSB_HORIZONTAL ;
9569 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9570 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9571 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9572 wxString *arg8 = (wxString *) &arg8_defvalue ;
9573 bool result;
9574 wxPoint temp4 ;
9575 wxSize temp5 ;
9576 bool temp8 = False ;
9577 PyObject * obj0 = 0 ;
9578 PyObject * obj1 = 0 ;
9579 PyObject * obj2 = 0 ;
9580 PyObject * obj3 = 0 ;
9581 PyObject * obj4 = 0 ;
9582 PyObject * obj5 = 0 ;
9583 PyObject * obj6 = 0 ;
9584 PyObject * obj7 = 0 ;
9585 char *kwnames[] = {
9586 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9587 };
9588
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9594 if (obj2) {
9595 arg3 = (int) SWIG_AsInt(obj2);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 if (obj3) {
9599 {
9600 arg4 = &temp4;
9601 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9602 }
9603 }
9604 if (obj4) {
9605 {
9606 arg5 = &temp5;
9607 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9608 }
9609 }
9610 if (obj5) {
9611 arg6 = (long) SWIG_AsLong(obj5);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 if (obj6) {
9615 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9616 SWIG_POINTER_EXCEPTION | 0)) == -1)
9617 SWIG_fail;
9618 if (arg7 == NULL) {
9619 PyErr_SetString(PyExc_TypeError,"null reference");
9620 SWIG_fail;
9621 }
9622 }
9623 if (obj7) {
9624 {
9625 arg8 = wxString_in_helper(obj7);
9626 if (arg8 == NULL) SWIG_fail;
9627 temp8 = True;
9628 }
9629 }
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) SWIG_fail;
9636 }
9637 {
9638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9639 }
9640 {
9641 if (temp8)
9642 delete arg8;
9643 }
9644 return resultobj;
9645 fail:
9646 {
9647 if (temp8)
9648 delete arg8;
9649 }
9650 return NULL;
9651 }
9652
9653
9654 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9655 PyObject *resultobj;
9656 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9657 int result;
9658 PyObject * obj0 = 0 ;
9659 char *kwnames[] = {
9660 (char *) "self", NULL
9661 };
9662
9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = SWIG_FromInt((int)result);
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9683 int result;
9684 PyObject * obj0 = 0 ;
9685 char *kwnames[] = {
9686 (char *) "self", NULL
9687 };
9688
9689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9695
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = SWIG_FromInt((int)result);
9700 return resultobj;
9701 fail:
9702 return NULL;
9703 }
9704
9705
9706 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj;
9708 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9709 int result;
9710 PyObject * obj0 = 0 ;
9711 char *kwnames[] = {
9712 (char *) "self", NULL
9713 };
9714
9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9718 {
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
9720 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9721
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 resultobj = SWIG_FromInt((int)result);
9726 return resultobj;
9727 fail:
9728 return NULL;
9729 }
9730
9731
9732 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj;
9734 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9735 int result;
9736 PyObject * obj0 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 result = (int)((wxScrollBar const *)arg1)->GetRange();
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 resultobj = SWIG_FromInt((int)result);
9752 return resultobj;
9753 fail:
9754 return NULL;
9755 }
9756
9757
9758 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj;
9760 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9761 bool result;
9762 PyObject * obj0 = 0 ;
9763 char *kwnames[] = {
9764 (char *) "self", NULL
9765 };
9766
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
9777 {
9778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9779 }
9780 return resultobj;
9781 fail:
9782 return NULL;
9783 }
9784
9785
9786 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9789 int arg2 ;
9790 PyObject * obj0 = 0 ;
9791 PyObject * obj1 = 0 ;
9792 char *kwnames[] = {
9793 (char *) "self",(char *) "viewStart", NULL
9794 };
9795
9796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9799 arg2 = (int) SWIG_AsInt(obj1);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 (arg1)->SetThumbPosition(arg2);
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 Py_INCREF(Py_None); resultobj = Py_None;
9809 return resultobj;
9810 fail:
9811 return NULL;
9812 }
9813
9814
9815 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
9816 PyObject *resultobj;
9817 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9818 int arg2 ;
9819 int arg3 ;
9820 int arg4 ;
9821 int arg5 ;
9822 bool arg6 = (bool) True ;
9823 PyObject * obj0 = 0 ;
9824 PyObject * obj1 = 0 ;
9825 PyObject * obj2 = 0 ;
9826 PyObject * obj3 = 0 ;
9827 PyObject * obj4 = 0 ;
9828 PyObject * obj5 = 0 ;
9829 char *kwnames[] = {
9830 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9831 };
9832
9833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9836 arg2 = (int) SWIG_AsInt(obj1);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 arg3 = (int) SWIG_AsInt(obj2);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 arg4 = (int) SWIG_AsInt(obj3);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 arg5 = (int) SWIG_AsInt(obj4);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 if (obj5) {
9845 arg6 = (bool) SWIG_AsBool(obj5);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9851
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 Py_INCREF(Py_None); resultobj = Py_None;
9856 return resultobj;
9857 fail:
9858 return NULL;
9859 }
9860
9861
9862 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
9863 PyObject *obj;
9864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9865 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9866 Py_INCREF(obj);
9867 return Py_BuildValue((char *)"");
9868 }
9869 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
9870 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9871 return 1;
9872 }
9873
9874
9875 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9876 PyObject *pyobj;
9877
9878 {
9879 #if wxUSE_UNICODE
9880 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9881 #else
9882 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9883 #endif
9884 }
9885 return pyobj;
9886 }
9887
9888
9889 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
9890 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9891 return 1;
9892 }
9893
9894
9895 static PyObject *_wrap_SpinCtrlNameStr_get() {
9896 PyObject *pyobj;
9897
9898 {
9899 #if wxUSE_UNICODE
9900 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9901 #else
9902 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9903 #endif
9904 }
9905 return pyobj;
9906 }
9907
9908
9909 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
9910 PyObject *resultobj;
9911 wxWindow *arg1 = (wxWindow *) 0 ;
9912 int arg2 = (int) -1 ;
9913 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9914 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9915 wxSize const &arg4_defvalue = wxDefaultSize ;
9916 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9917 long arg5 = (long) wxSP_HORIZONTAL ;
9918 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9919 wxString *arg6 = (wxString *) &arg6_defvalue ;
9920 wxSpinButton *result;
9921 wxPoint temp3 ;
9922 wxSize temp4 ;
9923 bool temp6 = False ;
9924 PyObject * obj0 = 0 ;
9925 PyObject * obj1 = 0 ;
9926 PyObject * obj2 = 0 ;
9927 PyObject * obj3 = 0 ;
9928 PyObject * obj4 = 0 ;
9929 PyObject * obj5 = 0 ;
9930 char *kwnames[] = {
9931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9932 };
9933
9934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9937 if (obj1) {
9938 arg2 = (int) SWIG_AsInt(obj1);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 if (obj2) {
9942 {
9943 arg3 = &temp3;
9944 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9945 }
9946 }
9947 if (obj3) {
9948 {
9949 arg4 = &temp4;
9950 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9951 }
9952 }
9953 if (obj4) {
9954 arg5 = (long) SWIG_AsLong(obj4);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 if (obj5) {
9958 {
9959 arg6 = wxString_in_helper(obj5);
9960 if (arg6 == NULL) SWIG_fail;
9961 temp6 = True;
9962 }
9963 }
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
9972 {
9973 if (temp6)
9974 delete arg6;
9975 }
9976 return resultobj;
9977 fail:
9978 {
9979 if (temp6)
9980 delete arg6;
9981 }
9982 return NULL;
9983 }
9984
9985
9986 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
9987 PyObject *resultobj;
9988 wxSpinButton *result;
9989 char *kwnames[] = {
9990 NULL
9991 };
9992
9993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 result = (wxSpinButton *)new wxSpinButton();
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10002 return resultobj;
10003 fail:
10004 return NULL;
10005 }
10006
10007
10008 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj;
10010 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10011 wxWindow *arg2 = (wxWindow *) 0 ;
10012 int arg3 = (int) -1 ;
10013 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10014 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10015 wxSize const &arg5_defvalue = wxDefaultSize ;
10016 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10017 long arg6 = (long) wxSP_HORIZONTAL ;
10018 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10019 wxString *arg7 = (wxString *) &arg7_defvalue ;
10020 bool result;
10021 wxPoint temp4 ;
10022 wxSize temp5 ;
10023 bool temp7 = False ;
10024 PyObject * obj0 = 0 ;
10025 PyObject * obj1 = 0 ;
10026 PyObject * obj2 = 0 ;
10027 PyObject * obj3 = 0 ;
10028 PyObject * obj4 = 0 ;
10029 PyObject * obj5 = 0 ;
10030 PyObject * obj6 = 0 ;
10031 char *kwnames[] = {
10032 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10033 };
10034
10035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10040 if (obj2) {
10041 arg3 = (int) SWIG_AsInt(obj2);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 if (obj3) {
10045 {
10046 arg4 = &temp4;
10047 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10048 }
10049 }
10050 if (obj4) {
10051 {
10052 arg5 = &temp5;
10053 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10054 }
10055 }
10056 if (obj5) {
10057 arg6 = (long) SWIG_AsLong(obj5);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 if (obj6) {
10061 {
10062 arg7 = wxString_in_helper(obj6);
10063 if (arg7 == NULL) SWIG_fail;
10064 temp7 = True;
10065 }
10066 }
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 {
10075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10076 }
10077 {
10078 if (temp7)
10079 delete arg7;
10080 }
10081 return resultobj;
10082 fail:
10083 {
10084 if (temp7)
10085 delete arg7;
10086 }
10087 return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10094 int result;
10095 PyObject * obj0 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 result = (int)((wxSpinButton const *)arg1)->GetValue();
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 resultobj = SWIG_FromInt((int)result);
10111 return resultobj;
10112 fail:
10113 return NULL;
10114 }
10115
10116
10117 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10120 int result;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (int)((wxSpinButton const *)arg1)->GetMin();
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 resultobj = SWIG_FromInt((int)result);
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj;
10145 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10146 int result;
10147 PyObject * obj0 = 0 ;
10148 char *kwnames[] = {
10149 (char *) "self", NULL
10150 };
10151
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 result = (int)((wxSpinButton const *)arg1)->GetMax();
10158
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 resultobj = SWIG_FromInt((int)result);
10163 return resultobj;
10164 fail:
10165 return NULL;
10166 }
10167
10168
10169 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10170 PyObject *resultobj;
10171 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10172 int arg2 ;
10173 PyObject * obj0 = 0 ;
10174 PyObject * obj1 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self",(char *) "val", NULL
10177 };
10178
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10182 arg2 = (int) SWIG_AsInt(obj1);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 (arg1)->SetValue(arg2);
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 Py_INCREF(Py_None); resultobj = Py_None;
10192 return resultobj;
10193 fail:
10194 return NULL;
10195 }
10196
10197
10198 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10199 PyObject *resultobj;
10200 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10201 int arg2 ;
10202 PyObject * obj0 = 0 ;
10203 PyObject * obj1 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "minVal", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10211 arg2 = (int) SWIG_AsInt(obj1);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 (arg1)->SetMin(arg2);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 Py_INCREF(Py_None); resultobj = Py_None;
10221 return resultobj;
10222 fail:
10223 return NULL;
10224 }
10225
10226
10227 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj;
10229 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10230 int arg2 ;
10231 PyObject * obj0 = 0 ;
10232 PyObject * obj1 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self",(char *) "maxVal", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10240 arg2 = (int) SWIG_AsInt(obj1);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 (arg1)->SetMax(arg2);
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 Py_INCREF(Py_None); resultobj = Py_None;
10250 return resultobj;
10251 fail:
10252 return NULL;
10253 }
10254
10255
10256 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10259 int arg2 ;
10260 int arg3 ;
10261 PyObject * obj0 = 0 ;
10262 PyObject * obj1 = 0 ;
10263 PyObject * obj2 = 0 ;
10264 char *kwnames[] = {
10265 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10266 };
10267
10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10271 arg2 = (int) SWIG_AsInt(obj1);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 arg3 = (int) SWIG_AsInt(obj2);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 (arg1)->SetRange(arg2,arg3);
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 Py_INCREF(Py_None); resultobj = Py_None;
10283 return resultobj;
10284 fail:
10285 return NULL;
10286 }
10287
10288
10289 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj;
10291 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10292 bool result;
10293 PyObject * obj0 = 0 ;
10294 char *kwnames[] = {
10295 (char *) "self", NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10301 {
10302 PyThreadState* __tstate = wxPyBeginAllowThreads();
10303 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10304
10305 wxPyEndAllowThreads(__tstate);
10306 if (PyErr_Occurred()) SWIG_fail;
10307 }
10308 {
10309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10310 }
10311 return resultobj;
10312 fail:
10313 return NULL;
10314 }
10315
10316
10317 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
10318 PyObject *obj;
10319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10320 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10321 Py_INCREF(obj);
10322 return Py_BuildValue((char *)"");
10323 }
10324 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10325 PyObject *resultobj;
10326 wxWindow *arg1 = (wxWindow *) 0 ;
10327 int arg2 = (int) -1 ;
10328 wxString const &arg3_defvalue = wxPyEmptyString ;
10329 wxString *arg3 = (wxString *) &arg3_defvalue ;
10330 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10331 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10332 wxSize const &arg5_defvalue = wxDefaultSize ;
10333 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10334 long arg6 = (long) wxSP_ARROW_KEYS ;
10335 int arg7 = (int) 0 ;
10336 int arg8 = (int) 100 ;
10337 int arg9 = (int) 0 ;
10338 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10339 wxString *arg10 = (wxString *) &arg10_defvalue ;
10340 wxSpinCtrl *result;
10341 bool temp3 = False ;
10342 wxPoint temp4 ;
10343 wxSize temp5 ;
10344 bool temp10 = False ;
10345 PyObject * obj0 = 0 ;
10346 PyObject * obj1 = 0 ;
10347 PyObject * obj2 = 0 ;
10348 PyObject * obj3 = 0 ;
10349 PyObject * obj4 = 0 ;
10350 PyObject * obj5 = 0 ;
10351 PyObject * obj6 = 0 ;
10352 PyObject * obj7 = 0 ;
10353 PyObject * obj8 = 0 ;
10354 PyObject * obj9 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10362 if (obj1) {
10363 arg2 = (int) SWIG_AsInt(obj1);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 }
10366 if (obj2) {
10367 {
10368 arg3 = wxString_in_helper(obj2);
10369 if (arg3 == NULL) SWIG_fail;
10370 temp3 = True;
10371 }
10372 }
10373 if (obj3) {
10374 {
10375 arg4 = &temp4;
10376 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10377 }
10378 }
10379 if (obj4) {
10380 {
10381 arg5 = &temp5;
10382 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10383 }
10384 }
10385 if (obj5) {
10386 arg6 = (long) SWIG_AsLong(obj5);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 if (obj6) {
10390 arg7 = (int) SWIG_AsInt(obj6);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 if (obj7) {
10394 arg8 = (int) SWIG_AsInt(obj7);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 if (obj8) {
10398 arg9 = (int) SWIG_AsInt(obj8);
10399 if (PyErr_Occurred()) SWIG_fail;
10400 }
10401 if (obj9) {
10402 {
10403 arg10 = wxString_in_helper(obj9);
10404 if (arg10 == NULL) SWIG_fail;
10405 temp10 = True;
10406 }
10407 }
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10416 {
10417 if (temp3)
10418 delete arg3;
10419 }
10420 {
10421 if (temp10)
10422 delete arg10;
10423 }
10424 return resultobj;
10425 fail:
10426 {
10427 if (temp3)
10428 delete arg3;
10429 }
10430 {
10431 if (temp10)
10432 delete arg10;
10433 }
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxSpinCtrl *result;
10441 char *kwnames[] = {
10442 NULL
10443 };
10444
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (wxSpinCtrl *)new wxSpinCtrl();
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10454 return resultobj;
10455 fail:
10456 return NULL;
10457 }
10458
10459
10460 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10461 PyObject *resultobj;
10462 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10463 wxWindow *arg2 = (wxWindow *) 0 ;
10464 int arg3 = (int) -1 ;
10465 wxString const &arg4_defvalue = wxPyEmptyString ;
10466 wxString *arg4 = (wxString *) &arg4_defvalue ;
10467 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10468 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10469 wxSize const &arg6_defvalue = wxDefaultSize ;
10470 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10471 long arg7 = (long) wxSP_ARROW_KEYS ;
10472 int arg8 = (int) 0 ;
10473 int arg9 = (int) 100 ;
10474 int arg10 = (int) 0 ;
10475 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10476 wxString *arg11 = (wxString *) &arg11_defvalue ;
10477 bool result;
10478 bool temp4 = False ;
10479 wxPoint temp5 ;
10480 wxSize temp6 ;
10481 bool temp11 = False ;
10482 PyObject * obj0 = 0 ;
10483 PyObject * obj1 = 0 ;
10484 PyObject * obj2 = 0 ;
10485 PyObject * obj3 = 0 ;
10486 PyObject * obj4 = 0 ;
10487 PyObject * obj5 = 0 ;
10488 PyObject * obj6 = 0 ;
10489 PyObject * obj7 = 0 ;
10490 PyObject * obj8 = 0 ;
10491 PyObject * obj9 = 0 ;
10492 PyObject * obj10 = 0 ;
10493 char *kwnames[] = {
10494 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10495 };
10496
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10502 if (obj2) {
10503 arg3 = (int) SWIG_AsInt(obj2);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 if (obj3) {
10507 {
10508 arg4 = wxString_in_helper(obj3);
10509 if (arg4 == NULL) SWIG_fail;
10510 temp4 = True;
10511 }
10512 }
10513 if (obj4) {
10514 {
10515 arg5 = &temp5;
10516 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10517 }
10518 }
10519 if (obj5) {
10520 {
10521 arg6 = &temp6;
10522 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10523 }
10524 }
10525 if (obj6) {
10526 arg7 = (long) SWIG_AsLong(obj6);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 if (obj7) {
10530 arg8 = (int) SWIG_AsInt(obj7);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 if (obj8) {
10534 arg9 = (int) SWIG_AsInt(obj8);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 if (obj9) {
10538 arg10 = (int) SWIG_AsInt(obj9);
10539 if (PyErr_Occurred()) SWIG_fail;
10540 }
10541 if (obj10) {
10542 {
10543 arg11 = wxString_in_helper(obj10);
10544 if (arg11 == NULL) SWIG_fail;
10545 temp11 = True;
10546 }
10547 }
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 {
10556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10557 }
10558 {
10559 if (temp4)
10560 delete arg4;
10561 }
10562 {
10563 if (temp11)
10564 delete arg11;
10565 }
10566 return resultobj;
10567 fail:
10568 {
10569 if (temp4)
10570 delete arg4;
10571 }
10572 {
10573 if (temp11)
10574 delete arg11;
10575 }
10576 return NULL;
10577 }
10578
10579
10580 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj;
10582 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10583 int result;
10584 PyObject * obj0 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 resultobj = SWIG_FromInt((int)result);
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj;
10608 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10609 int arg2 ;
10610 PyObject * obj0 = 0 ;
10611 PyObject * obj1 = 0 ;
10612 char *kwnames[] = {
10613 (char *) "self",(char *) "value", NULL
10614 };
10615
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10619 arg2 = (int) SWIG_AsInt(obj1);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 (arg1)->SetValue(arg2);
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 Py_INCREF(Py_None); resultobj = Py_None;
10629 return resultobj;
10630 fail:
10631 return NULL;
10632 }
10633
10634
10635 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
10636 PyObject *resultobj;
10637 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10638 wxString *arg2 = 0 ;
10639 bool temp2 = False ;
10640 PyObject * obj0 = 0 ;
10641 PyObject * obj1 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self",(char *) "text", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10649 {
10650 arg2 = wxString_in_helper(obj1);
10651 if (arg2 == NULL) SWIG_fail;
10652 temp2 = True;
10653 }
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 (arg1)->SetValue((wxString const &)*arg2);
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 Py_INCREF(Py_None); resultobj = Py_None;
10662 {
10663 if (temp2)
10664 delete arg2;
10665 }
10666 return resultobj;
10667 fail:
10668 {
10669 if (temp2)
10670 delete arg2;
10671 }
10672 return NULL;
10673 }
10674
10675
10676 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10677 PyObject *resultobj;
10678 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10679 int arg2 ;
10680 int arg3 ;
10681 PyObject * obj0 = 0 ;
10682 PyObject * obj1 = 0 ;
10683 PyObject * obj2 = 0 ;
10684 char *kwnames[] = {
10685 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10686 };
10687
10688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10691 arg2 = (int) SWIG_AsInt(obj1);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 arg3 = (int) SWIG_AsInt(obj2);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 (arg1)->SetRange(arg2,arg3);
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 Py_INCREF(Py_None); resultobj = Py_None;
10703 return resultobj;
10704 fail:
10705 return NULL;
10706 }
10707
10708
10709 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj;
10711 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10712 int result;
10713 PyObject * obj0 = 0 ;
10714 char *kwnames[] = {
10715 (char *) "self", NULL
10716 };
10717
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 resultobj = SWIG_FromInt((int)result);
10729 return resultobj;
10730 fail:
10731 return NULL;
10732 }
10733
10734
10735 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10736 PyObject *resultobj;
10737 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10738 int result;
10739 PyObject * obj0 = 0 ;
10740 char *kwnames[] = {
10741 (char *) "self", NULL
10742 };
10743
10744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 resultobj = SWIG_FromInt((int)result);
10755 return resultobj;
10756 fail:
10757 return NULL;
10758 }
10759
10760
10761 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10764 long arg2 ;
10765 long arg3 ;
10766 PyObject * obj0 = 0 ;
10767 PyObject * obj1 = 0 ;
10768 PyObject * obj2 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self",(char *) "from",(char *) "to", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10776 arg2 = (long) SWIG_AsLong(obj1);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 arg3 = (long) SWIG_AsLong(obj2);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 (arg1)->SetSelection(arg2,arg3);
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 Py_INCREF(Py_None); resultobj = Py_None;
10788 return resultobj;
10789 fail:
10790 return NULL;
10791 }
10792
10793
10794 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
10795 PyObject *obj;
10796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10797 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10798 Py_INCREF(obj);
10799 return Py_BuildValue((char *)"");
10800 }
10801 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj;
10803 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10804 int arg2 = (int) 0 ;
10805 wxSpinEvent *result;
10806 PyObject * obj0 = 0 ;
10807 PyObject * obj1 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "commandType",(char *) "winid", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10813 if (obj0) {
10814 arg1 = (wxEventType) SWIG_AsInt(obj0);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 if (obj1) {
10818 arg2 = (int) SWIG_AsInt(obj1);
10819 if (PyErr_Occurred()) SWIG_fail;
10820 }
10821 {
10822 PyThreadState* __tstate = wxPyBeginAllowThreads();
10823 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10824
10825 wxPyEndAllowThreads(__tstate);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10829 return resultobj;
10830 fail:
10831 return NULL;
10832 }
10833
10834
10835 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj;
10837 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10838 int result;
10839 PyObject * obj0 = 0 ;
10840 char *kwnames[] = {
10841 (char *) "self", NULL
10842 };
10843
10844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 resultobj = SWIG_FromInt((int)result);
10855 return resultobj;
10856 fail:
10857 return NULL;
10858 }
10859
10860
10861 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj;
10863 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10864 int arg2 ;
10865 PyObject * obj0 = 0 ;
10866 PyObject * obj1 = 0 ;
10867 char *kwnames[] = {
10868 (char *) "self",(char *) "pos", NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10874 arg2 = (int) SWIG_AsInt(obj1);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 {
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 (arg1)->SetPosition(arg2);
10879
10880 wxPyEndAllowThreads(__tstate);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
10883 Py_INCREF(Py_None); resultobj = Py_None;
10884 return resultobj;
10885 fail:
10886 return NULL;
10887 }
10888
10889
10890 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
10891 PyObject *obj;
10892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10893 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10894 Py_INCREF(obj);
10895 return Py_BuildValue((char *)"");
10896 }
10897 static int _wrap_RadioBoxNameStr_set(PyObject *) {
10898 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10899 return 1;
10900 }
10901
10902
10903 static PyObject *_wrap_RadioBoxNameStr_get() {
10904 PyObject *pyobj;
10905
10906 {
10907 #if wxUSE_UNICODE
10908 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10909 #else
10910 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10911 #endif
10912 }
10913 return pyobj;
10914 }
10915
10916
10917 static int _wrap_RadioButtonNameStr_set(PyObject *) {
10918 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10919 return 1;
10920 }
10921
10922
10923 static PyObject *_wrap_RadioButtonNameStr_get() {
10924 PyObject *pyobj;
10925
10926 {
10927 #if wxUSE_UNICODE
10928 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10929 #else
10930 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10931 #endif
10932 }
10933 return pyobj;
10934 }
10935
10936
10937 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
10938 PyObject *resultobj;
10939 wxWindow *arg1 = (wxWindow *) 0 ;
10940 int arg2 ;
10941 wxString *arg3 = 0 ;
10942 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10943 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10944 wxSize const &arg5_defvalue = wxDefaultSize ;
10945 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10946 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10947 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10948 int arg7 = (int) 0 ;
10949 long arg8 = (long) wxRA_HORIZONTAL ;
10950 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10951 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10952 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10953 wxString *arg10 = (wxString *) &arg10_defvalue ;
10954 wxRadioBox *result;
10955 bool temp3 = False ;
10956 wxPoint temp4 ;
10957 wxSize temp5 ;
10958 bool temp6 = False ;
10959 bool temp10 = False ;
10960 PyObject * obj0 = 0 ;
10961 PyObject * obj1 = 0 ;
10962 PyObject * obj2 = 0 ;
10963 PyObject * obj3 = 0 ;
10964 PyObject * obj4 = 0 ;
10965 PyObject * obj5 = 0 ;
10966 PyObject * obj6 = 0 ;
10967 PyObject * obj7 = 0 ;
10968 PyObject * obj8 = 0 ;
10969 PyObject * obj9 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10977 arg2 = (int) SWIG_AsInt(obj1);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 {
10980 arg3 = wxString_in_helper(obj2);
10981 if (arg3 == NULL) SWIG_fail;
10982 temp3 = True;
10983 }
10984 if (obj3) {
10985 {
10986 arg4 = &temp4;
10987 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10988 }
10989 }
10990 if (obj4) {
10991 {
10992 arg5 = &temp5;
10993 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10994 }
10995 }
10996 if (obj5) {
10997 {
10998 if (! PySequence_Check(obj5)) {
10999 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11000 SWIG_fail;
11001 }
11002 arg6 = new wxArrayString;
11003 temp6 = True;
11004 int i, len=PySequence_Length(obj5);
11005 for (i=0; i<len; i++) {
11006 PyObject* item = PySequence_GetItem(obj5, i);
11007 #if wxUSE_UNICODE
11008 PyObject* str = PyObject_Unicode(item);
11009 #else
11010 PyObject* str = PyObject_Str(item);
11011 #endif
11012 arg6->Add(Py2wxString(str));
11013 Py_DECREF(item);
11014 Py_DECREF(str);
11015 }
11016 }
11017 }
11018 if (obj6) {
11019 arg7 = (int) SWIG_AsInt(obj6);
11020 if (PyErr_Occurred()) SWIG_fail;
11021 }
11022 if (obj7) {
11023 arg8 = (long) SWIG_AsLong(obj7);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 if (obj8) {
11027 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11028 SWIG_POINTER_EXCEPTION | 0)) == -1)
11029 SWIG_fail;
11030 if (arg9 == NULL) {
11031 PyErr_SetString(PyExc_TypeError,"null reference");
11032 SWIG_fail;
11033 }
11034 }
11035 if (obj9) {
11036 {
11037 arg10 = wxString_in_helper(obj9);
11038 if (arg10 == NULL) SWIG_fail;
11039 temp10 = True;
11040 }
11041 }
11042 {
11043 PyThreadState* __tstate = wxPyBeginAllowThreads();
11044 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);
11045
11046 wxPyEndAllowThreads(__tstate);
11047 if (PyErr_Occurred()) SWIG_fail;
11048 }
11049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11050 {
11051 if (temp3)
11052 delete arg3;
11053 }
11054 {
11055 if (temp6) delete arg6;
11056 }
11057 {
11058 if (temp10)
11059 delete arg10;
11060 }
11061 return resultobj;
11062 fail:
11063 {
11064 if (temp3)
11065 delete arg3;
11066 }
11067 {
11068 if (temp6) delete arg6;
11069 }
11070 {
11071 if (temp10)
11072 delete arg10;
11073 }
11074 return NULL;
11075 }
11076
11077
11078 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
11079 PyObject *resultobj;
11080 wxRadioBox *result;
11081 char *kwnames[] = {
11082 NULL
11083 };
11084
11085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 result = (wxRadioBox *)new wxRadioBox();
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11103 wxWindow *arg2 = (wxWindow *) 0 ;
11104 int arg3 ;
11105 wxString *arg4 = 0 ;
11106 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11107 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11108 wxSize const &arg6_defvalue = wxDefaultSize ;
11109 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11110 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11111 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11112 int arg8 = (int) 0 ;
11113 long arg9 = (long) wxRA_HORIZONTAL ;
11114 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11115 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11116 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11117 wxString *arg11 = (wxString *) &arg11_defvalue ;
11118 bool result;
11119 bool temp4 = False ;
11120 wxPoint temp5 ;
11121 wxSize temp6 ;
11122 bool temp7 = False ;
11123 bool temp11 = False ;
11124 PyObject * obj0 = 0 ;
11125 PyObject * obj1 = 0 ;
11126 PyObject * obj2 = 0 ;
11127 PyObject * obj3 = 0 ;
11128 PyObject * obj4 = 0 ;
11129 PyObject * obj5 = 0 ;
11130 PyObject * obj6 = 0 ;
11131 PyObject * obj7 = 0 ;
11132 PyObject * obj8 = 0 ;
11133 PyObject * obj9 = 0 ;
11134 PyObject * obj10 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11144 arg3 = (int) SWIG_AsInt(obj2);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 {
11147 arg4 = wxString_in_helper(obj3);
11148 if (arg4 == NULL) SWIG_fail;
11149 temp4 = True;
11150 }
11151 if (obj4) {
11152 {
11153 arg5 = &temp5;
11154 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11155 }
11156 }
11157 if (obj5) {
11158 {
11159 arg6 = &temp6;
11160 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11161 }
11162 }
11163 if (obj6) {
11164 {
11165 if (! PySequence_Check(obj6)) {
11166 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11167 SWIG_fail;
11168 }
11169 arg7 = new wxArrayString;
11170 temp7 = True;
11171 int i, len=PySequence_Length(obj6);
11172 for (i=0; i<len; i++) {
11173 PyObject* item = PySequence_GetItem(obj6, i);
11174 #if wxUSE_UNICODE
11175 PyObject* str = PyObject_Unicode(item);
11176 #else
11177 PyObject* str = PyObject_Str(item);
11178 #endif
11179 arg7->Add(Py2wxString(str));
11180 Py_DECREF(item);
11181 Py_DECREF(str);
11182 }
11183 }
11184 }
11185 if (obj7) {
11186 arg8 = (int) SWIG_AsInt(obj7);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 if (obj8) {
11190 arg9 = (long) SWIG_AsLong(obj8);
11191 if (PyErr_Occurred()) SWIG_fail;
11192 }
11193 if (obj9) {
11194 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11195 SWIG_POINTER_EXCEPTION | 0)) == -1)
11196 SWIG_fail;
11197 if (arg10 == NULL) {
11198 PyErr_SetString(PyExc_TypeError,"null reference");
11199 SWIG_fail;
11200 }
11201 }
11202 if (obj10) {
11203 {
11204 arg11 = wxString_in_helper(obj10);
11205 if (arg11 == NULL) SWIG_fail;
11206 temp11 = True;
11207 }
11208 }
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 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);
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 {
11217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11218 }
11219 {
11220 if (temp4)
11221 delete arg4;
11222 }
11223 {
11224 if (temp7) delete arg7;
11225 }
11226 {
11227 if (temp11)
11228 delete arg11;
11229 }
11230 return resultobj;
11231 fail:
11232 {
11233 if (temp4)
11234 delete arg4;
11235 }
11236 {
11237 if (temp7) delete arg7;
11238 }
11239 {
11240 if (temp11)
11241 delete arg11;
11242 }
11243 return NULL;
11244 }
11245
11246
11247 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj;
11249 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11250 int arg2 ;
11251 PyObject * obj0 = 0 ;
11252 PyObject * obj1 = 0 ;
11253 char *kwnames[] = {
11254 (char *) "self",(char *) "n", NULL
11255 };
11256
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11260 arg2 = (int) SWIG_AsInt(obj1);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 (arg1)->SetSelection(arg2);
11265
11266 wxPyEndAllowThreads(__tstate);
11267 if (PyErr_Occurred()) SWIG_fail;
11268 }
11269 Py_INCREF(Py_None); resultobj = Py_None;
11270 return resultobj;
11271 fail:
11272 return NULL;
11273 }
11274
11275
11276 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11277 PyObject *resultobj;
11278 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11279 int result;
11280 PyObject * obj0 = 0 ;
11281 char *kwnames[] = {
11282 (char *) "self", NULL
11283 };
11284
11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11288 {
11289 PyThreadState* __tstate = wxPyBeginAllowThreads();
11290 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11291
11292 wxPyEndAllowThreads(__tstate);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 }
11295 resultobj = SWIG_FromInt((int)result);
11296 return resultobj;
11297 fail:
11298 return NULL;
11299 }
11300
11301
11302 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11303 PyObject *resultobj;
11304 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11305 wxString result;
11306 PyObject * obj0 = 0 ;
11307 char *kwnames[] = {
11308 (char *) "self", NULL
11309 };
11310
11311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 {
11322 #if wxUSE_UNICODE
11323 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11324 #else
11325 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11326 #endif
11327 }
11328 return resultobj;
11329 fail:
11330 return NULL;
11331 }
11332
11333
11334 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11335 PyObject *resultobj;
11336 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11337 wxString *arg2 = 0 ;
11338 bool result;
11339 bool temp2 = False ;
11340 PyObject * obj0 = 0 ;
11341 PyObject * obj1 = 0 ;
11342 char *kwnames[] = {
11343 (char *) "self",(char *) "s", NULL
11344 };
11345
11346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11349 {
11350 arg2 = wxString_in_helper(obj1);
11351 if (arg2 == NULL) SWIG_fail;
11352 temp2 = True;
11353 }
11354 {
11355 PyThreadState* __tstate = wxPyBeginAllowThreads();
11356 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11357
11358 wxPyEndAllowThreads(__tstate);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 {
11362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11363 }
11364 {
11365 if (temp2)
11366 delete arg2;
11367 }
11368 return resultobj;
11369 fail:
11370 {
11371 if (temp2)
11372 delete arg2;
11373 }
11374 return NULL;
11375 }
11376
11377
11378 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
11379 PyObject *resultobj;
11380 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11381 int result;
11382 PyObject * obj0 = 0 ;
11383 char *kwnames[] = {
11384 (char *) "self", NULL
11385 };
11386
11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 result = (int)((wxRadioBox const *)arg1)->GetCount();
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 resultobj = SWIG_FromInt((int)result);
11398 return resultobj;
11399 fail:
11400 return NULL;
11401 }
11402
11403
11404 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
11405 PyObject *resultobj;
11406 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11407 wxString *arg2 = 0 ;
11408 int result;
11409 bool temp2 = False ;
11410 PyObject * obj0 = 0 ;
11411 PyObject * obj1 = 0 ;
11412 char *kwnames[] = {
11413 (char *) "self",(char *) "s", NULL
11414 };
11415
11416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11419 {
11420 arg2 = wxString_in_helper(obj1);
11421 if (arg2 == NULL) SWIG_fail;
11422 temp2 = True;
11423 }
11424 {
11425 PyThreadState* __tstate = wxPyBeginAllowThreads();
11426 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11427
11428 wxPyEndAllowThreads(__tstate);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 resultobj = SWIG_FromInt((int)result);
11432 {
11433 if (temp2)
11434 delete arg2;
11435 }
11436 return resultobj;
11437 fail:
11438 {
11439 if (temp2)
11440 delete arg2;
11441 }
11442 return NULL;
11443 }
11444
11445
11446 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11447 PyObject *resultobj;
11448 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11449 int arg2 ;
11450 wxString result;
11451 PyObject * obj0 = 0 ;
11452 PyObject * obj1 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self",(char *) "n", NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11460 arg2 = (int) SWIG_AsInt(obj1);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 {
11463 PyThreadState* __tstate = wxPyBeginAllowThreads();
11464 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11465
11466 wxPyEndAllowThreads(__tstate);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
11469 {
11470 #if wxUSE_UNICODE
11471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11472 #else
11473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11474 #endif
11475 }
11476 return resultobj;
11477 fail:
11478 return NULL;
11479 }
11480
11481
11482 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
11483 PyObject *resultobj;
11484 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11485 int arg2 ;
11486 wxString *arg3 = 0 ;
11487 bool temp3 = False ;
11488 PyObject * obj0 = 0 ;
11489 PyObject * obj1 = 0 ;
11490 PyObject * obj2 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self",(char *) "n",(char *) "label", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11498 arg2 = (int) SWIG_AsInt(obj1);
11499 if (PyErr_Occurred()) SWIG_fail;
11500 {
11501 arg3 = wxString_in_helper(obj2);
11502 if (arg3 == NULL) SWIG_fail;
11503 temp3 = True;
11504 }
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 (arg1)->SetString(arg2,(wxString const &)*arg3);
11508
11509 wxPyEndAllowThreads(__tstate);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 }
11512 Py_INCREF(Py_None); resultobj = Py_None;
11513 {
11514 if (temp3)
11515 delete arg3;
11516 }
11517 return resultobj;
11518 fail:
11519 {
11520 if (temp3)
11521 delete arg3;
11522 }
11523 return NULL;
11524 }
11525
11526
11527 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
11528 PyObject *resultobj;
11529 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11530 int arg2 ;
11531 bool arg3 = (bool) True ;
11532 PyObject * obj0 = 0 ;
11533 PyObject * obj1 = 0 ;
11534 PyObject * obj2 = 0 ;
11535 char *kwnames[] = {
11536 (char *) "self",(char *) "n",(char *) "enable", NULL
11537 };
11538
11539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11542 arg2 = (int) SWIG_AsInt(obj1);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 if (obj2) {
11545 arg3 = (bool) SWIG_AsBool(obj2);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 (arg1)->Enable(arg2,arg3);
11551
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 Py_INCREF(Py_None); resultobj = Py_None;
11556 return resultobj;
11557 fail:
11558 return NULL;
11559 }
11560
11561
11562 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj;
11564 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11565 int arg2 ;
11566 bool arg3 = (bool) True ;
11567 PyObject * obj0 = 0 ;
11568 PyObject * obj1 = 0 ;
11569 PyObject * obj2 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self",(char *) "n",(char *) "show", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11577 arg2 = (int) SWIG_AsInt(obj1);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 if (obj2) {
11580 arg3 = (bool) SWIG_AsBool(obj2);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 (arg1)->Show(arg2,arg3);
11586
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 Py_INCREF(Py_None); resultobj = Py_None;
11591 return resultobj;
11592 fail:
11593 return NULL;
11594 }
11595
11596
11597 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11600 int result;
11601 PyObject * obj0 = 0 ;
11602 char *kwnames[] = {
11603 (char *) "self", NULL
11604 };
11605
11606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11612
11613 wxPyEndAllowThreads(__tstate);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
11616 resultobj = SWIG_FromInt((int)result);
11617 return resultobj;
11618 fail:
11619 return NULL;
11620 }
11621
11622
11623 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj;
11625 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11626 int result;
11627 PyObject * obj0 = 0 ;
11628 char *kwnames[] = {
11629 (char *) "self", NULL
11630 };
11631
11632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11635 {
11636 PyThreadState* __tstate = wxPyBeginAllowThreads();
11637 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11638
11639 wxPyEndAllowThreads(__tstate);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 }
11642 resultobj = SWIG_FromInt((int)result);
11643 return resultobj;
11644 fail:
11645 return NULL;
11646 }
11647
11648
11649 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
11650 PyObject *resultobj;
11651 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11652 int arg2 ;
11653 int arg3 ;
11654 long arg4 ;
11655 int result;
11656 PyObject * obj0 = 0 ;
11657 PyObject * obj1 = 0 ;
11658 PyObject * obj2 = 0 ;
11659 PyObject * obj3 = 0 ;
11660 char *kwnames[] = {
11661 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11662 };
11663
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11667 arg2 = (int) SWIG_AsInt(obj1);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 arg3 = (wxDirection) SWIG_AsInt(obj2);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 arg4 = (long) SWIG_AsLong(obj3);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11676
11677 wxPyEndAllowThreads(__tstate);
11678 if (PyErr_Occurred()) SWIG_fail;
11679 }
11680 resultobj = SWIG_FromInt((int)result);
11681 return resultobj;
11682 fail:
11683 return NULL;
11684 }
11685
11686
11687 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
11688 PyObject *obj;
11689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11690 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11691 Py_INCREF(obj);
11692 return Py_BuildValue((char *)"");
11693 }
11694 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
11695 PyObject *resultobj;
11696 wxWindow *arg1 = (wxWindow *) 0 ;
11697 int arg2 ;
11698 wxString *arg3 = 0 ;
11699 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11700 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11701 wxSize const &arg5_defvalue = wxDefaultSize ;
11702 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11703 long arg6 = (long) 0 ;
11704 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11705 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11706 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11707 wxString *arg8 = (wxString *) &arg8_defvalue ;
11708 wxRadioButton *result;
11709 bool temp3 = False ;
11710 wxPoint temp4 ;
11711 wxSize temp5 ;
11712 bool temp8 = False ;
11713 PyObject * obj0 = 0 ;
11714 PyObject * obj1 = 0 ;
11715 PyObject * obj2 = 0 ;
11716 PyObject * obj3 = 0 ;
11717 PyObject * obj4 = 0 ;
11718 PyObject * obj5 = 0 ;
11719 PyObject * obj6 = 0 ;
11720 PyObject * obj7 = 0 ;
11721 char *kwnames[] = {
11722 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11728 arg2 = (int) SWIG_AsInt(obj1);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 {
11731 arg3 = wxString_in_helper(obj2);
11732 if (arg3 == NULL) SWIG_fail;
11733 temp3 = True;
11734 }
11735 if (obj3) {
11736 {
11737 arg4 = &temp4;
11738 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11739 }
11740 }
11741 if (obj4) {
11742 {
11743 arg5 = &temp5;
11744 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11745 }
11746 }
11747 if (obj5) {
11748 arg6 = (long) SWIG_AsLong(obj5);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 if (obj6) {
11752 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11753 SWIG_POINTER_EXCEPTION | 0)) == -1)
11754 SWIG_fail;
11755 if (arg7 == NULL) {
11756 PyErr_SetString(PyExc_TypeError,"null reference");
11757 SWIG_fail;
11758 }
11759 }
11760 if (obj7) {
11761 {
11762 arg8 = wxString_in_helper(obj7);
11763 if (arg8 == NULL) SWIG_fail;
11764 temp8 = True;
11765 }
11766 }
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11775 {
11776 if (temp3)
11777 delete arg3;
11778 }
11779 {
11780 if (temp8)
11781 delete arg8;
11782 }
11783 return resultobj;
11784 fail:
11785 {
11786 if (temp3)
11787 delete arg3;
11788 }
11789 {
11790 if (temp8)
11791 delete arg8;
11792 }
11793 return NULL;
11794 }
11795
11796
11797 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
11798 PyObject *resultobj;
11799 wxRadioButton *result;
11800 char *kwnames[] = {
11801 NULL
11802 };
11803
11804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 result = (wxRadioButton *)new wxRadioButton();
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11813 return resultobj;
11814 fail:
11815 return NULL;
11816 }
11817
11818
11819 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11820 PyObject *resultobj;
11821 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11822 wxWindow *arg2 = (wxWindow *) 0 ;
11823 int arg3 ;
11824 wxString *arg4 = 0 ;
11825 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11826 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11827 wxSize const &arg6_defvalue = wxDefaultSize ;
11828 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11829 long arg7 = (long) 0 ;
11830 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11831 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11832 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11833 wxString *arg9 = (wxString *) &arg9_defvalue ;
11834 bool result;
11835 bool temp4 = False ;
11836 wxPoint temp5 ;
11837 wxSize temp6 ;
11838 bool temp9 = False ;
11839 PyObject * obj0 = 0 ;
11840 PyObject * obj1 = 0 ;
11841 PyObject * obj2 = 0 ;
11842 PyObject * obj3 = 0 ;
11843 PyObject * obj4 = 0 ;
11844 PyObject * obj5 = 0 ;
11845 PyObject * obj6 = 0 ;
11846 PyObject * obj7 = 0 ;
11847 PyObject * obj8 = 0 ;
11848 char *kwnames[] = {
11849 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11850 };
11851
11852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11857 arg3 = (int) SWIG_AsInt(obj2);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 {
11860 arg4 = wxString_in_helper(obj3);
11861 if (arg4 == NULL) SWIG_fail;
11862 temp4 = True;
11863 }
11864 if (obj4) {
11865 {
11866 arg5 = &temp5;
11867 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11868 }
11869 }
11870 if (obj5) {
11871 {
11872 arg6 = &temp6;
11873 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11874 }
11875 }
11876 if (obj6) {
11877 arg7 = (long) SWIG_AsLong(obj6);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 }
11880 if (obj7) {
11881 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11882 SWIG_POINTER_EXCEPTION | 0)) == -1)
11883 SWIG_fail;
11884 if (arg8 == NULL) {
11885 PyErr_SetString(PyExc_TypeError,"null reference");
11886 SWIG_fail;
11887 }
11888 }
11889 if (obj8) {
11890 {
11891 arg9 = wxString_in_helper(obj8);
11892 if (arg9 == NULL) SWIG_fail;
11893 temp9 = True;
11894 }
11895 }
11896 {
11897 PyThreadState* __tstate = wxPyBeginAllowThreads();
11898 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11899
11900 wxPyEndAllowThreads(__tstate);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 {
11904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11905 }
11906 {
11907 if (temp4)
11908 delete arg4;
11909 }
11910 {
11911 if (temp9)
11912 delete arg9;
11913 }
11914 return resultobj;
11915 fail:
11916 {
11917 if (temp4)
11918 delete arg4;
11919 }
11920 {
11921 if (temp9)
11922 delete arg9;
11923 }
11924 return NULL;
11925 }
11926
11927
11928 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11929 PyObject *resultobj;
11930 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11931 bool result;
11932 PyObject * obj0 = 0 ;
11933 char *kwnames[] = {
11934 (char *) "self", NULL
11935 };
11936
11937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 result = (bool)(arg1)->GetValue();
11943
11944 wxPyEndAllowThreads(__tstate);
11945 if (PyErr_Occurred()) SWIG_fail;
11946 }
11947 {
11948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11949 }
11950 return resultobj;
11951 fail:
11952 return NULL;
11953 }
11954
11955
11956 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11957 PyObject *resultobj;
11958 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11959 bool arg2 ;
11960 PyObject * obj0 = 0 ;
11961 PyObject * obj1 = 0 ;
11962 char *kwnames[] = {
11963 (char *) "self",(char *) "value", NULL
11964 };
11965
11966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11969 arg2 = (bool) SWIG_AsBool(obj1);
11970 if (PyErr_Occurred()) SWIG_fail;
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 (arg1)->SetValue(arg2);
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 Py_INCREF(Py_None); resultobj = Py_None;
11979 return resultobj;
11980 fail:
11981 return NULL;
11982 }
11983
11984
11985 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
11986 PyObject *obj;
11987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11988 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11989 Py_INCREF(obj);
11990 return Py_BuildValue((char *)"");
11991 }
11992 static int _wrap_SliderNameStr_set(PyObject *) {
11993 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11994 return 1;
11995 }
11996
11997
11998 static PyObject *_wrap_SliderNameStr_get() {
11999 PyObject *pyobj;
12000
12001 {
12002 #if wxUSE_UNICODE
12003 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12004 #else
12005 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12006 #endif
12007 }
12008 return pyobj;
12009 }
12010
12011
12012 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
12013 PyObject *resultobj;
12014 wxWindow *arg1 = (wxWindow *) 0 ;
12015 int arg2 ;
12016 int arg3 ;
12017 int arg4 ;
12018 int arg5 ;
12019 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12020 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12021 wxSize const &arg7_defvalue = wxDefaultSize ;
12022 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12023 long arg8 = (long) wxSL_HORIZONTAL ;
12024 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12025 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12026 wxString const &arg10_defvalue = wxPySliderNameStr ;
12027 wxString *arg10 = (wxString *) &arg10_defvalue ;
12028 wxSlider *result;
12029 wxPoint temp6 ;
12030 wxSize temp7 ;
12031 bool temp10 = False ;
12032 PyObject * obj0 = 0 ;
12033 PyObject * obj1 = 0 ;
12034 PyObject * obj2 = 0 ;
12035 PyObject * obj3 = 0 ;
12036 PyObject * obj4 = 0 ;
12037 PyObject * obj5 = 0 ;
12038 PyObject * obj6 = 0 ;
12039 PyObject * obj7 = 0 ;
12040 PyObject * obj8 = 0 ;
12041 PyObject * obj9 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12049 arg2 = (int) SWIG_AsInt(obj1);
12050 if (PyErr_Occurred()) SWIG_fail;
12051 arg3 = (int) SWIG_AsInt(obj2);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 arg4 = (int) SWIG_AsInt(obj3);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 arg5 = (int) SWIG_AsInt(obj4);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 if (obj5) {
12058 {
12059 arg6 = &temp6;
12060 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12061 }
12062 }
12063 if (obj6) {
12064 {
12065 arg7 = &temp7;
12066 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12067 }
12068 }
12069 if (obj7) {
12070 arg8 = (long) SWIG_AsLong(obj7);
12071 if (PyErr_Occurred()) SWIG_fail;
12072 }
12073 if (obj8) {
12074 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12075 SWIG_POINTER_EXCEPTION | 0)) == -1)
12076 SWIG_fail;
12077 if (arg9 == NULL) {
12078 PyErr_SetString(PyExc_TypeError,"null reference");
12079 SWIG_fail;
12080 }
12081 }
12082 if (obj9) {
12083 {
12084 arg10 = wxString_in_helper(obj9);
12085 if (arg10 == NULL) SWIG_fail;
12086 temp10 = True;
12087 }
12088 }
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12097 {
12098 if (temp10)
12099 delete arg10;
12100 }
12101 return resultobj;
12102 fail:
12103 {
12104 if (temp10)
12105 delete arg10;
12106 }
12107 return NULL;
12108 }
12109
12110
12111 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
12112 PyObject *resultobj;
12113 wxSlider *result;
12114 char *kwnames[] = {
12115 NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = (wxSlider *)new wxSlider();
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj;
12135 wxSlider *arg1 = (wxSlider *) 0 ;
12136 wxWindow *arg2 = (wxWindow *) 0 ;
12137 int arg3 ;
12138 int arg4 ;
12139 int arg5 ;
12140 int arg6 ;
12141 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12142 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12143 wxSize const &arg8_defvalue = wxDefaultSize ;
12144 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12145 long arg9 = (long) wxSL_HORIZONTAL ;
12146 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12147 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12148 wxString const &arg11_defvalue = wxPySliderNameStr ;
12149 wxString *arg11 = (wxString *) &arg11_defvalue ;
12150 bool result;
12151 wxPoint temp7 ;
12152 wxSize temp8 ;
12153 bool temp11 = False ;
12154 PyObject * obj0 = 0 ;
12155 PyObject * obj1 = 0 ;
12156 PyObject * obj2 = 0 ;
12157 PyObject * obj3 = 0 ;
12158 PyObject * obj4 = 0 ;
12159 PyObject * obj5 = 0 ;
12160 PyObject * obj6 = 0 ;
12161 PyObject * obj7 = 0 ;
12162 PyObject * obj8 = 0 ;
12163 PyObject * obj9 = 0 ;
12164 PyObject * obj10 = 0 ;
12165 char *kwnames[] = {
12166 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12167 };
12168
12169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12174 arg3 = (int) SWIG_AsInt(obj2);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 arg4 = (int) SWIG_AsInt(obj3);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 arg5 = (int) SWIG_AsInt(obj4);
12179 if (PyErr_Occurred()) SWIG_fail;
12180 arg6 = (int) SWIG_AsInt(obj5);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 if (obj6) {
12183 {
12184 arg7 = &temp7;
12185 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12186 }
12187 }
12188 if (obj7) {
12189 {
12190 arg8 = &temp8;
12191 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12192 }
12193 }
12194 if (obj8) {
12195 arg9 = (long) SWIG_AsLong(obj8);
12196 if (PyErr_Occurred()) SWIG_fail;
12197 }
12198 if (obj9) {
12199 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12200 SWIG_POINTER_EXCEPTION | 0)) == -1)
12201 SWIG_fail;
12202 if (arg10 == NULL) {
12203 PyErr_SetString(PyExc_TypeError,"null reference");
12204 SWIG_fail;
12205 }
12206 }
12207 if (obj10) {
12208 {
12209 arg11 = wxString_in_helper(obj10);
12210 if (arg11 == NULL) SWIG_fail;
12211 temp11 = True;
12212 }
12213 }
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 {
12222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12223 }
12224 {
12225 if (temp11)
12226 delete arg11;
12227 }
12228 return resultobj;
12229 fail:
12230 {
12231 if (temp11)
12232 delete arg11;
12233 }
12234 return NULL;
12235 }
12236
12237
12238 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj;
12240 wxSlider *arg1 = (wxSlider *) 0 ;
12241 int result;
12242 PyObject * obj0 = 0 ;
12243 char *kwnames[] = {
12244 (char *) "self", NULL
12245 };
12246
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 result = (int)((wxSlider const *)arg1)->GetValue();
12253
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 resultobj = SWIG_FromInt((int)result);
12258 return resultobj;
12259 fail:
12260 return NULL;
12261 }
12262
12263
12264 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12265 PyObject *resultobj;
12266 wxSlider *arg1 = (wxSlider *) 0 ;
12267 int arg2 ;
12268 PyObject * obj0 = 0 ;
12269 PyObject * obj1 = 0 ;
12270 char *kwnames[] = {
12271 (char *) "self",(char *) "value", NULL
12272 };
12273
12274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12277 arg2 = (int) SWIG_AsInt(obj1);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 (arg1)->SetValue(arg2);
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 Py_INCREF(Py_None); resultobj = Py_None;
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj;
12295 wxSlider *arg1 = (wxSlider *) 0 ;
12296 int arg2 ;
12297 int arg3 ;
12298 PyObject * obj0 = 0 ;
12299 PyObject * obj1 = 0 ;
12300 PyObject * obj2 = 0 ;
12301 char *kwnames[] = {
12302 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12303 };
12304
12305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12308 arg2 = (int) SWIG_AsInt(obj1);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 arg3 = (int) SWIG_AsInt(obj2);
12311 if (PyErr_Occurred()) SWIG_fail;
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 (arg1)->SetRange(arg2,arg3);
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 Py_INCREF(Py_None); resultobj = Py_None;
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj;
12328 wxSlider *arg1 = (wxSlider *) 0 ;
12329 int result;
12330 PyObject * obj0 = 0 ;
12331 char *kwnames[] = {
12332 (char *) "self", NULL
12333 };
12334
12335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 result = (int)((wxSlider const *)arg1)->GetMin();
12341
12342 wxPyEndAllowThreads(__tstate);
12343 if (PyErr_Occurred()) SWIG_fail;
12344 }
12345 resultobj = SWIG_FromInt((int)result);
12346 return resultobj;
12347 fail:
12348 return NULL;
12349 }
12350
12351
12352 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12353 PyObject *resultobj;
12354 wxSlider *arg1 = (wxSlider *) 0 ;
12355 int result;
12356 PyObject * obj0 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (int)((wxSlider const *)arg1)->GetMax();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 resultobj = SWIG_FromInt((int)result);
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxSlider *arg1 = (wxSlider *) 0 ;
12381 int arg2 ;
12382 PyObject * obj0 = 0 ;
12383 PyObject * obj1 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self",(char *) "minValue", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12391 arg2 = (int) SWIG_AsInt(obj1);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 (arg1)->SetMin(arg2);
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 Py_INCREF(Py_None); resultobj = Py_None;
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj;
12409 wxSlider *arg1 = (wxSlider *) 0 ;
12410 int arg2 ;
12411 PyObject * obj0 = 0 ;
12412 PyObject * obj1 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self",(char *) "maxValue", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12420 arg2 = (int) SWIG_AsInt(obj1);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 (arg1)->SetMax(arg2);
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 Py_INCREF(Py_None); resultobj = Py_None;
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxSlider *arg1 = (wxSlider *) 0 ;
12439 int arg2 ;
12440 PyObject * obj0 = 0 ;
12441 PyObject * obj1 = 0 ;
12442 char *kwnames[] = {
12443 (char *) "self",(char *) "lineSize", NULL
12444 };
12445
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12449 arg2 = (int) SWIG_AsInt(obj1);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 {
12452 PyThreadState* __tstate = wxPyBeginAllowThreads();
12453 (arg1)->SetLineSize(arg2);
12454
12455 wxPyEndAllowThreads(__tstate);
12456 if (PyErr_Occurred()) SWIG_fail;
12457 }
12458 Py_INCREF(Py_None); resultobj = Py_None;
12459 return resultobj;
12460 fail:
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxSlider *arg1 = (wxSlider *) 0 ;
12468 int arg2 ;
12469 PyObject * obj0 = 0 ;
12470 PyObject * obj1 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self",(char *) "pageSize", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12478 arg2 = (int) SWIG_AsInt(obj1);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 (arg1)->SetPageSize(arg2);
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 Py_INCREF(Py_None); resultobj = Py_None;
12488 return resultobj;
12489 fail:
12490 return NULL;
12491 }
12492
12493
12494 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
12495 PyObject *resultobj;
12496 wxSlider *arg1 = (wxSlider *) 0 ;
12497 int result;
12498 PyObject * obj0 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 result = (int)((wxSlider const *)arg1)->GetLineSize();
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 resultobj = SWIG_FromInt((int)result);
12514 return resultobj;
12515 fail:
12516 return NULL;
12517 }
12518
12519
12520 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj;
12522 wxSlider *arg1 = (wxSlider *) 0 ;
12523 int result;
12524 PyObject * obj0 = 0 ;
12525 char *kwnames[] = {
12526 (char *) "self", NULL
12527 };
12528
12529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 result = (int)((wxSlider const *)arg1)->GetPageSize();
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 resultobj = SWIG_FromInt((int)result);
12540 return resultobj;
12541 fail:
12542 return NULL;
12543 }
12544
12545
12546 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
12547 PyObject *resultobj;
12548 wxSlider *arg1 = (wxSlider *) 0 ;
12549 int arg2 ;
12550 PyObject * obj0 = 0 ;
12551 PyObject * obj1 = 0 ;
12552 char *kwnames[] = {
12553 (char *) "self",(char *) "lenPixels", NULL
12554 };
12555
12556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12559 arg2 = (int) SWIG_AsInt(obj1);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 (arg1)->SetThumbLength(arg2);
12564
12565 wxPyEndAllowThreads(__tstate);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
12568 Py_INCREF(Py_None); resultobj = Py_None;
12569 return resultobj;
12570 fail:
12571 return NULL;
12572 }
12573
12574
12575 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj;
12577 wxSlider *arg1 = (wxSlider *) 0 ;
12578 int result;
12579 PyObject * obj0 = 0 ;
12580 char *kwnames[] = {
12581 (char *) "self", NULL
12582 };
12583
12584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12587 {
12588 PyThreadState* __tstate = wxPyBeginAllowThreads();
12589 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12590
12591 wxPyEndAllowThreads(__tstate);
12592 if (PyErr_Occurred()) SWIG_fail;
12593 }
12594 resultobj = SWIG_FromInt((int)result);
12595 return resultobj;
12596 fail:
12597 return NULL;
12598 }
12599
12600
12601 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
12602 PyObject *resultobj;
12603 wxSlider *arg1 = (wxSlider *) 0 ;
12604 int arg2 ;
12605 int arg3 = (int) 1 ;
12606 PyObject * obj0 = 0 ;
12607 PyObject * obj1 = 0 ;
12608 PyObject * obj2 = 0 ;
12609 char *kwnames[] = {
12610 (char *) "self",(char *) "n",(char *) "pos", NULL
12611 };
12612
12613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12616 arg2 = (int) SWIG_AsInt(obj1);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 if (obj2) {
12619 arg3 = (int) SWIG_AsInt(obj2);
12620 if (PyErr_Occurred()) SWIG_fail;
12621 }
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 (arg1)->SetTickFreq(arg2,arg3);
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 Py_INCREF(Py_None); resultobj = Py_None;
12630 return resultobj;
12631 fail:
12632 return NULL;
12633 }
12634
12635
12636 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
12637 PyObject *resultobj;
12638 wxSlider *arg1 = (wxSlider *) 0 ;
12639 int result;
12640 PyObject * obj0 = 0 ;
12641 char *kwnames[] = {
12642 (char *) "self", NULL
12643 };
12644
12645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12648 {
12649 PyThreadState* __tstate = wxPyBeginAllowThreads();
12650 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12651
12652 wxPyEndAllowThreads(__tstate);
12653 if (PyErr_Occurred()) SWIG_fail;
12654 }
12655 resultobj = SWIG_FromInt((int)result);
12656 return resultobj;
12657 fail:
12658 return NULL;
12659 }
12660
12661
12662 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
12663 PyObject *resultobj;
12664 wxSlider *arg1 = (wxSlider *) 0 ;
12665 PyObject * obj0 = 0 ;
12666 char *kwnames[] = {
12667 (char *) "self", NULL
12668 };
12669
12670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12673 {
12674 PyThreadState* __tstate = wxPyBeginAllowThreads();
12675 (arg1)->ClearTicks();
12676
12677 wxPyEndAllowThreads(__tstate);
12678 if (PyErr_Occurred()) SWIG_fail;
12679 }
12680 Py_INCREF(Py_None); resultobj = Py_None;
12681 return resultobj;
12682 fail:
12683 return NULL;
12684 }
12685
12686
12687 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
12688 PyObject *resultobj;
12689 wxSlider *arg1 = (wxSlider *) 0 ;
12690 int arg2 ;
12691 PyObject * obj0 = 0 ;
12692 PyObject * obj1 = 0 ;
12693 char *kwnames[] = {
12694 (char *) "self",(char *) "tickPos", NULL
12695 };
12696
12697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12700 arg2 = (int) SWIG_AsInt(obj1);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 {
12703 PyThreadState* __tstate = wxPyBeginAllowThreads();
12704 (arg1)->SetTick(arg2);
12705
12706 wxPyEndAllowThreads(__tstate);
12707 if (PyErr_Occurred()) SWIG_fail;
12708 }
12709 Py_INCREF(Py_None); resultobj = Py_None;
12710 return resultobj;
12711 fail:
12712 return NULL;
12713 }
12714
12715
12716 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
12717 PyObject *resultobj;
12718 wxSlider *arg1 = (wxSlider *) 0 ;
12719 PyObject * obj0 = 0 ;
12720 char *kwnames[] = {
12721 (char *) "self", NULL
12722 };
12723
12724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 (arg1)->ClearSel();
12730
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 }
12734 Py_INCREF(Py_None); resultobj = Py_None;
12735 return resultobj;
12736 fail:
12737 return NULL;
12738 }
12739
12740
12741 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
12742 PyObject *resultobj;
12743 wxSlider *arg1 = (wxSlider *) 0 ;
12744 int result;
12745 PyObject * obj0 = 0 ;
12746 char *kwnames[] = {
12747 (char *) "self", NULL
12748 };
12749
12750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 resultobj = SWIG_FromInt((int)result);
12761 return resultobj;
12762 fail:
12763 return NULL;
12764 }
12765
12766
12767 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
12768 PyObject *resultobj;
12769 wxSlider *arg1 = (wxSlider *) 0 ;
12770 int result;
12771 PyObject * obj0 = 0 ;
12772 char *kwnames[] = {
12773 (char *) "self", NULL
12774 };
12775
12776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 result = (int)((wxSlider const *)arg1)->GetSelStart();
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 resultobj = SWIG_FromInt((int)result);
12787 return resultobj;
12788 fail:
12789 return NULL;
12790 }
12791
12792
12793 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12794 PyObject *resultobj;
12795 wxSlider *arg1 = (wxSlider *) 0 ;
12796 int arg2 ;
12797 int arg3 ;
12798 PyObject * obj0 = 0 ;
12799 PyObject * obj1 = 0 ;
12800 PyObject * obj2 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "self",(char *) "min",(char *) "max", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12808 arg2 = (int) SWIG_AsInt(obj1);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 arg3 = (int) SWIG_AsInt(obj2);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 (arg1)->SetSelection(arg2,arg3);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 Py_INCREF(Py_None); resultobj = Py_None;
12820 return resultobj;
12821 fail:
12822 return NULL;
12823 }
12824
12825
12826 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
12827 PyObject *obj;
12828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12829 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12830 Py_INCREF(obj);
12831 return Py_BuildValue((char *)"");
12832 }
12833 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
12834 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12835 return 1;
12836 }
12837
12838
12839 static PyObject *_wrap_ToggleButtonNameStr_get() {
12840 PyObject *pyobj;
12841
12842 {
12843 #if wxUSE_UNICODE
12844 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12845 #else
12846 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12847 #endif
12848 }
12849 return pyobj;
12850 }
12851
12852
12853 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj;
12855 wxWindow *arg1 = (wxWindow *) 0 ;
12856 int arg2 ;
12857 wxString *arg3 = 0 ;
12858 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12859 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12860 wxSize const &arg5_defvalue = wxDefaultSize ;
12861 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12862 long arg6 = (long) 0 ;
12863 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12864 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12865 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12866 wxString *arg8 = (wxString *) &arg8_defvalue ;
12867 wxToggleButton *result;
12868 bool temp3 = False ;
12869 wxPoint temp4 ;
12870 wxSize temp5 ;
12871 bool temp8 = False ;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 PyObject * obj2 = 0 ;
12875 PyObject * obj3 = 0 ;
12876 PyObject * obj4 = 0 ;
12877 PyObject * obj5 = 0 ;
12878 PyObject * obj6 = 0 ;
12879 PyObject * obj7 = 0 ;
12880 char *kwnames[] = {
12881 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12882 };
12883
12884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12887 arg2 = (int) SWIG_AsInt(obj1);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 {
12890 arg3 = wxString_in_helper(obj2);
12891 if (arg3 == NULL) SWIG_fail;
12892 temp3 = True;
12893 }
12894 if (obj3) {
12895 {
12896 arg4 = &temp4;
12897 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12898 }
12899 }
12900 if (obj4) {
12901 {
12902 arg5 = &temp5;
12903 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12904 }
12905 }
12906 if (obj5) {
12907 arg6 = (long) SWIG_AsLong(obj5);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 if (obj6) {
12911 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12912 SWIG_POINTER_EXCEPTION | 0)) == -1)
12913 SWIG_fail;
12914 if (arg7 == NULL) {
12915 PyErr_SetString(PyExc_TypeError,"null reference");
12916 SWIG_fail;
12917 }
12918 }
12919 if (obj7) {
12920 {
12921 arg8 = wxString_in_helper(obj7);
12922 if (arg8 == NULL) SWIG_fail;
12923 temp8 = True;
12924 }
12925 }
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
12928 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
12933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12934 {
12935 if (temp3)
12936 delete arg3;
12937 }
12938 {
12939 if (temp8)
12940 delete arg8;
12941 }
12942 return resultobj;
12943 fail:
12944 {
12945 if (temp3)
12946 delete arg3;
12947 }
12948 {
12949 if (temp8)
12950 delete arg8;
12951 }
12952 return NULL;
12953 }
12954
12955
12956 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
12957 PyObject *resultobj;
12958 wxToggleButton *result;
12959 char *kwnames[] = {
12960 NULL
12961 };
12962
12963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12964 {
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 result = (wxToggleButton *)new wxToggleButton();
12967
12968 wxPyEndAllowThreads(__tstate);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
12971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12972 return resultobj;
12973 fail:
12974 return NULL;
12975 }
12976
12977
12978 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
12979 PyObject *obj;
12980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12981 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
12982 Py_INCREF(obj);
12983 return Py_BuildValue((char *)"");
12984 }
12985 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
12986 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
12987 return 1;
12988 }
12989
12990
12991 static PyObject *_wrap_NOTEBOOK_NAME_get() {
12992 PyObject *pyobj;
12993
12994 {
12995 #if wxUSE_UNICODE
12996 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12997 #else
12998 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12999 #endif
13000 }
13001 return pyobj;
13002 }
13003
13004
13005 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
13006 PyObject *resultobj;
13007 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13008 size_t result;
13009 PyObject * obj0 = 0 ;
13010 char *kwnames[] = {
13011 (char *) "self", NULL
13012 };
13013
13014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13017 {
13018 PyThreadState* __tstate = wxPyBeginAllowThreads();
13019 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13020
13021 wxPyEndAllowThreads(__tstate);
13022 if (PyErr_Occurred()) SWIG_fail;
13023 }
13024 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
13025 return resultobj;
13026 fail:
13027 return NULL;
13028 }
13029
13030
13031 static PyObject *_wrap_BookCtrl_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
13032 PyObject *resultobj;
13033 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13034 size_t arg2 ;
13035 wxWindow *result;
13036 PyObject * obj0 = 0 ;
13037 PyObject * obj1 = 0 ;
13038 char *kwnames[] = {
13039 (char *) "self",(char *) "n", NULL
13040 };
13041
13042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13045 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 {
13048 PyThreadState* __tstate = wxPyBeginAllowThreads();
13049 result = (wxWindow *)(arg1)->GetPage(arg2);
13050
13051 wxPyEndAllowThreads(__tstate);
13052 if (PyErr_Occurred()) SWIG_fail;
13053 }
13054 {
13055 resultobj = wxPyMake_wxObject(result);
13056 }
13057 return resultobj;
13058 fail:
13059 return NULL;
13060 }
13061
13062
13063 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13064 PyObject *resultobj;
13065 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13066 int result;
13067 PyObject * obj0 = 0 ;
13068 char *kwnames[] = {
13069 (char *) "self", NULL
13070 };
13071
13072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13075 {
13076 PyThreadState* __tstate = wxPyBeginAllowThreads();
13077 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13078
13079 wxPyEndAllowThreads(__tstate);
13080 if (PyErr_Occurred()) SWIG_fail;
13081 }
13082 resultobj = SWIG_FromInt((int)result);
13083 return resultobj;
13084 fail:
13085 return NULL;
13086 }
13087
13088
13089 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
13090 PyObject *resultobj;
13091 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13092 size_t arg2 ;
13093 wxString *arg3 = 0 ;
13094 bool result;
13095 bool temp3 = False ;
13096 PyObject * obj0 = 0 ;
13097 PyObject * obj1 = 0 ;
13098 PyObject * obj2 = 0 ;
13099 char *kwnames[] = {
13100 (char *) "self",(char *) "n",(char *) "strText", NULL
13101 };
13102
13103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13106 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 {
13109 arg3 = wxString_in_helper(obj2);
13110 if (arg3 == NULL) SWIG_fail;
13111 temp3 = True;
13112 }
13113 {
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13116
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 {
13121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13122 }
13123 {
13124 if (temp3)
13125 delete arg3;
13126 }
13127 return resultobj;
13128 fail:
13129 {
13130 if (temp3)
13131 delete arg3;
13132 }
13133 return NULL;
13134 }
13135
13136
13137 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
13138 PyObject *resultobj;
13139 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13140 size_t arg2 ;
13141 wxString result;
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "self",(char *) "n", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13151 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 {
13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
13155 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13156
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 {
13161 #if wxUSE_UNICODE
13162 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13163 #else
13164 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13165 #endif
13166 }
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj;
13175 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13176 wxImageList *arg2 = (wxImageList *) 0 ;
13177 PyObject * obj0 = 0 ;
13178 PyObject * obj1 = 0 ;
13179 char *kwnames[] = {
13180 (char *) "self",(char *) "imageList", NULL
13181 };
13182
13183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 (arg1)->SetImageList(arg2);
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 Py_INCREF(Py_None); resultobj = Py_None;
13196 return resultobj;
13197 fail:
13198 return NULL;
13199 }
13200
13201
13202 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13205 wxImageList *arg2 = (wxImageList *) 0 ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 char *kwnames[] = {
13209 (char *) "self",(char *) "imageList", NULL
13210 };
13211
13212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13216 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13217 {
13218 PyThreadState* __tstate = wxPyBeginAllowThreads();
13219 (arg1)->AssignImageList(arg2);
13220
13221 wxPyEndAllowThreads(__tstate);
13222 if (PyErr_Occurred()) SWIG_fail;
13223 }
13224 Py_INCREF(Py_None); resultobj = Py_None;
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj;
13233 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13234 wxImageList *result;
13235 PyObject * obj0 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 {
13251 resultobj = wxPyMake_wxObject(result);
13252 }
13253 return resultobj;
13254 fail:
13255 return NULL;
13256 }
13257
13258
13259 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj;
13261 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13262 size_t arg2 ;
13263 int result;
13264 PyObject * obj0 = 0 ;
13265 PyObject * obj1 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self",(char *) "n", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13273 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 resultobj = SWIG_FromInt((int)result);
13283 return resultobj;
13284 fail:
13285 return NULL;
13286 }
13287
13288
13289 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
13290 PyObject *resultobj;
13291 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13292 size_t arg2 ;
13293 int arg3 ;
13294 bool result;
13295 PyObject * obj0 = 0 ;
13296 PyObject * obj1 = 0 ;
13297 PyObject * obj2 = 0 ;
13298 char *kwnames[] = {
13299 (char *) "self",(char *) "n",(char *) "imageId", NULL
13300 };
13301
13302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13305 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 arg3 = (int) SWIG_AsInt(obj2);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 {
13310 PyThreadState* __tstate = wxPyBeginAllowThreads();
13311 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13312
13313 wxPyEndAllowThreads(__tstate);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 }
13316 {
13317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13318 }
13319 return resultobj;
13320 fail:
13321 return NULL;
13322 }
13323
13324
13325 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
13326 PyObject *resultobj;
13327 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13328 wxSize *arg2 = 0 ;
13329 wxSize temp2 ;
13330 PyObject * obj0 = 0 ;
13331 PyObject * obj1 = 0 ;
13332 char *kwnames[] = {
13333 (char *) "self",(char *) "size", NULL
13334 };
13335
13336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13339 {
13340 arg2 = &temp2;
13341 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13342 }
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 (arg1)->SetPageSize((wxSize const &)*arg2);
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 Py_INCREF(Py_None); resultobj = Py_None;
13351 return resultobj;
13352 fail:
13353 return NULL;
13354 }
13355
13356
13357 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
13358 PyObject *resultobj;
13359 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13360 wxSize *arg2 = 0 ;
13361 wxSize result;
13362 wxSize temp2 ;
13363 PyObject * obj0 = 0 ;
13364 PyObject * obj1 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self",(char *) "sizePage", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13372 {
13373 arg2 = &temp2;
13374 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13375 }
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13379
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 {
13384 wxSize * resultptr;
13385 resultptr = new wxSize((wxSize &) result);
13386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13387 }
13388 return resultobj;
13389 fail:
13390 return NULL;
13391 }
13392
13393
13394 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
13395 PyObject *resultobj;
13396 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13397 size_t arg2 ;
13398 bool result;
13399 PyObject * obj0 = 0 ;
13400 PyObject * obj1 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "self",(char *) "n", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13408 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (bool)(arg1)->DeletePage(arg2);
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 {
13418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13419 }
13420 return resultobj;
13421 fail:
13422 return NULL;
13423 }
13424
13425
13426 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
13427 PyObject *resultobj;
13428 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13429 size_t arg2 ;
13430 bool result;
13431 PyObject * obj0 = 0 ;
13432 PyObject * obj1 = 0 ;
13433 char *kwnames[] = {
13434 (char *) "self",(char *) "n", NULL
13435 };
13436
13437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13440 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13441 if (PyErr_Occurred()) SWIG_fail;
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 result = (bool)(arg1)->RemovePage(arg2);
13445
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 {
13450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13451 }
13452 return resultobj;
13453 fail:
13454 return NULL;
13455 }
13456
13457
13458 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj;
13460 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13461 bool result;
13462 PyObject * obj0 = 0 ;
13463 char *kwnames[] = {
13464 (char *) "self", NULL
13465 };
13466
13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 result = (bool)(arg1)->DeleteAllPages();
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 {
13478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13479 }
13480 return resultobj;
13481 fail:
13482 return NULL;
13483 }
13484
13485
13486 static PyObject *_wrap_BookCtrl_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13489 wxWindow *arg2 = (wxWindow *) 0 ;
13490 wxString *arg3 = 0 ;
13491 bool arg4 = (bool) False ;
13492 int arg5 = (int) -1 ;
13493 bool result;
13494 bool temp3 = False ;
13495 PyObject * obj0 = 0 ;
13496 PyObject * obj1 = 0 ;
13497 PyObject * obj2 = 0 ;
13498 PyObject * obj3 = 0 ;
13499 PyObject * obj4 = 0 ;
13500 char *kwnames[] = {
13501 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13502 };
13503
13504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13509 {
13510 arg3 = wxString_in_helper(obj2);
13511 if (arg3 == NULL) SWIG_fail;
13512 temp3 = True;
13513 }
13514 if (obj3) {
13515 arg4 = (bool) SWIG_AsBool(obj3);
13516 if (PyErr_Occurred()) SWIG_fail;
13517 }
13518 if (obj4) {
13519 arg5 = (int) SWIG_AsInt(obj4);
13520 if (PyErr_Occurred()) SWIG_fail;
13521 }
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 {
13530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13531 }
13532 {
13533 if (temp3)
13534 delete arg3;
13535 }
13536 return resultobj;
13537 fail:
13538 {
13539 if (temp3)
13540 delete arg3;
13541 }
13542 return NULL;
13543 }
13544
13545
13546 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
13547 PyObject *resultobj;
13548 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13549 size_t arg2 ;
13550 wxWindow *arg3 = (wxWindow *) 0 ;
13551 wxString *arg4 = 0 ;
13552 bool arg5 = (bool) False ;
13553 int arg6 = (int) -1 ;
13554 bool result;
13555 bool temp4 = False ;
13556 PyObject * obj0 = 0 ;
13557 PyObject * obj1 = 0 ;
13558 PyObject * obj2 = 0 ;
13559 PyObject * obj3 = 0 ;
13560 PyObject * obj4 = 0 ;
13561 PyObject * obj5 = 0 ;
13562 char *kwnames[] = {
13563 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13564 };
13565
13566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13569 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13570 if (PyErr_Occurred()) SWIG_fail;
13571 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13573 {
13574 arg4 = wxString_in_helper(obj3);
13575 if (arg4 == NULL) SWIG_fail;
13576 temp4 = True;
13577 }
13578 if (obj4) {
13579 arg5 = (bool) SWIG_AsBool(obj4);
13580 if (PyErr_Occurred()) SWIG_fail;
13581 }
13582 if (obj5) {
13583 arg6 = (int) SWIG_AsInt(obj5);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
13588 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
13593 {
13594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13595 }
13596 {
13597 if (temp4)
13598 delete arg4;
13599 }
13600 return resultobj;
13601 fail:
13602 {
13603 if (temp4)
13604 delete arg4;
13605 }
13606 return NULL;
13607 }
13608
13609
13610 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13611 PyObject *resultobj;
13612 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13613 size_t arg2 ;
13614 int result;
13615 PyObject * obj0 = 0 ;
13616 PyObject * obj1 = 0 ;
13617 char *kwnames[] = {
13618 (char *) "self",(char *) "n", NULL
13619 };
13620
13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13624 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 {
13627 PyThreadState* __tstate = wxPyBeginAllowThreads();
13628 result = (int)(arg1)->SetSelection(arg2);
13629
13630 wxPyEndAllowThreads(__tstate);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
13633 resultobj = SWIG_FromInt((int)result);
13634 return resultobj;
13635 fail:
13636 return NULL;
13637 }
13638
13639
13640 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13641 PyObject *resultobj;
13642 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13643 bool arg2 = (bool) True ;
13644 PyObject * obj0 = 0 ;
13645 PyObject * obj1 = 0 ;
13646 char *kwnames[] = {
13647 (char *) "self",(char *) "forward", NULL
13648 };
13649
13650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13653 if (obj1) {
13654 arg2 = (bool) SWIG_AsBool(obj1);
13655 if (PyErr_Occurred()) SWIG_fail;
13656 }
13657 {
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 (arg1)->AdvanceSelection(arg2);
13660
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 }
13664 Py_INCREF(Py_None); resultobj = Py_None;
13665 return resultobj;
13666 fail:
13667 return NULL;
13668 }
13669
13670
13671 static PyObject * BookCtrl_swigregister(PyObject *, PyObject *args) {
13672 PyObject *obj;
13673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13674 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13675 Py_INCREF(obj);
13676 return Py_BuildValue((char *)"");
13677 }
13678 static PyObject *_wrap_new_BookCtrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13681 int arg2 = (int) 0 ;
13682 int arg3 = (int) -1 ;
13683 int arg4 = (int) -1 ;
13684 wxBookCtrlEvent *result;
13685 PyObject * obj0 = 0 ;
13686 PyObject * obj1 = 0 ;
13687 PyObject * obj2 = 0 ;
13688 PyObject * obj3 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13694 if (obj0) {
13695 arg1 = (wxEventType) SWIG_AsInt(obj0);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 }
13698 if (obj1) {
13699 arg2 = (int) SWIG_AsInt(obj1);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 if (obj2) {
13703 arg3 = (int) SWIG_AsInt(obj2);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 if (obj3) {
13707 arg4 = (int) SWIG_AsInt(obj3);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 {
13711 PyThreadState* __tstate = wxPyBeginAllowThreads();
13712 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13713
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
13718 return resultobj;
13719 fail:
13720 return NULL;
13721 }
13722
13723
13724 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13725 PyObject *resultobj;
13726 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13727 int result;
13728 PyObject * obj0 = 0 ;
13729 char *kwnames[] = {
13730 (char *) "self", NULL
13731 };
13732
13733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13736 {
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13739
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 resultobj = SWIG_FromInt((int)result);
13744 return resultobj;
13745 fail:
13746 return NULL;
13747 }
13748
13749
13750 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj;
13752 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13753 int arg2 ;
13754 PyObject * obj0 = 0 ;
13755 PyObject * obj1 = 0 ;
13756 char *kwnames[] = {
13757 (char *) "self",(char *) "nSel", NULL
13758 };
13759
13760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13763 arg2 = (int) SWIG_AsInt(obj1);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 (arg1)->SetSelection(arg2);
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 Py_INCREF(Py_None); resultobj = Py_None;
13773 return resultobj;
13774 fail:
13775 return NULL;
13776 }
13777
13778
13779 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj;
13781 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13782 int result;
13783 PyObject * obj0 = 0 ;
13784 char *kwnames[] = {
13785 (char *) "self", NULL
13786 };
13787
13788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 resultobj = SWIG_FromInt((int)result);
13799 return resultobj;
13800 fail:
13801 return NULL;
13802 }
13803
13804
13805 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13806 PyObject *resultobj;
13807 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13808 int arg2 ;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self",(char *) "nOldSel", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13818 arg2 = (int) SWIG_AsInt(obj1);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 (arg1)->SetOldSelection(arg2);
13823
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 Py_INCREF(Py_None); resultobj = Py_None;
13828 return resultobj;
13829 fail:
13830 return NULL;
13831 }
13832
13833
13834 static PyObject * BookCtrlEvent_swigregister(PyObject *, PyObject *args) {
13835 PyObject *obj;
13836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13837 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13838 Py_INCREF(obj);
13839 return Py_BuildValue((char *)"");
13840 }
13841 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj;
13843 wxWindow *arg1 = (wxWindow *) 0 ;
13844 int arg2 = (int) -1 ;
13845 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13846 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13847 wxSize const &arg4_defvalue = wxDefaultSize ;
13848 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13849 long arg5 = (long) 0 ;
13850 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13851 wxString *arg6 = (wxString *) &arg6_defvalue ;
13852 wxNotebook *result;
13853 wxPoint temp3 ;
13854 wxSize temp4 ;
13855 bool temp6 = False ;
13856 PyObject * obj0 = 0 ;
13857 PyObject * obj1 = 0 ;
13858 PyObject * obj2 = 0 ;
13859 PyObject * obj3 = 0 ;
13860 PyObject * obj4 = 0 ;
13861 PyObject * obj5 = 0 ;
13862 char *kwnames[] = {
13863 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13864 };
13865
13866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13869 if (obj1) {
13870 arg2 = (int) SWIG_AsInt(obj1);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
13873 if (obj2) {
13874 {
13875 arg3 = &temp3;
13876 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13877 }
13878 }
13879 if (obj3) {
13880 {
13881 arg4 = &temp4;
13882 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13883 }
13884 }
13885 if (obj4) {
13886 arg5 = (long) SWIG_AsLong(obj4);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 if (obj5) {
13890 {
13891 arg6 = wxString_in_helper(obj5);
13892 if (arg6 == NULL) SWIG_fail;
13893 temp6 = True;
13894 }
13895 }
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 {
13904 resultobj = wxPyMake_wxObject(result);
13905 }
13906 {
13907 if (temp6)
13908 delete arg6;
13909 }
13910 return resultobj;
13911 fail:
13912 {
13913 if (temp6)
13914 delete arg6;
13915 }
13916 return NULL;
13917 }
13918
13919
13920 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj;
13922 wxNotebook *result;
13923 char *kwnames[] = {
13924 NULL
13925 };
13926
13927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13928 {
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 result = (wxNotebook *)new wxNotebook();
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 {
13936 resultobj = wxPyMake_wxObject(result);
13937 }
13938 return resultobj;
13939 fail:
13940 return NULL;
13941 }
13942
13943
13944 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13945 PyObject *resultobj;
13946 wxNotebook *arg1 = (wxNotebook *) 0 ;
13947 wxWindow *arg2 = (wxWindow *) 0 ;
13948 int arg3 ;
13949 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13950 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13951 wxSize const &arg5_defvalue = wxDefaultSize ;
13952 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13953 long arg6 = (long) 0 ;
13954 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
13955 wxString *arg7 = (wxString *) &arg7_defvalue ;
13956 bool result;
13957 wxPoint temp4 ;
13958 wxSize temp5 ;
13959 bool temp7 = False ;
13960 PyObject * obj0 = 0 ;
13961 PyObject * obj1 = 0 ;
13962 PyObject * obj2 = 0 ;
13963 PyObject * obj3 = 0 ;
13964 PyObject * obj4 = 0 ;
13965 PyObject * obj5 = 0 ;
13966 PyObject * obj6 = 0 ;
13967 char *kwnames[] = {
13968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13969 };
13970
13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13976 arg3 = (int) SWIG_AsInt(obj2);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 if (obj3) {
13979 {
13980 arg4 = &temp4;
13981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13982 }
13983 }
13984 if (obj4) {
13985 {
13986 arg5 = &temp5;
13987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13988 }
13989 }
13990 if (obj5) {
13991 arg6 = (long) SWIG_AsLong(obj5);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 if (obj6) {
13995 {
13996 arg7 = wxString_in_helper(obj6);
13997 if (arg7 == NULL) SWIG_fail;
13998 temp7 = True;
13999 }
14000 }
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 {
14009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14010 }
14011 {
14012 if (temp7)
14013 delete arg7;
14014 }
14015 return resultobj;
14016 fail:
14017 {
14018 if (temp7)
14019 delete arg7;
14020 }
14021 return NULL;
14022 }
14023
14024
14025 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
14026 PyObject *resultobj;
14027 wxNotebook *arg1 = (wxNotebook *) 0 ;
14028 int result;
14029 PyObject * obj0 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
14044 resultobj = SWIG_FromInt((int)result);
14045 return resultobj;
14046 fail:
14047 return NULL;
14048 }
14049
14050
14051 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
14052 PyObject *resultobj;
14053 wxNotebook *arg1 = (wxNotebook *) 0 ;
14054 wxSize *arg2 = 0 ;
14055 wxSize temp2 ;
14056 PyObject * obj0 = 0 ;
14057 PyObject * obj1 = 0 ;
14058 char *kwnames[] = {
14059 (char *) "self",(char *) "padding", NULL
14060 };
14061
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14065 {
14066 arg2 = &temp2;
14067 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14068 }
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 (arg1)->SetPadding((wxSize const &)*arg2);
14072
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 Py_INCREF(Py_None); resultobj = Py_None;
14077 return resultobj;
14078 fail:
14079 return NULL;
14080 }
14081
14082
14083 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj;
14085 wxNotebook *arg1 = (wxNotebook *) 0 ;
14086 wxSize *arg2 = 0 ;
14087 wxSize temp2 ;
14088 PyObject * obj0 = 0 ;
14089 PyObject * obj1 = 0 ;
14090 char *kwnames[] = {
14091 (char *) "self",(char *) "sz", NULL
14092 };
14093
14094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14097 {
14098 arg2 = &temp2;
14099 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14100 }
14101 {
14102 PyThreadState* __tstate = wxPyBeginAllowThreads();
14103 (arg1)->SetTabSize((wxSize const &)*arg2);
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 Py_INCREF(Py_None); resultobj = Py_None;
14109 return resultobj;
14110 fail:
14111 return NULL;
14112 }
14113
14114
14115 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
14116 PyObject *resultobj;
14117 wxNotebook *arg1 = (wxNotebook *) 0 ;
14118 wxPoint *arg2 = 0 ;
14119 long *arg3 = (long *) 0 ;
14120 int result;
14121 wxPoint temp2 ;
14122 long temp3 ;
14123 PyObject * obj0 = 0 ;
14124 PyObject * obj1 = 0 ;
14125 char *kwnames[] = {
14126 (char *) "self",(char *) "pt", NULL
14127 };
14128
14129 arg3 = &temp3;
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14133 {
14134 arg2 = &temp2;
14135 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14136 }
14137 {
14138 PyThreadState* __tstate = wxPyBeginAllowThreads();
14139 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14140
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 resultobj = SWIG_FromInt((int)result);
14145 {
14146 PyObject *o = PyInt_FromLong((long) (*arg3));
14147 resultobj = t_output_helper(resultobj,o);
14148 }
14149 return resultobj;
14150 fail:
14151 return NULL;
14152 }
14153
14154
14155 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
14156 PyObject *resultobj;
14157 wxNotebook *arg1 = (wxNotebook *) 0 ;
14158 wxSize *arg2 = 0 ;
14159 wxSize result;
14160 wxSize temp2 ;
14161 PyObject * obj0 = 0 ;
14162 PyObject * obj1 = 0 ;
14163 char *kwnames[] = {
14164 (char *) "self",(char *) "sizePage", NULL
14165 };
14166
14167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14170 {
14171 arg2 = &temp2;
14172 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14173 }
14174 {
14175 PyThreadState* __tstate = wxPyBeginAllowThreads();
14176 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14177
14178 wxPyEndAllowThreads(__tstate);
14179 if (PyErr_Occurred()) SWIG_fail;
14180 }
14181 {
14182 wxSize * resultptr;
14183 resultptr = new wxSize((wxSize &) result);
14184 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14185 }
14186 return resultobj;
14187 fail:
14188 return NULL;
14189 }
14190
14191
14192 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
14193 PyObject *obj;
14194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14195 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14196 Py_INCREF(obj);
14197 return Py_BuildValue((char *)"");
14198 }
14199 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14200 PyObject *resultobj;
14201 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14202 int arg2 = (int) 0 ;
14203 int arg3 = (int) -1 ;
14204 int arg4 = (int) -1 ;
14205 wxNotebookEvent *result;
14206 PyObject * obj0 = 0 ;
14207 PyObject * obj1 = 0 ;
14208 PyObject * obj2 = 0 ;
14209 PyObject * obj3 = 0 ;
14210 char *kwnames[] = {
14211 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14212 };
14213
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14215 if (obj0) {
14216 arg1 = (wxEventType) SWIG_AsInt(obj0);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
14219 if (obj1) {
14220 arg2 = (int) SWIG_AsInt(obj1);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 if (obj2) {
14224 arg3 = (int) SWIG_AsInt(obj2);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 if (obj3) {
14228 arg4 = (int) SWIG_AsInt(obj3);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 {
14232 PyThreadState* __tstate = wxPyBeginAllowThreads();
14233 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14234
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14239 return resultobj;
14240 fail:
14241 return NULL;
14242 }
14243
14244
14245 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
14246 PyObject *obj;
14247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14248 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14249 Py_INCREF(obj);
14250 return Py_BuildValue((char *)"");
14251 }
14252 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 wxWindow *arg1 = (wxWindow *) 0 ;
14255 int arg2 = (int) -1 ;
14256 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14257 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14258 wxSize const &arg4_defvalue = wxDefaultSize ;
14259 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14260 long arg5 = (long) 0 ;
14261 wxString const &arg6_defvalue = wxPyEmptyString ;
14262 wxString *arg6 = (wxString *) &arg6_defvalue ;
14263 wxListbook *result;
14264 wxPoint temp3 ;
14265 wxSize temp4 ;
14266 bool temp6 = False ;
14267 PyObject * obj0 = 0 ;
14268 PyObject * obj1 = 0 ;
14269 PyObject * obj2 = 0 ;
14270 PyObject * obj3 = 0 ;
14271 PyObject * obj4 = 0 ;
14272 PyObject * obj5 = 0 ;
14273 char *kwnames[] = {
14274 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14275 };
14276
14277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14280 if (obj1) {
14281 arg2 = (int) SWIG_AsInt(obj1);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 if (obj2) {
14285 {
14286 arg3 = &temp3;
14287 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14288 }
14289 }
14290 if (obj3) {
14291 {
14292 arg4 = &temp4;
14293 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14294 }
14295 }
14296 if (obj4) {
14297 arg5 = (long) SWIG_AsLong(obj4);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 if (obj5) {
14301 {
14302 arg6 = wxString_in_helper(obj5);
14303 if (arg6 == NULL) SWIG_fail;
14304 temp6 = True;
14305 }
14306 }
14307 {
14308 PyThreadState* __tstate = wxPyBeginAllowThreads();
14309 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14310
14311 wxPyEndAllowThreads(__tstate);
14312 if (PyErr_Occurred()) SWIG_fail;
14313 }
14314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14315 {
14316 if (temp6)
14317 delete arg6;
14318 }
14319 return resultobj;
14320 fail:
14321 {
14322 if (temp6)
14323 delete arg6;
14324 }
14325 return NULL;
14326 }
14327
14328
14329 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxListbook *result;
14332 char *kwnames[] = {
14333 NULL
14334 };
14335
14336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 result = (wxListbook *)new wxListbook();
14340
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14345 return resultobj;
14346 fail:
14347 return NULL;
14348 }
14349
14350
14351 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14352 PyObject *resultobj;
14353 wxListbook *arg1 = (wxListbook *) 0 ;
14354 wxWindow *arg2 = (wxWindow *) 0 ;
14355 int arg3 ;
14356 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14357 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14358 wxSize const &arg5_defvalue = wxDefaultSize ;
14359 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14360 long arg6 = (long) 0 ;
14361 wxString const &arg7_defvalue = wxPyEmptyString ;
14362 wxString *arg7 = (wxString *) &arg7_defvalue ;
14363 bool result;
14364 wxPoint temp4 ;
14365 wxSize temp5 ;
14366 bool temp7 = False ;
14367 PyObject * obj0 = 0 ;
14368 PyObject * obj1 = 0 ;
14369 PyObject * obj2 = 0 ;
14370 PyObject * obj3 = 0 ;
14371 PyObject * obj4 = 0 ;
14372 PyObject * obj5 = 0 ;
14373 PyObject * obj6 = 0 ;
14374 char *kwnames[] = {
14375 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14376 };
14377
14378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14383 arg3 = (int) SWIG_AsInt(obj2);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 if (obj3) {
14386 {
14387 arg4 = &temp4;
14388 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14389 }
14390 }
14391 if (obj4) {
14392 {
14393 arg5 = &temp5;
14394 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14395 }
14396 }
14397 if (obj5) {
14398 arg6 = (long) SWIG_AsLong(obj5);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 if (obj6) {
14402 {
14403 arg7 = wxString_in_helper(obj6);
14404 if (arg7 == NULL) SWIG_fail;
14405 temp7 = True;
14406 }
14407 }
14408 {
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14411
14412 wxPyEndAllowThreads(__tstate);
14413 if (PyErr_Occurred()) SWIG_fail;
14414 }
14415 {
14416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14417 }
14418 {
14419 if (temp7)
14420 delete arg7;
14421 }
14422 return resultobj;
14423 fail:
14424 {
14425 if (temp7)
14426 delete arg7;
14427 }
14428 return NULL;
14429 }
14430
14431
14432 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxListbook *arg1 = (wxListbook *) 0 ;
14435 bool result;
14436 PyObject * obj0 = 0 ;
14437 char *kwnames[] = {
14438 (char *) "self", NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14444 {
14445 PyThreadState* __tstate = wxPyBeginAllowThreads();
14446 result = (bool)((wxListbook const *)arg1)->IsVertical();
14447
14448 wxPyEndAllowThreads(__tstate);
14449 if (PyErr_Occurred()) SWIG_fail;
14450 }
14451 {
14452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14453 }
14454 return resultobj;
14455 fail:
14456 return NULL;
14457 }
14458
14459
14460 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
14461 PyObject *obj;
14462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14463 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14464 Py_INCREF(obj);
14465 return Py_BuildValue((char *)"");
14466 }
14467 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14468 PyObject *resultobj;
14469 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14470 int arg2 = (int) 0 ;
14471 int arg3 = (int) -1 ;
14472 int arg4 = (int) -1 ;
14473 wxListbookEvent *result;
14474 PyObject * obj0 = 0 ;
14475 PyObject * obj1 = 0 ;
14476 PyObject * obj2 = 0 ;
14477 PyObject * obj3 = 0 ;
14478 char *kwnames[] = {
14479 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14480 };
14481
14482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14483 if (obj0) {
14484 arg1 = (wxEventType) SWIG_AsInt(obj0);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 if (obj1) {
14488 arg2 = (int) SWIG_AsInt(obj1);
14489 if (PyErr_Occurred()) SWIG_fail;
14490 }
14491 if (obj2) {
14492 arg3 = (int) SWIG_AsInt(obj2);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 if (obj3) {
14496 arg4 = (int) SWIG_AsInt(obj3);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14507 return resultobj;
14508 fail:
14509 return NULL;
14510 }
14511
14512
14513 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
14514 PyObject *obj;
14515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14516 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14517 Py_INCREF(obj);
14518 return Py_BuildValue((char *)"");
14519 }
14520 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
14521 PyObject *resultobj;
14522 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14523 wxBookCtrlSizer *result;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "nb", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14535
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14540 return resultobj;
14541 fail:
14542 return NULL;
14543 }
14544
14545
14546 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
14547 PyObject *resultobj;
14548 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14549 PyObject * obj0 = 0 ;
14550 char *kwnames[] = {
14551 (char *) "self", NULL
14552 };
14553
14554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14557 {
14558 PyThreadState* __tstate = wxPyBeginAllowThreads();
14559 (arg1)->RecalcSizes();
14560
14561 wxPyEndAllowThreads(__tstate);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 Py_INCREF(Py_None); resultobj = Py_None;
14565 return resultobj;
14566 fail:
14567 return NULL;
14568 }
14569
14570
14571 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
14572 PyObject *resultobj;
14573 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14574 wxSize result;
14575 PyObject * obj0 = 0 ;
14576 char *kwnames[] = {
14577 (char *) "self", NULL
14578 };
14579
14580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 result = (arg1)->CalcMin();
14586
14587 wxPyEndAllowThreads(__tstate);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 }
14590 {
14591 wxSize * resultptr;
14592 resultptr = new wxSize((wxSize &) result);
14593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14594 }
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14604 wxBookCtrl *result;
14605 PyObject * obj0 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "self", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14613 {
14614 PyThreadState* __tstate = wxPyBeginAllowThreads();
14615 result = (wxBookCtrl *)(arg1)->GetControl();
14616
14617 wxPyEndAllowThreads(__tstate);
14618 if (PyErr_Occurred()) SWIG_fail;
14619 }
14620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14621 return resultobj;
14622 fail:
14623 return NULL;
14624 }
14625
14626
14627 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
14628 PyObject *obj;
14629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14630 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14631 Py_INCREF(obj);
14632 return Py_BuildValue((char *)"");
14633 }
14634 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
14635 PyObject *resultobj;
14636 wxNotebook *arg1 = (wxNotebook *) 0 ;
14637 wxNotebookSizer *result;
14638 PyObject * obj0 = 0 ;
14639 char *kwnames[] = {
14640 (char *) "nb", NULL
14641 };
14642
14643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14646 {
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14649
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
14654 return resultobj;
14655 fail:
14656 return NULL;
14657 }
14658
14659
14660 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
14661 PyObject *resultobj;
14662 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14663 PyObject * obj0 = 0 ;
14664 char *kwnames[] = {
14665 (char *) "self", NULL
14666 };
14667
14668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14671 {
14672 PyThreadState* __tstate = wxPyBeginAllowThreads();
14673 (arg1)->RecalcSizes();
14674
14675 wxPyEndAllowThreads(__tstate);
14676 if (PyErr_Occurred()) SWIG_fail;
14677 }
14678 Py_INCREF(Py_None); resultobj = Py_None;
14679 return resultobj;
14680 fail:
14681 return NULL;
14682 }
14683
14684
14685 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
14686 PyObject *resultobj;
14687 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14688 wxSize result;
14689 PyObject * obj0 = 0 ;
14690 char *kwnames[] = {
14691 (char *) "self", NULL
14692 };
14693
14694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14697 {
14698 PyThreadState* __tstate = wxPyBeginAllowThreads();
14699 result = (arg1)->CalcMin();
14700
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 {
14705 wxSize * resultptr;
14706 resultptr = new wxSize((wxSize &) result);
14707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14708 }
14709 return resultobj;
14710 fail:
14711 return NULL;
14712 }
14713
14714
14715 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
14716 PyObject *resultobj;
14717 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14718 wxNotebook *result;
14719 PyObject * obj0 = 0 ;
14720 char *kwnames[] = {
14721 (char *) "self", NULL
14722 };
14723
14724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 result = (wxNotebook *)(arg1)->GetNotebook();
14730
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 {
14735 resultobj = wxPyMake_wxObject(result);
14736 }
14737 return resultobj;
14738 fail:
14739 return NULL;
14740 }
14741
14742
14743 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
14744 PyObject *obj;
14745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14746 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14747 Py_INCREF(obj);
14748 return Py_BuildValue((char *)"");
14749 }
14750 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14753 int result;
14754 PyObject * obj0 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 result = (int)(arg1)->GetId();
14765
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 resultobj = SWIG_FromInt((int)result);
14770 return resultobj;
14771 fail:
14772 return NULL;
14773 }
14774
14775
14776 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14779 wxControl *result;
14780 PyObject * obj0 = 0 ;
14781 char *kwnames[] = {
14782 (char *) "self", NULL
14783 };
14784
14785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14788 {
14789 PyThreadState* __tstate = wxPyBeginAllowThreads();
14790 result = (wxControl *)(arg1)->GetControl();
14791
14792 wxPyEndAllowThreads(__tstate);
14793 if (PyErr_Occurred()) SWIG_fail;
14794 }
14795 {
14796 resultobj = wxPyMake_wxObject(result);
14797 }
14798 return resultobj;
14799 fail:
14800 return NULL;
14801 }
14802
14803
14804 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14805 PyObject *resultobj;
14806 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14807 wxToolBarBase *result;
14808 PyObject * obj0 = 0 ;
14809 char *kwnames[] = {
14810 (char *) "self", NULL
14811 };
14812
14813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14816 {
14817 PyThreadState* __tstate = wxPyBeginAllowThreads();
14818 result = (wxToolBarBase *)(arg1)->GetToolBar();
14819
14820 wxPyEndAllowThreads(__tstate);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
14823 {
14824 resultobj = wxPyMake_wxObject(result);
14825 }
14826 return resultobj;
14827 fail:
14828 return NULL;
14829 }
14830
14831
14832 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
14833 PyObject *resultobj;
14834 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14835 int result;
14836 PyObject * obj0 = 0 ;
14837 char *kwnames[] = {
14838 (char *) "self", NULL
14839 };
14840
14841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14844 {
14845 PyThreadState* __tstate = wxPyBeginAllowThreads();
14846 result = (int)(arg1)->IsButton();
14847
14848 wxPyEndAllowThreads(__tstate);
14849 if (PyErr_Occurred()) SWIG_fail;
14850 }
14851 resultobj = SWIG_FromInt((int)result);
14852 return resultobj;
14853 fail:
14854 return NULL;
14855 }
14856
14857
14858 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
14859 PyObject *resultobj;
14860 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14861 int result;
14862 PyObject * obj0 = 0 ;
14863 char *kwnames[] = {
14864 (char *) "self", NULL
14865 };
14866
14867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 result = (int)(arg1)->IsControl();
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 resultobj = SWIG_FromInt((int)result);
14878 return resultobj;
14879 fail:
14880 return NULL;
14881 }
14882
14883
14884 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14887 int result;
14888 PyObject * obj0 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14896 {
14897 PyThreadState* __tstate = wxPyBeginAllowThreads();
14898 result = (int)(arg1)->IsSeparator();
14899
14900 wxPyEndAllowThreads(__tstate);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 }
14903 resultobj = SWIG_FromInt((int)result);
14904 return resultobj;
14905 fail:
14906 return NULL;
14907 }
14908
14909
14910 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14911 PyObject *resultobj;
14912 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14913 int result;
14914 PyObject * obj0 = 0 ;
14915 char *kwnames[] = {
14916 (char *) "self", NULL
14917 };
14918
14919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14922 {
14923 PyThreadState* __tstate = wxPyBeginAllowThreads();
14924 result = (int)(arg1)->GetStyle();
14925
14926 wxPyEndAllowThreads(__tstate);
14927 if (PyErr_Occurred()) SWIG_fail;
14928 }
14929 resultobj = SWIG_FromInt((int)result);
14930 return resultobj;
14931 fail:
14932 return NULL;
14933 }
14934
14935
14936 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj;
14938 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14939 int result;
14940 PyObject * obj0 = 0 ;
14941 char *kwnames[] = {
14942 (char *) "self", NULL
14943 };
14944
14945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
14946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 result = (int)(arg1)->GetKind();
14951
14952 wxPyEndAllowThreads(__tstate);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
14955 resultobj = SWIG_FromInt((int)result);
14956 return resultobj;
14957 fail:
14958 return NULL;
14959 }
14960
14961
14962 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14965 bool result;
14966 PyObject * obj0 = 0 ;
14967 char *kwnames[] = {
14968 (char *) "self", NULL
14969 };
14970
14971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
14972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
14976 result = (bool)(arg1)->IsEnabled();
14977
14978 wxPyEndAllowThreads(__tstate);
14979 if (PyErr_Occurred()) SWIG_fail;
14980 }
14981 {
14982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14983 }
14984 return resultobj;
14985 fail:
14986 return NULL;
14987 }
14988
14989
14990 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
14991 PyObject *resultobj;
14992 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14993 bool result;
14994 PyObject * obj0 = 0 ;
14995 char *kwnames[] = {
14996 (char *) "self", NULL
14997 };
14998
14999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15002 {
15003 PyThreadState* __tstate = wxPyBeginAllowThreads();
15004 result = (bool)(arg1)->IsToggled();
15005
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 {
15010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15011 }
15012 return resultobj;
15013 fail:
15014 return NULL;
15015 }
15016
15017
15018 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
15019 PyObject *resultobj;
15020 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15021 bool result;
15022 PyObject * obj0 = 0 ;
15023 char *kwnames[] = {
15024 (char *) "self", NULL
15025 };
15026
15027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 result = (bool)(arg1)->CanBeToggled();
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 {
15038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15039 }
15040 return resultobj;
15041 fail:
15042 return NULL;
15043 }
15044
15045
15046 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj;
15048 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15049 wxBitmap *result;
15050 PyObject * obj0 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 {
15061 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15062 result = (wxBitmap *) &_result_ref;
15063 }
15064
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 {
15069 wxBitmap* resultptr = new wxBitmap(*result);
15070 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15071 }
15072 return resultobj;
15073 fail:
15074 return NULL;
15075 }
15076
15077
15078 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15079 PyObject *resultobj;
15080 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15081 wxBitmap *result;
15082 PyObject * obj0 = 0 ;
15083 char *kwnames[] = {
15084 (char *) "self", NULL
15085 };
15086
15087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15090 {
15091 PyThreadState* __tstate = wxPyBeginAllowThreads();
15092 {
15093 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15094 result = (wxBitmap *) &_result_ref;
15095 }
15096
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 {
15101 wxBitmap* resultptr = new wxBitmap(*result);
15102 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15103 }
15104 return resultobj;
15105 fail:
15106 return NULL;
15107 }
15108
15109
15110 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15111 PyObject *resultobj;
15112 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15113 wxBitmap result;
15114 PyObject * obj0 = 0 ;
15115 char *kwnames[] = {
15116 (char *) "self", NULL
15117 };
15118
15119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15122 {
15123 PyThreadState* __tstate = wxPyBeginAllowThreads();
15124 result = (arg1)->GetBitmap();
15125
15126 wxPyEndAllowThreads(__tstate);
15127 if (PyErr_Occurred()) SWIG_fail;
15128 }
15129 {
15130 wxBitmap * resultptr;
15131 resultptr = new wxBitmap((wxBitmap &) result);
15132 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15133 }
15134 return resultobj;
15135 fail:
15136 return NULL;
15137 }
15138
15139
15140 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15141 PyObject *resultobj;
15142 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15143 wxString result;
15144 PyObject * obj0 = 0 ;
15145 char *kwnames[] = {
15146 (char *) "self", NULL
15147 };
15148
15149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 result = (arg1)->GetLabel();
15155
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 {
15160 #if wxUSE_UNICODE
15161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15162 #else
15163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15164 #endif
15165 }
15166 return resultobj;
15167 fail:
15168 return NULL;
15169 }
15170
15171
15172 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15173 PyObject *resultobj;
15174 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15175 wxString result;
15176 PyObject * obj0 = 0 ;
15177 char *kwnames[] = {
15178 (char *) "self", NULL
15179 };
15180
15181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15184 {
15185 PyThreadState* __tstate = wxPyBeginAllowThreads();
15186 result = (arg1)->GetShortHelp();
15187
15188 wxPyEndAllowThreads(__tstate);
15189 if (PyErr_Occurred()) SWIG_fail;
15190 }
15191 {
15192 #if wxUSE_UNICODE
15193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15194 #else
15195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15196 #endif
15197 }
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj;
15206 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15207 wxString result;
15208 PyObject * obj0 = 0 ;
15209 char *kwnames[] = {
15210 (char *) "self", NULL
15211 };
15212
15213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15216 {
15217 PyThreadState* __tstate = wxPyBeginAllowThreads();
15218 result = (arg1)->GetLongHelp();
15219
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
15223 {
15224 #if wxUSE_UNICODE
15225 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15226 #else
15227 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15228 #endif
15229 }
15230 return resultobj;
15231 fail:
15232 return NULL;
15233 }
15234
15235
15236 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15239 bool arg2 ;
15240 bool result;
15241 PyObject * obj0 = 0 ;
15242 PyObject * obj1 = 0 ;
15243 char *kwnames[] = {
15244 (char *) "self",(char *) "enable", NULL
15245 };
15246
15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15250 arg2 = (bool) SWIG_AsBool(obj1);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 {
15253 PyThreadState* __tstate = wxPyBeginAllowThreads();
15254 result = (bool)(arg1)->Enable(arg2);
15255
15256 wxPyEndAllowThreads(__tstate);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 }
15259 {
15260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15261 }
15262 return resultobj;
15263 fail:
15264 return NULL;
15265 }
15266
15267
15268 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
15269 PyObject *resultobj;
15270 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15271 PyObject * obj0 = 0 ;
15272 char *kwnames[] = {
15273 (char *) "self", NULL
15274 };
15275
15276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 (arg1)->Toggle();
15282
15283 wxPyEndAllowThreads(__tstate);
15284 if (PyErr_Occurred()) SWIG_fail;
15285 }
15286 Py_INCREF(Py_None); resultobj = Py_None;
15287 return resultobj;
15288 fail:
15289 return NULL;
15290 }
15291
15292
15293 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
15294 PyObject *resultobj;
15295 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15296 bool arg2 ;
15297 bool result;
15298 PyObject * obj0 = 0 ;
15299 PyObject * obj1 = 0 ;
15300 char *kwnames[] = {
15301 (char *) "self",(char *) "toggle", NULL
15302 };
15303
15304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15307 arg2 = (bool) SWIG_AsBool(obj1);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 {
15310 PyThreadState* __tstate = wxPyBeginAllowThreads();
15311 result = (bool)(arg1)->SetToggle(arg2);
15312
15313 wxPyEndAllowThreads(__tstate);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 }
15316 {
15317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15318 }
15319 return resultobj;
15320 fail:
15321 return NULL;
15322 }
15323
15324
15325 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15326 PyObject *resultobj;
15327 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15328 wxString *arg2 = 0 ;
15329 bool result;
15330 bool temp2 = False ;
15331 PyObject * obj0 = 0 ;
15332 PyObject * obj1 = 0 ;
15333 char *kwnames[] = {
15334 (char *) "self",(char *) "help", NULL
15335 };
15336
15337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15340 {
15341 arg2 = wxString_in_helper(obj1);
15342 if (arg2 == NULL) SWIG_fail;
15343 temp2 = True;
15344 }
15345 {
15346 PyThreadState* __tstate = wxPyBeginAllowThreads();
15347 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15348
15349 wxPyEndAllowThreads(__tstate);
15350 if (PyErr_Occurred()) SWIG_fail;
15351 }
15352 {
15353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15354 }
15355 {
15356 if (temp2)
15357 delete arg2;
15358 }
15359 return resultobj;
15360 fail:
15361 {
15362 if (temp2)
15363 delete arg2;
15364 }
15365 return NULL;
15366 }
15367
15368
15369 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15370 PyObject *resultobj;
15371 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15372 wxString *arg2 = 0 ;
15373 bool result;
15374 bool temp2 = False ;
15375 PyObject * obj0 = 0 ;
15376 PyObject * obj1 = 0 ;
15377 char *kwnames[] = {
15378 (char *) "self",(char *) "help", NULL
15379 };
15380
15381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15384 {
15385 arg2 = wxString_in_helper(obj1);
15386 if (arg2 == NULL) SWIG_fail;
15387 temp2 = True;
15388 }
15389 {
15390 PyThreadState* __tstate = wxPyBeginAllowThreads();
15391 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15392
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
15396 {
15397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15398 }
15399 {
15400 if (temp2)
15401 delete arg2;
15402 }
15403 return resultobj;
15404 fail:
15405 {
15406 if (temp2)
15407 delete arg2;
15408 }
15409 return NULL;
15410 }
15411
15412
15413 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15414 PyObject *resultobj;
15415 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15416 wxBitmap *arg2 = 0 ;
15417 PyObject * obj0 = 0 ;
15418 PyObject * obj1 = 0 ;
15419 char *kwnames[] = {
15420 (char *) "self",(char *) "bmp", NULL
15421 };
15422
15423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15427 SWIG_POINTER_EXCEPTION | 0)) == -1)
15428 SWIG_fail;
15429 if (arg2 == NULL) {
15430 PyErr_SetString(PyExc_TypeError,"null reference");
15431 SWIG_fail;
15432 }
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15436
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 Py_INCREF(Py_None); resultobj = Py_None;
15441 return resultobj;
15442 fail:
15443 return NULL;
15444 }
15445
15446
15447 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15448 PyObject *resultobj;
15449 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15450 wxBitmap *arg2 = 0 ;
15451 PyObject * obj0 = 0 ;
15452 PyObject * obj1 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self",(char *) "bmp", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15461 SWIG_POINTER_EXCEPTION | 0)) == -1)
15462 SWIG_fail;
15463 if (arg2 == NULL) {
15464 PyErr_SetString(PyExc_TypeError,"null reference");
15465 SWIG_fail;
15466 }
15467 {
15468 PyThreadState* __tstate = wxPyBeginAllowThreads();
15469 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15470
15471 wxPyEndAllowThreads(__tstate);
15472 if (PyErr_Occurred()) SWIG_fail;
15473 }
15474 Py_INCREF(Py_None); resultobj = Py_None;
15475 return resultobj;
15476 fail:
15477 return NULL;
15478 }
15479
15480
15481 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15482 PyObject *resultobj;
15483 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15484 wxString *arg2 = 0 ;
15485 bool temp2 = False ;
15486 PyObject * obj0 = 0 ;
15487 PyObject * obj1 = 0 ;
15488 char *kwnames[] = {
15489 (char *) "self",(char *) "label", NULL
15490 };
15491
15492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15495 {
15496 arg2 = wxString_in_helper(obj1);
15497 if (arg2 == NULL) SWIG_fail;
15498 temp2 = True;
15499 }
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 (arg1)->SetLabel((wxString const &)*arg2);
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 Py_INCREF(Py_None); resultobj = Py_None;
15508 {
15509 if (temp2)
15510 delete arg2;
15511 }
15512 return resultobj;
15513 fail:
15514 {
15515 if (temp2)
15516 delete arg2;
15517 }
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15525 PyObject * obj0 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->Detach();
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15540 Py_INCREF(Py_None); resultobj = Py_None;
15541 return resultobj;
15542 fail:
15543 return NULL;
15544 }
15545
15546
15547 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
15548 PyObject *resultobj;
15549 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15550 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15551 PyObject * obj0 = 0 ;
15552 PyObject * obj1 = 0 ;
15553 char *kwnames[] = {
15554 (char *) "self",(char *) "tbar", NULL
15555 };
15556
15557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 (arg1)->Attach(arg2);
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 Py_INCREF(Py_None); resultobj = Py_None;
15570 return resultobj;
15571 fail:
15572 return NULL;
15573 }
15574
15575
15576 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15579 PyObject *result;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 resultobj = result;
15596 return resultobj;
15597 fail:
15598 return NULL;
15599 }
15600
15601
15602 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15605 PyObject *arg2 = (PyObject *) 0 ;
15606 PyObject * obj0 = 0 ;
15607 PyObject * obj1 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self",(char *) "clientData", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15615 arg2 = obj1;
15616 {
15617 PyThreadState* __tstate = wxPyBeginAllowThreads();
15618 wxToolBarToolBase_SetClientData(arg1,arg2);
15619
15620 wxPyEndAllowThreads(__tstate);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 }
15623 Py_INCREF(Py_None); resultobj = Py_None;
15624 return resultobj;
15625 fail:
15626 return NULL;
15627 }
15628
15629
15630 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
15631 PyObject *obj;
15632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15633 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15634 Py_INCREF(obj);
15635 return Py_BuildValue((char *)"");
15636 }
15637 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj;
15639 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15640 int arg2 ;
15641 wxString *arg3 = 0 ;
15642 wxBitmap *arg4 = 0 ;
15643 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15644 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15645 int arg6 = (int) wxITEM_NORMAL ;
15646 wxString const &arg7_defvalue = wxPyEmptyString ;
15647 wxString *arg7 = (wxString *) &arg7_defvalue ;
15648 wxString const &arg8_defvalue = wxPyEmptyString ;
15649 wxString *arg8 = (wxString *) &arg8_defvalue ;
15650 PyObject *arg9 = (PyObject *) NULL ;
15651 wxToolBarToolBase *result;
15652 bool temp3 = False ;
15653 bool temp7 = False ;
15654 bool temp8 = False ;
15655 PyObject * obj0 = 0 ;
15656 PyObject * obj1 = 0 ;
15657 PyObject * obj2 = 0 ;
15658 PyObject * obj3 = 0 ;
15659 PyObject * obj4 = 0 ;
15660 PyObject * obj5 = 0 ;
15661 PyObject * obj6 = 0 ;
15662 PyObject * obj7 = 0 ;
15663 PyObject * obj8 = 0 ;
15664 char *kwnames[] = {
15665 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15666 };
15667
15668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15671 arg2 = (int) SWIG_AsInt(obj1);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 {
15674 arg3 = wxString_in_helper(obj2);
15675 if (arg3 == NULL) SWIG_fail;
15676 temp3 = True;
15677 }
15678 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15679 SWIG_POINTER_EXCEPTION | 0)) == -1)
15680 SWIG_fail;
15681 if (arg4 == NULL) {
15682 PyErr_SetString(PyExc_TypeError,"null reference");
15683 SWIG_fail;
15684 }
15685 if (obj4) {
15686 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15687 SWIG_POINTER_EXCEPTION | 0)) == -1)
15688 SWIG_fail;
15689 if (arg5 == NULL) {
15690 PyErr_SetString(PyExc_TypeError,"null reference");
15691 SWIG_fail;
15692 }
15693 }
15694 if (obj5) {
15695 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15696 if (PyErr_Occurred()) SWIG_fail;
15697 }
15698 if (obj6) {
15699 {
15700 arg7 = wxString_in_helper(obj6);
15701 if (arg7 == NULL) SWIG_fail;
15702 temp7 = True;
15703 }
15704 }
15705 if (obj7) {
15706 {
15707 arg8 = wxString_in_helper(obj7);
15708 if (arg8 == NULL) SWIG_fail;
15709 temp8 = True;
15710 }
15711 }
15712 if (obj8) {
15713 arg9 = obj8;
15714 }
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 {
15723 resultobj = wxPyMake_wxObject(result);
15724 }
15725 {
15726 if (temp3)
15727 delete arg3;
15728 }
15729 {
15730 if (temp7)
15731 delete arg7;
15732 }
15733 {
15734 if (temp8)
15735 delete arg8;
15736 }
15737 return resultobj;
15738 fail:
15739 {
15740 if (temp3)
15741 delete arg3;
15742 }
15743 {
15744 if (temp7)
15745 delete arg7;
15746 }
15747 {
15748 if (temp8)
15749 delete arg8;
15750 }
15751 return NULL;
15752 }
15753
15754
15755 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
15756 PyObject *resultobj;
15757 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15758 size_t arg2 ;
15759 int arg3 ;
15760 wxString *arg4 = 0 ;
15761 wxBitmap *arg5 = 0 ;
15762 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15763 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15764 int arg7 = (int) wxITEM_NORMAL ;
15765 wxString const &arg8_defvalue = wxPyEmptyString ;
15766 wxString *arg8 = (wxString *) &arg8_defvalue ;
15767 wxString const &arg9_defvalue = wxPyEmptyString ;
15768 wxString *arg9 = (wxString *) &arg9_defvalue ;
15769 PyObject *arg10 = (PyObject *) NULL ;
15770 wxToolBarToolBase *result;
15771 bool temp4 = False ;
15772 bool temp8 = False ;
15773 bool temp9 = False ;
15774 PyObject * obj0 = 0 ;
15775 PyObject * obj1 = 0 ;
15776 PyObject * obj2 = 0 ;
15777 PyObject * obj3 = 0 ;
15778 PyObject * obj4 = 0 ;
15779 PyObject * obj5 = 0 ;
15780 PyObject * obj6 = 0 ;
15781 PyObject * obj7 = 0 ;
15782 PyObject * obj8 = 0 ;
15783 PyObject * obj9 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15791 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15792 if (PyErr_Occurred()) SWIG_fail;
15793 arg3 = (int) SWIG_AsInt(obj2);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 {
15796 arg4 = wxString_in_helper(obj3);
15797 if (arg4 == NULL) SWIG_fail;
15798 temp4 = True;
15799 }
15800 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15801 SWIG_POINTER_EXCEPTION | 0)) == -1)
15802 SWIG_fail;
15803 if (arg5 == NULL) {
15804 PyErr_SetString(PyExc_TypeError,"null reference");
15805 SWIG_fail;
15806 }
15807 if (obj5) {
15808 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
15809 SWIG_POINTER_EXCEPTION | 0)) == -1)
15810 SWIG_fail;
15811 if (arg6 == NULL) {
15812 PyErr_SetString(PyExc_TypeError,"null reference");
15813 SWIG_fail;
15814 }
15815 }
15816 if (obj6) {
15817 arg7 = (wxItemKind) SWIG_AsInt(obj6);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 if (obj7) {
15821 {
15822 arg8 = wxString_in_helper(obj7);
15823 if (arg8 == NULL) SWIG_fail;
15824 temp8 = True;
15825 }
15826 }
15827 if (obj8) {
15828 {
15829 arg9 = wxString_in_helper(obj8);
15830 if (arg9 == NULL) SWIG_fail;
15831 temp9 = True;
15832 }
15833 }
15834 if (obj9) {
15835 arg10 = obj9;
15836 }
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 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);
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 {
15845 resultobj = wxPyMake_wxObject(result);
15846 }
15847 {
15848 if (temp4)
15849 delete arg4;
15850 }
15851 {
15852 if (temp8)
15853 delete arg8;
15854 }
15855 {
15856 if (temp9)
15857 delete arg9;
15858 }
15859 return resultobj;
15860 fail:
15861 {
15862 if (temp4)
15863 delete arg4;
15864 }
15865 {
15866 if (temp8)
15867 delete arg8;
15868 }
15869 {
15870 if (temp9)
15871 delete arg9;
15872 }
15873 return NULL;
15874 }
15875
15876
15877 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
15878 PyObject *resultobj;
15879 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15880 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15881 wxToolBarToolBase *result;
15882 PyObject * obj0 = 0 ;
15883 PyObject * obj1 = 0 ;
15884 char *kwnames[] = {
15885 (char *) "self",(char *) "tool", NULL
15886 };
15887
15888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
15892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15893 {
15894 PyThreadState* __tstate = wxPyBeginAllowThreads();
15895 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15896
15897 wxPyEndAllowThreads(__tstate);
15898 if (PyErr_Occurred()) SWIG_fail;
15899 }
15900 {
15901 resultobj = wxPyMake_wxObject(result);
15902 }
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15912 size_t arg2 ;
15913 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15914 wxToolBarToolBase *result;
15915 PyObject * obj0 = 0 ;
15916 PyObject * obj1 = 0 ;
15917 PyObject * obj2 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self",(char *) "pos",(char *) "tool", NULL
15920 };
15921
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15925 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
15928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15929 {
15930 PyThreadState* __tstate = wxPyBeginAllowThreads();
15931 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15932
15933 wxPyEndAllowThreads(__tstate);
15934 if (PyErr_Occurred()) SWIG_fail;
15935 }
15936 {
15937 resultobj = wxPyMake_wxObject(result);
15938 }
15939 return resultobj;
15940 fail:
15941 return NULL;
15942 }
15943
15944
15945 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
15946 PyObject *resultobj;
15947 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15948 wxControl *arg2 = (wxControl *) 0 ;
15949 wxToolBarToolBase *result;
15950 PyObject * obj0 = 0 ;
15951 PyObject * obj1 = 0 ;
15952 char *kwnames[] = {
15953 (char *) "self",(char *) "control", NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15961 {
15962 PyThreadState* __tstate = wxPyBeginAllowThreads();
15963 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15964
15965 wxPyEndAllowThreads(__tstate);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 {
15969 resultobj = wxPyMake_wxObject(result);
15970 }
15971 return resultobj;
15972 fail:
15973 return NULL;
15974 }
15975
15976
15977 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj;
15979 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15980 size_t arg2 ;
15981 wxControl *arg3 = (wxControl *) 0 ;
15982 wxToolBarToolBase *result;
15983 PyObject * obj0 = 0 ;
15984 PyObject * obj1 = 0 ;
15985 PyObject * obj2 = 0 ;
15986 char *kwnames[] = {
15987 (char *) "self",(char *) "pos",(char *) "control", NULL
15988 };
15989
15990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15993 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
15996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15997 {
15998 PyThreadState* __tstate = wxPyBeginAllowThreads();
15999 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16000
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 {
16005 resultobj = wxPyMake_wxObject(result);
16006 }
16007 return resultobj;
16008 fail:
16009 return NULL;
16010 }
16011
16012
16013 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16016 int arg2 ;
16017 wxControl *result;
16018 PyObject * obj0 = 0 ;
16019 PyObject * obj1 = 0 ;
16020 char *kwnames[] = {
16021 (char *) "self",(char *) "id", NULL
16022 };
16023
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16027 arg2 = (int) SWIG_AsInt(obj1);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 {
16030 PyThreadState* __tstate = wxPyBeginAllowThreads();
16031 result = (wxControl *)(arg1)->FindControl(arg2);
16032
16033 wxPyEndAllowThreads(__tstate);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 {
16037 resultobj = wxPyMake_wxObject(result);
16038 }
16039 return resultobj;
16040 fail:
16041 return NULL;
16042 }
16043
16044
16045 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
16046 PyObject *resultobj;
16047 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16048 wxToolBarToolBase *result;
16049 PyObject * obj0 = 0 ;
16050 char *kwnames[] = {
16051 (char *) "self", NULL
16052 };
16053
16054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16057 {
16058 PyThreadState* __tstate = wxPyBeginAllowThreads();
16059 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16060
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
16064 {
16065 resultobj = wxPyMake_wxObject(result);
16066 }
16067 return resultobj;
16068 fail:
16069 return NULL;
16070 }
16071
16072
16073 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
16074 PyObject *resultobj;
16075 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16076 size_t arg2 ;
16077 wxToolBarToolBase *result;
16078 PyObject * obj0 = 0 ;
16079 PyObject * obj1 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self",(char *) "pos", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16087 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16088 if (PyErr_Occurred()) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 {
16097 resultobj = wxPyMake_wxObject(result);
16098 }
16099 return resultobj;
16100 fail:
16101 return NULL;
16102 }
16103
16104
16105 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
16106 PyObject *resultobj;
16107 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16108 int arg2 ;
16109 wxToolBarToolBase *result;
16110 PyObject * obj0 = 0 ;
16111 PyObject * obj1 = 0 ;
16112 char *kwnames[] = {
16113 (char *) "self",(char *) "id", NULL
16114 };
16115
16116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16119 arg2 = (int) SWIG_AsInt(obj1);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 {
16122 PyThreadState* __tstate = wxPyBeginAllowThreads();
16123 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16124
16125 wxPyEndAllowThreads(__tstate);
16126 if (PyErr_Occurred()) SWIG_fail;
16127 }
16128 {
16129 resultobj = wxPyMake_wxObject(result);
16130 }
16131 return resultobj;
16132 fail:
16133 return NULL;
16134 }
16135
16136
16137 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
16138 PyObject *resultobj;
16139 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16140 size_t arg2 ;
16141 bool result;
16142 PyObject * obj0 = 0 ;
16143 PyObject * obj1 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "self",(char *) "pos", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16151 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 {
16154 PyThreadState* __tstate = wxPyBeginAllowThreads();
16155 result = (bool)(arg1)->DeleteToolByPos(arg2);
16156
16157 wxPyEndAllowThreads(__tstate);
16158 if (PyErr_Occurred()) SWIG_fail;
16159 }
16160 {
16161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16162 }
16163 return resultobj;
16164 fail:
16165 return NULL;
16166 }
16167
16168
16169 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16172 int arg2 ;
16173 bool result;
16174 PyObject * obj0 = 0 ;
16175 PyObject * obj1 = 0 ;
16176 char *kwnames[] = {
16177 (char *) "self",(char *) "id", NULL
16178 };
16179
16180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16183 arg2 = (int) SWIG_AsInt(obj1);
16184 if (PyErr_Occurred()) SWIG_fail;
16185 {
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 result = (bool)(arg1)->DeleteTool(arg2);
16188
16189 wxPyEndAllowThreads(__tstate);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 {
16193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16194 }
16195 return resultobj;
16196 fail:
16197 return NULL;
16198 }
16199
16200
16201 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
16202 PyObject *resultobj;
16203 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16204 PyObject * obj0 = 0 ;
16205 char *kwnames[] = {
16206 (char *) "self", NULL
16207 };
16208
16209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 (arg1)->ClearTools();
16215
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
16219 Py_INCREF(Py_None); resultobj = Py_None;
16220 return resultobj;
16221 fail:
16222 return NULL;
16223 }
16224
16225
16226 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
16227 PyObject *resultobj;
16228 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16229 bool result;
16230 PyObject * obj0 = 0 ;
16231 char *kwnames[] = {
16232 (char *) "self", NULL
16233 };
16234
16235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16238 {
16239 PyThreadState* __tstate = wxPyBeginAllowThreads();
16240 result = (bool)(arg1)->Realize();
16241
16242 wxPyEndAllowThreads(__tstate);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 }
16245 {
16246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16247 }
16248 return resultobj;
16249 fail:
16250 return NULL;
16251 }
16252
16253
16254 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16257 int arg2 ;
16258 bool arg3 ;
16259 PyObject * obj0 = 0 ;
16260 PyObject * obj1 = 0 ;
16261 PyObject * obj2 = 0 ;
16262 char *kwnames[] = {
16263 (char *) "self",(char *) "id",(char *) "enable", NULL
16264 };
16265
16266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16269 arg2 = (int) SWIG_AsInt(obj1);
16270 if (PyErr_Occurred()) SWIG_fail;
16271 arg3 = (bool) SWIG_AsBool(obj2);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 {
16274 PyThreadState* __tstate = wxPyBeginAllowThreads();
16275 (arg1)->EnableTool(arg2,arg3);
16276
16277 wxPyEndAllowThreads(__tstate);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
16280 Py_INCREF(Py_None); resultobj = Py_None;
16281 return resultobj;
16282 fail:
16283 return NULL;
16284 }
16285
16286
16287 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
16288 PyObject *resultobj;
16289 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16290 int arg2 ;
16291 bool arg3 ;
16292 PyObject * obj0 = 0 ;
16293 PyObject * obj1 = 0 ;
16294 PyObject * obj2 = 0 ;
16295 char *kwnames[] = {
16296 (char *) "self",(char *) "id",(char *) "toggle", NULL
16297 };
16298
16299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16302 arg2 = (int) SWIG_AsInt(obj1);
16303 if (PyErr_Occurred()) SWIG_fail;
16304 arg3 = (bool) SWIG_AsBool(obj2);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 {
16307 PyThreadState* __tstate = wxPyBeginAllowThreads();
16308 (arg1)->ToggleTool(arg2,arg3);
16309
16310 wxPyEndAllowThreads(__tstate);
16311 if (PyErr_Occurred()) SWIG_fail;
16312 }
16313 Py_INCREF(Py_None); resultobj = Py_None;
16314 return resultobj;
16315 fail:
16316 return NULL;
16317 }
16318
16319
16320 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
16321 PyObject *resultobj;
16322 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16323 int arg2 ;
16324 bool arg3 ;
16325 PyObject * obj0 = 0 ;
16326 PyObject * obj1 = 0 ;
16327 PyObject * obj2 = 0 ;
16328 char *kwnames[] = {
16329 (char *) "self",(char *) "id",(char *) "toggle", NULL
16330 };
16331
16332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16335 arg2 = (int) SWIG_AsInt(obj1);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 arg3 = (bool) SWIG_AsBool(obj2);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 {
16340 PyThreadState* __tstate = wxPyBeginAllowThreads();
16341 (arg1)->SetToggle(arg2,arg3);
16342
16343 wxPyEndAllowThreads(__tstate);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 Py_INCREF(Py_None); resultobj = Py_None;
16347 return resultobj;
16348 fail:
16349 return NULL;
16350 }
16351
16352
16353 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
16354 PyObject *resultobj;
16355 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16356 int arg2 ;
16357 PyObject *result;
16358 PyObject * obj0 = 0 ;
16359 PyObject * obj1 = 0 ;
16360 char *kwnames[] = {
16361 (char *) "self",(char *) "id", NULL
16362 };
16363
16364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16367 arg2 = (int) SWIG_AsInt(obj1);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16372
16373 wxPyEndAllowThreads(__tstate);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 }
16376 resultobj = result;
16377 return resultobj;
16378 fail:
16379 return NULL;
16380 }
16381
16382
16383 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
16384 PyObject *resultobj;
16385 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16386 int arg2 ;
16387 PyObject *arg3 = (PyObject *) 0 ;
16388 PyObject * obj0 = 0 ;
16389 PyObject * obj1 = 0 ;
16390 PyObject * obj2 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self",(char *) "id",(char *) "clientData", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16398 arg2 = (int) SWIG_AsInt(obj1);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 arg3 = obj2;
16401 {
16402 PyThreadState* __tstate = wxPyBeginAllowThreads();
16403 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16404
16405 wxPyEndAllowThreads(__tstate);
16406 if (PyErr_Occurred()) SWIG_fail;
16407 }
16408 Py_INCREF(Py_None); resultobj = Py_None;
16409 return resultobj;
16410 fail:
16411 return NULL;
16412 }
16413
16414
16415 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
16416 PyObject *resultobj;
16417 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16418 int arg2 ;
16419 int result;
16420 PyObject * obj0 = 0 ;
16421 PyObject * obj1 = 0 ;
16422 char *kwnames[] = {
16423 (char *) "self",(char *) "id", NULL
16424 };
16425
16426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16429 arg2 = (int) SWIG_AsInt(obj1);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 {
16432 PyThreadState* __tstate = wxPyBeginAllowThreads();
16433 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16434
16435 wxPyEndAllowThreads(__tstate);
16436 if (PyErr_Occurred()) SWIG_fail;
16437 }
16438 resultobj = SWIG_FromInt((int)result);
16439 return resultobj;
16440 fail:
16441 return NULL;
16442 }
16443
16444
16445 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
16446 PyObject *resultobj;
16447 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16448 int arg2 ;
16449 bool result;
16450 PyObject * obj0 = 0 ;
16451 PyObject * obj1 = 0 ;
16452 char *kwnames[] = {
16453 (char *) "self",(char *) "id", NULL
16454 };
16455
16456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16459 arg2 = (int) SWIG_AsInt(obj1);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 {
16462 PyThreadState* __tstate = wxPyBeginAllowThreads();
16463 result = (bool)(arg1)->GetToolState(arg2);
16464
16465 wxPyEndAllowThreads(__tstate);
16466 if (PyErr_Occurred()) SWIG_fail;
16467 }
16468 {
16469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16470 }
16471 return resultobj;
16472 fail:
16473 return NULL;
16474 }
16475
16476
16477 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
16478 PyObject *resultobj;
16479 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16480 int arg2 ;
16481 bool result;
16482 PyObject * obj0 = 0 ;
16483 PyObject * obj1 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self",(char *) "id", NULL
16486 };
16487
16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16491 arg2 = (int) SWIG_AsInt(obj1);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 {
16494 PyThreadState* __tstate = wxPyBeginAllowThreads();
16495 result = (bool)(arg1)->GetToolEnabled(arg2);
16496
16497 wxPyEndAllowThreads(__tstate);
16498 if (PyErr_Occurred()) SWIG_fail;
16499 }
16500 {
16501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16502 }
16503 return resultobj;
16504 fail:
16505 return NULL;
16506 }
16507
16508
16509 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16510 PyObject *resultobj;
16511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16512 int arg2 ;
16513 wxString *arg3 = 0 ;
16514 bool temp3 = False ;
16515 PyObject * obj0 = 0 ;
16516 PyObject * obj1 = 0 ;
16517 PyObject * obj2 = 0 ;
16518 char *kwnames[] = {
16519 (char *) "self",(char *) "id",(char *) "helpString", NULL
16520 };
16521
16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16525 arg2 = (int) SWIG_AsInt(obj1);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 {
16528 arg3 = wxString_in_helper(obj2);
16529 if (arg3 == NULL) SWIG_fail;
16530 temp3 = True;
16531 }
16532 {
16533 PyThreadState* __tstate = wxPyBeginAllowThreads();
16534 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16535
16536 wxPyEndAllowThreads(__tstate);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 Py_INCREF(Py_None); resultobj = Py_None;
16540 {
16541 if (temp3)
16542 delete arg3;
16543 }
16544 return resultobj;
16545 fail:
16546 {
16547 if (temp3)
16548 delete arg3;
16549 }
16550 return NULL;
16551 }
16552
16553
16554 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16555 PyObject *resultobj;
16556 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16557 int arg2 ;
16558 wxString result;
16559 PyObject * obj0 = 0 ;
16560 PyObject * obj1 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self",(char *) "id", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16568 arg2 = (int) SWIG_AsInt(obj1);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 result = (arg1)->GetToolShortHelp(arg2);
16573
16574 wxPyEndAllowThreads(__tstate);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 {
16578 #if wxUSE_UNICODE
16579 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16580 #else
16581 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16582 #endif
16583 }
16584 return resultobj;
16585 fail:
16586 return NULL;
16587 }
16588
16589
16590 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16591 PyObject *resultobj;
16592 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16593 int arg2 ;
16594 wxString *arg3 = 0 ;
16595 bool temp3 = False ;
16596 PyObject * obj0 = 0 ;
16597 PyObject * obj1 = 0 ;
16598 PyObject * obj2 = 0 ;
16599 char *kwnames[] = {
16600 (char *) "self",(char *) "id",(char *) "helpString", NULL
16601 };
16602
16603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16606 arg2 = (int) SWIG_AsInt(obj1);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 {
16609 arg3 = wxString_in_helper(obj2);
16610 if (arg3 == NULL) SWIG_fail;
16611 temp3 = True;
16612 }
16613 {
16614 PyThreadState* __tstate = wxPyBeginAllowThreads();
16615 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16616
16617 wxPyEndAllowThreads(__tstate);
16618 if (PyErr_Occurred()) SWIG_fail;
16619 }
16620 Py_INCREF(Py_None); resultobj = Py_None;
16621 {
16622 if (temp3)
16623 delete arg3;
16624 }
16625 return resultobj;
16626 fail:
16627 {
16628 if (temp3)
16629 delete arg3;
16630 }
16631 return NULL;
16632 }
16633
16634
16635 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16636 PyObject *resultobj;
16637 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16638 int arg2 ;
16639 wxString result;
16640 PyObject * obj0 = 0 ;
16641 PyObject * obj1 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "self",(char *) "id", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16649 arg2 = (int) SWIG_AsInt(obj1);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 {
16652 PyThreadState* __tstate = wxPyBeginAllowThreads();
16653 result = (arg1)->GetToolLongHelp(arg2);
16654
16655 wxPyEndAllowThreads(__tstate);
16656 if (PyErr_Occurred()) SWIG_fail;
16657 }
16658 {
16659 #if wxUSE_UNICODE
16660 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16661 #else
16662 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16663 #endif
16664 }
16665 return resultobj;
16666 fail:
16667 return NULL;
16668 }
16669
16670
16671 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj;
16673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16674 int arg2 ;
16675 int arg3 ;
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
16678 PyObject * obj2 = 0 ;
16679 char *kwnames[] = {
16680 (char *) "self",(char *) "x",(char *) "y", NULL
16681 };
16682
16683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16686 arg2 = (int) SWIG_AsInt(obj1);
16687 if (PyErr_Occurred()) SWIG_fail;
16688 arg3 = (int) SWIG_AsInt(obj2);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 {
16691 PyThreadState* __tstate = wxPyBeginAllowThreads();
16692 (arg1)->SetMargins(arg2,arg3);
16693
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 Py_INCREF(Py_None); resultobj = Py_None;
16698 return resultobj;
16699 fail:
16700 return NULL;
16701 }
16702
16703
16704 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16705 PyObject *resultobj;
16706 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16707 wxSize *arg2 = 0 ;
16708 wxSize temp2 ;
16709 PyObject * obj0 = 0 ;
16710 PyObject * obj1 = 0 ;
16711 char *kwnames[] = {
16712 (char *) "self",(char *) "size", NULL
16713 };
16714
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16718 {
16719 arg2 = &temp2;
16720 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16721 }
16722 {
16723 PyThreadState* __tstate = wxPyBeginAllowThreads();
16724 (arg1)->SetMargins((wxSize const &)*arg2);
16725
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 Py_INCREF(Py_None); resultobj = Py_None;
16730 return resultobj;
16731 fail:
16732 return NULL;
16733 }
16734
16735
16736 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj;
16738 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16739 int arg2 ;
16740 PyObject * obj0 = 0 ;
16741 PyObject * obj1 = 0 ;
16742 char *kwnames[] = {
16743 (char *) "self",(char *) "packing", NULL
16744 };
16745
16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16749 arg2 = (int) SWIG_AsInt(obj1);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 {
16752 PyThreadState* __tstate = wxPyBeginAllowThreads();
16753 (arg1)->SetToolPacking(arg2);
16754
16755 wxPyEndAllowThreads(__tstate);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 }
16758 Py_INCREF(Py_None); resultobj = Py_None;
16759 return resultobj;
16760 fail:
16761 return NULL;
16762 }
16763
16764
16765 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
16766 PyObject *resultobj;
16767 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16768 int arg2 ;
16769 PyObject * obj0 = 0 ;
16770 PyObject * obj1 = 0 ;
16771 char *kwnames[] = {
16772 (char *) "self",(char *) "separation", NULL
16773 };
16774
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16778 arg2 = (int) SWIG_AsInt(obj1);
16779 if (PyErr_Occurred()) SWIG_fail;
16780 {
16781 PyThreadState* __tstate = wxPyBeginAllowThreads();
16782 (arg1)->SetToolSeparation(arg2);
16783
16784 wxPyEndAllowThreads(__tstate);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 }
16787 Py_INCREF(Py_None); resultobj = Py_None;
16788 return resultobj;
16789 fail:
16790 return NULL;
16791 }
16792
16793
16794 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj;
16796 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16797 wxSize result;
16798 PyObject * obj0 = 0 ;
16799 char *kwnames[] = {
16800 (char *) "self", NULL
16801 };
16802
16803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 result = (arg1)->GetToolMargins();
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 wxSize * resultptr;
16815 resultptr = new wxSize((wxSize &) result);
16816 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16817 }
16818 return resultobj;
16819 fail:
16820 return NULL;
16821 }
16822
16823
16824 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16825 PyObject *resultobj;
16826 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16827 wxSize result;
16828 PyObject * obj0 = 0 ;
16829 char *kwnames[] = {
16830 (char *) "self", NULL
16831 };
16832
16833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 result = (arg1)->GetMargins();
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 {
16844 wxSize * resultptr;
16845 resultptr = new wxSize((wxSize &) result);
16846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16847 }
16848 return resultobj;
16849 fail:
16850 return NULL;
16851 }
16852
16853
16854 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
16855 PyObject *resultobj;
16856 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16857 int result;
16858 PyObject * obj0 = 0 ;
16859 char *kwnames[] = {
16860 (char *) "self", NULL
16861 };
16862
16863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 result = (int)(arg1)->GetToolPacking();
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 resultobj = SWIG_FromInt((int)result);
16874 return resultobj;
16875 fail:
16876 return NULL;
16877 }
16878
16879
16880 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
16881 PyObject *resultobj;
16882 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16883 int result;
16884 PyObject * obj0 = 0 ;
16885 char *kwnames[] = {
16886 (char *) "self", NULL
16887 };
16888
16889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16892 {
16893 PyThreadState* __tstate = wxPyBeginAllowThreads();
16894 result = (int)(arg1)->GetToolSeparation();
16895
16896 wxPyEndAllowThreads(__tstate);
16897 if (PyErr_Occurred()) SWIG_fail;
16898 }
16899 resultobj = SWIG_FromInt((int)result);
16900 return resultobj;
16901 fail:
16902 return NULL;
16903 }
16904
16905
16906 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
16907 PyObject *resultobj;
16908 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16909 int arg2 ;
16910 PyObject * obj0 = 0 ;
16911 PyObject * obj1 = 0 ;
16912 char *kwnames[] = {
16913 (char *) "self",(char *) "nRows", NULL
16914 };
16915
16916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16919 arg2 = (int) SWIG_AsInt(obj1);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 (arg1)->SetRows(arg2);
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 Py_INCREF(Py_None); resultobj = Py_None;
16929 return resultobj;
16930 fail:
16931 return NULL;
16932 }
16933
16934
16935 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16938 int arg2 ;
16939 int arg3 ;
16940 PyObject * obj0 = 0 ;
16941 PyObject * obj1 = 0 ;
16942 PyObject * obj2 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self",(char *) "rows",(char *) "cols", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16950 arg2 = (int) SWIG_AsInt(obj1);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 arg3 = (int) SWIG_AsInt(obj2);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 (arg1)->SetMaxRowsCols(arg2,arg3);
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 Py_INCREF(Py_None); resultobj = Py_None;
16962 return resultobj;
16963 fail:
16964 return NULL;
16965 }
16966
16967
16968 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
16969 PyObject *resultobj;
16970 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16971 int result;
16972 PyObject * obj0 = 0 ;
16973 char *kwnames[] = {
16974 (char *) "self", NULL
16975 };
16976
16977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16980 {
16981 PyThreadState* __tstate = wxPyBeginAllowThreads();
16982 result = (int)(arg1)->GetMaxRows();
16983
16984 wxPyEndAllowThreads(__tstate);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 }
16987 resultobj = SWIG_FromInt((int)result);
16988 return resultobj;
16989 fail:
16990 return NULL;
16991 }
16992
16993
16994 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
16995 PyObject *resultobj;
16996 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16997 int result;
16998 PyObject * obj0 = 0 ;
16999 char *kwnames[] = {
17000 (char *) "self", NULL
17001 };
17002
17003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17006 {
17007 PyThreadState* __tstate = wxPyBeginAllowThreads();
17008 result = (int)(arg1)->GetMaxCols();
17009
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 resultobj = SWIG_FromInt((int)result);
17014 return resultobj;
17015 fail:
17016 return NULL;
17017 }
17018
17019
17020 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17023 wxSize *arg2 = 0 ;
17024 wxSize temp2 ;
17025 PyObject * obj0 = 0 ;
17026 PyObject * obj1 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "self",(char *) "size", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17034 {
17035 arg2 = &temp2;
17036 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17037 }
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 Py_INCREF(Py_None); resultobj = Py_None;
17046 return resultobj;
17047 fail:
17048 return NULL;
17049 }
17050
17051
17052 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
17053 PyObject *resultobj;
17054 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17055 wxSize result;
17056 PyObject * obj0 = 0 ;
17057 char *kwnames[] = {
17058 (char *) "self", NULL
17059 };
17060
17061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17064 {
17065 PyThreadState* __tstate = wxPyBeginAllowThreads();
17066 result = (arg1)->GetToolBitmapSize();
17067
17068 wxPyEndAllowThreads(__tstate);
17069 if (PyErr_Occurred()) SWIG_fail;
17070 }
17071 {
17072 wxSize * resultptr;
17073 resultptr = new wxSize((wxSize &) result);
17074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17075 }
17076 return resultobj;
17077 fail:
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17085 wxSize result;
17086 PyObject * obj0 = 0 ;
17087 char *kwnames[] = {
17088 (char *) "self", NULL
17089 };
17090
17091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17094 {
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 result = (arg1)->GetToolSize();
17097
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 {
17102 wxSize * resultptr;
17103 resultptr = new wxSize((wxSize &) result);
17104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17105 }
17106 return resultobj;
17107 fail:
17108 return NULL;
17109 }
17110
17111
17112 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17113 PyObject *resultobj;
17114 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17115 int arg2 ;
17116 int arg3 ;
17117 wxToolBarToolBase *result;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 PyObject * obj2 = 0 ;
17121 char *kwnames[] = {
17122 (char *) "self",(char *) "x",(char *) "y", NULL
17123 };
17124
17125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17128 arg2 = (int) SWIG_AsInt(obj1);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 arg3 = (int) SWIG_AsInt(obj2);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 {
17133 PyThreadState* __tstate = wxPyBeginAllowThreads();
17134 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17135
17136 wxPyEndAllowThreads(__tstate);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
17139 {
17140 resultobj = wxPyMake_wxObject(result);
17141 }
17142 return resultobj;
17143 fail:
17144 return NULL;
17145 }
17146
17147
17148 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
17149 PyObject *resultobj;
17150 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17151 int arg2 ;
17152 wxToolBarToolBase *result;
17153 PyObject * obj0 = 0 ;
17154 PyObject * obj1 = 0 ;
17155 char *kwnames[] = {
17156 (char *) "self",(char *) "toolid", NULL
17157 };
17158
17159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17162 arg2 = (int) SWIG_AsInt(obj1);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 {
17172 resultobj = wxPyMake_wxObject(result);
17173 }
17174 return resultobj;
17175 fail:
17176 return NULL;
17177 }
17178
17179
17180 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17183 bool result;
17184 PyObject * obj0 = 0 ;
17185 char *kwnames[] = {
17186 (char *) "self", NULL
17187 };
17188
17189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 result = (bool)(arg1)->IsVertical();
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 {
17200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17201 }
17202 return resultobj;
17203 fail:
17204 return NULL;
17205 }
17206
17207
17208 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
17209 PyObject *obj;
17210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17211 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17212 Py_INCREF(obj);
17213 return Py_BuildValue((char *)"");
17214 }
17215 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17216 PyObject *resultobj;
17217 wxWindow *arg1 = (wxWindow *) 0 ;
17218 int arg2 ;
17219 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17220 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17221 wxSize const &arg4_defvalue = wxDefaultSize ;
17222 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17223 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17224 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17225 wxString *arg6 = (wxString *) &arg6_defvalue ;
17226 wxToolBar *result;
17227 wxPoint temp3 ;
17228 wxSize temp4 ;
17229 bool temp6 = False ;
17230 PyObject * obj0 = 0 ;
17231 PyObject * obj1 = 0 ;
17232 PyObject * obj2 = 0 ;
17233 PyObject * obj3 = 0 ;
17234 PyObject * obj4 = 0 ;
17235 PyObject * obj5 = 0 ;
17236 char *kwnames[] = {
17237 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17238 };
17239
17240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17243 arg2 = (int) SWIG_AsInt(obj1);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 if (obj2) {
17246 {
17247 arg3 = &temp3;
17248 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17249 }
17250 }
17251 if (obj3) {
17252 {
17253 arg4 = &temp4;
17254 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17255 }
17256 }
17257 if (obj4) {
17258 arg5 = (long) SWIG_AsLong(obj4);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 if (obj5) {
17262 {
17263 arg6 = wxString_in_helper(obj5);
17264 if (arg6 == NULL) SWIG_fail;
17265 temp6 = True;
17266 }
17267 }
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17271
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 {
17276 resultobj = wxPyMake_wxObject(result);
17277 }
17278 {
17279 if (temp6)
17280 delete arg6;
17281 }
17282 return resultobj;
17283 fail:
17284 {
17285 if (temp6)
17286 delete arg6;
17287 }
17288 return NULL;
17289 }
17290
17291
17292 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj;
17294 wxToolBar *result;
17295 char *kwnames[] = {
17296 NULL
17297 };
17298
17299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 result = (wxToolBar *)new wxToolBar();
17303
17304 wxPyEndAllowThreads(__tstate);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
17307 {
17308 resultobj = wxPyMake_wxObject(result);
17309 }
17310 return resultobj;
17311 fail:
17312 return NULL;
17313 }
17314
17315
17316 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17317 PyObject *resultobj;
17318 wxToolBar *arg1 = (wxToolBar *) 0 ;
17319 wxWindow *arg2 = (wxWindow *) 0 ;
17320 int arg3 ;
17321 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17322 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17323 wxSize const &arg5_defvalue = wxDefaultSize ;
17324 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17325 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17326 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17327 wxString *arg7 = (wxString *) &arg7_defvalue ;
17328 bool result;
17329 wxPoint temp4 ;
17330 wxSize temp5 ;
17331 bool temp7 = False ;
17332 PyObject * obj0 = 0 ;
17333 PyObject * obj1 = 0 ;
17334 PyObject * obj2 = 0 ;
17335 PyObject * obj3 = 0 ;
17336 PyObject * obj4 = 0 ;
17337 PyObject * obj5 = 0 ;
17338 PyObject * obj6 = 0 ;
17339 char *kwnames[] = {
17340 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17341 };
17342
17343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17348 arg3 = (int) SWIG_AsInt(obj2);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 if (obj3) {
17351 {
17352 arg4 = &temp4;
17353 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17354 }
17355 }
17356 if (obj4) {
17357 {
17358 arg5 = &temp5;
17359 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17360 }
17361 }
17362 if (obj5) {
17363 arg6 = (long) SWIG_AsLong(obj5);
17364 if (PyErr_Occurred()) SWIG_fail;
17365 }
17366 if (obj6) {
17367 {
17368 arg7 = wxString_in_helper(obj6);
17369 if (arg7 == NULL) SWIG_fail;
17370 temp7 = True;
17371 }
17372 }
17373 {
17374 PyThreadState* __tstate = wxPyBeginAllowThreads();
17375 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17376
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 {
17381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17382 }
17383 {
17384 if (temp7)
17385 delete arg7;
17386 }
17387 return resultobj;
17388 fail:
17389 {
17390 if (temp7)
17391 delete arg7;
17392 }
17393 return NULL;
17394 }
17395
17396
17397 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17398 PyObject *resultobj;
17399 wxToolBar *arg1 = (wxToolBar *) 0 ;
17400 int arg2 ;
17401 int arg3 ;
17402 wxToolBarToolBase *result;
17403 PyObject * obj0 = 0 ;
17404 PyObject * obj1 = 0 ;
17405 PyObject * obj2 = 0 ;
17406 char *kwnames[] = {
17407 (char *) "self",(char *) "x",(char *) "y", NULL
17408 };
17409
17410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17413 arg2 = (int) SWIG_AsInt(obj1);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 arg3 = (int) SWIG_AsInt(obj2);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 {
17425 resultobj = wxPyMake_wxObject(result);
17426 }
17427 return resultobj;
17428 fail:
17429 return NULL;
17430 }
17431
17432
17433 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
17434 PyObject *obj;
17435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17436 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17437 Py_INCREF(obj);
17438 return Py_BuildValue((char *)"");
17439 }
17440 static int _wrap_ListCtrlNameStr_set(PyObject *) {
17441 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17442 return 1;
17443 }
17444
17445
17446 static PyObject *_wrap_ListCtrlNameStr_get() {
17447 PyObject *pyobj;
17448
17449 {
17450 #if wxUSE_UNICODE
17451 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17452 #else
17453 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17454 #endif
17455 }
17456 return pyobj;
17457 }
17458
17459
17460 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
17461 PyObject *resultobj;
17462 wxColour const &arg1_defvalue = wxNullColour ;
17463 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17464 wxColour const &arg2_defvalue = wxNullColour ;
17465 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17466 wxFont const &arg3_defvalue = wxNullFont ;
17467 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17468 wxListItemAttr *result;
17469 wxColour temp1 ;
17470 wxColour temp2 ;
17471 PyObject * obj0 = 0 ;
17472 PyObject * obj1 = 0 ;
17473 PyObject * obj2 = 0 ;
17474 char *kwnames[] = {
17475 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17476 };
17477
17478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17479 if (obj0) {
17480 {
17481 arg1 = &temp1;
17482 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17483 }
17484 }
17485 if (obj1) {
17486 {
17487 arg2 = &temp2;
17488 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17489 }
17490 }
17491 if (obj2) {
17492 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17493 SWIG_POINTER_EXCEPTION | 0)) == -1)
17494 SWIG_fail;
17495 if (arg3 == NULL) {
17496 PyErr_SetString(PyExc_TypeError,"null reference");
17497 SWIG_fail;
17498 }
17499 }
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17503
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17508 return resultobj;
17509 fail:
17510 return NULL;
17511 }
17512
17513
17514 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17517 wxColour *arg2 = 0 ;
17518 wxColour temp2 ;
17519 PyObject * obj0 = 0 ;
17520 PyObject * obj1 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self",(char *) "colText", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17528 {
17529 arg2 = &temp2;
17530 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17531 }
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 (arg1)->SetTextColour((wxColour const &)*arg2);
17535
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 Py_INCREF(Py_None); resultobj = Py_None;
17540 return resultobj;
17541 fail:
17542 return NULL;
17543 }
17544
17545
17546 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj;
17548 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17549 wxColour *arg2 = 0 ;
17550 wxColour temp2 ;
17551 PyObject * obj0 = 0 ;
17552 PyObject * obj1 = 0 ;
17553 char *kwnames[] = {
17554 (char *) "self",(char *) "colBack", NULL
17555 };
17556
17557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17560 {
17561 arg2 = &temp2;
17562 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17563 }
17564 {
17565 PyThreadState* __tstate = wxPyBeginAllowThreads();
17566 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17567
17568 wxPyEndAllowThreads(__tstate);
17569 if (PyErr_Occurred()) SWIG_fail;
17570 }
17571 Py_INCREF(Py_None); resultobj = Py_None;
17572 return resultobj;
17573 fail:
17574 return NULL;
17575 }
17576
17577
17578 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
17579 PyObject *resultobj;
17580 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17581 wxFont *arg2 = 0 ;
17582 PyObject * obj0 = 0 ;
17583 PyObject * obj1 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "self",(char *) "font", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17592 SWIG_POINTER_EXCEPTION | 0)) == -1)
17593 SWIG_fail;
17594 if (arg2 == NULL) {
17595 PyErr_SetString(PyExc_TypeError,"null reference");
17596 SWIG_fail;
17597 }
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 (arg1)->SetFont((wxFont const &)*arg2);
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 Py_INCREF(Py_None); resultobj = Py_None;
17606 return resultobj;
17607 fail:
17608 return NULL;
17609 }
17610
17611
17612 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17615 bool result;
17616 PyObject * obj0 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self", NULL
17619 };
17620
17621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 result = (bool)(arg1)->HasTextColour();
17627
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 {
17632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17633 }
17634 return resultobj;
17635 fail:
17636 return NULL;
17637 }
17638
17639
17640 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17641 PyObject *resultobj;
17642 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17643 bool result;
17644 PyObject * obj0 = 0 ;
17645 char *kwnames[] = {
17646 (char *) "self", NULL
17647 };
17648
17649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17652 {
17653 PyThreadState* __tstate = wxPyBeginAllowThreads();
17654 result = (bool)(arg1)->HasBackgroundColour();
17655
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 {
17660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17661 }
17662 return resultobj;
17663 fail:
17664 return NULL;
17665 }
17666
17667
17668 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
17669 PyObject *resultobj;
17670 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17671 bool result;
17672 PyObject * obj0 = 0 ;
17673 char *kwnames[] = {
17674 (char *) "self", NULL
17675 };
17676
17677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17680 {
17681 PyThreadState* __tstate = wxPyBeginAllowThreads();
17682 result = (bool)(arg1)->HasFont();
17683
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 {
17688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17689 }
17690 return resultobj;
17691 fail:
17692 return NULL;
17693 }
17694
17695
17696 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17697 PyObject *resultobj;
17698 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17699 wxColour result;
17700 PyObject * obj0 = 0 ;
17701 char *kwnames[] = {
17702 (char *) "self", NULL
17703 };
17704
17705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 result = (arg1)->GetTextColour();
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 {
17716 wxColour * resultptr;
17717 resultptr = new wxColour((wxColour &) result);
17718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17719 }
17720 return resultobj;
17721 fail:
17722 return NULL;
17723 }
17724
17725
17726 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17727 PyObject *resultobj;
17728 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17729 wxColour result;
17730 PyObject * obj0 = 0 ;
17731 char *kwnames[] = {
17732 (char *) "self", NULL
17733 };
17734
17735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 result = (arg1)->GetBackgroundColour();
17741
17742 wxPyEndAllowThreads(__tstate);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
17745 {
17746 wxColour * resultptr;
17747 resultptr = new wxColour((wxColour &) result);
17748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17749 }
17750 return resultobj;
17751 fail:
17752 return NULL;
17753 }
17754
17755
17756 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
17757 PyObject *resultobj;
17758 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17759 wxFont result;
17760 PyObject * obj0 = 0 ;
17761 char *kwnames[] = {
17762 (char *) "self", NULL
17763 };
17764
17765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 result = (arg1)->GetFont();
17771
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 {
17776 wxFont * resultptr;
17777 resultptr = new wxFont((wxFont &) result);
17778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
17779 }
17780 return resultobj;
17781 fail:
17782 return NULL;
17783 }
17784
17785
17786 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17789 PyObject * obj0 = 0 ;
17790 char *kwnames[] = {
17791 (char *) "self", NULL
17792 };
17793
17794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 wxListItemAttr_Destroy(arg1);
17800
17801 wxPyEndAllowThreads(__tstate);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 }
17804 Py_INCREF(Py_None); resultobj = Py_None;
17805 return resultobj;
17806 fail:
17807 return NULL;
17808 }
17809
17810
17811 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
17812 PyObject *obj;
17813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17814 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17815 Py_INCREF(obj);
17816 return Py_BuildValue((char *)"");
17817 }
17818 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxListItem *result;
17821 char *kwnames[] = {
17822 NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17826 {
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 result = (wxListItem *)new wxListItem();
17829
17830 wxPyEndAllowThreads(__tstate);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 }
17833 {
17834 resultobj = wxPyMake_wxObject(result);
17835 }
17836 return resultobj;
17837 fail:
17838 return NULL;
17839 }
17840
17841
17842 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj;
17844 wxListItem *arg1 = (wxListItem *) 0 ;
17845 PyObject * obj0 = 0 ;
17846 char *kwnames[] = {
17847 (char *) "self", NULL
17848 };
17849
17850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 delete arg1;
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 Py_INCREF(Py_None); resultobj = Py_None;
17861 return resultobj;
17862 fail:
17863 return NULL;
17864 }
17865
17866
17867 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxListItem *arg1 = (wxListItem *) 0 ;
17870 PyObject * obj0 = 0 ;
17871 char *kwnames[] = {
17872 (char *) "self", NULL
17873 };
17874
17875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 (arg1)->Clear();
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 Py_INCREF(Py_None); resultobj = Py_None;
17886 return resultobj;
17887 fail:
17888 return NULL;
17889 }
17890
17891
17892 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17893 PyObject *resultobj;
17894 wxListItem *arg1 = (wxListItem *) 0 ;
17895 PyObject * obj0 = 0 ;
17896 char *kwnames[] = {
17897 (char *) "self", NULL
17898 };
17899
17900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17903 {
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 (arg1)->ClearAttributes();
17906
17907 wxPyEndAllowThreads(__tstate);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 Py_INCREF(Py_None); resultobj = Py_None;
17911 return resultobj;
17912 fail:
17913 return NULL;
17914 }
17915
17916
17917 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
17918 PyObject *resultobj;
17919 wxListItem *arg1 = (wxListItem *) 0 ;
17920 long arg2 ;
17921 PyObject * obj0 = 0 ;
17922 PyObject * obj1 = 0 ;
17923 char *kwnames[] = {
17924 (char *) "self",(char *) "mask", NULL
17925 };
17926
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17930 arg2 = (long) SWIG_AsLong(obj1);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 (arg1)->SetMask(arg2);
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 Py_INCREF(Py_None); resultobj = Py_None;
17940 return resultobj;
17941 fail:
17942 return NULL;
17943 }
17944
17945
17946 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
17947 PyObject *resultobj;
17948 wxListItem *arg1 = (wxListItem *) 0 ;
17949 long arg2 ;
17950 PyObject * obj0 = 0 ;
17951 PyObject * obj1 = 0 ;
17952 char *kwnames[] = {
17953 (char *) "self",(char *) "id", NULL
17954 };
17955
17956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17959 arg2 = (long) SWIG_AsLong(obj1);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 {
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 (arg1)->SetId(arg2);
17964
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 Py_INCREF(Py_None); resultobj = Py_None;
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxListItem *arg1 = (wxListItem *) 0 ;
17978 int arg2 ;
17979 PyObject * obj0 = 0 ;
17980 PyObject * obj1 = 0 ;
17981 char *kwnames[] = {
17982 (char *) "self",(char *) "col", NULL
17983 };
17984
17985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17988 arg2 = (int) SWIG_AsInt(obj1);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 {
17991 PyThreadState* __tstate = wxPyBeginAllowThreads();
17992 (arg1)->SetColumn(arg2);
17993
17994 wxPyEndAllowThreads(__tstate);
17995 if (PyErr_Occurred()) SWIG_fail;
17996 }
17997 Py_INCREF(Py_None); resultobj = Py_None;
17998 return resultobj;
17999 fail:
18000 return NULL;
18001 }
18002
18003
18004 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
18005 PyObject *resultobj;
18006 wxListItem *arg1 = (wxListItem *) 0 ;
18007 long arg2 ;
18008 PyObject * obj0 = 0 ;
18009 PyObject * obj1 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self",(char *) "state", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18017 arg2 = (long) SWIG_AsLong(obj1);
18018 if (PyErr_Occurred()) SWIG_fail;
18019 {
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 (arg1)->SetState(arg2);
18022
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 Py_INCREF(Py_None); resultobj = Py_None;
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
18034 PyObject *resultobj;
18035 wxListItem *arg1 = (wxListItem *) 0 ;
18036 long arg2 ;
18037 PyObject * obj0 = 0 ;
18038 PyObject * obj1 = 0 ;
18039 char *kwnames[] = {
18040 (char *) "self",(char *) "stateMask", NULL
18041 };
18042
18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18046 arg2 = (long) SWIG_AsLong(obj1);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 (arg1)->SetStateMask(arg2);
18051
18052 wxPyEndAllowThreads(__tstate);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
18055 Py_INCREF(Py_None); resultobj = Py_None;
18056 return resultobj;
18057 fail:
18058 return NULL;
18059 }
18060
18061
18062 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
18063 PyObject *resultobj;
18064 wxListItem *arg1 = (wxListItem *) 0 ;
18065 wxString *arg2 = 0 ;
18066 bool temp2 = False ;
18067 PyObject * obj0 = 0 ;
18068 PyObject * obj1 = 0 ;
18069 char *kwnames[] = {
18070 (char *) "self",(char *) "text", NULL
18071 };
18072
18073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18076 {
18077 arg2 = wxString_in_helper(obj1);
18078 if (arg2 == NULL) SWIG_fail;
18079 temp2 = True;
18080 }
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 (arg1)->SetText((wxString const &)*arg2);
18084
18085 wxPyEndAllowThreads(__tstate);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 }
18088 Py_INCREF(Py_None); resultobj = Py_None;
18089 {
18090 if (temp2)
18091 delete arg2;
18092 }
18093 return resultobj;
18094 fail:
18095 {
18096 if (temp2)
18097 delete arg2;
18098 }
18099 return NULL;
18100 }
18101
18102
18103 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxListItem *arg1 = (wxListItem *) 0 ;
18106 int arg2 ;
18107 PyObject * obj0 = 0 ;
18108 PyObject * obj1 = 0 ;
18109 char *kwnames[] = {
18110 (char *) "self",(char *) "image", NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18116 arg2 = (int) SWIG_AsInt(obj1);
18117 if (PyErr_Occurred()) SWIG_fail;
18118 {
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 (arg1)->SetImage(arg2);
18121
18122 wxPyEndAllowThreads(__tstate);
18123 if (PyErr_Occurred()) SWIG_fail;
18124 }
18125 Py_INCREF(Py_None); resultobj = Py_None;
18126 return resultobj;
18127 fail:
18128 return NULL;
18129 }
18130
18131
18132 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
18133 PyObject *resultobj;
18134 wxListItem *arg1 = (wxListItem *) 0 ;
18135 long arg2 ;
18136 PyObject * obj0 = 0 ;
18137 PyObject * obj1 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self",(char *) "data", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18145 arg2 = (long) SWIG_AsLong(obj1);
18146 if (PyErr_Occurred()) SWIG_fail;
18147 {
18148 PyThreadState* __tstate = wxPyBeginAllowThreads();
18149 (arg1)->SetData(arg2);
18150
18151 wxPyEndAllowThreads(__tstate);
18152 if (PyErr_Occurred()) SWIG_fail;
18153 }
18154 Py_INCREF(Py_None); resultobj = Py_None;
18155 return resultobj;
18156 fail:
18157 return NULL;
18158 }
18159
18160
18161 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
18162 PyObject *resultobj;
18163 wxListItem *arg1 = (wxListItem *) 0 ;
18164 int arg2 ;
18165 PyObject * obj0 = 0 ;
18166 PyObject * obj1 = 0 ;
18167 char *kwnames[] = {
18168 (char *) "self",(char *) "width", NULL
18169 };
18170
18171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18174 arg2 = (int) SWIG_AsInt(obj1);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 {
18177 PyThreadState* __tstate = wxPyBeginAllowThreads();
18178 (arg1)->SetWidth(arg2);
18179
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 Py_INCREF(Py_None); resultobj = Py_None;
18184 return resultobj;
18185 fail:
18186 return NULL;
18187 }
18188
18189
18190 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
18191 PyObject *resultobj;
18192 wxListItem *arg1 = (wxListItem *) 0 ;
18193 int arg2 ;
18194 PyObject * obj0 = 0 ;
18195 PyObject * obj1 = 0 ;
18196 char *kwnames[] = {
18197 (char *) "self",(char *) "align", NULL
18198 };
18199
18200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18203 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 (arg1)->SetAlign((wxListColumnFormat )arg2);
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 Py_INCREF(Py_None); resultobj = Py_None;
18213 return resultobj;
18214 fail:
18215 return NULL;
18216 }
18217
18218
18219 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
18220 PyObject *resultobj;
18221 wxListItem *arg1 = (wxListItem *) 0 ;
18222 wxColour *arg2 = 0 ;
18223 wxColour temp2 ;
18224 PyObject * obj0 = 0 ;
18225 PyObject * obj1 = 0 ;
18226 char *kwnames[] = {
18227 (char *) "self",(char *) "colText", NULL
18228 };
18229
18230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18233 {
18234 arg2 = &temp2;
18235 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18236 }
18237 {
18238 PyThreadState* __tstate = wxPyBeginAllowThreads();
18239 (arg1)->SetTextColour((wxColour const &)*arg2);
18240
18241 wxPyEndAllowThreads(__tstate);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 }
18244 Py_INCREF(Py_None); resultobj = Py_None;
18245 return resultobj;
18246 fail:
18247 return NULL;
18248 }
18249
18250
18251 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj;
18253 wxListItem *arg1 = (wxListItem *) 0 ;
18254 wxColour *arg2 = 0 ;
18255 wxColour temp2 ;
18256 PyObject * obj0 = 0 ;
18257 PyObject * obj1 = 0 ;
18258 char *kwnames[] = {
18259 (char *) "self",(char *) "colBack", NULL
18260 };
18261
18262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18265 {
18266 arg2 = &temp2;
18267 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18268 }
18269 {
18270 PyThreadState* __tstate = wxPyBeginAllowThreads();
18271 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18272
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 Py_INCREF(Py_None); resultobj = Py_None;
18277 return resultobj;
18278 fail:
18279 return NULL;
18280 }
18281
18282
18283 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
18284 PyObject *resultobj;
18285 wxListItem *arg1 = (wxListItem *) 0 ;
18286 wxFont *arg2 = 0 ;
18287 PyObject * obj0 = 0 ;
18288 PyObject * obj1 = 0 ;
18289 char *kwnames[] = {
18290 (char *) "self",(char *) "font", NULL
18291 };
18292
18293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18296 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18297 SWIG_POINTER_EXCEPTION | 0)) == -1)
18298 SWIG_fail;
18299 if (arg2 == NULL) {
18300 PyErr_SetString(PyExc_TypeError,"null reference");
18301 SWIG_fail;
18302 }
18303 {
18304 PyThreadState* __tstate = wxPyBeginAllowThreads();
18305 (arg1)->SetFont((wxFont const &)*arg2);
18306
18307 wxPyEndAllowThreads(__tstate);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 }
18310 Py_INCREF(Py_None); resultobj = Py_None;
18311 return resultobj;
18312 fail:
18313 return NULL;
18314 }
18315
18316
18317 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
18318 PyObject *resultobj;
18319 wxListItem *arg1 = (wxListItem *) 0 ;
18320 long result;
18321 PyObject * obj0 = 0 ;
18322 char *kwnames[] = {
18323 (char *) "self", NULL
18324 };
18325
18326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18329 {
18330 PyThreadState* __tstate = wxPyBeginAllowThreads();
18331 result = (long)(arg1)->GetMask();
18332
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 resultobj = SWIG_FromLong((long)result);
18337 return resultobj;
18338 fail:
18339 return NULL;
18340 }
18341
18342
18343 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18344 PyObject *resultobj;
18345 wxListItem *arg1 = (wxListItem *) 0 ;
18346 long result;
18347 PyObject * obj0 = 0 ;
18348 char *kwnames[] = {
18349 (char *) "self", NULL
18350 };
18351
18352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18355 {
18356 PyThreadState* __tstate = wxPyBeginAllowThreads();
18357 result = (long)(arg1)->GetId();
18358
18359 wxPyEndAllowThreads(__tstate);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 resultobj = SWIG_FromLong((long)result);
18363 return resultobj;
18364 fail:
18365 return NULL;
18366 }
18367
18368
18369 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
18370 PyObject *resultobj;
18371 wxListItem *arg1 = (wxListItem *) 0 ;
18372 int result;
18373 PyObject * obj0 = 0 ;
18374 char *kwnames[] = {
18375 (char *) "self", NULL
18376 };
18377
18378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 result = (int)(arg1)->GetColumn();
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 resultobj = SWIG_FromInt((int)result);
18389 return resultobj;
18390 fail:
18391 return NULL;
18392 }
18393
18394
18395 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxListItem *arg1 = (wxListItem *) 0 ;
18398 long result;
18399 PyObject * obj0 = 0 ;
18400 char *kwnames[] = {
18401 (char *) "self", NULL
18402 };
18403
18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 result = (long)(arg1)->GetState();
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 resultobj = SWIG_FromLong((long)result);
18415 return resultobj;
18416 fail:
18417 return NULL;
18418 }
18419
18420
18421 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxListItem *arg1 = (wxListItem *) 0 ;
18424 wxString *result;
18425 PyObject * obj0 = 0 ;
18426 char *kwnames[] = {
18427 (char *) "self", NULL
18428 };
18429
18430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18433 {
18434 PyThreadState* __tstate = wxPyBeginAllowThreads();
18435 {
18436 wxString const &_result_ref = (arg1)->GetText();
18437 result = (wxString *) &_result_ref;
18438 }
18439
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
18443 {
18444 #if wxUSE_UNICODE
18445 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18446 #else
18447 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18448 #endif
18449 }
18450 return resultobj;
18451 fail:
18452 return NULL;
18453 }
18454
18455
18456 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
18457 PyObject *resultobj;
18458 wxListItem *arg1 = (wxListItem *) 0 ;
18459 int result;
18460 PyObject * obj0 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "self", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 result = (int)(arg1)->GetImage();
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 resultobj = SWIG_FromInt((int)result);
18476 return resultobj;
18477 fail:
18478 return NULL;
18479 }
18480
18481
18482 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxListItem *arg1 = (wxListItem *) 0 ;
18485 long result;
18486 PyObject * obj0 = 0 ;
18487 char *kwnames[] = {
18488 (char *) "self", NULL
18489 };
18490
18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (long)(arg1)->GetData();
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 resultobj = SWIG_FromLong((long)result);
18502 return resultobj;
18503 fail:
18504 return NULL;
18505 }
18506
18507
18508 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
18509 PyObject *resultobj;
18510 wxListItem *arg1 = (wxListItem *) 0 ;
18511 int result;
18512 PyObject * obj0 = 0 ;
18513 char *kwnames[] = {
18514 (char *) "self", NULL
18515 };
18516
18517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18520 {
18521 PyThreadState* __tstate = wxPyBeginAllowThreads();
18522 result = (int)(arg1)->GetWidth();
18523
18524 wxPyEndAllowThreads(__tstate);
18525 if (PyErr_Occurred()) SWIG_fail;
18526 }
18527 resultobj = SWIG_FromInt((int)result);
18528 return resultobj;
18529 fail:
18530 return NULL;
18531 }
18532
18533
18534 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
18535 PyObject *resultobj;
18536 wxListItem *arg1 = (wxListItem *) 0 ;
18537 int result;
18538 PyObject * obj0 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18546 {
18547 PyThreadState* __tstate = wxPyBeginAllowThreads();
18548 result = (int)(arg1)->GetAlign();
18549
18550 wxPyEndAllowThreads(__tstate);
18551 if (PyErr_Occurred()) SWIG_fail;
18552 }
18553 resultobj = SWIG_FromInt((int)result);
18554 return resultobj;
18555 fail:
18556 return NULL;
18557 }
18558
18559
18560 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18561 PyObject *resultobj;
18562 wxListItem *arg1 = (wxListItem *) 0 ;
18563 wxListItemAttr *result;
18564 PyObject * obj0 = 0 ;
18565 char *kwnames[] = {
18566 (char *) "self", NULL
18567 };
18568
18569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 result = (wxListItemAttr *)(arg1)->GetAttributes();
18575
18576 wxPyEndAllowThreads(__tstate);
18577 if (PyErr_Occurred()) SWIG_fail;
18578 }
18579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18580 return resultobj;
18581 fail:
18582 return NULL;
18583 }
18584
18585
18586 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18587 PyObject *resultobj;
18588 wxListItem *arg1 = (wxListItem *) 0 ;
18589 bool result;
18590 PyObject * obj0 = 0 ;
18591 char *kwnames[] = {
18592 (char *) "self", NULL
18593 };
18594
18595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18598 {
18599 PyThreadState* __tstate = wxPyBeginAllowThreads();
18600 result = (bool)(arg1)->HasAttributes();
18601
18602 wxPyEndAllowThreads(__tstate);
18603 if (PyErr_Occurred()) SWIG_fail;
18604 }
18605 {
18606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18607 }
18608 return resultobj;
18609 fail:
18610 return NULL;
18611 }
18612
18613
18614 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj;
18616 wxListItem *arg1 = (wxListItem *) 0 ;
18617 wxColour result;
18618 PyObject * obj0 = 0 ;
18619 char *kwnames[] = {
18620 (char *) "self", NULL
18621 };
18622
18623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18626 {
18627 PyThreadState* __tstate = wxPyBeginAllowThreads();
18628 result = ((wxListItem const *)arg1)->GetTextColour();
18629
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 {
18634 wxColour * resultptr;
18635 resultptr = new wxColour((wxColour &) result);
18636 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18637 }
18638 return resultobj;
18639 fail:
18640 return NULL;
18641 }
18642
18643
18644 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxListItem *arg1 = (wxListItem *) 0 ;
18647 wxColour result;
18648 PyObject * obj0 = 0 ;
18649 char *kwnames[] = {
18650 (char *) "self", NULL
18651 };
18652
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18656 {
18657 PyThreadState* __tstate = wxPyBeginAllowThreads();
18658 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18659
18660 wxPyEndAllowThreads(__tstate);
18661 if (PyErr_Occurred()) SWIG_fail;
18662 }
18663 {
18664 wxColour * resultptr;
18665 resultptr = new wxColour((wxColour &) result);
18666 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18667 }
18668 return resultobj;
18669 fail:
18670 return NULL;
18671 }
18672
18673
18674 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxListItem *arg1 = (wxListItem *) 0 ;
18677 wxFont result;
18678 PyObject * obj0 = 0 ;
18679 char *kwnames[] = {
18680 (char *) "self", NULL
18681 };
18682
18683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18686 {
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 result = ((wxListItem const *)arg1)->GetFont();
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 {
18694 wxFont * resultptr;
18695 resultptr = new wxFont((wxFont &) result);
18696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18697 }
18698 return resultobj;
18699 fail:
18700 return NULL;
18701 }
18702
18703
18704 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
18705 PyObject *resultobj;
18706 wxListItem *arg1 = (wxListItem *) 0 ;
18707 long arg2 ;
18708 PyObject * obj0 = 0 ;
18709 PyObject * obj1 = 0 ;
18710 char *kwnames[] = {
18711 (char *) "self",(char *) "m_mask", NULL
18712 };
18713
18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18717 arg2 = (long) SWIG_AsLong(obj1);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 if (arg1) (arg1)->m_mask = arg2;
18720
18721 Py_INCREF(Py_None); resultobj = Py_None;
18722 return resultobj;
18723 fail:
18724 return NULL;
18725 }
18726
18727
18728 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxListItem *arg1 = (wxListItem *) 0 ;
18731 long result;
18732 PyObject * obj0 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18740 result = (long) ((arg1)->m_mask);
18741
18742 resultobj = SWIG_FromLong((long)result);
18743 return resultobj;
18744 fail:
18745 return NULL;
18746 }
18747
18748
18749 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
18750 PyObject *resultobj;
18751 wxListItem *arg1 = (wxListItem *) 0 ;
18752 long arg2 ;
18753 PyObject * obj0 = 0 ;
18754 PyObject * obj1 = 0 ;
18755 char *kwnames[] = {
18756 (char *) "self",(char *) "m_itemId", NULL
18757 };
18758
18759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18762 arg2 = (long) SWIG_AsLong(obj1);
18763 if (PyErr_Occurred()) SWIG_fail;
18764 if (arg1) (arg1)->m_itemId = arg2;
18765
18766 Py_INCREF(Py_None); resultobj = Py_None;
18767 return resultobj;
18768 fail:
18769 return NULL;
18770 }
18771
18772
18773 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj;
18775 wxListItem *arg1 = (wxListItem *) 0 ;
18776 long result;
18777 PyObject * obj0 = 0 ;
18778 char *kwnames[] = {
18779 (char *) "self", NULL
18780 };
18781
18782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18785 result = (long) ((arg1)->m_itemId);
18786
18787 resultobj = SWIG_FromLong((long)result);
18788 return resultobj;
18789 fail:
18790 return NULL;
18791 }
18792
18793
18794 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
18795 PyObject *resultobj;
18796 wxListItem *arg1 = (wxListItem *) 0 ;
18797 int arg2 ;
18798 PyObject * obj0 = 0 ;
18799 PyObject * obj1 = 0 ;
18800 char *kwnames[] = {
18801 (char *) "self",(char *) "m_col", NULL
18802 };
18803
18804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18807 arg2 = (int) SWIG_AsInt(obj1);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 if (arg1) (arg1)->m_col = arg2;
18810
18811 Py_INCREF(Py_None); resultobj = Py_None;
18812 return resultobj;
18813 fail:
18814 return NULL;
18815 }
18816
18817
18818 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj;
18820 wxListItem *arg1 = (wxListItem *) 0 ;
18821 int result;
18822 PyObject * obj0 = 0 ;
18823 char *kwnames[] = {
18824 (char *) "self", NULL
18825 };
18826
18827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18830 result = (int) ((arg1)->m_col);
18831
18832 resultobj = SWIG_FromInt((int)result);
18833 return resultobj;
18834 fail:
18835 return NULL;
18836 }
18837
18838
18839 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj;
18841 wxListItem *arg1 = (wxListItem *) 0 ;
18842 long arg2 ;
18843 PyObject * obj0 = 0 ;
18844 PyObject * obj1 = 0 ;
18845 char *kwnames[] = {
18846 (char *) "self",(char *) "m_state", NULL
18847 };
18848
18849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18852 arg2 = (long) SWIG_AsLong(obj1);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 if (arg1) (arg1)->m_state = arg2;
18855
18856 Py_INCREF(Py_None); resultobj = Py_None;
18857 return resultobj;
18858 fail:
18859 return NULL;
18860 }
18861
18862
18863 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
18864 PyObject *resultobj;
18865 wxListItem *arg1 = (wxListItem *) 0 ;
18866 long result;
18867 PyObject * obj0 = 0 ;
18868 char *kwnames[] = {
18869 (char *) "self", NULL
18870 };
18871
18872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18875 result = (long) ((arg1)->m_state);
18876
18877 resultobj = SWIG_FromLong((long)result);
18878 return resultobj;
18879 fail:
18880 return NULL;
18881 }
18882
18883
18884 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
18885 PyObject *resultobj;
18886 wxListItem *arg1 = (wxListItem *) 0 ;
18887 long arg2 ;
18888 PyObject * obj0 = 0 ;
18889 PyObject * obj1 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self",(char *) "m_stateMask", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18897 arg2 = (long) SWIG_AsLong(obj1);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 if (arg1) (arg1)->m_stateMask = arg2;
18900
18901 Py_INCREF(Py_None); resultobj = Py_None;
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxListItem *arg1 = (wxListItem *) 0 ;
18911 long result;
18912 PyObject * obj0 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18920 result = (long) ((arg1)->m_stateMask);
18921
18922 resultobj = SWIG_FromLong((long)result);
18923 return resultobj;
18924 fail:
18925 return NULL;
18926 }
18927
18928
18929 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj;
18931 wxListItem *arg1 = (wxListItem *) 0 ;
18932 wxString *arg2 = (wxString *) 0 ;
18933 bool temp2 = False ;
18934 PyObject * obj0 = 0 ;
18935 PyObject * obj1 = 0 ;
18936 char *kwnames[] = {
18937 (char *) "self",(char *) "m_text", NULL
18938 };
18939
18940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18943 {
18944 arg2 = wxString_in_helper(obj1);
18945 if (arg2 == NULL) SWIG_fail;
18946 temp2 = True;
18947 }
18948 if (arg1) (arg1)->m_text = *arg2;
18949
18950 Py_INCREF(Py_None); resultobj = Py_None;
18951 {
18952 if (temp2)
18953 delete arg2;
18954 }
18955 return resultobj;
18956 fail:
18957 {
18958 if (temp2)
18959 delete arg2;
18960 }
18961 return NULL;
18962 }
18963
18964
18965 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
18966 PyObject *resultobj;
18967 wxListItem *arg1 = (wxListItem *) 0 ;
18968 wxString *result;
18969 PyObject * obj0 = 0 ;
18970 char *kwnames[] = {
18971 (char *) "self", NULL
18972 };
18973
18974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18977 result = (wxString *)& ((arg1)->m_text);
18978
18979 {
18980 #if wxUSE_UNICODE
18981 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18982 #else
18983 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18984 #endif
18985 }
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxListItem *arg1 = (wxListItem *) 0 ;
18995 int arg2 ;
18996 PyObject * obj0 = 0 ;
18997 PyObject * obj1 = 0 ;
18998 char *kwnames[] = {
18999 (char *) "self",(char *) "m_image", NULL
19000 };
19001
19002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19005 arg2 = (int) SWIG_AsInt(obj1);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 if (arg1) (arg1)->m_image = arg2;
19008
19009 Py_INCREF(Py_None); resultobj = Py_None;
19010 return resultobj;
19011 fail:
19012 return NULL;
19013 }
19014
19015
19016 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
19017 PyObject *resultobj;
19018 wxListItem *arg1 = (wxListItem *) 0 ;
19019 int result;
19020 PyObject * obj0 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19028 result = (int) ((arg1)->m_image);
19029
19030 resultobj = SWIG_FromInt((int)result);
19031 return resultobj;
19032 fail:
19033 return NULL;
19034 }
19035
19036
19037 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
19038 PyObject *resultobj;
19039 wxListItem *arg1 = (wxListItem *) 0 ;
19040 long arg2 ;
19041 PyObject * obj0 = 0 ;
19042 PyObject * obj1 = 0 ;
19043 char *kwnames[] = {
19044 (char *) "self",(char *) "m_data", NULL
19045 };
19046
19047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19050 arg2 = (long) SWIG_AsLong(obj1);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 if (arg1) (arg1)->m_data = arg2;
19053
19054 Py_INCREF(Py_None); resultobj = Py_None;
19055 return resultobj;
19056 fail:
19057 return NULL;
19058 }
19059
19060
19061 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
19062 PyObject *resultobj;
19063 wxListItem *arg1 = (wxListItem *) 0 ;
19064 long result;
19065 PyObject * obj0 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19073 result = (long) ((arg1)->m_data);
19074
19075 resultobj = SWIG_FromLong((long)result);
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj;
19084 wxListItem *arg1 = (wxListItem *) 0 ;
19085 int arg2 ;
19086 PyObject * obj0 = 0 ;
19087 PyObject * obj1 = 0 ;
19088 char *kwnames[] = {
19089 (char *) "self",(char *) "m_format", NULL
19090 };
19091
19092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19095 arg2 = (int) SWIG_AsInt(obj1);
19096 if (PyErr_Occurred()) SWIG_fail;
19097 if (arg1) (arg1)->m_format = arg2;
19098
19099 Py_INCREF(Py_None); resultobj = Py_None;
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxListItem *arg1 = (wxListItem *) 0 ;
19109 int result;
19110 PyObject * obj0 = 0 ;
19111 char *kwnames[] = {
19112 (char *) "self", NULL
19113 };
19114
19115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19118 result = (int) ((arg1)->m_format);
19119
19120 resultobj = SWIG_FromInt((int)result);
19121 return resultobj;
19122 fail:
19123 return NULL;
19124 }
19125
19126
19127 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj;
19129 wxListItem *arg1 = (wxListItem *) 0 ;
19130 int arg2 ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 char *kwnames[] = {
19134 (char *) "self",(char *) "m_width", NULL
19135 };
19136
19137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19140 arg2 = (int) SWIG_AsInt(obj1);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 if (arg1) (arg1)->m_width = arg2;
19143
19144 Py_INCREF(Py_None); resultobj = Py_None;
19145 return resultobj;
19146 fail:
19147 return NULL;
19148 }
19149
19150
19151 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
19152 PyObject *resultobj;
19153 wxListItem *arg1 = (wxListItem *) 0 ;
19154 int result;
19155 PyObject * obj0 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19163 result = (int) ((arg1)->m_width);
19164
19165 resultobj = SWIG_FromInt((int)result);
19166 return resultobj;
19167 fail:
19168 return NULL;
19169 }
19170
19171
19172 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
19173 PyObject *obj;
19174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19175 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19176 Py_INCREF(obj);
19177 return Py_BuildValue((char *)"");
19178 }
19179 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj;
19181 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19182 int arg2 = (int) 0 ;
19183 wxListEvent *result;
19184 PyObject * obj0 = 0 ;
19185 PyObject * obj1 = 0 ;
19186 char *kwnames[] = {
19187 (char *) "commandType",(char *) "id", NULL
19188 };
19189
19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19191 if (obj0) {
19192 arg1 = (wxEventType) SWIG_AsInt(obj0);
19193 if (PyErr_Occurred()) SWIG_fail;
19194 }
19195 if (obj1) {
19196 arg2 = (int) SWIG_AsInt(obj1);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 }
19199 {
19200 PyThreadState* __tstate = wxPyBeginAllowThreads();
19201 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19202
19203 wxPyEndAllowThreads(__tstate);
19204 if (PyErr_Occurred()) SWIG_fail;
19205 }
19206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19207 return resultobj;
19208 fail:
19209 return NULL;
19210 }
19211
19212
19213 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
19214 PyObject *resultobj;
19215 wxListEvent *arg1 = (wxListEvent *) 0 ;
19216 int arg2 ;
19217 PyObject * obj0 = 0 ;
19218 PyObject * obj1 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self",(char *) "m_code", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19226 arg2 = (int) SWIG_AsInt(obj1);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 if (arg1) (arg1)->m_code = arg2;
19229
19230 Py_INCREF(Py_None); resultobj = Py_None;
19231 return resultobj;
19232 fail:
19233 return NULL;
19234 }
19235
19236
19237 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
19238 PyObject *resultobj;
19239 wxListEvent *arg1 = (wxListEvent *) 0 ;
19240 int result;
19241 PyObject * obj0 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19249 result = (int) ((arg1)->m_code);
19250
19251 resultobj = SWIG_FromInt((int)result);
19252 return resultobj;
19253 fail:
19254 return NULL;
19255 }
19256
19257
19258 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj;
19260 wxListEvent *arg1 = (wxListEvent *) 0 ;
19261 long arg2 ;
19262 PyObject * obj0 = 0 ;
19263 PyObject * obj1 = 0 ;
19264 char *kwnames[] = {
19265 (char *) "self",(char *) "m_oldItemIndex", NULL
19266 };
19267
19268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19271 arg2 = (long) SWIG_AsLong(obj1);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 if (arg1) (arg1)->m_oldItemIndex = arg2;
19274
19275 Py_INCREF(Py_None); resultobj = Py_None;
19276 return resultobj;
19277 fail:
19278 return NULL;
19279 }
19280
19281
19282 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj;
19284 wxListEvent *arg1 = (wxListEvent *) 0 ;
19285 long result;
19286 PyObject * obj0 = 0 ;
19287 char *kwnames[] = {
19288 (char *) "self", NULL
19289 };
19290
19291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19294 result = (long) ((arg1)->m_oldItemIndex);
19295
19296 resultobj = SWIG_FromLong((long)result);
19297 return resultobj;
19298 fail:
19299 return NULL;
19300 }
19301
19302
19303 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
19304 PyObject *resultobj;
19305 wxListEvent *arg1 = (wxListEvent *) 0 ;
19306 long arg2 ;
19307 PyObject * obj0 = 0 ;
19308 PyObject * obj1 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self",(char *) "m_itemIndex", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19316 arg2 = (long) SWIG_AsLong(obj1);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 if (arg1) (arg1)->m_itemIndex = arg2;
19319
19320 Py_INCREF(Py_None); resultobj = Py_None;
19321 return resultobj;
19322 fail:
19323 return NULL;
19324 }
19325
19326
19327 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
19328 PyObject *resultobj;
19329 wxListEvent *arg1 = (wxListEvent *) 0 ;
19330 long result;
19331 PyObject * obj0 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "self", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19339 result = (long) ((arg1)->m_itemIndex);
19340
19341 resultobj = SWIG_FromLong((long)result);
19342 return resultobj;
19343 fail:
19344 return NULL;
19345 }
19346
19347
19348 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
19349 PyObject *resultobj;
19350 wxListEvent *arg1 = (wxListEvent *) 0 ;
19351 int arg2 ;
19352 PyObject * obj0 = 0 ;
19353 PyObject * obj1 = 0 ;
19354 char *kwnames[] = {
19355 (char *) "self",(char *) "m_col", NULL
19356 };
19357
19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19361 arg2 = (int) SWIG_AsInt(obj1);
19362 if (PyErr_Occurred()) SWIG_fail;
19363 if (arg1) (arg1)->m_col = arg2;
19364
19365 Py_INCREF(Py_None); resultobj = Py_None;
19366 return resultobj;
19367 fail:
19368 return NULL;
19369 }
19370
19371
19372 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
19373 PyObject *resultobj;
19374 wxListEvent *arg1 = (wxListEvent *) 0 ;
19375 int result;
19376 PyObject * obj0 = 0 ;
19377 char *kwnames[] = {
19378 (char *) "self", NULL
19379 };
19380
19381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19384 result = (int) ((arg1)->m_col);
19385
19386 resultobj = SWIG_FromInt((int)result);
19387 return resultobj;
19388 fail:
19389 return NULL;
19390 }
19391
19392
19393 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
19394 PyObject *resultobj;
19395 wxListEvent *arg1 = (wxListEvent *) 0 ;
19396 wxPoint *arg2 = (wxPoint *) 0 ;
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj1 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self",(char *) "m_pointDrag", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19406 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19408 if (arg1) (arg1)->m_pointDrag = *arg2;
19409
19410 Py_INCREF(Py_None); resultobj = Py_None;
19411 return resultobj;
19412 fail:
19413 return NULL;
19414 }
19415
19416
19417 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxListEvent *arg1 = (wxListEvent *) 0 ;
19420 wxPoint *result;
19421 PyObject * obj0 = 0 ;
19422 char *kwnames[] = {
19423 (char *) "self", NULL
19424 };
19425
19426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19429 result = (wxPoint *)& ((arg1)->m_pointDrag);
19430
19431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19432 return resultobj;
19433 fail:
19434 return NULL;
19435 }
19436
19437
19438 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj;
19440 wxListEvent *arg1 = (wxListEvent *) 0 ;
19441 wxListItem *result;
19442 PyObject * obj0 = 0 ;
19443 char *kwnames[] = {
19444 (char *) "self", NULL
19445 };
19446
19447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19450 result = (wxListItem *)& ((arg1)->m_item);
19451
19452 {
19453 resultobj = wxPyMake_wxObject(result);
19454 }
19455 return resultobj;
19456 fail:
19457 return NULL;
19458 }
19459
19460
19461 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
19462 PyObject *resultobj;
19463 wxListEvent *arg1 = (wxListEvent *) 0 ;
19464 int result;
19465 PyObject * obj0 = 0 ;
19466 char *kwnames[] = {
19467 (char *) "self", NULL
19468 };
19469
19470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19473 {
19474 PyThreadState* __tstate = wxPyBeginAllowThreads();
19475 result = (int)(arg1)->GetKeyCode();
19476
19477 wxPyEndAllowThreads(__tstate);
19478 if (PyErr_Occurred()) SWIG_fail;
19479 }
19480 resultobj = SWIG_FromInt((int)result);
19481 return resultobj;
19482 fail:
19483 return NULL;
19484 }
19485
19486
19487 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
19488 PyObject *resultobj;
19489 wxListEvent *arg1 = (wxListEvent *) 0 ;
19490 long result;
19491 PyObject * obj0 = 0 ;
19492 char *kwnames[] = {
19493 (char *) "self", NULL
19494 };
19495
19496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 result = (long)(arg1)->GetIndex();
19502
19503 wxPyEndAllowThreads(__tstate);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 resultobj = SWIG_FromLong((long)result);
19507 return resultobj;
19508 fail:
19509 return NULL;
19510 }
19511
19512
19513 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19514 PyObject *resultobj;
19515 wxListEvent *arg1 = (wxListEvent *) 0 ;
19516 int result;
19517 PyObject * obj0 = 0 ;
19518 char *kwnames[] = {
19519 (char *) "self", NULL
19520 };
19521
19522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 result = (int)(arg1)->GetColumn();
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 resultobj = SWIG_FromInt((int)result);
19533 return resultobj;
19534 fail:
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxListEvent *arg1 = (wxListEvent *) 0 ;
19542 wxPoint result;
19543 PyObject * obj0 = 0 ;
19544 char *kwnames[] = {
19545 (char *) "self", NULL
19546 };
19547
19548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 result = (arg1)->GetPoint();
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 {
19559 wxPoint * resultptr;
19560 resultptr = new wxPoint((wxPoint &) result);
19561 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19562 }
19563 return resultobj;
19564 fail:
19565 return NULL;
19566 }
19567
19568
19569 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19570 PyObject *resultobj;
19571 wxListEvent *arg1 = (wxListEvent *) 0 ;
19572 wxString *result;
19573 PyObject * obj0 = 0 ;
19574 char *kwnames[] = {
19575 (char *) "self", NULL
19576 };
19577
19578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19581 {
19582 PyThreadState* __tstate = wxPyBeginAllowThreads();
19583 {
19584 wxString const &_result_ref = (arg1)->GetLabel();
19585 result = (wxString *) &_result_ref;
19586 }
19587
19588 wxPyEndAllowThreads(__tstate);
19589 if (PyErr_Occurred()) SWIG_fail;
19590 }
19591 {
19592 #if wxUSE_UNICODE
19593 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19594 #else
19595 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19596 #endif
19597 }
19598 return resultobj;
19599 fail:
19600 return NULL;
19601 }
19602
19603
19604 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
19605 PyObject *resultobj;
19606 wxListEvent *arg1 = (wxListEvent *) 0 ;
19607 wxString *result;
19608 PyObject * obj0 = 0 ;
19609 char *kwnames[] = {
19610 (char *) "self", NULL
19611 };
19612
19613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19616 {
19617 PyThreadState* __tstate = wxPyBeginAllowThreads();
19618 {
19619 wxString const &_result_ref = (arg1)->GetText();
19620 result = (wxString *) &_result_ref;
19621 }
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 {
19627 #if wxUSE_UNICODE
19628 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19629 #else
19630 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19631 #endif
19632 }
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxListEvent *arg1 = (wxListEvent *) 0 ;
19642 int result;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19651 {
19652 PyThreadState* __tstate = wxPyBeginAllowThreads();
19653 result = (int)(arg1)->GetImage();
19654
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 resultobj = SWIG_FromInt((int)result);
19659 return resultobj;
19660 fail:
19661 return NULL;
19662 }
19663
19664
19665 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
19666 PyObject *resultobj;
19667 wxListEvent *arg1 = (wxListEvent *) 0 ;
19668 long result;
19669 PyObject * obj0 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19677 {
19678 PyThreadState* __tstate = wxPyBeginAllowThreads();
19679 result = (long)(arg1)->GetData();
19680
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 resultobj = SWIG_FromLong((long)result);
19685 return resultobj;
19686 fail:
19687 return NULL;
19688 }
19689
19690
19691 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
19692 PyObject *resultobj;
19693 wxListEvent *arg1 = (wxListEvent *) 0 ;
19694 long result;
19695 PyObject * obj0 = 0 ;
19696 char *kwnames[] = {
19697 (char *) "self", NULL
19698 };
19699
19700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (long)(arg1)->GetMask();
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 resultobj = SWIG_FromLong((long)result);
19711 return resultobj;
19712 fail:
19713 return NULL;
19714 }
19715
19716
19717 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
19718 PyObject *resultobj;
19719 wxListEvent *arg1 = (wxListEvent *) 0 ;
19720 wxListItem *result;
19721 PyObject * obj0 = 0 ;
19722 char *kwnames[] = {
19723 (char *) "self", NULL
19724 };
19725
19726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 {
19732 wxListItem const &_result_ref = (arg1)->GetItem();
19733 result = (wxListItem *) &_result_ref;
19734 }
19735
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
19740 return resultobj;
19741 fail:
19742 return NULL;
19743 }
19744
19745
19746 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxListEvent *arg1 = (wxListEvent *) 0 ;
19749 long result;
19750 PyObject * obj0 = 0 ;
19751 char *kwnames[] = {
19752 (char *) "self", NULL
19753 };
19754
19755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 result = (long)(arg1)->GetCacheFrom();
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 resultobj = SWIG_FromLong((long)result);
19766 return resultobj;
19767 fail:
19768 return NULL;
19769 }
19770
19771
19772 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
19773 PyObject *resultobj;
19774 wxListEvent *arg1 = (wxListEvent *) 0 ;
19775 long result;
19776 PyObject * obj0 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19784 {
19785 PyThreadState* __tstate = wxPyBeginAllowThreads();
19786 result = (long)(arg1)->GetCacheTo();
19787
19788 wxPyEndAllowThreads(__tstate);
19789 if (PyErr_Occurred()) SWIG_fail;
19790 }
19791 resultobj = SWIG_FromLong((long)result);
19792 return resultobj;
19793 fail:
19794 return NULL;
19795 }
19796
19797
19798 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
19799 PyObject *resultobj;
19800 wxListEvent *arg1 = (wxListEvent *) 0 ;
19801 bool result;
19802 PyObject * obj0 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19810 {
19811 PyThreadState* __tstate = wxPyBeginAllowThreads();
19812 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19813
19814 wxPyEndAllowThreads(__tstate);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 {
19818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19819 }
19820 return resultobj;
19821 fail:
19822 return NULL;
19823 }
19824
19825
19826 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
19827 PyObject *resultobj;
19828 wxListEvent *arg1 = (wxListEvent *) 0 ;
19829 bool arg2 ;
19830 PyObject * obj0 = 0 ;
19831 PyObject * obj1 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self",(char *) "editCancelled", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19839 arg2 = (bool) SWIG_AsBool(obj1);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 (arg1)->SetEditCanceled(arg2);
19844
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 Py_INCREF(Py_None); resultobj = Py_None;
19849 return resultobj;
19850 fail:
19851 return NULL;
19852 }
19853
19854
19855 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
19856 PyObject *obj;
19857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19858 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19859 Py_INCREF(obj);
19860 return Py_BuildValue((char *)"");
19861 }
19862 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19863 PyObject *resultobj;
19864 wxWindow *arg1 = (wxWindow *) 0 ;
19865 int arg2 = (int) -1 ;
19866 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19867 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19868 wxSize const &arg4_defvalue = wxDefaultSize ;
19869 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19870 long arg5 = (long) wxLC_ICON ;
19871 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19872 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19873 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19874 wxString *arg7 = (wxString *) &arg7_defvalue ;
19875 wxPyListCtrl *result;
19876 wxPoint temp3 ;
19877 wxSize temp4 ;
19878 bool temp7 = False ;
19879 PyObject * obj0 = 0 ;
19880 PyObject * obj1 = 0 ;
19881 PyObject * obj2 = 0 ;
19882 PyObject * obj3 = 0 ;
19883 PyObject * obj4 = 0 ;
19884 PyObject * obj5 = 0 ;
19885 PyObject * obj6 = 0 ;
19886 char *kwnames[] = {
19887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19888 };
19889
19890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19893 if (obj1) {
19894 arg2 = (int) SWIG_AsInt(obj1);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
19897 if (obj2) {
19898 {
19899 arg3 = &temp3;
19900 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19901 }
19902 }
19903 if (obj3) {
19904 {
19905 arg4 = &temp4;
19906 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19907 }
19908 }
19909 if (obj4) {
19910 arg5 = (long) SWIG_AsLong(obj4);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 if (obj5) {
19914 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
19915 SWIG_POINTER_EXCEPTION | 0)) == -1)
19916 SWIG_fail;
19917 if (arg6 == NULL) {
19918 PyErr_SetString(PyExc_TypeError,"null reference");
19919 SWIG_fail;
19920 }
19921 }
19922 if (obj6) {
19923 {
19924 arg7 = wxString_in_helper(obj6);
19925 if (arg7 == NULL) SWIG_fail;
19926 temp7 = True;
19927 }
19928 }
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19932
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
19936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
19937 {
19938 if (temp7)
19939 delete arg7;
19940 }
19941 return resultobj;
19942 fail:
19943 {
19944 if (temp7)
19945 delete arg7;
19946 }
19947 return NULL;
19948 }
19949
19950
19951 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19952 PyObject *resultobj;
19953 wxPyListCtrl *result;
19954 char *kwnames[] = {
19955 NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19959 {
19960 PyThreadState* __tstate = wxPyBeginAllowThreads();
19961 result = (wxPyListCtrl *)new wxPyListCtrl();
19962
19963 wxPyEndAllowThreads(__tstate);
19964 if (PyErr_Occurred()) SWIG_fail;
19965 }
19966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
19967 return resultobj;
19968 fail:
19969 return NULL;
19970 }
19971
19972
19973 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
19974 PyObject *resultobj;
19975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19976 wxWindow *arg2 = (wxWindow *) 0 ;
19977 int arg3 = (int) -1 ;
19978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19980 wxSize const &arg5_defvalue = wxDefaultSize ;
19981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19982 long arg6 = (long) wxLC_ICON ;
19983 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19984 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19985 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19986 wxString *arg8 = (wxString *) &arg8_defvalue ;
19987 bool result;
19988 wxPoint temp4 ;
19989 wxSize temp5 ;
19990 bool temp8 = False ;
19991 PyObject * obj0 = 0 ;
19992 PyObject * obj1 = 0 ;
19993 PyObject * obj2 = 0 ;
19994 PyObject * obj3 = 0 ;
19995 PyObject * obj4 = 0 ;
19996 PyObject * obj5 = 0 ;
19997 PyObject * obj6 = 0 ;
19998 PyObject * obj7 = 0 ;
19999 char *kwnames[] = {
20000 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20001 };
20002
20003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20008 if (obj2) {
20009 arg3 = (int) SWIG_AsInt(obj2);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 if (obj3) {
20013 {
20014 arg4 = &temp4;
20015 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20016 }
20017 }
20018 if (obj4) {
20019 {
20020 arg5 = &temp5;
20021 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20022 }
20023 }
20024 if (obj5) {
20025 arg6 = (long) SWIG_AsLong(obj5);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 if (obj6) {
20029 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20030 SWIG_POINTER_EXCEPTION | 0)) == -1)
20031 SWIG_fail;
20032 if (arg7 == NULL) {
20033 PyErr_SetString(PyExc_TypeError,"null reference");
20034 SWIG_fail;
20035 }
20036 }
20037 if (obj7) {
20038 {
20039 arg8 = wxString_in_helper(obj7);
20040 if (arg8 == NULL) SWIG_fail;
20041 temp8 = True;
20042 }
20043 }
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 {
20052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20053 }
20054 {
20055 if (temp8)
20056 delete arg8;
20057 }
20058 return resultobj;
20059 fail:
20060 {
20061 if (temp8)
20062 delete arg8;
20063 }
20064 return NULL;
20065 }
20066
20067
20068 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20069 PyObject *resultobj;
20070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20071 PyObject *arg2 = (PyObject *) 0 ;
20072 PyObject *arg3 = (PyObject *) 0 ;
20073 PyObject * obj0 = 0 ;
20074 PyObject * obj1 = 0 ;
20075 PyObject * obj2 = 0 ;
20076 char *kwnames[] = {
20077 (char *) "self",(char *) "self",(char *) "_class", NULL
20078 };
20079
20080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20083 arg2 = obj1;
20084 arg3 = obj2;
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 (arg1)->_setCallbackInfo(arg2,arg3);
20088
20089 wxPyEndAllowThreads(__tstate);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
20092 Py_INCREF(Py_None); resultobj = Py_None;
20093 return resultobj;
20094 fail:
20095 return NULL;
20096 }
20097
20098
20099 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20100 PyObject *resultobj;
20101 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20102 wxColour *arg2 = 0 ;
20103 bool result;
20104 wxColour temp2 ;
20105 PyObject * obj0 = 0 ;
20106 PyObject * obj1 = 0 ;
20107 char *kwnames[] = {
20108 (char *) "self",(char *) "col", NULL
20109 };
20110
20111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20114 {
20115 arg2 = &temp2;
20116 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20117 }
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 {
20126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20127 }
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20137 wxColour *arg2 = 0 ;
20138 bool result;
20139 wxColour temp2 ;
20140 PyObject * obj0 = 0 ;
20141 PyObject * obj1 = 0 ;
20142 char *kwnames[] = {
20143 (char *) "self",(char *) "col", NULL
20144 };
20145
20146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20149 {
20150 arg2 = &temp2;
20151 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20152 }
20153 {
20154 PyThreadState* __tstate = wxPyBeginAllowThreads();
20155 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20156
20157 wxPyEndAllowThreads(__tstate);
20158 if (PyErr_Occurred()) SWIG_fail;
20159 }
20160 {
20161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20162 }
20163 return resultobj;
20164 fail:
20165 return NULL;
20166 }
20167
20168
20169 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20170 PyObject *resultobj;
20171 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20172 int arg2 ;
20173 wxListItem *result;
20174 PyObject * obj0 = 0 ;
20175 PyObject * obj1 = 0 ;
20176 char *kwnames[] = {
20177 (char *) "self",(char *) "col", NULL
20178 };
20179
20180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20183 arg2 = (int) SWIG_AsInt(obj1);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 {
20186 PyThreadState* __tstate = wxPyBeginAllowThreads();
20187 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20188
20189 wxPyEndAllowThreads(__tstate);
20190 if (PyErr_Occurred()) SWIG_fail;
20191 }
20192 {
20193 resultobj = wxPyMake_wxObject(result);
20194 }
20195 return resultobj;
20196 fail:
20197 return NULL;
20198 }
20199
20200
20201 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20202 PyObject *resultobj;
20203 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20204 int arg2 ;
20205 wxListItem *arg3 = 0 ;
20206 bool result;
20207 PyObject * obj0 = 0 ;
20208 PyObject * obj1 = 0 ;
20209 PyObject * obj2 = 0 ;
20210 char *kwnames[] = {
20211 (char *) "self",(char *) "col",(char *) "item", NULL
20212 };
20213
20214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20217 arg2 = (int) SWIG_AsInt(obj1);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20220 SWIG_POINTER_EXCEPTION | 0)) == -1)
20221 SWIG_fail;
20222 if (arg3 == NULL) {
20223 PyErr_SetString(PyExc_TypeError,"null reference");
20224 SWIG_fail;
20225 }
20226 {
20227 PyThreadState* __tstate = wxPyBeginAllowThreads();
20228 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20229
20230 wxPyEndAllowThreads(__tstate);
20231 if (PyErr_Occurred()) SWIG_fail;
20232 }
20233 {
20234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20235 }
20236 return resultobj;
20237 fail:
20238 return NULL;
20239 }
20240
20241
20242 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20243 PyObject *resultobj;
20244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20245 int arg2 ;
20246 int result;
20247 PyObject * obj0 = 0 ;
20248 PyObject * obj1 = 0 ;
20249 char *kwnames[] = {
20250 (char *) "self",(char *) "col", NULL
20251 };
20252
20253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20256 arg2 = (int) SWIG_AsInt(obj1);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 resultobj = SWIG_FromInt((int)result);
20266 return resultobj;
20267 fail:
20268 return NULL;
20269 }
20270
20271
20272 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20273 PyObject *resultobj;
20274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20275 int arg2 ;
20276 int arg3 ;
20277 bool result;
20278 PyObject * obj0 = 0 ;
20279 PyObject * obj1 = 0 ;
20280 PyObject * obj2 = 0 ;
20281 char *kwnames[] = {
20282 (char *) "self",(char *) "col",(char *) "width", NULL
20283 };
20284
20285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20288 arg2 = (int) SWIG_AsInt(obj1);
20289 if (PyErr_Occurred()) SWIG_fail;
20290 arg3 = (int) SWIG_AsInt(obj2);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
20294 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20295
20296 wxPyEndAllowThreads(__tstate);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 {
20300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20301 }
20302 return resultobj;
20303 fail:
20304 return NULL;
20305 }
20306
20307
20308 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
20309 PyObject *resultobj;
20310 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20311 int result;
20312 PyObject * obj0 = 0 ;
20313 char *kwnames[] = {
20314 (char *) "self", NULL
20315 };
20316
20317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 resultobj = SWIG_FromInt((int)result);
20328 return resultobj;
20329 fail:
20330 return NULL;
20331 }
20332
20333
20334 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
20335 PyObject *resultobj;
20336 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20337 wxRect result;
20338 PyObject * obj0 = 0 ;
20339 char *kwnames[] = {
20340 (char *) "self", NULL
20341 };
20342
20343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20346 {
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20349
20350 wxPyEndAllowThreads(__tstate);
20351 if (PyErr_Occurred()) SWIG_fail;
20352 }
20353 {
20354 wxRect * resultptr;
20355 resultptr = new wxRect((wxRect &) result);
20356 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20357 }
20358 return resultobj;
20359 fail:
20360 return NULL;
20361 }
20362
20363
20364 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj;
20366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20367 long arg2 ;
20368 int arg3 = (int) 0 ;
20369 wxListItem *result;
20370 PyObject * obj0 = 0 ;
20371 PyObject * obj1 = 0 ;
20372 PyObject * obj2 = 0 ;
20373 char *kwnames[] = {
20374 (char *) "self",(char *) "itemId",(char *) "col", NULL
20375 };
20376
20377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20380 arg2 = (long) SWIG_AsLong(obj1);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 if (obj2) {
20383 arg3 = (int) SWIG_AsInt(obj2);
20384 if (PyErr_Occurred()) SWIG_fail;
20385 }
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
20388 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
20393 {
20394 resultobj = wxPyMake_wxObject(result);
20395 }
20396 return resultobj;
20397 fail:
20398 return NULL;
20399 }
20400
20401
20402 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
20403 PyObject *resultobj;
20404 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20405 wxListItem *arg2 = 0 ;
20406 bool result;
20407 PyObject * obj0 = 0 ;
20408 PyObject * obj1 = 0 ;
20409 char *kwnames[] = {
20410 (char *) "self",(char *) "info", NULL
20411 };
20412
20413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20417 SWIG_POINTER_EXCEPTION | 0)) == -1)
20418 SWIG_fail;
20419 if (arg2 == NULL) {
20420 PyErr_SetString(PyExc_TypeError,"null reference");
20421 SWIG_fail;
20422 }
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 result = (bool)(arg1)->SetItem(*arg2);
20426
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 {
20431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20432 }
20433 return resultobj;
20434 fail:
20435 return NULL;
20436 }
20437
20438
20439 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20442 long arg2 ;
20443 int arg3 ;
20444 wxString *arg4 = 0 ;
20445 int arg5 = (int) -1 ;
20446 long result;
20447 bool temp4 = False ;
20448 PyObject * obj0 = 0 ;
20449 PyObject * obj1 = 0 ;
20450 PyObject * obj2 = 0 ;
20451 PyObject * obj3 = 0 ;
20452 PyObject * obj4 = 0 ;
20453 char *kwnames[] = {
20454 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20455 };
20456
20457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20460 arg2 = (long) SWIG_AsLong(obj1);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 arg3 = (int) SWIG_AsInt(obj2);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 {
20465 arg4 = wxString_in_helper(obj3);
20466 if (arg4 == NULL) SWIG_fail;
20467 temp4 = True;
20468 }
20469 if (obj4) {
20470 arg5 = (int) SWIG_AsInt(obj4);
20471 if (PyErr_Occurred()) SWIG_fail;
20472 }
20473 {
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20476
20477 wxPyEndAllowThreads(__tstate);
20478 if (PyErr_Occurred()) SWIG_fail;
20479 }
20480 resultobj = SWIG_FromLong((long)result);
20481 {
20482 if (temp4)
20483 delete arg4;
20484 }
20485 return resultobj;
20486 fail:
20487 {
20488 if (temp4)
20489 delete arg4;
20490 }
20491 return NULL;
20492 }
20493
20494
20495 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20498 long arg2 ;
20499 long arg3 ;
20500 int result;
20501 PyObject * obj0 = 0 ;
20502 PyObject * obj1 = 0 ;
20503 PyObject * obj2 = 0 ;
20504 char *kwnames[] = {
20505 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20506 };
20507
20508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20511 arg2 = (long) SWIG_AsLong(obj1);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 arg3 = (long) SWIG_AsLong(obj2);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 {
20516 PyThreadState* __tstate = wxPyBeginAllowThreads();
20517 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20518
20519 wxPyEndAllowThreads(__tstate);
20520 if (PyErr_Occurred()) SWIG_fail;
20521 }
20522 resultobj = SWIG_FromInt((int)result);
20523 return resultobj;
20524 fail:
20525 return NULL;
20526 }
20527
20528
20529 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
20530 PyObject *resultobj;
20531 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20532 long arg2 ;
20533 long arg3 ;
20534 long arg4 ;
20535 bool result;
20536 PyObject * obj0 = 0 ;
20537 PyObject * obj1 = 0 ;
20538 PyObject * obj2 = 0 ;
20539 PyObject * obj3 = 0 ;
20540 char *kwnames[] = {
20541 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20542 };
20543
20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20547 arg2 = (long) SWIG_AsLong(obj1);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 arg3 = (long) SWIG_AsLong(obj2);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 arg4 = (long) SWIG_AsLong(obj3);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
20555 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20556
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 {
20561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20562 }
20563 return resultobj;
20564 fail:
20565 return NULL;
20566 }
20567
20568
20569 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
20570 PyObject *resultobj;
20571 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20572 long arg2 ;
20573 int arg3 ;
20574 int arg4 ;
20575 bool result;
20576 PyObject * obj0 = 0 ;
20577 PyObject * obj1 = 0 ;
20578 PyObject * obj2 = 0 ;
20579 PyObject * obj3 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20587 arg2 = (long) SWIG_AsLong(obj1);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 arg3 = (int) SWIG_AsInt(obj2);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 arg4 = (int) SWIG_AsInt(obj3);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20596
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
20600 {
20601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20602 }
20603 return resultobj;
20604 fail:
20605 return NULL;
20606 }
20607
20608
20609 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
20610 PyObject *resultobj;
20611 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20612 long arg2 ;
20613 wxString result;
20614 PyObject * obj0 = 0 ;
20615 PyObject * obj1 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self",(char *) "item", NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20623 arg2 = (long) SWIG_AsLong(obj1);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 {
20633 #if wxUSE_UNICODE
20634 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20635 #else
20636 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20637 #endif
20638 }
20639 return resultobj;
20640 fail:
20641 return NULL;
20642 }
20643
20644
20645 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
20646 PyObject *resultobj;
20647 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20648 long arg2 ;
20649 wxString *arg3 = 0 ;
20650 bool temp3 = False ;
20651 PyObject * obj0 = 0 ;
20652 PyObject * obj1 = 0 ;
20653 PyObject * obj2 = 0 ;
20654 char *kwnames[] = {
20655 (char *) "self",(char *) "item",(char *) "str", NULL
20656 };
20657
20658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20661 arg2 = (long) SWIG_AsLong(obj1);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 {
20664 arg3 = wxString_in_helper(obj2);
20665 if (arg3 == NULL) SWIG_fail;
20666 temp3 = True;
20667 }
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 Py_INCREF(Py_None); resultobj = Py_None;
20676 {
20677 if (temp3)
20678 delete arg3;
20679 }
20680 return resultobj;
20681 fail:
20682 {
20683 if (temp3)
20684 delete arg3;
20685 }
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20693 long arg2 ;
20694 long result;
20695 PyObject * obj0 = 0 ;
20696 PyObject * obj1 = 0 ;
20697 char *kwnames[] = {
20698 (char *) "self",(char *) "item", NULL
20699 };
20700
20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20704 arg2 = (long) SWIG_AsLong(obj1);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 {
20707 PyThreadState* __tstate = wxPyBeginAllowThreads();
20708 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20709
20710 wxPyEndAllowThreads(__tstate);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
20713 resultobj = SWIG_FromLong((long)result);
20714 return resultobj;
20715 fail:
20716 return NULL;
20717 }
20718
20719
20720 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
20721 PyObject *resultobj;
20722 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20723 long arg2 ;
20724 long arg3 ;
20725 bool result;
20726 PyObject * obj0 = 0 ;
20727 PyObject * obj1 = 0 ;
20728 PyObject * obj2 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "self",(char *) "item",(char *) "data", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20736 arg2 = (long) SWIG_AsLong(obj1);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 arg3 = (long) SWIG_AsLong(obj2);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 result = (bool)(arg1)->SetItemData(arg2,arg3);
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 {
20748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20749 }
20750 return resultobj;
20751 fail:
20752 return NULL;
20753 }
20754
20755
20756 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20757 PyObject *resultobj;
20758 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20759 long arg2 ;
20760 wxPoint result;
20761 PyObject * obj0 = 0 ;
20762 PyObject * obj1 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self",(char *) "item", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20770 arg2 = (long) SWIG_AsLong(obj1);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 {
20780 wxPoint * resultptr;
20781 resultptr = new wxPoint((wxPoint &) result);
20782 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20783 }
20784 return resultobj;
20785 fail:
20786 return NULL;
20787 }
20788
20789
20790 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
20791 PyObject *resultobj;
20792 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20793 long arg2 ;
20794 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20795 wxRect result;
20796 PyObject * obj0 = 0 ;
20797 PyObject * obj1 = 0 ;
20798 PyObject * obj2 = 0 ;
20799 char *kwnames[] = {
20800 (char *) "self",(char *) "item",(char *) "code", NULL
20801 };
20802
20803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20806 arg2 = (long) SWIG_AsLong(obj1);
20807 if (PyErr_Occurred()) SWIG_fail;
20808 if (obj2) {
20809 arg3 = (int) SWIG_AsInt(obj2);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 {
20813 PyThreadState* __tstate = wxPyBeginAllowThreads();
20814 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20815
20816 wxPyEndAllowThreads(__tstate);
20817 if (PyErr_Occurred()) SWIG_fail;
20818 }
20819 {
20820 wxRect * resultptr;
20821 resultptr = new wxRect((wxRect &) result);
20822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20823 }
20824 return resultobj;
20825 fail:
20826 return NULL;
20827 }
20828
20829
20830 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj;
20832 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20833 long arg2 ;
20834 wxPoint *arg3 = 0 ;
20835 bool result;
20836 wxPoint temp3 ;
20837 PyObject * obj0 = 0 ;
20838 PyObject * obj1 = 0 ;
20839 PyObject * obj2 = 0 ;
20840 char *kwnames[] = {
20841 (char *) "self",(char *) "item",(char *) "pos", NULL
20842 };
20843
20844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20847 arg2 = (long) SWIG_AsLong(obj1);
20848 if (PyErr_Occurred()) SWIG_fail;
20849 {
20850 arg3 = &temp3;
20851 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20852 }
20853 {
20854 PyThreadState* __tstate = wxPyBeginAllowThreads();
20855 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20856
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
20860 {
20861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20862 }
20863 return resultobj;
20864 fail:
20865 return NULL;
20866 }
20867
20868
20869 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
20870 PyObject *resultobj;
20871 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20872 int result;
20873 PyObject * obj0 = 0 ;
20874 char *kwnames[] = {
20875 (char *) "self", NULL
20876 };
20877
20878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20884
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 resultobj = SWIG_FromInt((int)result);
20889 return resultobj;
20890 fail:
20891 return NULL;
20892 }
20893
20894
20895 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
20896 PyObject *resultobj;
20897 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20898 int result;
20899 PyObject * obj0 = 0 ;
20900 char *kwnames[] = {
20901 (char *) "self", NULL
20902 };
20903
20904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 resultobj = SWIG_FromInt((int)result);
20915 return resultobj;
20916 fail:
20917 return NULL;
20918 }
20919
20920
20921 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
20922 PyObject *resultobj;
20923 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20924 wxSize result;
20925 PyObject * obj0 = 0 ;
20926 char *kwnames[] = {
20927 (char *) "self", NULL
20928 };
20929
20930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 {
20941 wxSize * resultptr;
20942 resultptr = new wxSize((wxSize &) result);
20943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20944 }
20945 return resultobj;
20946 fail:
20947 return NULL;
20948 }
20949
20950
20951 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
20952 PyObject *resultobj;
20953 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20954 int arg2 ;
20955 bool arg3 = (bool) False ;
20956 PyObject * obj0 = 0 ;
20957 PyObject * obj1 = 0 ;
20958 PyObject * obj2 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
20964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20966 arg2 = (int) SWIG_AsInt(obj1);
20967 if (PyErr_Occurred()) SWIG_fail;
20968 if (obj2) {
20969 arg3 = (bool) SWIG_AsBool(obj2);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 (arg1)->SetItemSpacing(arg2,arg3);
20975
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 Py_INCREF(Py_None); resultobj = Py_None;
20980 return resultobj;
20981 fail:
20982 return NULL;
20983 }
20984
20985
20986 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
20987 PyObject *resultobj;
20988 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20989 int result;
20990 PyObject * obj0 = 0 ;
20991 char *kwnames[] = {
20992 (char *) "self", NULL
20993 };
20994
20995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20998 {
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21001
21002 wxPyEndAllowThreads(__tstate);
21003 if (PyErr_Occurred()) SWIG_fail;
21004 }
21005 resultobj = SWIG_FromInt((int)result);
21006 return resultobj;
21007 fail:
21008 return NULL;
21009 }
21010
21011
21012 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21013 PyObject *resultobj;
21014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21015 wxColour result;
21016 PyObject * obj0 = 0 ;
21017 char *kwnames[] = {
21018 (char *) "self", NULL
21019 };
21020
21021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21024 {
21025 PyThreadState* __tstate = wxPyBeginAllowThreads();
21026 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21027
21028 wxPyEndAllowThreads(__tstate);
21029 if (PyErr_Occurred()) SWIG_fail;
21030 }
21031 {
21032 wxColour * resultptr;
21033 resultptr = new wxColour((wxColour &) result);
21034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21035 }
21036 return resultobj;
21037 fail:
21038 return NULL;
21039 }
21040
21041
21042 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21043 PyObject *resultobj;
21044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21045 wxColour *arg2 = 0 ;
21046 wxColour temp2 ;
21047 PyObject * obj0 = 0 ;
21048 PyObject * obj1 = 0 ;
21049 char *kwnames[] = {
21050 (char *) "self",(char *) "col", NULL
21051 };
21052
21053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21056 {
21057 arg2 = &temp2;
21058 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21059 }
21060 {
21061 PyThreadState* __tstate = wxPyBeginAllowThreads();
21062 (arg1)->SetTextColour((wxColour const &)*arg2);
21063
21064 wxPyEndAllowThreads(__tstate);
21065 if (PyErr_Occurred()) SWIG_fail;
21066 }
21067 Py_INCREF(Py_None); resultobj = Py_None;
21068 return resultobj;
21069 fail:
21070 return NULL;
21071 }
21072
21073
21074 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
21075 PyObject *resultobj;
21076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21077 long result;
21078 PyObject * obj0 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21086 {
21087 PyThreadState* __tstate = wxPyBeginAllowThreads();
21088 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21089
21090 wxPyEndAllowThreads(__tstate);
21091 if (PyErr_Occurred()) SWIG_fail;
21092 }
21093 resultobj = SWIG_FromLong((long)result);
21094 return resultobj;
21095 fail:
21096 return NULL;
21097 }
21098
21099
21100 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
21101 PyObject *resultobj;
21102 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21103 long arg2 ;
21104 bool arg3 = (bool) True ;
21105 PyObject * obj0 = 0 ;
21106 PyObject * obj1 = 0 ;
21107 PyObject * obj2 = 0 ;
21108 char *kwnames[] = {
21109 (char *) "self",(char *) "style",(char *) "add", NULL
21110 };
21111
21112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21115 arg2 = (long) SWIG_AsLong(obj1);
21116 if (PyErr_Occurred()) SWIG_fail;
21117 if (obj2) {
21118 arg3 = (bool) SWIG_AsBool(obj2);
21119 if (PyErr_Occurred()) SWIG_fail;
21120 }
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 (arg1)->SetSingleStyle(arg2,arg3);
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 Py_INCREF(Py_None); resultobj = Py_None;
21129 return resultobj;
21130 fail:
21131 return NULL;
21132 }
21133
21134
21135 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
21136 PyObject *resultobj;
21137 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21138 long arg2 ;
21139 PyObject * obj0 = 0 ;
21140 PyObject * obj1 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self",(char *) "style", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21148 arg2 = (long) SWIG_AsLong(obj1);
21149 if (PyErr_Occurred()) SWIG_fail;
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 (arg1)->SetWindowStyleFlag(arg2);
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 Py_INCREF(Py_None); resultobj = Py_None;
21158 return resultobj;
21159 fail:
21160 return NULL;
21161 }
21162
21163
21164 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj;
21166 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21167 long arg2 ;
21168 int arg3 = (int) wxLIST_NEXT_ALL ;
21169 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21170 long result;
21171 PyObject * obj0 = 0 ;
21172 PyObject * obj1 = 0 ;
21173 PyObject * obj2 = 0 ;
21174 PyObject * obj3 = 0 ;
21175 char *kwnames[] = {
21176 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21177 };
21178
21179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21182 arg2 = (long) SWIG_AsLong(obj1);
21183 if (PyErr_Occurred()) SWIG_fail;
21184 if (obj2) {
21185 arg3 = (int) SWIG_AsInt(obj2);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 }
21188 if (obj3) {
21189 arg4 = (int) SWIG_AsInt(obj3);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 resultobj = SWIG_FromLong((long)result);
21200 return resultobj;
21201 fail:
21202 return NULL;
21203 }
21204
21205
21206 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21207 PyObject *resultobj;
21208 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21209 int arg2 ;
21210 wxImageList *result;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "which", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21220 arg2 = (int) SWIG_AsInt(obj1);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 {
21223 PyThreadState* __tstate = wxPyBeginAllowThreads();
21224 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21225
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 {
21230 resultobj = wxPyMake_wxObject(result);
21231 }
21232 return resultobj;
21233 fail:
21234 return NULL;
21235 }
21236
21237
21238 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21239 PyObject *resultobj;
21240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21241 wxImageList *arg2 = (wxImageList *) 0 ;
21242 int arg3 ;
21243 PyObject * obj0 = 0 ;
21244 PyObject * obj1 = 0 ;
21245 PyObject * obj2 = 0 ;
21246 char *kwnames[] = {
21247 (char *) "self",(char *) "imageList",(char *) "which", NULL
21248 };
21249
21250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21255 arg3 = (int) SWIG_AsInt(obj2);
21256 if (PyErr_Occurred()) SWIG_fail;
21257 {
21258 PyThreadState* __tstate = wxPyBeginAllowThreads();
21259 (arg1)->SetImageList(arg2,arg3);
21260
21261 wxPyEndAllowThreads(__tstate);
21262 if (PyErr_Occurred()) SWIG_fail;
21263 }
21264 Py_INCREF(Py_None); resultobj = Py_None;
21265 return resultobj;
21266 fail:
21267 return NULL;
21268 }
21269
21270
21271 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21272 PyObject *resultobj;
21273 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21274 wxImageList *arg2 = (wxImageList *) 0 ;
21275 int arg3 ;
21276 PyObject * obj0 = 0 ;
21277 PyObject * obj1 = 0 ;
21278 PyObject * obj2 = 0 ;
21279 char *kwnames[] = {
21280 (char *) "self",(char *) "imageList",(char *) "which", NULL
21281 };
21282
21283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21287 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21288 arg3 = (int) SWIG_AsInt(obj2);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 {
21291 PyThreadState* __tstate = wxPyBeginAllowThreads();
21292 (arg1)->AssignImageList(arg2,arg3);
21293
21294 wxPyEndAllowThreads(__tstate);
21295 if (PyErr_Occurred()) SWIG_fail;
21296 }
21297 Py_INCREF(Py_None); resultobj = Py_None;
21298 return resultobj;
21299 fail:
21300 return NULL;
21301 }
21302
21303
21304 static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
21305 PyObject *resultobj;
21306 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21307 bool result;
21308 PyObject * obj0 = 0 ;
21309 char *kwnames[] = {
21310 (char *) "self", NULL
21311 };
21312
21313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21316 {
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 {
21324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21325 }
21326 return resultobj;
21327 fail:
21328 return NULL;
21329 }
21330
21331
21332 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj;
21334 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21335 bool result;
21336 PyObject * obj0 = 0 ;
21337 char *kwnames[] = {
21338 (char *) "self", NULL
21339 };
21340
21341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21347
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 {
21352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21353 }
21354 return resultobj;
21355 fail:
21356 return NULL;
21357 }
21358
21359
21360 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
21361 PyObject *resultobj;
21362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21363 long arg2 ;
21364 PyObject * obj0 = 0 ;
21365 PyObject * obj1 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self",(char *) "item", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21373 arg2 = (long) SWIG_AsLong(obj1);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 {
21376 PyThreadState* __tstate = wxPyBeginAllowThreads();
21377 (arg1)->RefreshItem(arg2);
21378
21379 wxPyEndAllowThreads(__tstate);
21380 if (PyErr_Occurred()) SWIG_fail;
21381 }
21382 Py_INCREF(Py_None); resultobj = Py_None;
21383 return resultobj;
21384 fail:
21385 return NULL;
21386 }
21387
21388
21389 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
21390 PyObject *resultobj;
21391 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21392 long arg2 ;
21393 long arg3 ;
21394 PyObject * obj0 = 0 ;
21395 PyObject * obj1 = 0 ;
21396 PyObject * obj2 = 0 ;
21397 char *kwnames[] = {
21398 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21399 };
21400
21401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21404 arg2 = (long) SWIG_AsLong(obj1);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 arg3 = (long) SWIG_AsLong(obj2);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 {
21409 PyThreadState* __tstate = wxPyBeginAllowThreads();
21410 (arg1)->RefreshItems(arg2,arg3);
21411
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 Py_INCREF(Py_None); resultobj = Py_None;
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj;
21424 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21425 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21426 bool result;
21427 PyObject * obj0 = 0 ;
21428 PyObject * obj1 = 0 ;
21429 char *kwnames[] = {
21430 (char *) "self",(char *) "flag", NULL
21431 };
21432
21433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21436 if (obj1) {
21437 arg2 = (int) SWIG_AsInt(obj1);
21438 if (PyErr_Occurred()) SWIG_fail;
21439 }
21440 {
21441 PyThreadState* __tstate = wxPyBeginAllowThreads();
21442 result = (bool)(arg1)->Arrange(arg2);
21443
21444 wxPyEndAllowThreads(__tstate);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 }
21447 {
21448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21449 }
21450 return resultobj;
21451 fail:
21452 return NULL;
21453 }
21454
21455
21456 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
21457 PyObject *resultobj;
21458 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21459 long arg2 ;
21460 bool result;
21461 PyObject * obj0 = 0 ;
21462 PyObject * obj1 = 0 ;
21463 char *kwnames[] = {
21464 (char *) "self",(char *) "item", NULL
21465 };
21466
21467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21470 arg2 = (long) SWIG_AsLong(obj1);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 {
21473 PyThreadState* __tstate = wxPyBeginAllowThreads();
21474 result = (bool)(arg1)->DeleteItem(arg2);
21475
21476 wxPyEndAllowThreads(__tstate);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 {
21480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21481 }
21482 return resultobj;
21483 fail:
21484 return NULL;
21485 }
21486
21487
21488 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
21489 PyObject *resultobj;
21490 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21491 bool result;
21492 PyObject * obj0 = 0 ;
21493 char *kwnames[] = {
21494 (char *) "self", NULL
21495 };
21496
21497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = (bool)(arg1)->DeleteAllItems();
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 {
21508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21509 }
21510 return resultobj;
21511 fail:
21512 return NULL;
21513 }
21514
21515
21516 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj;
21518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21519 int arg2 ;
21520 bool result;
21521 PyObject * obj0 = 0 ;
21522 PyObject * obj1 = 0 ;
21523 char *kwnames[] = {
21524 (char *) "self",(char *) "col", NULL
21525 };
21526
21527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21530 arg2 = (int) SWIG_AsInt(obj1);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 {
21533 PyThreadState* __tstate = wxPyBeginAllowThreads();
21534 result = (bool)(arg1)->DeleteColumn(arg2);
21535
21536 wxPyEndAllowThreads(__tstate);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
21539 {
21540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21541 }
21542 return resultobj;
21543 fail:
21544 return NULL;
21545 }
21546
21547
21548 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
21549 PyObject *resultobj;
21550 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21551 bool result;
21552 PyObject * obj0 = 0 ;
21553 char *kwnames[] = {
21554 (char *) "self", NULL
21555 };
21556
21557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21560 {
21561 PyThreadState* __tstate = wxPyBeginAllowThreads();
21562 result = (bool)(arg1)->DeleteAllColumns();
21563
21564 wxPyEndAllowThreads(__tstate);
21565 if (PyErr_Occurred()) SWIG_fail;
21566 }
21567 {
21568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21569 }
21570 return resultobj;
21571 fail:
21572 return NULL;
21573 }
21574
21575
21576 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
21577 PyObject *resultobj;
21578 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21579 PyObject * obj0 = 0 ;
21580 char *kwnames[] = {
21581 (char *) "self", NULL
21582 };
21583
21584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21587 {
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 (arg1)->ClearAll();
21590
21591 wxPyEndAllowThreads(__tstate);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 }
21594 Py_INCREF(Py_None); resultobj = Py_None;
21595 return resultobj;
21596 fail:
21597 return NULL;
21598 }
21599
21600
21601 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21602 PyObject *resultobj;
21603 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21604 long arg2 ;
21605 PyObject * obj0 = 0 ;
21606 PyObject * obj1 = 0 ;
21607 char *kwnames[] = {
21608 (char *) "self",(char *) "item", NULL
21609 };
21610
21611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21614 arg2 = (long) SWIG_AsLong(obj1);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 {
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 (arg1)->EditLabel(arg2);
21619
21620 wxPyEndAllowThreads(__tstate);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 }
21623 Py_INCREF(Py_None); resultobj = Py_None;
21624 return resultobj;
21625 fail:
21626 return NULL;
21627 }
21628
21629
21630 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
21631 PyObject *resultobj;
21632 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21633 long arg2 ;
21634 bool result;
21635 PyObject * obj0 = 0 ;
21636 PyObject * obj1 = 0 ;
21637 char *kwnames[] = {
21638 (char *) "self",(char *) "item", NULL
21639 };
21640
21641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21644 arg2 = (long) SWIG_AsLong(obj1);
21645 if (PyErr_Occurred()) SWIG_fail;
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 result = (bool)(arg1)->EnsureVisible(arg2);
21649
21650 wxPyEndAllowThreads(__tstate);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 }
21653 {
21654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21655 }
21656 return resultobj;
21657 fail:
21658 return NULL;
21659 }
21660
21661
21662 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
21663 PyObject *resultobj;
21664 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21665 long arg2 ;
21666 wxString *arg3 = 0 ;
21667 bool arg4 = (bool) False ;
21668 long result;
21669 bool temp3 = False ;
21670 PyObject * obj0 = 0 ;
21671 PyObject * obj1 = 0 ;
21672 PyObject * obj2 = 0 ;
21673 PyObject * obj3 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21681 arg2 = (long) SWIG_AsLong(obj1);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 {
21684 arg3 = wxString_in_helper(obj2);
21685 if (arg3 == NULL) SWIG_fail;
21686 temp3 = True;
21687 }
21688 if (obj3) {
21689 arg4 = (bool) SWIG_AsBool(obj3);
21690 if (PyErr_Occurred()) SWIG_fail;
21691 }
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21695
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 resultobj = SWIG_FromLong((long)result);
21700 {
21701 if (temp3)
21702 delete arg3;
21703 }
21704 return resultobj;
21705 fail:
21706 {
21707 if (temp3)
21708 delete arg3;
21709 }
21710 return NULL;
21711 }
21712
21713
21714 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
21715 PyObject *resultobj;
21716 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21717 long arg2 ;
21718 long arg3 ;
21719 long result;
21720 PyObject * obj0 = 0 ;
21721 PyObject * obj1 = 0 ;
21722 PyObject * obj2 = 0 ;
21723 char *kwnames[] = {
21724 (char *) "self",(char *) "start",(char *) "data", NULL
21725 };
21726
21727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21730 arg2 = (long) SWIG_AsLong(obj1);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 arg3 = (long) SWIG_AsLong(obj2);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 {
21735 PyThreadState* __tstate = wxPyBeginAllowThreads();
21736 result = (long)(arg1)->FindItem(arg2,arg3);
21737
21738 wxPyEndAllowThreads(__tstate);
21739 if (PyErr_Occurred()) SWIG_fail;
21740 }
21741 resultobj = SWIG_FromLong((long)result);
21742 return resultobj;
21743 fail:
21744 return NULL;
21745 }
21746
21747
21748 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
21749 PyObject *resultobj;
21750 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21751 long arg2 ;
21752 wxPoint *arg3 = 0 ;
21753 int arg4 ;
21754 long result;
21755 wxPoint temp3 ;
21756 PyObject * obj0 = 0 ;
21757 PyObject * obj1 = 0 ;
21758 PyObject * obj2 = 0 ;
21759 PyObject * obj3 = 0 ;
21760 char *kwnames[] = {
21761 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21762 };
21763
21764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21767 arg2 = (long) SWIG_AsLong(obj1);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 {
21770 arg3 = &temp3;
21771 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21772 }
21773 arg4 = (int) SWIG_AsInt(obj3);
21774 if (PyErr_Occurred()) SWIG_fail;
21775 {
21776 PyThreadState* __tstate = wxPyBeginAllowThreads();
21777 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21778
21779 wxPyEndAllowThreads(__tstate);
21780 if (PyErr_Occurred()) SWIG_fail;
21781 }
21782 resultobj = SWIG_FromLong((long)result);
21783 return resultobj;
21784 fail:
21785 return NULL;
21786 }
21787
21788
21789 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
21790 PyObject *resultobj;
21791 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21792 wxPoint *arg2 = 0 ;
21793 int *arg3 = 0 ;
21794 long result;
21795 wxPoint temp2 ;
21796 int temp3 ;
21797 PyObject * obj0 = 0 ;
21798 PyObject * obj1 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self",(char *) "point", NULL
21801 };
21802
21803 arg3 = &temp3;
21804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21807 {
21808 arg2 = &temp2;
21809 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21810 }
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
21813 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 resultobj = SWIG_FromLong((long)result);
21819 {
21820 PyObject *o = PyInt_FromLong((long) (*arg3));
21821 resultobj = t_output_helper(resultobj,o);
21822 }
21823 return resultobj;
21824 fail:
21825 return NULL;
21826 }
21827
21828
21829 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
21830 PyObject *resultobj;
21831 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21832 wxListItem *arg2 = 0 ;
21833 long result;
21834 PyObject * obj0 = 0 ;
21835 PyObject * obj1 = 0 ;
21836 char *kwnames[] = {
21837 (char *) "self",(char *) "info", NULL
21838 };
21839
21840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21844 SWIG_POINTER_EXCEPTION | 0)) == -1)
21845 SWIG_fail;
21846 if (arg2 == NULL) {
21847 PyErr_SetString(PyExc_TypeError,"null reference");
21848 SWIG_fail;
21849 }
21850 {
21851 PyThreadState* __tstate = wxPyBeginAllowThreads();
21852 result = (long)(arg1)->InsertItem(*arg2);
21853
21854 wxPyEndAllowThreads(__tstate);
21855 if (PyErr_Occurred()) SWIG_fail;
21856 }
21857 resultobj = SWIG_FromLong((long)result);
21858 return resultobj;
21859 fail:
21860 return NULL;
21861 }
21862
21863
21864 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
21865 PyObject *resultobj;
21866 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21867 long arg2 ;
21868 wxString *arg3 = 0 ;
21869 long result;
21870 bool temp3 = False ;
21871 PyObject * obj0 = 0 ;
21872 PyObject * obj1 = 0 ;
21873 PyObject * obj2 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "self",(char *) "index",(char *) "label", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21881 arg2 = (long) SWIG_AsLong(obj1);
21882 if (PyErr_Occurred()) SWIG_fail;
21883 {
21884 arg3 = wxString_in_helper(obj2);
21885 if (arg3 == NULL) SWIG_fail;
21886 temp3 = True;
21887 }
21888 {
21889 PyThreadState* __tstate = wxPyBeginAllowThreads();
21890 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21891
21892 wxPyEndAllowThreads(__tstate);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 }
21895 resultobj = SWIG_FromLong((long)result);
21896 {
21897 if (temp3)
21898 delete arg3;
21899 }
21900 return resultobj;
21901 fail:
21902 {
21903 if (temp3)
21904 delete arg3;
21905 }
21906 return NULL;
21907 }
21908
21909
21910 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21913 long arg2 ;
21914 int arg3 ;
21915 long result;
21916 PyObject * obj0 = 0 ;
21917 PyObject * obj1 = 0 ;
21918 PyObject * obj2 = 0 ;
21919 char *kwnames[] = {
21920 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21921 };
21922
21923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21926 arg2 = (long) SWIG_AsLong(obj1);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 arg3 = (int) SWIG_AsInt(obj2);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 {
21931 PyThreadState* __tstate = wxPyBeginAllowThreads();
21932 result = (long)(arg1)->InsertItem(arg2,arg3);
21933
21934 wxPyEndAllowThreads(__tstate);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 }
21937 resultobj = SWIG_FromLong((long)result);
21938 return resultobj;
21939 fail:
21940 return NULL;
21941 }
21942
21943
21944 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
21945 PyObject *resultobj;
21946 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21947 long arg2 ;
21948 wxString *arg3 = 0 ;
21949 int arg4 ;
21950 long result;
21951 bool temp3 = False ;
21952 PyObject * obj0 = 0 ;
21953 PyObject * obj1 = 0 ;
21954 PyObject * obj2 = 0 ;
21955 PyObject * obj3 = 0 ;
21956 char *kwnames[] = {
21957 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21958 };
21959
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21963 arg2 = (long) SWIG_AsLong(obj1);
21964 if (PyErr_Occurred()) SWIG_fail;
21965 {
21966 arg3 = wxString_in_helper(obj2);
21967 if (arg3 == NULL) SWIG_fail;
21968 temp3 = True;
21969 }
21970 arg4 = (int) SWIG_AsInt(obj3);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 resultobj = SWIG_FromLong((long)result);
21980 {
21981 if (temp3)
21982 delete arg3;
21983 }
21984 return resultobj;
21985 fail:
21986 {
21987 if (temp3)
21988 delete arg3;
21989 }
21990 return NULL;
21991 }
21992
21993
21994 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21995 PyObject *resultobj;
21996 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21997 long arg2 ;
21998 wxListItem *arg3 = 0 ;
21999 long result;
22000 PyObject * obj0 = 0 ;
22001 PyObject * obj1 = 0 ;
22002 PyObject * obj2 = 0 ;
22003 char *kwnames[] = {
22004 (char *) "self",(char *) "col",(char *) "info", NULL
22005 };
22006
22007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22010 arg2 = (long) SWIG_AsLong(obj1);
22011 if (PyErr_Occurred()) SWIG_fail;
22012 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22013 SWIG_POINTER_EXCEPTION | 0)) == -1)
22014 SWIG_fail;
22015 if (arg3 == NULL) {
22016 PyErr_SetString(PyExc_TypeError,"null reference");
22017 SWIG_fail;
22018 }
22019 {
22020 PyThreadState* __tstate = wxPyBeginAllowThreads();
22021 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22022
22023 wxPyEndAllowThreads(__tstate);
22024 if (PyErr_Occurred()) SWIG_fail;
22025 }
22026 resultobj = SWIG_FromLong((long)result);
22027 return resultobj;
22028 fail:
22029 return NULL;
22030 }
22031
22032
22033 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
22034 PyObject *resultobj;
22035 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22036 long arg2 ;
22037 wxString *arg3 = 0 ;
22038 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22039 int arg5 = (int) -1 ;
22040 long result;
22041 bool temp3 = False ;
22042 PyObject * obj0 = 0 ;
22043 PyObject * obj1 = 0 ;
22044 PyObject * obj2 = 0 ;
22045 PyObject * obj3 = 0 ;
22046 PyObject * obj4 = 0 ;
22047 char *kwnames[] = {
22048 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22049 };
22050
22051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22054 arg2 = (long) SWIG_AsLong(obj1);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 {
22057 arg3 = wxString_in_helper(obj2);
22058 if (arg3 == NULL) SWIG_fail;
22059 temp3 = True;
22060 }
22061 if (obj3) {
22062 arg4 = (int) SWIG_AsInt(obj3);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 }
22065 if (obj4) {
22066 arg5 = (int) SWIG_AsInt(obj4);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 {
22070 PyThreadState* __tstate = wxPyBeginAllowThreads();
22071 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22072
22073 wxPyEndAllowThreads(__tstate);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 }
22076 resultobj = SWIG_FromLong((long)result);
22077 {
22078 if (temp3)
22079 delete arg3;
22080 }
22081 return resultobj;
22082 fail:
22083 {
22084 if (temp3)
22085 delete arg3;
22086 }
22087 return NULL;
22088 }
22089
22090
22091 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
22092 PyObject *resultobj;
22093 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22094 long arg2 ;
22095 PyObject * obj0 = 0 ;
22096 PyObject * obj1 = 0 ;
22097 char *kwnames[] = {
22098 (char *) "self",(char *) "count", NULL
22099 };
22100
22101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22104 arg2 = (long) SWIG_AsLong(obj1);
22105 if (PyErr_Occurred()) SWIG_fail;
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 (arg1)->SetItemCount(arg2);
22109
22110 wxPyEndAllowThreads(__tstate);
22111 if (PyErr_Occurred()) SWIG_fail;
22112 }
22113 Py_INCREF(Py_None); resultobj = Py_None;
22114 return resultobj;
22115 fail:
22116 return NULL;
22117 }
22118
22119
22120 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
22121 PyObject *resultobj;
22122 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22123 int arg2 ;
22124 int arg3 ;
22125 bool result;
22126 PyObject * obj0 = 0 ;
22127 PyObject * obj1 = 0 ;
22128 PyObject * obj2 = 0 ;
22129 char *kwnames[] = {
22130 (char *) "self",(char *) "dx",(char *) "dy", NULL
22131 };
22132
22133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22136 arg2 = (int) SWIG_AsInt(obj1);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 arg3 = (int) SWIG_AsInt(obj2);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 {
22141 PyThreadState* __tstate = wxPyBeginAllowThreads();
22142 result = (bool)(arg1)->ScrollList(arg2,arg3);
22143
22144 wxPyEndAllowThreads(__tstate);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 }
22147 {
22148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22149 }
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj;
22158 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22159 long arg2 ;
22160 wxColour *arg3 = 0 ;
22161 wxColour temp3 ;
22162 PyObject * obj0 = 0 ;
22163 PyObject * obj1 = 0 ;
22164 PyObject * obj2 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self",(char *) "item",(char *) "col", NULL
22167 };
22168
22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22172 arg2 = (long) SWIG_AsLong(obj1);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 {
22175 arg3 = &temp3;
22176 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22177 }
22178 {
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
22180 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22181
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
22185 Py_INCREF(Py_None); resultobj = Py_None;
22186 return resultobj;
22187 fail:
22188 return NULL;
22189 }
22190
22191
22192 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
22193 PyObject *resultobj;
22194 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22195 long arg2 ;
22196 wxColour result;
22197 PyObject * obj0 = 0 ;
22198 PyObject * obj1 = 0 ;
22199 char *kwnames[] = {
22200 (char *) "self",(char *) "item", NULL
22201 };
22202
22203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22206 arg2 = (long) SWIG_AsLong(obj1);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 {
22216 wxColour * resultptr;
22217 resultptr = new wxColour((wxColour &) result);
22218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22219 }
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22229 long arg2 ;
22230 wxColour *arg3 = 0 ;
22231 wxColour temp3 ;
22232 PyObject * obj0 = 0 ;
22233 PyObject * obj1 = 0 ;
22234 PyObject * obj2 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "self",(char *) "item",(char *) "col", NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22242 arg2 = (long) SWIG_AsLong(obj1);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 {
22245 arg3 = &temp3;
22246 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22247 }
22248 {
22249 PyThreadState* __tstate = wxPyBeginAllowThreads();
22250 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22251
22252 wxPyEndAllowThreads(__tstate);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
22255 Py_INCREF(Py_None); resultobj = Py_None;
22256 return resultobj;
22257 fail:
22258 return NULL;
22259 }
22260
22261
22262 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22263 PyObject *resultobj;
22264 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22265 long arg2 ;
22266 wxColour result;
22267 PyObject * obj0 = 0 ;
22268 PyObject * obj1 = 0 ;
22269 char *kwnames[] = {
22270 (char *) "self",(char *) "item", NULL
22271 };
22272
22273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22276 arg2 = (long) SWIG_AsLong(obj1);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 {
22279 PyThreadState* __tstate = wxPyBeginAllowThreads();
22280 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22281
22282 wxPyEndAllowThreads(__tstate);
22283 if (PyErr_Occurred()) SWIG_fail;
22284 }
22285 {
22286 wxColour * resultptr;
22287 resultptr = new wxColour((wxColour &) result);
22288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22289 }
22290 return resultobj;
22291 fail:
22292 return NULL;
22293 }
22294
22295
22296 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
22297 PyObject *resultobj;
22298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22299 PyObject *arg2 = (PyObject *) 0 ;
22300 bool result;
22301 PyObject * obj0 = 0 ;
22302 PyObject * obj1 = 0 ;
22303 char *kwnames[] = {
22304 (char *) "self",(char *) "func", NULL
22305 };
22306
22307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22310 arg2 = obj1;
22311 {
22312 PyThreadState* __tstate = wxPyBeginAllowThreads();
22313 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22314
22315 wxPyEndAllowThreads(__tstate);
22316 if (PyErr_Occurred()) SWIG_fail;
22317 }
22318 {
22319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22320 }
22321 return resultobj;
22322 fail:
22323 return NULL;
22324 }
22325
22326
22327 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
22328 PyObject *resultobj;
22329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22330 wxWindow *result;
22331 PyObject * obj0 = 0 ;
22332 char *kwnames[] = {
22333 (char *) "self", NULL
22334 };
22335
22336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22339 {
22340 PyThreadState* __tstate = wxPyBeginAllowThreads();
22341 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22342
22343 wxPyEndAllowThreads(__tstate);
22344 if (PyErr_Occurred()) SWIG_fail;
22345 }
22346 {
22347 resultobj = wxPyMake_wxObject(result);
22348 }
22349 return resultobj;
22350 fail:
22351 return NULL;
22352 }
22353
22354
22355 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
22356 PyObject *obj;
22357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22358 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22359 Py_INCREF(obj);
22360 return Py_BuildValue((char *)"");
22361 }
22362 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
22363 PyObject *resultobj;
22364 wxWindow *arg1 = (wxWindow *) 0 ;
22365 int arg2 = (int) -1 ;
22366 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22367 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22368 wxSize const &arg4_defvalue = wxDefaultSize ;
22369 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22370 long arg5 = (long) wxLC_REPORT ;
22371 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22372 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22373 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22374 wxString *arg7 = (wxString *) &arg7_defvalue ;
22375 wxListView *result;
22376 wxPoint temp3 ;
22377 wxSize temp4 ;
22378 bool temp7 = False ;
22379 PyObject * obj0 = 0 ;
22380 PyObject * obj1 = 0 ;
22381 PyObject * obj2 = 0 ;
22382 PyObject * obj3 = 0 ;
22383 PyObject * obj4 = 0 ;
22384 PyObject * obj5 = 0 ;
22385 PyObject * obj6 = 0 ;
22386 char *kwnames[] = {
22387 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22388 };
22389
22390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22393 if (obj1) {
22394 arg2 = (int) SWIG_AsInt(obj1);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 if (obj2) {
22398 {
22399 arg3 = &temp3;
22400 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22401 }
22402 }
22403 if (obj3) {
22404 {
22405 arg4 = &temp4;
22406 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22407 }
22408 }
22409 if (obj4) {
22410 arg5 = (long) SWIG_AsLong(obj4);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 if (obj5) {
22414 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22415 SWIG_POINTER_EXCEPTION | 0)) == -1)
22416 SWIG_fail;
22417 if (arg6 == NULL) {
22418 PyErr_SetString(PyExc_TypeError,"null reference");
22419 SWIG_fail;
22420 }
22421 }
22422 if (obj6) {
22423 {
22424 arg7 = wxString_in_helper(obj6);
22425 if (arg7 == NULL) SWIG_fail;
22426 temp7 = True;
22427 }
22428 }
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22432
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22437 {
22438 if (temp7)
22439 delete arg7;
22440 }
22441 return resultobj;
22442 fail:
22443 {
22444 if (temp7)
22445 delete arg7;
22446 }
22447 return NULL;
22448 }
22449
22450
22451 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj;
22453 wxListView *result;
22454 char *kwnames[] = {
22455 NULL
22456 };
22457
22458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22459 {
22460 PyThreadState* __tstate = wxPyBeginAllowThreads();
22461 result = (wxListView *)new wxListView();
22462
22463 wxPyEndAllowThreads(__tstate);
22464 if (PyErr_Occurred()) SWIG_fail;
22465 }
22466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22467 return resultobj;
22468 fail:
22469 return NULL;
22470 }
22471
22472
22473 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
22474 PyObject *resultobj;
22475 wxListView *arg1 = (wxListView *) 0 ;
22476 wxWindow *arg2 = (wxWindow *) 0 ;
22477 int arg3 = (int) -1 ;
22478 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22479 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22480 wxSize const &arg5_defvalue = wxDefaultSize ;
22481 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22482 long arg6 = (long) wxLC_REPORT ;
22483 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22484 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22485 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22486 wxString *arg8 = (wxString *) &arg8_defvalue ;
22487 bool result;
22488 wxPoint temp4 ;
22489 wxSize temp5 ;
22490 bool temp8 = False ;
22491 PyObject * obj0 = 0 ;
22492 PyObject * obj1 = 0 ;
22493 PyObject * obj2 = 0 ;
22494 PyObject * obj3 = 0 ;
22495 PyObject * obj4 = 0 ;
22496 PyObject * obj5 = 0 ;
22497 PyObject * obj6 = 0 ;
22498 PyObject * obj7 = 0 ;
22499 char *kwnames[] = {
22500 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22501 };
22502
22503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22508 if (obj2) {
22509 arg3 = (int) SWIG_AsInt(obj2);
22510 if (PyErr_Occurred()) SWIG_fail;
22511 }
22512 if (obj3) {
22513 {
22514 arg4 = &temp4;
22515 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22516 }
22517 }
22518 if (obj4) {
22519 {
22520 arg5 = &temp5;
22521 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22522 }
22523 }
22524 if (obj5) {
22525 arg6 = (long) SWIG_AsLong(obj5);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 if (obj6) {
22529 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22530 SWIG_POINTER_EXCEPTION | 0)) == -1)
22531 SWIG_fail;
22532 if (arg7 == NULL) {
22533 PyErr_SetString(PyExc_TypeError,"null reference");
22534 SWIG_fail;
22535 }
22536 }
22537 if (obj7) {
22538 {
22539 arg8 = wxString_in_helper(obj7);
22540 if (arg8 == NULL) SWIG_fail;
22541 temp8 = True;
22542 }
22543 }
22544 {
22545 PyThreadState* __tstate = wxPyBeginAllowThreads();
22546 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22547
22548 wxPyEndAllowThreads(__tstate);
22549 if (PyErr_Occurred()) SWIG_fail;
22550 }
22551 {
22552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22553 }
22554 {
22555 if (temp8)
22556 delete arg8;
22557 }
22558 return resultobj;
22559 fail:
22560 {
22561 if (temp8)
22562 delete arg8;
22563 }
22564 return NULL;
22565 }
22566
22567
22568 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj;
22570 wxListView *arg1 = (wxListView *) 0 ;
22571 long arg2 ;
22572 bool arg3 = (bool) True ;
22573 PyObject * obj0 = 0 ;
22574 PyObject * obj1 = 0 ;
22575 PyObject * obj2 = 0 ;
22576 char *kwnames[] = {
22577 (char *) "self",(char *) "n",(char *) "on", NULL
22578 };
22579
22580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22583 arg2 = (long) SWIG_AsLong(obj1);
22584 if (PyErr_Occurred()) SWIG_fail;
22585 if (obj2) {
22586 arg3 = (bool) SWIG_AsBool(obj2);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 {
22590 PyThreadState* __tstate = wxPyBeginAllowThreads();
22591 (arg1)->Select(arg2,arg3);
22592
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 Py_INCREF(Py_None); resultobj = Py_None;
22597 return resultobj;
22598 fail:
22599 return NULL;
22600 }
22601
22602
22603 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
22604 PyObject *resultobj;
22605 wxListView *arg1 = (wxListView *) 0 ;
22606 long arg2 ;
22607 PyObject * obj0 = 0 ;
22608 PyObject * obj1 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self",(char *) "index", NULL
22611 };
22612
22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22616 arg2 = (long) SWIG_AsLong(obj1);
22617 if (PyErr_Occurred()) SWIG_fail;
22618 {
22619 PyThreadState* __tstate = wxPyBeginAllowThreads();
22620 (arg1)->Focus(arg2);
22621
22622 wxPyEndAllowThreads(__tstate);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 Py_INCREF(Py_None); resultobj = Py_None;
22626 return resultobj;
22627 fail:
22628 return NULL;
22629 }
22630
22631
22632 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
22633 PyObject *resultobj;
22634 wxListView *arg1 = (wxListView *) 0 ;
22635 long result;
22636 PyObject * obj0 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self", NULL
22639 };
22640
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22644 {
22645 PyThreadState* __tstate = wxPyBeginAllowThreads();
22646 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22647
22648 wxPyEndAllowThreads(__tstate);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
22651 resultobj = SWIG_FromLong((long)result);
22652 return resultobj;
22653 fail:
22654 return NULL;
22655 }
22656
22657
22658 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22659 PyObject *resultobj;
22660 wxListView *arg1 = (wxListView *) 0 ;
22661 long arg2 ;
22662 long result;
22663 PyObject * obj0 = 0 ;
22664 PyObject * obj1 = 0 ;
22665 char *kwnames[] = {
22666 (char *) "self",(char *) "item", NULL
22667 };
22668
22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22672 arg2 = (long) SWIG_AsLong(obj1);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 {
22675 PyThreadState* __tstate = wxPyBeginAllowThreads();
22676 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22677
22678 wxPyEndAllowThreads(__tstate);
22679 if (PyErr_Occurred()) SWIG_fail;
22680 }
22681 resultobj = SWIG_FromLong((long)result);
22682 return resultobj;
22683 fail:
22684 return NULL;
22685 }
22686
22687
22688 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22689 PyObject *resultobj;
22690 wxListView *arg1 = (wxListView *) 0 ;
22691 long result;
22692 PyObject * obj0 = 0 ;
22693 char *kwnames[] = {
22694 (char *) "self", NULL
22695 };
22696
22697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
22707 resultobj = SWIG_FromLong((long)result);
22708 return resultobj;
22709 fail:
22710 return NULL;
22711 }
22712
22713
22714 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22715 PyObject *resultobj;
22716 wxListView *arg1 = (wxListView *) 0 ;
22717 long arg2 ;
22718 bool result;
22719 PyObject * obj0 = 0 ;
22720 PyObject * obj1 = 0 ;
22721 char *kwnames[] = {
22722 (char *) "self",(char *) "index", NULL
22723 };
22724
22725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22728 arg2 = (long) SWIG_AsLong(obj1);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 result = (bool)(arg1)->IsSelected(arg2);
22733
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 {
22738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22739 }
22740 return resultobj;
22741 fail:
22742 return NULL;
22743 }
22744
22745
22746 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
22747 PyObject *resultobj;
22748 wxListView *arg1 = (wxListView *) 0 ;
22749 int arg2 ;
22750 int arg3 ;
22751 PyObject * obj0 = 0 ;
22752 PyObject * obj1 = 0 ;
22753 PyObject * obj2 = 0 ;
22754 char *kwnames[] = {
22755 (char *) "self",(char *) "col",(char *) "image", NULL
22756 };
22757
22758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22761 arg2 = (int) SWIG_AsInt(obj1);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 arg3 = (int) SWIG_AsInt(obj2);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 (arg1)->SetColumnImage(arg2,arg3);
22768
22769 wxPyEndAllowThreads(__tstate);
22770 if (PyErr_Occurred()) SWIG_fail;
22771 }
22772 Py_INCREF(Py_None); resultobj = Py_None;
22773 return resultobj;
22774 fail:
22775 return NULL;
22776 }
22777
22778
22779 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
22780 PyObject *resultobj;
22781 wxListView *arg1 = (wxListView *) 0 ;
22782 int arg2 ;
22783 PyObject * obj0 = 0 ;
22784 PyObject * obj1 = 0 ;
22785 char *kwnames[] = {
22786 (char *) "self",(char *) "col", NULL
22787 };
22788
22789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22792 arg2 = (int) SWIG_AsInt(obj1);
22793 if (PyErr_Occurred()) SWIG_fail;
22794 {
22795 PyThreadState* __tstate = wxPyBeginAllowThreads();
22796 (arg1)->ClearColumnImage(arg2);
22797
22798 wxPyEndAllowThreads(__tstate);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 }
22801 Py_INCREF(Py_None); resultobj = Py_None;
22802 return resultobj;
22803 fail:
22804 return NULL;
22805 }
22806
22807
22808 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
22809 PyObject *obj;
22810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22811 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22812 Py_INCREF(obj);
22813 return Py_BuildValue((char *)"");
22814 }
22815 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
22816 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22817 return 1;
22818 }
22819
22820
22821 static PyObject *_wrap_TreeCtrlNameStr_get() {
22822 PyObject *pyobj;
22823
22824 {
22825 #if wxUSE_UNICODE
22826 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22827 #else
22828 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22829 #endif
22830 }
22831 return pyobj;
22832 }
22833
22834
22835 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxTreeItemId *result;
22838 char *kwnames[] = {
22839 NULL
22840 };
22841
22842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22843 {
22844 PyThreadState* __tstate = wxPyBeginAllowThreads();
22845 result = (wxTreeItemId *)new wxTreeItemId();
22846
22847 wxPyEndAllowThreads(__tstate);
22848 if (PyErr_Occurred()) SWIG_fail;
22849 }
22850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
22851 return resultobj;
22852 fail:
22853 return NULL;
22854 }
22855
22856
22857 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
22858 PyObject *resultobj;
22859 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22860 PyObject * obj0 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "self", NULL
22863 };
22864
22865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22868 {
22869 PyThreadState* __tstate = wxPyBeginAllowThreads();
22870 delete arg1;
22871
22872 wxPyEndAllowThreads(__tstate);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 }
22875 Py_INCREF(Py_None); resultobj = Py_None;
22876 return resultobj;
22877 fail:
22878 return NULL;
22879 }
22880
22881
22882 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
22883 PyObject *resultobj;
22884 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22885 bool result;
22886 PyObject * obj0 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self", NULL
22889 };
22890
22891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22897
22898 wxPyEndAllowThreads(__tstate);
22899 if (PyErr_Occurred()) SWIG_fail;
22900 }
22901 {
22902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22903 }
22904 return resultobj;
22905 fail:
22906 return NULL;
22907 }
22908
22909
22910 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22913 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22914 bool result;
22915 PyObject * obj0 = 0 ;
22916 PyObject * obj1 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "self",(char *) "other", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 {
22934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22935 }
22936 return resultobj;
22937 fail:
22938 return NULL;
22939 }
22940
22941
22942 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
22943 PyObject *resultobj;
22944 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22945 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22946 bool result;
22947 PyObject * obj0 = 0 ;
22948 PyObject * obj1 = 0 ;
22949 char *kwnames[] = {
22950 (char *) "self",(char *) "other", NULL
22951 };
22952
22953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
22961
22962 wxPyEndAllowThreads(__tstate);
22963 if (PyErr_Occurred()) SWIG_fail;
22964 }
22965 {
22966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22967 }
22968 return resultobj;
22969 fail:
22970 return NULL;
22971 }
22972
22973
22974 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
22975 PyObject *resultobj;
22976 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22977 void *arg2 = (void *) 0 ;
22978 PyObject * obj0 = 0 ;
22979 PyObject * obj1 = 0 ;
22980 char *kwnames[] = {
22981 (char *) "self",(char *) "m_pItem", NULL
22982 };
22983
22984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22987 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22988 if (arg1) (arg1)->m_pItem = arg2;
22989
22990 Py_INCREF(Py_None); resultobj = Py_None;
22991 return resultobj;
22992 fail:
22993 return NULL;
22994 }
22995
22996
22997 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
22998 PyObject *resultobj;
22999 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23000 void *result;
23001 PyObject * obj0 = 0 ;
23002 char *kwnames[] = {
23003 (char *) "self", NULL
23004 };
23005
23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23009 result = (void *) ((arg1)->m_pItem);
23010
23011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
23012 return resultobj;
23013 fail:
23014 return NULL;
23015 }
23016
23017
23018 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
23019 PyObject *obj;
23020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23021 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23022 Py_INCREF(obj);
23023 return Py_BuildValue((char *)"");
23024 }
23025 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
23026 PyObject *resultobj;
23027 PyObject *arg1 = (PyObject *) NULL ;
23028 wxPyTreeItemData *result;
23029 PyObject * obj0 = 0 ;
23030 char *kwnames[] = {
23031 (char *) "obj", NULL
23032 };
23033
23034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23035 if (obj0) {
23036 arg1 = obj0;
23037 }
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj;
23054 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23055 PyObject *result;
23056 PyObject * obj0 = 0 ;
23057 char *kwnames[] = {
23058 (char *) "self", NULL
23059 };
23060
23061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = (PyObject *)(arg1)->GetData();
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 resultobj = result;
23072 return resultobj;
23073 fail:
23074 return NULL;
23075 }
23076
23077
23078 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
23079 PyObject *resultobj;
23080 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23081 PyObject *arg2 = (PyObject *) 0 ;
23082 PyObject * obj0 = 0 ;
23083 PyObject * obj1 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self",(char *) "obj", NULL
23086 };
23087
23088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23091 arg2 = obj1;
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 (arg1)->SetData(arg2);
23095
23096 wxPyEndAllowThreads(__tstate);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 }
23099 Py_INCREF(Py_None); resultobj = Py_None;
23100 return resultobj;
23101 fail:
23102 return NULL;
23103 }
23104
23105
23106 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
23107 PyObject *resultobj;
23108 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23109 wxTreeItemId *result;
23110 PyObject * obj0 = 0 ;
23111 char *kwnames[] = {
23112 (char *) "self", NULL
23113 };
23114
23115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 {
23121 wxTreeItemId const &_result_ref = (arg1)->GetId();
23122 result = (wxTreeItemId *) &_result_ref;
23123 }
23124
23125 wxPyEndAllowThreads(__tstate);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
23129 return resultobj;
23130 fail:
23131 return NULL;
23132 }
23133
23134
23135 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
23136 PyObject *resultobj;
23137 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23138 wxTreeItemId *arg2 = 0 ;
23139 PyObject * obj0 = 0 ;
23140 PyObject * obj1 = 0 ;
23141 char *kwnames[] = {
23142 (char *) "self",(char *) "id", NULL
23143 };
23144
23145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23148 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23149 SWIG_POINTER_EXCEPTION | 0)) == -1)
23150 SWIG_fail;
23151 if (arg2 == NULL) {
23152 PyErr_SetString(PyExc_TypeError,"null reference");
23153 SWIG_fail;
23154 }
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 (arg1)->SetId((wxTreeItemId const &)*arg2);
23158
23159 wxPyEndAllowThreads(__tstate);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
23162 Py_INCREF(Py_None); resultobj = Py_None;
23163 return resultobj;
23164 fail:
23165 return NULL;
23166 }
23167
23168
23169 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
23170 PyObject *resultobj;
23171 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23172 PyObject * obj0 = 0 ;
23173 char *kwnames[] = {
23174 (char *) "self", NULL
23175 };
23176
23177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23180 {
23181 PyThreadState* __tstate = wxPyBeginAllowThreads();
23182 wxPyTreeItemData_Destroy(arg1);
23183
23184 wxPyEndAllowThreads(__tstate);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 }
23187 Py_INCREF(Py_None); resultobj = Py_None;
23188 return resultobj;
23189 fail:
23190 return NULL;
23191 }
23192
23193
23194 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
23195 PyObject *obj;
23196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23197 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23198 Py_INCREF(obj);
23199 return Py_BuildValue((char *)"");
23200 }
23201 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23202 PyObject *resultobj;
23203 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23204 int arg2 = (int) 0 ;
23205 wxTreeEvent *result;
23206 PyObject * obj0 = 0 ;
23207 PyObject * obj1 = 0 ;
23208 char *kwnames[] = {
23209 (char *) "commandType",(char *) "id", NULL
23210 };
23211
23212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23213 if (obj0) {
23214 arg1 = (wxEventType) SWIG_AsInt(obj0);
23215 if (PyErr_Occurred()) SWIG_fail;
23216 }
23217 if (obj1) {
23218 arg2 = (int) SWIG_AsInt(obj1);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 {
23222 PyThreadState* __tstate = wxPyBeginAllowThreads();
23223 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23224
23225 wxPyEndAllowThreads(__tstate);
23226 if (PyErr_Occurred()) SWIG_fail;
23227 }
23228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23229 return resultobj;
23230 fail:
23231 return NULL;
23232 }
23233
23234
23235 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23236 PyObject *resultobj;
23237 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23238 wxTreeItemId result;
23239 PyObject * obj0 = 0 ;
23240 char *kwnames[] = {
23241 (char *) "self", NULL
23242 };
23243
23244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23247 {
23248 PyThreadState* __tstate = wxPyBeginAllowThreads();
23249 result = ((wxTreeEvent const *)arg1)->GetItem();
23250
23251 wxPyEndAllowThreads(__tstate);
23252 if (PyErr_Occurred()) SWIG_fail;
23253 }
23254 {
23255 wxTreeItemId * resultptr;
23256 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23257 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23258 }
23259 return resultobj;
23260 fail:
23261 return NULL;
23262 }
23263
23264
23265 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23266 PyObject *resultobj;
23267 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23268 wxTreeItemId *arg2 = 0 ;
23269 PyObject * obj0 = 0 ;
23270 PyObject * obj1 = 0 ;
23271 char *kwnames[] = {
23272 (char *) "self",(char *) "item", NULL
23273 };
23274
23275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23279 SWIG_POINTER_EXCEPTION | 0)) == -1)
23280 SWIG_fail;
23281 if (arg2 == NULL) {
23282 PyErr_SetString(PyExc_TypeError,"null reference");
23283 SWIG_fail;
23284 }
23285 {
23286 PyThreadState* __tstate = wxPyBeginAllowThreads();
23287 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23288
23289 wxPyEndAllowThreads(__tstate);
23290 if (PyErr_Occurred()) SWIG_fail;
23291 }
23292 Py_INCREF(Py_None); resultobj = Py_None;
23293 return resultobj;
23294 fail:
23295 return NULL;
23296 }
23297
23298
23299 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
23300 PyObject *resultobj;
23301 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23302 wxTreeItemId result;
23303 PyObject * obj0 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23314
23315 wxPyEndAllowThreads(__tstate);
23316 if (PyErr_Occurred()) SWIG_fail;
23317 }
23318 {
23319 wxTreeItemId * resultptr;
23320 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23321 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23322 }
23323 return resultobj;
23324 fail:
23325 return NULL;
23326 }
23327
23328
23329 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
23330 PyObject *resultobj;
23331 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23332 wxTreeItemId *arg2 = 0 ;
23333 PyObject * obj0 = 0 ;
23334 PyObject * obj1 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self",(char *) "item", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23343 SWIG_POINTER_EXCEPTION | 0)) == -1)
23344 SWIG_fail;
23345 if (arg2 == NULL) {
23346 PyErr_SetString(PyExc_TypeError,"null reference");
23347 SWIG_fail;
23348 }
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23352
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 Py_INCREF(Py_None); resultobj = Py_None;
23357 return resultobj;
23358 fail:
23359 return NULL;
23360 }
23361
23362
23363 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj;
23365 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23366 wxPoint result;
23367 PyObject * obj0 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self", NULL
23370 };
23371
23372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23375 {
23376 PyThreadState* __tstate = wxPyBeginAllowThreads();
23377 result = ((wxTreeEvent const *)arg1)->GetPoint();
23378
23379 wxPyEndAllowThreads(__tstate);
23380 if (PyErr_Occurred()) SWIG_fail;
23381 }
23382 {
23383 wxPoint * resultptr;
23384 resultptr = new wxPoint((wxPoint &) result);
23385 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23386 }
23387 return resultobj;
23388 fail:
23389 return NULL;
23390 }
23391
23392
23393 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23394 PyObject *resultobj;
23395 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23396 wxPoint *arg2 = 0 ;
23397 wxPoint temp2 ;
23398 PyObject * obj0 = 0 ;
23399 PyObject * obj1 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self",(char *) "pt", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23407 {
23408 arg2 = &temp2;
23409 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23410 }
23411 {
23412 PyThreadState* __tstate = wxPyBeginAllowThreads();
23413 (arg1)->SetPoint((wxPoint const &)*arg2);
23414
23415 wxPyEndAllowThreads(__tstate);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
23418 Py_INCREF(Py_None); resultobj = Py_None;
23419 return resultobj;
23420 fail:
23421 return NULL;
23422 }
23423
23424
23425 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23426 PyObject *resultobj;
23427 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23428 wxKeyEvent *result;
23429 PyObject * obj0 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "self", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23437 {
23438 PyThreadState* __tstate = wxPyBeginAllowThreads();
23439 {
23440 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23441 result = (wxKeyEvent *) &_result_ref;
23442 }
23443
23444 wxPyEndAllowThreads(__tstate);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
23447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23448 return resultobj;
23449 fail:
23450 return NULL;
23451 }
23452
23453
23454 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23455 PyObject *resultobj;
23456 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23457 int result;
23458 PyObject * obj0 = 0 ;
23459 char *kwnames[] = {
23460 (char *) "self", NULL
23461 };
23462
23463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23469
23470 wxPyEndAllowThreads(__tstate);
23471 if (PyErr_Occurred()) SWIG_fail;
23472 }
23473 resultobj = SWIG_FromInt((int)result);
23474 return resultobj;
23475 fail:
23476 return NULL;
23477 }
23478
23479
23480 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23481 PyObject *resultobj;
23482 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23483 wxKeyEvent *arg2 = 0 ;
23484 PyObject * obj0 = 0 ;
23485 PyObject * obj1 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "self",(char *) "evt", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23494 SWIG_POINTER_EXCEPTION | 0)) == -1)
23495 SWIG_fail;
23496 if (arg2 == NULL) {
23497 PyErr_SetString(PyExc_TypeError,"null reference");
23498 SWIG_fail;
23499 }
23500 {
23501 PyThreadState* __tstate = wxPyBeginAllowThreads();
23502 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23503
23504 wxPyEndAllowThreads(__tstate);
23505 if (PyErr_Occurred()) SWIG_fail;
23506 }
23507 Py_INCREF(Py_None); resultobj = Py_None;
23508 return resultobj;
23509 fail:
23510 return NULL;
23511 }
23512
23513
23514 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23515 PyObject *resultobj;
23516 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23517 wxString *result;
23518 PyObject * obj0 = 0 ;
23519 char *kwnames[] = {
23520 (char *) "self", NULL
23521 };
23522
23523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 {
23529 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23530 result = (wxString *) &_result_ref;
23531 }
23532
23533 wxPyEndAllowThreads(__tstate);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 {
23537 #if wxUSE_UNICODE
23538 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23539 #else
23540 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23541 #endif
23542 }
23543 return resultobj;
23544 fail:
23545 return NULL;
23546 }
23547
23548
23549 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23550 PyObject *resultobj;
23551 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23552 wxString *arg2 = 0 ;
23553 bool temp2 = False ;
23554 PyObject * obj0 = 0 ;
23555 PyObject * obj1 = 0 ;
23556 char *kwnames[] = {
23557 (char *) "self",(char *) "label", NULL
23558 };
23559
23560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23563 {
23564 arg2 = wxString_in_helper(obj1);
23565 if (arg2 == NULL) SWIG_fail;
23566 temp2 = True;
23567 }
23568 {
23569 PyThreadState* __tstate = wxPyBeginAllowThreads();
23570 (arg1)->SetLabel((wxString const &)*arg2);
23571
23572 wxPyEndAllowThreads(__tstate);
23573 if (PyErr_Occurred()) SWIG_fail;
23574 }
23575 Py_INCREF(Py_None); resultobj = Py_None;
23576 {
23577 if (temp2)
23578 delete arg2;
23579 }
23580 return resultobj;
23581 fail:
23582 {
23583 if (temp2)
23584 delete arg2;
23585 }
23586 return NULL;
23587 }
23588
23589
23590 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23591 PyObject *resultobj;
23592 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23593 bool result;
23594 PyObject * obj0 = 0 ;
23595 char *kwnames[] = {
23596 (char *) "self", NULL
23597 };
23598
23599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23602 {
23603 PyThreadState* __tstate = wxPyBeginAllowThreads();
23604 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23605
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
23609 {
23610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23611 }
23612 return resultobj;
23613 fail:
23614 return NULL;
23615 }
23616
23617
23618 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23619 PyObject *resultobj;
23620 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23621 bool arg2 ;
23622 PyObject * obj0 = 0 ;
23623 PyObject * obj1 = 0 ;
23624 char *kwnames[] = {
23625 (char *) "self",(char *) "editCancelled", NULL
23626 };
23627
23628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23631 arg2 = (bool) SWIG_AsBool(obj1);
23632 if (PyErr_Occurred()) SWIG_fail;
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 (arg1)->SetEditCanceled(arg2);
23636
23637 wxPyEndAllowThreads(__tstate);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
23640 Py_INCREF(Py_None); resultobj = Py_None;
23641 return resultobj;
23642 fail:
23643 return NULL;
23644 }
23645
23646
23647 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
23648 PyObject *resultobj;
23649 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23650 wxString *arg2 = 0 ;
23651 bool temp2 = False ;
23652 PyObject * obj0 = 0 ;
23653 PyObject * obj1 = 0 ;
23654 char *kwnames[] = {
23655 (char *) "self",(char *) "toolTip", NULL
23656 };
23657
23658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23661 {
23662 arg2 = wxString_in_helper(obj1);
23663 if (arg2 == NULL) SWIG_fail;
23664 temp2 = True;
23665 }
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 (arg1)->SetToolTip((wxString const &)*arg2);
23669
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 Py_INCREF(Py_None); resultobj = Py_None;
23674 {
23675 if (temp2)
23676 delete arg2;
23677 }
23678 return resultobj;
23679 fail:
23680 {
23681 if (temp2)
23682 delete arg2;
23683 }
23684 return NULL;
23685 }
23686
23687
23688 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
23689 PyObject *obj;
23690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23691 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23692 Py_INCREF(obj);
23693 return Py_BuildValue((char *)"");
23694 }
23695 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23696 PyObject *resultobj;
23697 wxWindow *arg1 = (wxWindow *) 0 ;
23698 int arg2 = (int) -1 ;
23699 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23700 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23701 wxSize const &arg4_defvalue = wxDefaultSize ;
23702 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23703 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23704 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23705 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23706 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23707 wxString *arg7 = (wxString *) &arg7_defvalue ;
23708 wxPyTreeCtrl *result;
23709 wxPoint temp3 ;
23710 wxSize temp4 ;
23711 bool temp7 = False ;
23712 PyObject * obj0 = 0 ;
23713 PyObject * obj1 = 0 ;
23714 PyObject * obj2 = 0 ;
23715 PyObject * obj3 = 0 ;
23716 PyObject * obj4 = 0 ;
23717 PyObject * obj5 = 0 ;
23718 PyObject * obj6 = 0 ;
23719 char *kwnames[] = {
23720 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23721 };
23722
23723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23726 if (obj1) {
23727 arg2 = (int) SWIG_AsInt(obj1);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 if (obj2) {
23731 {
23732 arg3 = &temp3;
23733 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23734 }
23735 }
23736 if (obj3) {
23737 {
23738 arg4 = &temp4;
23739 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23740 }
23741 }
23742 if (obj4) {
23743 arg5 = (long) SWIG_AsLong(obj4);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 if (obj5) {
23747 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23748 SWIG_POINTER_EXCEPTION | 0)) == -1)
23749 SWIG_fail;
23750 if (arg6 == NULL) {
23751 PyErr_SetString(PyExc_TypeError,"null reference");
23752 SWIG_fail;
23753 }
23754 }
23755 if (obj6) {
23756 {
23757 arg7 = wxString_in_helper(obj6);
23758 if (arg7 == NULL) SWIG_fail;
23759 temp7 = True;
23760 }
23761 }
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23765
23766 wxPyEndAllowThreads(__tstate);
23767 if (PyErr_Occurred()) SWIG_fail;
23768 }
23769 {
23770 resultobj = wxPyMake_wxObject(result);
23771 }
23772 {
23773 if (temp7)
23774 delete arg7;
23775 }
23776 return resultobj;
23777 fail:
23778 {
23779 if (temp7)
23780 delete arg7;
23781 }
23782 return NULL;
23783 }
23784
23785
23786 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxPyTreeCtrl *result;
23789 char *kwnames[] = {
23790 NULL
23791 };
23792
23793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23797
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 {
23802 resultobj = wxPyMake_wxObject(result);
23803 }
23804 return resultobj;
23805 fail:
23806 return NULL;
23807 }
23808
23809
23810 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23811 PyObject *resultobj;
23812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23813 wxWindow *arg2 = (wxWindow *) 0 ;
23814 int arg3 = (int) -1 ;
23815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23817 wxSize const &arg5_defvalue = wxDefaultSize ;
23818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23819 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23820 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23821 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23822 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23823 wxString *arg8 = (wxString *) &arg8_defvalue ;
23824 bool result;
23825 wxPoint temp4 ;
23826 wxSize temp5 ;
23827 bool temp8 = False ;
23828 PyObject * obj0 = 0 ;
23829 PyObject * obj1 = 0 ;
23830 PyObject * obj2 = 0 ;
23831 PyObject * obj3 = 0 ;
23832 PyObject * obj4 = 0 ;
23833 PyObject * obj5 = 0 ;
23834 PyObject * obj6 = 0 ;
23835 PyObject * obj7 = 0 ;
23836 char *kwnames[] = {
23837 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23838 };
23839
23840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23845 if (obj2) {
23846 arg3 = (int) SWIG_AsInt(obj2);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 }
23849 if (obj3) {
23850 {
23851 arg4 = &temp4;
23852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23853 }
23854 }
23855 if (obj4) {
23856 {
23857 arg5 = &temp5;
23858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23859 }
23860 }
23861 if (obj5) {
23862 arg6 = (long) SWIG_AsLong(obj5);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 }
23865 if (obj6) {
23866 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23867 SWIG_POINTER_EXCEPTION | 0)) == -1)
23868 SWIG_fail;
23869 if (arg7 == NULL) {
23870 PyErr_SetString(PyExc_TypeError,"null reference");
23871 SWIG_fail;
23872 }
23873 }
23874 if (obj7) {
23875 {
23876 arg8 = wxString_in_helper(obj7);
23877 if (arg8 == NULL) SWIG_fail;
23878 temp8 = True;
23879 }
23880 }
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
23888 {
23889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23890 }
23891 {
23892 if (temp8)
23893 delete arg8;
23894 }
23895 return resultobj;
23896 fail:
23897 {
23898 if (temp8)
23899 delete arg8;
23900 }
23901 return NULL;
23902 }
23903
23904
23905 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23906 PyObject *resultobj;
23907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23908 PyObject *arg2 = (PyObject *) 0 ;
23909 PyObject *arg3 = (PyObject *) 0 ;
23910 PyObject * obj0 = 0 ;
23911 PyObject * obj1 = 0 ;
23912 PyObject * obj2 = 0 ;
23913 char *kwnames[] = {
23914 (char *) "self",(char *) "self",(char *) "_class", NULL
23915 };
23916
23917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23920 arg2 = obj1;
23921 arg3 = obj2;
23922 {
23923 PyThreadState* __tstate = wxPyBeginAllowThreads();
23924 (arg1)->_setCallbackInfo(arg2,arg3);
23925
23926 wxPyEndAllowThreads(__tstate);
23927 if (PyErr_Occurred()) SWIG_fail;
23928 }
23929 Py_INCREF(Py_None); resultobj = Py_None;
23930 return resultobj;
23931 fail:
23932 return NULL;
23933 }
23934
23935
23936 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
23937 PyObject *resultobj;
23938 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23939 size_t result;
23940 PyObject * obj0 = 0 ;
23941 char *kwnames[] = {
23942 (char *) "self", NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23948 {
23949 PyThreadState* __tstate = wxPyBeginAllowThreads();
23950 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23951
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
23955 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
23956 return resultobj;
23957 fail:
23958 return NULL;
23959 }
23960
23961
23962 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
23963 PyObject *resultobj;
23964 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23965 unsigned int result;
23966 PyObject * obj0 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self", NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23974 {
23975 PyThreadState* __tstate = wxPyBeginAllowThreads();
23976 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23977
23978 wxPyEndAllowThreads(__tstate);
23979 if (PyErr_Occurred()) SWIG_fail;
23980 }
23981 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
23982 return resultobj;
23983 fail:
23984 return NULL;
23985 }
23986
23987
23988 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
23989 PyObject *resultobj;
23990 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23991 unsigned int arg2 ;
23992 PyObject * obj0 = 0 ;
23993 PyObject * obj1 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self",(char *) "indent", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24001 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 {
24004 PyThreadState* __tstate = wxPyBeginAllowThreads();
24005 (arg1)->SetIndent(arg2);
24006
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 Py_INCREF(Py_None); resultobj = Py_None;
24011 return resultobj;
24012 fail:
24013 return NULL;
24014 }
24015
24016
24017 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24018 PyObject *resultobj;
24019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24020 unsigned int result;
24021 PyObject * obj0 = 0 ;
24022 char *kwnames[] = {
24023 (char *) "self", NULL
24024 };
24025
24026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
24027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24029 {
24030 PyThreadState* __tstate = wxPyBeginAllowThreads();
24031 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24032
24033 wxPyEndAllowThreads(__tstate);
24034 if (PyErr_Occurred()) SWIG_fail;
24035 }
24036 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24037 return resultobj;
24038 fail:
24039 return NULL;
24040 }
24041
24042
24043 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
24044 PyObject *resultobj;
24045 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24046 unsigned int arg2 ;
24047 PyObject * obj0 = 0 ;
24048 PyObject * obj1 = 0 ;
24049 char *kwnames[] = {
24050 (char *) "self",(char *) "spacing", NULL
24051 };
24052
24053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24056 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 {
24059 PyThreadState* __tstate = wxPyBeginAllowThreads();
24060 (arg1)->SetSpacing(arg2);
24061
24062 wxPyEndAllowThreads(__tstate);
24063 if (PyErr_Occurred()) SWIG_fail;
24064 }
24065 Py_INCREF(Py_None); resultobj = Py_None;
24066 return resultobj;
24067 fail:
24068 return NULL;
24069 }
24070
24071
24072 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24073 PyObject *resultobj;
24074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24075 wxImageList *result;
24076 PyObject * obj0 = 0 ;
24077 char *kwnames[] = {
24078 (char *) "self", NULL
24079 };
24080
24081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24084 {
24085 PyThreadState* __tstate = wxPyBeginAllowThreads();
24086 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24087
24088 wxPyEndAllowThreads(__tstate);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
24091 {
24092 resultobj = wxPyMake_wxObject(result);
24093 }
24094 return resultobj;
24095 fail:
24096 return NULL;
24097 }
24098
24099
24100 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24101 PyObject *resultobj;
24102 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24103 wxImageList *result;
24104 PyObject * obj0 = 0 ;
24105 char *kwnames[] = {
24106 (char *) "self", NULL
24107 };
24108
24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24112 {
24113 PyThreadState* __tstate = wxPyBeginAllowThreads();
24114 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24115
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 {
24120 resultobj = wxPyMake_wxObject(result);
24121 }
24122 return resultobj;
24123 fail:
24124 return NULL;
24125 }
24126
24127
24128 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24129 PyObject *resultobj;
24130 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24131 wxImageList *arg2 = (wxImageList *) 0 ;
24132 PyObject * obj0 = 0 ;
24133 PyObject * obj1 = 0 ;
24134 char *kwnames[] = {
24135 (char *) "self",(char *) "imageList", NULL
24136 };
24137
24138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
24145 (arg1)->SetImageList(arg2);
24146
24147 wxPyEndAllowThreads(__tstate);
24148 if (PyErr_Occurred()) SWIG_fail;
24149 }
24150 Py_INCREF(Py_None); resultobj = Py_None;
24151 return resultobj;
24152 fail:
24153 return NULL;
24154 }
24155
24156
24157 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24158 PyObject *resultobj;
24159 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24160 wxImageList *arg2 = (wxImageList *) 0 ;
24161 PyObject * obj0 = 0 ;
24162 PyObject * obj1 = 0 ;
24163 char *kwnames[] = {
24164 (char *) "self",(char *) "imageList", NULL
24165 };
24166
24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24172 {
24173 PyThreadState* __tstate = wxPyBeginAllowThreads();
24174 (arg1)->SetStateImageList(arg2);
24175
24176 wxPyEndAllowThreads(__tstate);
24177 if (PyErr_Occurred()) SWIG_fail;
24178 }
24179 Py_INCREF(Py_None); resultobj = Py_None;
24180 return resultobj;
24181 fail:
24182 return NULL;
24183 }
24184
24185
24186 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24187 PyObject *resultobj;
24188 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24189 wxImageList *arg2 = (wxImageList *) 0 ;
24190 PyObject * obj0 = 0 ;
24191 PyObject * obj1 = 0 ;
24192 char *kwnames[] = {
24193 (char *) "self",(char *) "imageList", NULL
24194 };
24195
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24200 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 (arg1)->AssignImageList(arg2);
24204
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 Py_INCREF(Py_None); resultobj = Py_None;
24209 return resultobj;
24210 fail:
24211 return NULL;
24212 }
24213
24214
24215 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj;
24217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24218 wxImageList *arg2 = (wxImageList *) 0 ;
24219 PyObject * obj0 = 0 ;
24220 PyObject * obj1 = 0 ;
24221 char *kwnames[] = {
24222 (char *) "self",(char *) "imageList", NULL
24223 };
24224
24225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24229 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 (arg1)->AssignStateImageList(arg2);
24233
24234 wxPyEndAllowThreads(__tstate);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
24237 Py_INCREF(Py_None); resultobj = Py_None;
24238 return resultobj;
24239 fail:
24240 return NULL;
24241 }
24242
24243
24244 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24245 PyObject *resultobj;
24246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24247 wxTreeItemId *arg2 = 0 ;
24248 wxString result;
24249 PyObject * obj0 = 0 ;
24250 PyObject * obj1 = 0 ;
24251 char *kwnames[] = {
24252 (char *) "self",(char *) "item", NULL
24253 };
24254
24255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24259 SWIG_POINTER_EXCEPTION | 0)) == -1)
24260 SWIG_fail;
24261 if (arg2 == NULL) {
24262 PyErr_SetString(PyExc_TypeError,"null reference");
24263 SWIG_fail;
24264 }
24265 {
24266 PyThreadState* __tstate = wxPyBeginAllowThreads();
24267 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24268
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 {
24273 #if wxUSE_UNICODE
24274 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24275 #else
24276 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24277 #endif
24278 }
24279 return resultobj;
24280 fail:
24281 return NULL;
24282 }
24283
24284
24285 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24288 wxTreeItemId *arg2 = 0 ;
24289 int arg3 = (int) wxTreeItemIcon_Normal ;
24290 int result;
24291 PyObject * obj0 = 0 ;
24292 PyObject * obj1 = 0 ;
24293 PyObject * obj2 = 0 ;
24294 char *kwnames[] = {
24295 (char *) "self",(char *) "item",(char *) "which", NULL
24296 };
24297
24298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24301 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24302 SWIG_POINTER_EXCEPTION | 0)) == -1)
24303 SWIG_fail;
24304 if (arg2 == NULL) {
24305 PyErr_SetString(PyExc_TypeError,"null reference");
24306 SWIG_fail;
24307 }
24308 if (obj2) {
24309 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24310 if (PyErr_Occurred()) SWIG_fail;
24311 }
24312 {
24313 PyThreadState* __tstate = wxPyBeginAllowThreads();
24314 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24315
24316 wxPyEndAllowThreads(__tstate);
24317 if (PyErr_Occurred()) SWIG_fail;
24318 }
24319 resultobj = SWIG_FromInt((int)result);
24320 return resultobj;
24321 fail:
24322 return NULL;
24323 }
24324
24325
24326 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24327 PyObject *resultobj;
24328 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24329 wxTreeItemId *arg2 = 0 ;
24330 wxPyTreeItemData *result;
24331 PyObject * obj0 = 0 ;
24332 PyObject * obj1 = 0 ;
24333 char *kwnames[] = {
24334 (char *) "self",(char *) "item", NULL
24335 };
24336
24337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24341 SWIG_POINTER_EXCEPTION | 0)) == -1)
24342 SWIG_fail;
24343 if (arg2 == NULL) {
24344 PyErr_SetString(PyExc_TypeError,"null reference");
24345 SWIG_fail;
24346 }
24347 {
24348 PyThreadState* __tstate = wxPyBeginAllowThreads();
24349 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24350
24351 wxPyEndAllowThreads(__tstate);
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24355 return resultobj;
24356 fail:
24357 return NULL;
24358 }
24359
24360
24361 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
24362 PyObject *resultobj;
24363 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24364 wxTreeItemId *arg2 = 0 ;
24365 PyObject *result;
24366 PyObject * obj0 = 0 ;
24367 PyObject * obj1 = 0 ;
24368 char *kwnames[] = {
24369 (char *) "self",(char *) "item", NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24376 SWIG_POINTER_EXCEPTION | 0)) == -1)
24377 SWIG_fail;
24378 if (arg2 == NULL) {
24379 PyErr_SetString(PyExc_TypeError,"null reference");
24380 SWIG_fail;
24381 }
24382 {
24383 PyThreadState* __tstate = wxPyBeginAllowThreads();
24384 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24385
24386 wxPyEndAllowThreads(__tstate);
24387 if (PyErr_Occurred()) SWIG_fail;
24388 }
24389 resultobj = result;
24390 return resultobj;
24391 fail:
24392 return NULL;
24393 }
24394
24395
24396 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24397 PyObject *resultobj;
24398 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24399 wxTreeItemId *arg2 = 0 ;
24400 wxColour result;
24401 PyObject * obj0 = 0 ;
24402 PyObject * obj1 = 0 ;
24403 char *kwnames[] = {
24404 (char *) "self",(char *) "item", NULL
24405 };
24406
24407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24411 SWIG_POINTER_EXCEPTION | 0)) == -1)
24412 SWIG_fail;
24413 if (arg2 == NULL) {
24414 PyErr_SetString(PyExc_TypeError,"null reference");
24415 SWIG_fail;
24416 }
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 {
24425 wxColour * resultptr;
24426 resultptr = new wxColour((wxColour &) result);
24427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24428 }
24429 return resultobj;
24430 fail:
24431 return NULL;
24432 }
24433
24434
24435 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24436 PyObject *resultobj;
24437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24438 wxTreeItemId *arg2 = 0 ;
24439 wxColour result;
24440 PyObject * obj0 = 0 ;
24441 PyObject * obj1 = 0 ;
24442 char *kwnames[] = {
24443 (char *) "self",(char *) "item", NULL
24444 };
24445
24446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24449 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24450 SWIG_POINTER_EXCEPTION | 0)) == -1)
24451 SWIG_fail;
24452 if (arg2 == NULL) {
24453 PyErr_SetString(PyExc_TypeError,"null reference");
24454 SWIG_fail;
24455 }
24456 {
24457 PyThreadState* __tstate = wxPyBeginAllowThreads();
24458 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24459
24460 wxPyEndAllowThreads(__tstate);
24461 if (PyErr_Occurred()) SWIG_fail;
24462 }
24463 {
24464 wxColour * resultptr;
24465 resultptr = new wxColour((wxColour &) result);
24466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24467 }
24468 return resultobj;
24469 fail:
24470 return NULL;
24471 }
24472
24473
24474 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
24475 PyObject *resultobj;
24476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24477 wxTreeItemId *arg2 = 0 ;
24478 wxFont result;
24479 PyObject * obj0 = 0 ;
24480 PyObject * obj1 = 0 ;
24481 char *kwnames[] = {
24482 (char *) "self",(char *) "item", NULL
24483 };
24484
24485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24489 SWIG_POINTER_EXCEPTION | 0)) == -1)
24490 SWIG_fail;
24491 if (arg2 == NULL) {
24492 PyErr_SetString(PyExc_TypeError,"null reference");
24493 SWIG_fail;
24494 }
24495 {
24496 PyThreadState* __tstate = wxPyBeginAllowThreads();
24497 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24498
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
24502 {
24503 wxFont * resultptr;
24504 resultptr = new wxFont((wxFont &) result);
24505 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24506 }
24507 return resultobj;
24508 fail:
24509 return NULL;
24510 }
24511
24512
24513 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24514 PyObject *resultobj;
24515 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24516 wxTreeItemId *arg2 = 0 ;
24517 wxString *arg3 = 0 ;
24518 bool temp3 = False ;
24519 PyObject * obj0 = 0 ;
24520 PyObject * obj1 = 0 ;
24521 PyObject * obj2 = 0 ;
24522 char *kwnames[] = {
24523 (char *) "self",(char *) "item",(char *) "text", NULL
24524 };
24525
24526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24530 SWIG_POINTER_EXCEPTION | 0)) == -1)
24531 SWIG_fail;
24532 if (arg2 == NULL) {
24533 PyErr_SetString(PyExc_TypeError,"null reference");
24534 SWIG_fail;
24535 }
24536 {
24537 arg3 = wxString_in_helper(obj2);
24538 if (arg3 == NULL) SWIG_fail;
24539 temp3 = True;
24540 }
24541 {
24542 PyThreadState* __tstate = wxPyBeginAllowThreads();
24543 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24544
24545 wxPyEndAllowThreads(__tstate);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 }
24548 Py_INCREF(Py_None); resultobj = Py_None;
24549 {
24550 if (temp3)
24551 delete arg3;
24552 }
24553 return resultobj;
24554 fail:
24555 {
24556 if (temp3)
24557 delete arg3;
24558 }
24559 return NULL;
24560 }
24561
24562
24563 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24564 PyObject *resultobj;
24565 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24566 wxTreeItemId *arg2 = 0 ;
24567 int arg3 ;
24568 int arg4 = (int) wxTreeItemIcon_Normal ;
24569 PyObject * obj0 = 0 ;
24570 PyObject * obj1 = 0 ;
24571 PyObject * obj2 = 0 ;
24572 PyObject * obj3 = 0 ;
24573 char *kwnames[] = {
24574 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24575 };
24576
24577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24581 SWIG_POINTER_EXCEPTION | 0)) == -1)
24582 SWIG_fail;
24583 if (arg2 == NULL) {
24584 PyErr_SetString(PyExc_TypeError,"null reference");
24585 SWIG_fail;
24586 }
24587 arg3 = (int) SWIG_AsInt(obj2);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 if (obj3) {
24590 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24591 if (PyErr_Occurred()) SWIG_fail;
24592 }
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24596
24597 wxPyEndAllowThreads(__tstate);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 }
24600 Py_INCREF(Py_None); resultobj = Py_None;
24601 return resultobj;
24602 fail:
24603 return NULL;
24604 }
24605
24606
24607 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24608 PyObject *resultobj;
24609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24610 wxTreeItemId *arg2 = 0 ;
24611 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24612 PyObject * obj0 = 0 ;
24613 PyObject * obj1 = 0 ;
24614 PyObject * obj2 = 0 ;
24615 char *kwnames[] = {
24616 (char *) "self",(char *) "item",(char *) "data", NULL
24617 };
24618
24619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24623 SWIG_POINTER_EXCEPTION | 0)) == -1)
24624 SWIG_fail;
24625 if (arg2 == NULL) {
24626 PyErr_SetString(PyExc_TypeError,"null reference");
24627 SWIG_fail;
24628 }
24629 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24631 {
24632 PyThreadState* __tstate = wxPyBeginAllowThreads();
24633 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24634
24635 wxPyEndAllowThreads(__tstate);
24636 if (PyErr_Occurred()) SWIG_fail;
24637 }
24638 Py_INCREF(Py_None); resultobj = Py_None;
24639 return resultobj;
24640 fail:
24641 return NULL;
24642 }
24643
24644
24645 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
24646 PyObject *resultobj;
24647 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24648 wxTreeItemId *arg2 = 0 ;
24649 PyObject *arg3 = (PyObject *) 0 ;
24650 PyObject * obj0 = 0 ;
24651 PyObject * obj1 = 0 ;
24652 PyObject * obj2 = 0 ;
24653 char *kwnames[] = {
24654 (char *) "self",(char *) "item",(char *) "obj", NULL
24655 };
24656
24657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24661 SWIG_POINTER_EXCEPTION | 0)) == -1)
24662 SWIG_fail;
24663 if (arg2 == NULL) {
24664 PyErr_SetString(PyExc_TypeError,"null reference");
24665 SWIG_fail;
24666 }
24667 arg3 = obj2;
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24671
24672 wxPyEndAllowThreads(__tstate);
24673 if (PyErr_Occurred()) SWIG_fail;
24674 }
24675 Py_INCREF(Py_None); resultobj = Py_None;
24676 return resultobj;
24677 fail:
24678 return NULL;
24679 }
24680
24681
24682 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
24683 PyObject *resultobj;
24684 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24685 wxTreeItemId *arg2 = 0 ;
24686 bool arg3 = (bool) True ;
24687 PyObject * obj0 = 0 ;
24688 PyObject * obj1 = 0 ;
24689 PyObject * obj2 = 0 ;
24690 char *kwnames[] = {
24691 (char *) "self",(char *) "item",(char *) "has", NULL
24692 };
24693
24694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24698 SWIG_POINTER_EXCEPTION | 0)) == -1)
24699 SWIG_fail;
24700 if (arg2 == NULL) {
24701 PyErr_SetString(PyExc_TypeError,"null reference");
24702 SWIG_fail;
24703 }
24704 if (obj2) {
24705 arg3 = (bool) SWIG_AsBool(obj2);
24706 if (PyErr_Occurred()) SWIG_fail;
24707 }
24708 {
24709 PyThreadState* __tstate = wxPyBeginAllowThreads();
24710 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24711
24712 wxPyEndAllowThreads(__tstate);
24713 if (PyErr_Occurred()) SWIG_fail;
24714 }
24715 Py_INCREF(Py_None); resultobj = Py_None;
24716 return resultobj;
24717 fail:
24718 return NULL;
24719 }
24720
24721
24722 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
24723 PyObject *resultobj;
24724 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24725 wxTreeItemId *arg2 = 0 ;
24726 bool arg3 = (bool) True ;
24727 PyObject * obj0 = 0 ;
24728 PyObject * obj1 = 0 ;
24729 PyObject * obj2 = 0 ;
24730 char *kwnames[] = {
24731 (char *) "self",(char *) "item",(char *) "bold", NULL
24732 };
24733
24734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24738 SWIG_POINTER_EXCEPTION | 0)) == -1)
24739 SWIG_fail;
24740 if (arg2 == NULL) {
24741 PyErr_SetString(PyExc_TypeError,"null reference");
24742 SWIG_fail;
24743 }
24744 if (obj2) {
24745 arg3 = (bool) SWIG_AsBool(obj2);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 {
24749 PyThreadState* __tstate = wxPyBeginAllowThreads();
24750 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24751
24752 wxPyEndAllowThreads(__tstate);
24753 if (PyErr_Occurred()) SWIG_fail;
24754 }
24755 Py_INCREF(Py_None); resultobj = Py_None;
24756 return resultobj;
24757 fail:
24758 return NULL;
24759 }
24760
24761
24762 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24763 PyObject *resultobj;
24764 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24765 wxTreeItemId *arg2 = 0 ;
24766 wxColour *arg3 = 0 ;
24767 wxColour temp3 ;
24768 PyObject * obj0 = 0 ;
24769 PyObject * obj1 = 0 ;
24770 PyObject * obj2 = 0 ;
24771 char *kwnames[] = {
24772 (char *) "self",(char *) "item",(char *) "col", NULL
24773 };
24774
24775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24779 SWIG_POINTER_EXCEPTION | 0)) == -1)
24780 SWIG_fail;
24781 if (arg2 == NULL) {
24782 PyErr_SetString(PyExc_TypeError,"null reference");
24783 SWIG_fail;
24784 }
24785 {
24786 arg3 = &temp3;
24787 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24788 }
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24792
24793 wxPyEndAllowThreads(__tstate);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 Py_INCREF(Py_None); resultobj = Py_None;
24797 return resultobj;
24798 fail:
24799 return NULL;
24800 }
24801
24802
24803 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24804 PyObject *resultobj;
24805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24806 wxTreeItemId *arg2 = 0 ;
24807 wxColour *arg3 = 0 ;
24808 wxColour temp3 ;
24809 PyObject * obj0 = 0 ;
24810 PyObject * obj1 = 0 ;
24811 PyObject * obj2 = 0 ;
24812 char *kwnames[] = {
24813 (char *) "self",(char *) "item",(char *) "col", NULL
24814 };
24815
24816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24820 SWIG_POINTER_EXCEPTION | 0)) == -1)
24821 SWIG_fail;
24822 if (arg2 == NULL) {
24823 PyErr_SetString(PyExc_TypeError,"null reference");
24824 SWIG_fail;
24825 }
24826 {
24827 arg3 = &temp3;
24828 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24829 }
24830 {
24831 PyThreadState* __tstate = wxPyBeginAllowThreads();
24832 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24833
24834 wxPyEndAllowThreads(__tstate);
24835 if (PyErr_Occurred()) SWIG_fail;
24836 }
24837 Py_INCREF(Py_None); resultobj = Py_None;
24838 return resultobj;
24839 fail:
24840 return NULL;
24841 }
24842
24843
24844 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
24845 PyObject *resultobj;
24846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24847 wxTreeItemId *arg2 = 0 ;
24848 wxFont *arg3 = 0 ;
24849 PyObject * obj0 = 0 ;
24850 PyObject * obj1 = 0 ;
24851 PyObject * obj2 = 0 ;
24852 char *kwnames[] = {
24853 (char *) "self",(char *) "item",(char *) "font", NULL
24854 };
24855
24856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24860 SWIG_POINTER_EXCEPTION | 0)) == -1)
24861 SWIG_fail;
24862 if (arg2 == NULL) {
24863 PyErr_SetString(PyExc_TypeError,"null reference");
24864 SWIG_fail;
24865 }
24866 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
24867 SWIG_POINTER_EXCEPTION | 0)) == -1)
24868 SWIG_fail;
24869 if (arg3 == NULL) {
24870 PyErr_SetString(PyExc_TypeError,"null reference");
24871 SWIG_fail;
24872 }
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24876
24877 wxPyEndAllowThreads(__tstate);
24878 if (PyErr_Occurred()) SWIG_fail;
24879 }
24880 Py_INCREF(Py_None); resultobj = Py_None;
24881 return resultobj;
24882 fail:
24883 return NULL;
24884 }
24885
24886
24887 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
24888 PyObject *resultobj;
24889 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24890 wxTreeItemId *arg2 = 0 ;
24891 bool result;
24892 PyObject * obj0 = 0 ;
24893 PyObject * obj1 = 0 ;
24894 char *kwnames[] = {
24895 (char *) "self",(char *) "item", NULL
24896 };
24897
24898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24901 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24902 SWIG_POINTER_EXCEPTION | 0)) == -1)
24903 SWIG_fail;
24904 if (arg2 == NULL) {
24905 PyErr_SetString(PyExc_TypeError,"null reference");
24906 SWIG_fail;
24907 }
24908 {
24909 PyThreadState* __tstate = wxPyBeginAllowThreads();
24910 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24911
24912 wxPyEndAllowThreads(__tstate);
24913 if (PyErr_Occurred()) SWIG_fail;
24914 }
24915 {
24916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24917 }
24918 return resultobj;
24919 fail:
24920 return NULL;
24921 }
24922
24923
24924 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
24925 PyObject *resultobj;
24926 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24927 wxTreeItemId *arg2 = 0 ;
24928 bool result;
24929 PyObject * obj0 = 0 ;
24930 PyObject * obj1 = 0 ;
24931 char *kwnames[] = {
24932 (char *) "self",(char *) "item", NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24939 SWIG_POINTER_EXCEPTION | 0)) == -1)
24940 SWIG_fail;
24941 if (arg2 == NULL) {
24942 PyErr_SetString(PyExc_TypeError,"null reference");
24943 SWIG_fail;
24944 }
24945 {
24946 PyThreadState* __tstate = wxPyBeginAllowThreads();
24947 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24948
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
24952 {
24953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24954 }
24955 return resultobj;
24956 fail:
24957 return NULL;
24958 }
24959
24960
24961 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
24962 PyObject *resultobj;
24963 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24964 wxTreeItemId *arg2 = 0 ;
24965 bool result;
24966 PyObject * obj0 = 0 ;
24967 PyObject * obj1 = 0 ;
24968 char *kwnames[] = {
24969 (char *) "self",(char *) "item", NULL
24970 };
24971
24972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24976 SWIG_POINTER_EXCEPTION | 0)) == -1)
24977 SWIG_fail;
24978 if (arg2 == NULL) {
24979 PyErr_SetString(PyExc_TypeError,"null reference");
24980 SWIG_fail;
24981 }
24982 {
24983 PyThreadState* __tstate = wxPyBeginAllowThreads();
24984 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24985
24986 wxPyEndAllowThreads(__tstate);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 {
24990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24991 }
24992 return resultobj;
24993 fail:
24994 return NULL;
24995 }
24996
24997
24998 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24999 PyObject *resultobj;
25000 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25001 wxTreeItemId *arg2 = 0 ;
25002 bool result;
25003 PyObject * obj0 = 0 ;
25004 PyObject * obj1 = 0 ;
25005 char *kwnames[] = {
25006 (char *) "self",(char *) "item", NULL
25007 };
25008
25009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
25010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25013 SWIG_POINTER_EXCEPTION | 0)) == -1)
25014 SWIG_fail;
25015 if (arg2 == NULL) {
25016 PyErr_SetString(PyExc_TypeError,"null reference");
25017 SWIG_fail;
25018 }
25019 {
25020 PyThreadState* __tstate = wxPyBeginAllowThreads();
25021 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25022
25023 wxPyEndAllowThreads(__tstate);
25024 if (PyErr_Occurred()) SWIG_fail;
25025 }
25026 {
25027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25028 }
25029 return resultobj;
25030 fail:
25031 return NULL;
25032 }
25033
25034
25035 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
25036 PyObject *resultobj;
25037 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25038 wxTreeItemId *arg2 = 0 ;
25039 bool result;
25040 PyObject * obj0 = 0 ;
25041 PyObject * obj1 = 0 ;
25042 char *kwnames[] = {
25043 (char *) "self",(char *) "item", NULL
25044 };
25045
25046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
25047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25050 SWIG_POINTER_EXCEPTION | 0)) == -1)
25051 SWIG_fail;
25052 if (arg2 == NULL) {
25053 PyErr_SetString(PyExc_TypeError,"null reference");
25054 SWIG_fail;
25055 }
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25059
25060 wxPyEndAllowThreads(__tstate);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
25063 {
25064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25065 }
25066 return resultobj;
25067 fail:
25068 return NULL;
25069 }
25070
25071
25072 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
25073 PyObject *resultobj;
25074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25075 wxTreeItemId *arg2 = 0 ;
25076 bool arg3 = (bool) True ;
25077 size_t result;
25078 PyObject * obj0 = 0 ;
25079 PyObject * obj1 = 0 ;
25080 PyObject * obj2 = 0 ;
25081 char *kwnames[] = {
25082 (char *) "self",(char *) "item",(char *) "recursively", NULL
25083 };
25084
25085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
25086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25089 SWIG_POINTER_EXCEPTION | 0)) == -1)
25090 SWIG_fail;
25091 if (arg2 == NULL) {
25092 PyErr_SetString(PyExc_TypeError,"null reference");
25093 SWIG_fail;
25094 }
25095 if (obj2) {
25096 arg3 = (bool) SWIG_AsBool(obj2);
25097 if (PyErr_Occurred()) SWIG_fail;
25098 }
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25102
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
25106 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25107 return resultobj;
25108 fail:
25109 return NULL;
25110 }
25111
25112
25113 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
25114 PyObject *resultobj;
25115 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25116 wxTreeItemId result;
25117 PyObject * obj0 = 0 ;
25118 char *kwnames[] = {
25119 (char *) "self", NULL
25120 };
25121
25122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25125 {
25126 PyThreadState* __tstate = wxPyBeginAllowThreads();
25127 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25128
25129 wxPyEndAllowThreads(__tstate);
25130 if (PyErr_Occurred()) SWIG_fail;
25131 }
25132 {
25133 wxTreeItemId * resultptr;
25134 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25135 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25136 }
25137 return resultobj;
25138 fail:
25139 return NULL;
25140 }
25141
25142
25143 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
25144 PyObject *resultobj;
25145 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25146 wxTreeItemId result;
25147 PyObject * obj0 = 0 ;
25148 char *kwnames[] = {
25149 (char *) "self", NULL
25150 };
25151
25152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25155 {
25156 PyThreadState* __tstate = wxPyBeginAllowThreads();
25157 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25158
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 {
25163 wxTreeItemId * resultptr;
25164 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25165 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25166 }
25167 return resultobj;
25168 fail:
25169 return NULL;
25170 }
25171
25172
25173 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
25174 PyObject *resultobj;
25175 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25176 PyObject *result;
25177 PyObject * obj0 = 0 ;
25178 char *kwnames[] = {
25179 (char *) "self", NULL
25180 };
25181
25182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25185 {
25186 PyThreadState* __tstate = wxPyBeginAllowThreads();
25187 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25188
25189 wxPyEndAllowThreads(__tstate);
25190 if (PyErr_Occurred()) SWIG_fail;
25191 }
25192 resultobj = result;
25193 return resultobj;
25194 fail:
25195 return NULL;
25196 }
25197
25198
25199 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
25200 PyObject *resultobj;
25201 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25202 wxTreeItemId *arg2 = 0 ;
25203 wxTreeItemId result;
25204 PyObject * obj0 = 0 ;
25205 PyObject * obj1 = 0 ;
25206 char *kwnames[] = {
25207 (char *) "self",(char *) "item", NULL
25208 };
25209
25210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25214 SWIG_POINTER_EXCEPTION | 0)) == -1)
25215 SWIG_fail;
25216 if (arg2 == NULL) {
25217 PyErr_SetString(PyExc_TypeError,"null reference");
25218 SWIG_fail;
25219 }
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25223
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
25227 {
25228 wxTreeItemId * resultptr;
25229 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25231 }
25232 return resultobj;
25233 fail:
25234 return NULL;
25235 }
25236
25237
25238 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
25239 PyObject *resultobj;
25240 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25241 wxTreeItemId *arg2 = 0 ;
25242 PyObject *result;
25243 PyObject * obj0 = 0 ;
25244 PyObject * obj1 = 0 ;
25245 char *kwnames[] = {
25246 (char *) "self",(char *) "item", NULL
25247 };
25248
25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25253 SWIG_POINTER_EXCEPTION | 0)) == -1)
25254 SWIG_fail;
25255 if (arg2 == NULL) {
25256 PyErr_SetString(PyExc_TypeError,"null reference");
25257 SWIG_fail;
25258 }
25259 {
25260 PyThreadState* __tstate = wxPyBeginAllowThreads();
25261 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25262
25263 wxPyEndAllowThreads(__tstate);
25264 if (PyErr_Occurred()) SWIG_fail;
25265 }
25266 resultobj = result;
25267 return resultobj;
25268 fail:
25269 return NULL;
25270 }
25271
25272
25273 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
25274 PyObject *resultobj;
25275 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25276 wxTreeItemId *arg2 = 0 ;
25277 void *arg3 = (void *) 0 ;
25278 PyObject *result;
25279 PyObject * obj0 = 0 ;
25280 PyObject * obj1 = 0 ;
25281 PyObject * obj2 = 0 ;
25282 char *kwnames[] = {
25283 (char *) "self",(char *) "item",(char *) "cookie", NULL
25284 };
25285
25286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25290 SWIG_POINTER_EXCEPTION | 0)) == -1)
25291 SWIG_fail;
25292 if (arg2 == NULL) {
25293 PyErr_SetString(PyExc_TypeError,"null reference");
25294 SWIG_fail;
25295 }
25296 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25297 {
25298 PyThreadState* __tstate = wxPyBeginAllowThreads();
25299 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25300
25301 wxPyEndAllowThreads(__tstate);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 }
25304 resultobj = result;
25305 return resultobj;
25306 fail:
25307 return NULL;
25308 }
25309
25310
25311 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
25312 PyObject *resultobj;
25313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25314 wxTreeItemId *arg2 = 0 ;
25315 wxTreeItemId result;
25316 PyObject * obj0 = 0 ;
25317 PyObject * obj1 = 0 ;
25318 char *kwnames[] = {
25319 (char *) "self",(char *) "item", NULL
25320 };
25321
25322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25326 SWIG_POINTER_EXCEPTION | 0)) == -1)
25327 SWIG_fail;
25328 if (arg2 == NULL) {
25329 PyErr_SetString(PyExc_TypeError,"null reference");
25330 SWIG_fail;
25331 }
25332 {
25333 PyThreadState* __tstate = wxPyBeginAllowThreads();
25334 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25335
25336 wxPyEndAllowThreads(__tstate);
25337 if (PyErr_Occurred()) SWIG_fail;
25338 }
25339 {
25340 wxTreeItemId * resultptr;
25341 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25343 }
25344 return resultobj;
25345 fail:
25346 return NULL;
25347 }
25348
25349
25350 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
25351 PyObject *resultobj;
25352 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25353 wxTreeItemId *arg2 = 0 ;
25354 wxTreeItemId result;
25355 PyObject * obj0 = 0 ;
25356 PyObject * obj1 = 0 ;
25357 char *kwnames[] = {
25358 (char *) "self",(char *) "item", NULL
25359 };
25360
25361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25364 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25365 SWIG_POINTER_EXCEPTION | 0)) == -1)
25366 SWIG_fail;
25367 if (arg2 == NULL) {
25368 PyErr_SetString(PyExc_TypeError,"null reference");
25369 SWIG_fail;
25370 }
25371 {
25372 PyThreadState* __tstate = wxPyBeginAllowThreads();
25373 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25374
25375 wxPyEndAllowThreads(__tstate);
25376 if (PyErr_Occurred()) SWIG_fail;
25377 }
25378 {
25379 wxTreeItemId * resultptr;
25380 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25382 }
25383 return resultobj;
25384 fail:
25385 return NULL;
25386 }
25387
25388
25389 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
25390 PyObject *resultobj;
25391 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25392 wxTreeItemId *arg2 = 0 ;
25393 wxTreeItemId result;
25394 PyObject * obj0 = 0 ;
25395 PyObject * obj1 = 0 ;
25396 char *kwnames[] = {
25397 (char *) "self",(char *) "item", NULL
25398 };
25399
25400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25404 SWIG_POINTER_EXCEPTION | 0)) == -1)
25405 SWIG_fail;
25406 if (arg2 == NULL) {
25407 PyErr_SetString(PyExc_TypeError,"null reference");
25408 SWIG_fail;
25409 }
25410 {
25411 PyThreadState* __tstate = wxPyBeginAllowThreads();
25412 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25413
25414 wxPyEndAllowThreads(__tstate);
25415 if (PyErr_Occurred()) SWIG_fail;
25416 }
25417 {
25418 wxTreeItemId * resultptr;
25419 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25420 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25421 }
25422 return resultobj;
25423 fail:
25424 return NULL;
25425 }
25426
25427
25428 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
25429 PyObject *resultobj;
25430 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25431 wxTreeItemId result;
25432 PyObject * obj0 = 0 ;
25433 char *kwnames[] = {
25434 (char *) "self", NULL
25435 };
25436
25437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25440 {
25441 PyThreadState* __tstate = wxPyBeginAllowThreads();
25442 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25443
25444 wxPyEndAllowThreads(__tstate);
25445 if (PyErr_Occurred()) SWIG_fail;
25446 }
25447 {
25448 wxTreeItemId * resultptr;
25449 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25450 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25451 }
25452 return resultobj;
25453 fail:
25454 return NULL;
25455 }
25456
25457
25458 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25459 PyObject *resultobj;
25460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25461 wxTreeItemId *arg2 = 0 ;
25462 wxTreeItemId result;
25463 PyObject * obj0 = 0 ;
25464 PyObject * obj1 = 0 ;
25465 char *kwnames[] = {
25466 (char *) "self",(char *) "item", NULL
25467 };
25468
25469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25473 SWIG_POINTER_EXCEPTION | 0)) == -1)
25474 SWIG_fail;
25475 if (arg2 == NULL) {
25476 PyErr_SetString(PyExc_TypeError,"null reference");
25477 SWIG_fail;
25478 }
25479 {
25480 PyThreadState* __tstate = wxPyBeginAllowThreads();
25481 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25482
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 {
25487 wxTreeItemId * resultptr;
25488 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25489 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25490 }
25491 return resultobj;
25492 fail:
25493 return NULL;
25494 }
25495
25496
25497 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25498 PyObject *resultobj;
25499 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25500 wxTreeItemId *arg2 = 0 ;
25501 wxTreeItemId result;
25502 PyObject * obj0 = 0 ;
25503 PyObject * obj1 = 0 ;
25504 char *kwnames[] = {
25505 (char *) "self",(char *) "item", NULL
25506 };
25507
25508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25512 SWIG_POINTER_EXCEPTION | 0)) == -1)
25513 SWIG_fail;
25514 if (arg2 == NULL) {
25515 PyErr_SetString(PyExc_TypeError,"null reference");
25516 SWIG_fail;
25517 }
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
25525 {
25526 wxTreeItemId * resultptr;
25527 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25529 }
25530 return resultobj;
25531 fail:
25532 return NULL;
25533 }
25534
25535
25536 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
25537 PyObject *resultobj;
25538 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25539 wxString *arg2 = 0 ;
25540 int arg3 = (int) -1 ;
25541 int arg4 = (int) -1 ;
25542 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25543 wxTreeItemId result;
25544 bool temp2 = False ;
25545 PyObject * obj0 = 0 ;
25546 PyObject * obj1 = 0 ;
25547 PyObject * obj2 = 0 ;
25548 PyObject * obj3 = 0 ;
25549 PyObject * obj4 = 0 ;
25550 char *kwnames[] = {
25551 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25552 };
25553
25554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25557 {
25558 arg2 = wxString_in_helper(obj1);
25559 if (arg2 == NULL) SWIG_fail;
25560 temp2 = True;
25561 }
25562 if (obj2) {
25563 arg3 = (int) SWIG_AsInt(obj2);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 if (obj3) {
25567 arg4 = (int) SWIG_AsInt(obj3);
25568 if (PyErr_Occurred()) SWIG_fail;
25569 }
25570 if (obj4) {
25571 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25573 }
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25577
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 {
25582 wxTreeItemId * resultptr;
25583 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25585 }
25586 {
25587 if (temp2)
25588 delete arg2;
25589 }
25590 return resultobj;
25591 fail:
25592 {
25593 if (temp2)
25594 delete arg2;
25595 }
25596 return NULL;
25597 }
25598
25599
25600 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
25601 PyObject *resultobj;
25602 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25603 wxTreeItemId *arg2 = 0 ;
25604 wxString *arg3 = 0 ;
25605 int arg4 = (int) -1 ;
25606 int arg5 = (int) -1 ;
25607 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25608 wxTreeItemId result;
25609 bool temp3 = False ;
25610 PyObject * obj0 = 0 ;
25611 PyObject * obj1 = 0 ;
25612 PyObject * obj2 = 0 ;
25613 PyObject * obj3 = 0 ;
25614 PyObject * obj4 = 0 ;
25615 PyObject * obj5 = 0 ;
25616 char *kwnames[] = {
25617 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25618 };
25619
25620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25624 SWIG_POINTER_EXCEPTION | 0)) == -1)
25625 SWIG_fail;
25626 if (arg2 == NULL) {
25627 PyErr_SetString(PyExc_TypeError,"null reference");
25628 SWIG_fail;
25629 }
25630 {
25631 arg3 = wxString_in_helper(obj2);
25632 if (arg3 == NULL) SWIG_fail;
25633 temp3 = True;
25634 }
25635 if (obj3) {
25636 arg4 = (int) SWIG_AsInt(obj3);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 if (obj4) {
25640 arg5 = (int) SWIG_AsInt(obj4);
25641 if (PyErr_Occurred()) SWIG_fail;
25642 }
25643 if (obj5) {
25644 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25646 }
25647 {
25648 PyThreadState* __tstate = wxPyBeginAllowThreads();
25649 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25650
25651 wxPyEndAllowThreads(__tstate);
25652 if (PyErr_Occurred()) SWIG_fail;
25653 }
25654 {
25655 wxTreeItemId * resultptr;
25656 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25658 }
25659 {
25660 if (temp3)
25661 delete arg3;
25662 }
25663 return resultobj;
25664 fail:
25665 {
25666 if (temp3)
25667 delete arg3;
25668 }
25669 return NULL;
25670 }
25671
25672
25673 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25674 PyObject *resultobj;
25675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25676 wxTreeItemId *arg2 = 0 ;
25677 wxTreeItemId *arg3 = 0 ;
25678 wxString *arg4 = 0 ;
25679 int arg5 = (int) -1 ;
25680 int arg6 = (int) -1 ;
25681 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25682 wxTreeItemId result;
25683 bool temp4 = False ;
25684 PyObject * obj0 = 0 ;
25685 PyObject * obj1 = 0 ;
25686 PyObject * obj2 = 0 ;
25687 PyObject * obj3 = 0 ;
25688 PyObject * obj4 = 0 ;
25689 PyObject * obj5 = 0 ;
25690 PyObject * obj6 = 0 ;
25691 char *kwnames[] = {
25692 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25693 };
25694
25695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25699 SWIG_POINTER_EXCEPTION | 0)) == -1)
25700 SWIG_fail;
25701 if (arg2 == NULL) {
25702 PyErr_SetString(PyExc_TypeError,"null reference");
25703 SWIG_fail;
25704 }
25705 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
25706 SWIG_POINTER_EXCEPTION | 0)) == -1)
25707 SWIG_fail;
25708 if (arg3 == NULL) {
25709 PyErr_SetString(PyExc_TypeError,"null reference");
25710 SWIG_fail;
25711 }
25712 {
25713 arg4 = wxString_in_helper(obj3);
25714 if (arg4 == NULL) SWIG_fail;
25715 temp4 = True;
25716 }
25717 if (obj4) {
25718 arg5 = (int) SWIG_AsInt(obj4);
25719 if (PyErr_Occurred()) SWIG_fail;
25720 }
25721 if (obj5) {
25722 arg6 = (int) SWIG_AsInt(obj5);
25723 if (PyErr_Occurred()) SWIG_fail;
25724 }
25725 if (obj6) {
25726 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25728 }
25729 {
25730 PyThreadState* __tstate = wxPyBeginAllowThreads();
25731 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25732
25733 wxPyEndAllowThreads(__tstate);
25734 if (PyErr_Occurred()) SWIG_fail;
25735 }
25736 {
25737 wxTreeItemId * resultptr;
25738 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25740 }
25741 {
25742 if (temp4)
25743 delete arg4;
25744 }
25745 return resultobj;
25746 fail:
25747 {
25748 if (temp4)
25749 delete arg4;
25750 }
25751 return NULL;
25752 }
25753
25754
25755 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
25756 PyObject *resultobj;
25757 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25758 wxTreeItemId *arg2 = 0 ;
25759 size_t arg3 ;
25760 wxString *arg4 = 0 ;
25761 int arg5 = (int) -1 ;
25762 int arg6 = (int) -1 ;
25763 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25764 wxTreeItemId result;
25765 bool temp4 = False ;
25766 PyObject * obj0 = 0 ;
25767 PyObject * obj1 = 0 ;
25768 PyObject * obj2 = 0 ;
25769 PyObject * obj3 = 0 ;
25770 PyObject * obj4 = 0 ;
25771 PyObject * obj5 = 0 ;
25772 PyObject * obj6 = 0 ;
25773 char *kwnames[] = {
25774 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25775 };
25776
25777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25781 SWIG_POINTER_EXCEPTION | 0)) == -1)
25782 SWIG_fail;
25783 if (arg2 == NULL) {
25784 PyErr_SetString(PyExc_TypeError,"null reference");
25785 SWIG_fail;
25786 }
25787 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
25788 if (PyErr_Occurred()) SWIG_fail;
25789 {
25790 arg4 = wxString_in_helper(obj3);
25791 if (arg4 == NULL) SWIG_fail;
25792 temp4 = True;
25793 }
25794 if (obj4) {
25795 arg5 = (int) SWIG_AsInt(obj4);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
25798 if (obj5) {
25799 arg6 = (int) SWIG_AsInt(obj5);
25800 if (PyErr_Occurred()) SWIG_fail;
25801 }
25802 if (obj6) {
25803 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25805 }
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25809
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 {
25814 wxTreeItemId * resultptr;
25815 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25816 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25817 }
25818 {
25819 if (temp4)
25820 delete arg4;
25821 }
25822 return resultobj;
25823 fail:
25824 {
25825 if (temp4)
25826 delete arg4;
25827 }
25828 return NULL;
25829 }
25830
25831
25832 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
25833 PyObject *resultobj;
25834 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25835 wxTreeItemId *arg2 = 0 ;
25836 wxString *arg3 = 0 ;
25837 int arg4 = (int) -1 ;
25838 int arg5 = (int) -1 ;
25839 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25840 wxTreeItemId result;
25841 bool temp3 = False ;
25842 PyObject * obj0 = 0 ;
25843 PyObject * obj1 = 0 ;
25844 PyObject * obj2 = 0 ;
25845 PyObject * obj3 = 0 ;
25846 PyObject * obj4 = 0 ;
25847 PyObject * obj5 = 0 ;
25848 char *kwnames[] = {
25849 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25850 };
25851
25852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25856 SWIG_POINTER_EXCEPTION | 0)) == -1)
25857 SWIG_fail;
25858 if (arg2 == NULL) {
25859 PyErr_SetString(PyExc_TypeError,"null reference");
25860 SWIG_fail;
25861 }
25862 {
25863 arg3 = wxString_in_helper(obj2);
25864 if (arg3 == NULL) SWIG_fail;
25865 temp3 = True;
25866 }
25867 if (obj3) {
25868 arg4 = (int) SWIG_AsInt(obj3);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 }
25871 if (obj4) {
25872 arg5 = (int) SWIG_AsInt(obj4);
25873 if (PyErr_Occurred()) SWIG_fail;
25874 }
25875 if (obj5) {
25876 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25878 }
25879 {
25880 PyThreadState* __tstate = wxPyBeginAllowThreads();
25881 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25882
25883 wxPyEndAllowThreads(__tstate);
25884 if (PyErr_Occurred()) SWIG_fail;
25885 }
25886 {
25887 wxTreeItemId * resultptr;
25888 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25890 }
25891 {
25892 if (temp3)
25893 delete arg3;
25894 }
25895 return resultobj;
25896 fail:
25897 {
25898 if (temp3)
25899 delete arg3;
25900 }
25901 return NULL;
25902 }
25903
25904
25905 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
25906 PyObject *resultobj;
25907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25908 wxTreeItemId *arg2 = 0 ;
25909 PyObject * obj0 = 0 ;
25910 PyObject * obj1 = 0 ;
25911 char *kwnames[] = {
25912 (char *) "self",(char *) "item", NULL
25913 };
25914
25915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25919 SWIG_POINTER_EXCEPTION | 0)) == -1)
25920 SWIG_fail;
25921 if (arg2 == NULL) {
25922 PyErr_SetString(PyExc_TypeError,"null reference");
25923 SWIG_fail;
25924 }
25925 {
25926 PyThreadState* __tstate = wxPyBeginAllowThreads();
25927 (arg1)->Delete((wxTreeItemId const &)*arg2);
25928
25929 wxPyEndAllowThreads(__tstate);
25930 if (PyErr_Occurred()) SWIG_fail;
25931 }
25932 Py_INCREF(Py_None); resultobj = Py_None;
25933 return resultobj;
25934 fail:
25935 return NULL;
25936 }
25937
25938
25939 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
25940 PyObject *resultobj;
25941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25942 wxTreeItemId *arg2 = 0 ;
25943 PyObject * obj0 = 0 ;
25944 PyObject * obj1 = 0 ;
25945 char *kwnames[] = {
25946 (char *) "self",(char *) "item", NULL
25947 };
25948
25949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25953 SWIG_POINTER_EXCEPTION | 0)) == -1)
25954 SWIG_fail;
25955 if (arg2 == NULL) {
25956 PyErr_SetString(PyExc_TypeError,"null reference");
25957 SWIG_fail;
25958 }
25959 {
25960 PyThreadState* __tstate = wxPyBeginAllowThreads();
25961 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25962
25963 wxPyEndAllowThreads(__tstate);
25964 if (PyErr_Occurred()) SWIG_fail;
25965 }
25966 Py_INCREF(Py_None); resultobj = Py_None;
25967 return resultobj;
25968 fail:
25969 return NULL;
25970 }
25971
25972
25973 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25974 PyObject *resultobj;
25975 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25976 PyObject * obj0 = 0 ;
25977 char *kwnames[] = {
25978 (char *) "self", NULL
25979 };
25980
25981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25984 {
25985 PyThreadState* __tstate = wxPyBeginAllowThreads();
25986 (arg1)->DeleteAllItems();
25987
25988 wxPyEndAllowThreads(__tstate);
25989 if (PyErr_Occurred()) SWIG_fail;
25990 }
25991 Py_INCREF(Py_None); resultobj = Py_None;
25992 return resultobj;
25993 fail:
25994 return NULL;
25995 }
25996
25997
25998 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
25999 PyObject *resultobj;
26000 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26001 wxTreeItemId *arg2 = 0 ;
26002 PyObject * obj0 = 0 ;
26003 PyObject * obj1 = 0 ;
26004 char *kwnames[] = {
26005 (char *) "self",(char *) "item", NULL
26006 };
26007
26008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
26009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26012 SWIG_POINTER_EXCEPTION | 0)) == -1)
26013 SWIG_fail;
26014 if (arg2 == NULL) {
26015 PyErr_SetString(PyExc_TypeError,"null reference");
26016 SWIG_fail;
26017 }
26018 {
26019 PyThreadState* __tstate = wxPyBeginAllowThreads();
26020 (arg1)->Expand((wxTreeItemId const &)*arg2);
26021
26022 wxPyEndAllowThreads(__tstate);
26023 if (PyErr_Occurred()) SWIG_fail;
26024 }
26025 Py_INCREF(Py_None); resultobj = Py_None;
26026 return resultobj;
26027 fail:
26028 return NULL;
26029 }
26030
26031
26032 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
26033 PyObject *resultobj;
26034 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26035 wxTreeItemId *arg2 = 0 ;
26036 PyObject * obj0 = 0 ;
26037 PyObject * obj1 = 0 ;
26038 char *kwnames[] = {
26039 (char *) "self",(char *) "item", NULL
26040 };
26041
26042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
26043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26046 SWIG_POINTER_EXCEPTION | 0)) == -1)
26047 SWIG_fail;
26048 if (arg2 == NULL) {
26049 PyErr_SetString(PyExc_TypeError,"null reference");
26050 SWIG_fail;
26051 }
26052 {
26053 PyThreadState* __tstate = wxPyBeginAllowThreads();
26054 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26055
26056 wxPyEndAllowThreads(__tstate);
26057 if (PyErr_Occurred()) SWIG_fail;
26058 }
26059 Py_INCREF(Py_None); resultobj = Py_None;
26060 return resultobj;
26061 fail:
26062 return NULL;
26063 }
26064
26065
26066 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
26067 PyObject *resultobj;
26068 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26069 wxTreeItemId *arg2 = 0 ;
26070 PyObject * obj0 = 0 ;
26071 PyObject * obj1 = 0 ;
26072 char *kwnames[] = {
26073 (char *) "self",(char *) "item", NULL
26074 };
26075
26076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
26077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26079 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26080 SWIG_POINTER_EXCEPTION | 0)) == -1)
26081 SWIG_fail;
26082 if (arg2 == NULL) {
26083 PyErr_SetString(PyExc_TypeError,"null reference");
26084 SWIG_fail;
26085 }
26086 {
26087 PyThreadState* __tstate = wxPyBeginAllowThreads();
26088 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26089
26090 wxPyEndAllowThreads(__tstate);
26091 if (PyErr_Occurred()) SWIG_fail;
26092 }
26093 Py_INCREF(Py_None); resultobj = Py_None;
26094 return resultobj;
26095 fail:
26096 return NULL;
26097 }
26098
26099
26100 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
26101 PyObject *resultobj;
26102 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26103 wxTreeItemId *arg2 = 0 ;
26104 PyObject * obj0 = 0 ;
26105 PyObject * obj1 = 0 ;
26106 char *kwnames[] = {
26107 (char *) "self",(char *) "item", NULL
26108 };
26109
26110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
26111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26114 SWIG_POINTER_EXCEPTION | 0)) == -1)
26115 SWIG_fail;
26116 if (arg2 == NULL) {
26117 PyErr_SetString(PyExc_TypeError,"null reference");
26118 SWIG_fail;
26119 }
26120 {
26121 PyThreadState* __tstate = wxPyBeginAllowThreads();
26122 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26123
26124 wxPyEndAllowThreads(__tstate);
26125 if (PyErr_Occurred()) SWIG_fail;
26126 }
26127 Py_INCREF(Py_None); resultobj = Py_None;
26128 return resultobj;
26129 fail:
26130 return NULL;
26131 }
26132
26133
26134 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
26135 PyObject *resultobj;
26136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26137 PyObject * obj0 = 0 ;
26138 char *kwnames[] = {
26139 (char *) "self", NULL
26140 };
26141
26142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
26143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26145 {
26146 PyThreadState* __tstate = wxPyBeginAllowThreads();
26147 (arg1)->Unselect();
26148
26149 wxPyEndAllowThreads(__tstate);
26150 if (PyErr_Occurred()) SWIG_fail;
26151 }
26152 Py_INCREF(Py_None); resultobj = Py_None;
26153 return resultobj;
26154 fail:
26155 return NULL;
26156 }
26157
26158
26159 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
26160 PyObject *resultobj;
26161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26162 wxTreeItemId *arg2 = 0 ;
26163 PyObject * obj0 = 0 ;
26164 PyObject * obj1 = 0 ;
26165 char *kwnames[] = {
26166 (char *) "self",(char *) "item", NULL
26167 };
26168
26169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26173 SWIG_POINTER_EXCEPTION | 0)) == -1)
26174 SWIG_fail;
26175 if (arg2 == NULL) {
26176 PyErr_SetString(PyExc_TypeError,"null reference");
26177 SWIG_fail;
26178 }
26179 {
26180 PyThreadState* __tstate = wxPyBeginAllowThreads();
26181 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26182
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 Py_INCREF(Py_None); resultobj = Py_None;
26187 return resultobj;
26188 fail:
26189 return NULL;
26190 }
26191
26192
26193 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
26194 PyObject *resultobj;
26195 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26196 PyObject * obj0 = 0 ;
26197 char *kwnames[] = {
26198 (char *) "self", NULL
26199 };
26200
26201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 (arg1)->UnselectAll();
26207
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 Py_INCREF(Py_None); resultobj = Py_None;
26212 return resultobj;
26213 fail:
26214 return NULL;
26215 }
26216
26217
26218 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
26219 PyObject *resultobj;
26220 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26221 wxTreeItemId *arg2 = 0 ;
26222 bool arg3 = (bool) True ;
26223 PyObject * obj0 = 0 ;
26224 PyObject * obj1 = 0 ;
26225 PyObject * obj2 = 0 ;
26226 char *kwnames[] = {
26227 (char *) "self",(char *) "item",(char *) "select", NULL
26228 };
26229
26230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26234 SWIG_POINTER_EXCEPTION | 0)) == -1)
26235 SWIG_fail;
26236 if (arg2 == NULL) {
26237 PyErr_SetString(PyExc_TypeError,"null reference");
26238 SWIG_fail;
26239 }
26240 if (obj2) {
26241 arg3 = (bool) SWIG_AsBool(obj2);
26242 if (PyErr_Occurred()) SWIG_fail;
26243 }
26244 {
26245 PyThreadState* __tstate = wxPyBeginAllowThreads();
26246 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26247
26248 wxPyEndAllowThreads(__tstate);
26249 if (PyErr_Occurred()) SWIG_fail;
26250 }
26251 Py_INCREF(Py_None); resultobj = Py_None;
26252 return resultobj;
26253 fail:
26254 return NULL;
26255 }
26256
26257
26258 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
26259 PyObject *resultobj;
26260 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26261 wxTreeItemId *arg2 = 0 ;
26262 PyObject * obj0 = 0 ;
26263 PyObject * obj1 = 0 ;
26264 char *kwnames[] = {
26265 (char *) "self",(char *) "item", NULL
26266 };
26267
26268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26272 SWIG_POINTER_EXCEPTION | 0)) == -1)
26273 SWIG_fail;
26274 if (arg2 == NULL) {
26275 PyErr_SetString(PyExc_TypeError,"null reference");
26276 SWIG_fail;
26277 }
26278 {
26279 PyThreadState* __tstate = wxPyBeginAllowThreads();
26280 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26281
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
26285 Py_INCREF(Py_None); resultobj = Py_None;
26286 return resultobj;
26287 fail:
26288 return NULL;
26289 }
26290
26291
26292 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26293 PyObject *resultobj;
26294 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26295 wxTreeItemId *arg2 = 0 ;
26296 PyObject * obj0 = 0 ;
26297 PyObject * obj1 = 0 ;
26298 char *kwnames[] = {
26299 (char *) "self",(char *) "item", NULL
26300 };
26301
26302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26306 SWIG_POINTER_EXCEPTION | 0)) == -1)
26307 SWIG_fail;
26308 if (arg2 == NULL) {
26309 PyErr_SetString(PyExc_TypeError,"null reference");
26310 SWIG_fail;
26311 }
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26315
26316 wxPyEndAllowThreads(__tstate);
26317 if (PyErr_Occurred()) SWIG_fail;
26318 }
26319 Py_INCREF(Py_None); resultobj = Py_None;
26320 return resultobj;
26321 fail:
26322 return NULL;
26323 }
26324
26325
26326 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
26327 PyObject *resultobj;
26328 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26329 wxTreeItemId *arg2 = 0 ;
26330 PyObject * obj0 = 0 ;
26331 PyObject * obj1 = 0 ;
26332 char *kwnames[] = {
26333 (char *) "self",(char *) "item", NULL
26334 };
26335
26336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1)
26341 SWIG_fail;
26342 if (arg2 == NULL) {
26343 PyErr_SetString(PyExc_TypeError,"null reference");
26344 SWIG_fail;
26345 }
26346 {
26347 PyThreadState* __tstate = wxPyBeginAllowThreads();
26348 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26349
26350 wxPyEndAllowThreads(__tstate);
26351 if (PyErr_Occurred()) SWIG_fail;
26352 }
26353 Py_INCREF(Py_None); resultobj = Py_None;
26354 return resultobj;
26355 fail:
26356 return NULL;
26357 }
26358
26359
26360 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
26361 PyObject *resultobj;
26362 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26363 wxTreeItemId *arg2 = 0 ;
26364 PyObject * obj0 = 0 ;
26365 PyObject * obj1 = 0 ;
26366 char *kwnames[] = {
26367 (char *) "self",(char *) "item", NULL
26368 };
26369
26370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26374 SWIG_POINTER_EXCEPTION | 0)) == -1)
26375 SWIG_fail;
26376 if (arg2 == NULL) {
26377 PyErr_SetString(PyExc_TypeError,"null reference");
26378 SWIG_fail;
26379 }
26380 {
26381 PyThreadState* __tstate = wxPyBeginAllowThreads();
26382 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26383
26384 wxPyEndAllowThreads(__tstate);
26385 if (PyErr_Occurred()) SWIG_fail;
26386 }
26387 Py_INCREF(Py_None); resultobj = Py_None;
26388 return resultobj;
26389 fail:
26390 return NULL;
26391 }
26392
26393
26394 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
26395 PyObject *resultobj;
26396 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26397 wxTextCtrl *result;
26398 PyObject * obj0 = 0 ;
26399 char *kwnames[] = {
26400 (char *) "self", NULL
26401 };
26402
26403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
26413 {
26414 resultobj = wxPyMake_wxObject(result);
26415 }
26416 return resultobj;
26417 fail:
26418 return NULL;
26419 }
26420
26421
26422 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26423 PyObject *resultobj;
26424 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26425 wxTreeItemId *arg2 = 0 ;
26426 PyObject * obj0 = 0 ;
26427 PyObject * obj1 = 0 ;
26428 char *kwnames[] = {
26429 (char *) "self",(char *) "item", NULL
26430 };
26431
26432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26436 SWIG_POINTER_EXCEPTION | 0)) == -1)
26437 SWIG_fail;
26438 if (arg2 == NULL) {
26439 PyErr_SetString(PyExc_TypeError,"null reference");
26440 SWIG_fail;
26441 }
26442 {
26443 PyThreadState* __tstate = wxPyBeginAllowThreads();
26444 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26445
26446 wxPyEndAllowThreads(__tstate);
26447 if (PyErr_Occurred()) SWIG_fail;
26448 }
26449 Py_INCREF(Py_None); resultobj = Py_None;
26450 return resultobj;
26451 fail:
26452 return NULL;
26453 }
26454
26455
26456 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
26457 PyObject *resultobj;
26458 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26459 wxPoint *arg2 = 0 ;
26460 int *arg3 = 0 ;
26461 wxTreeItemId result;
26462 wxPoint temp2 ;
26463 int temp3 ;
26464 PyObject * obj0 = 0 ;
26465 PyObject * obj1 = 0 ;
26466 char *kwnames[] = {
26467 (char *) "self",(char *) "point", NULL
26468 };
26469
26470 arg3 = &temp3;
26471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26474 {
26475 arg2 = &temp2;
26476 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26477 }
26478 {
26479 PyThreadState* __tstate = wxPyBeginAllowThreads();
26480 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26481
26482 wxPyEndAllowThreads(__tstate);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 }
26485 {
26486 wxTreeItemId * resultptr;
26487 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26489 }
26490 {
26491 PyObject *o = PyInt_FromLong((long) (*arg3));
26492 resultobj = t_output_helper(resultobj,o);
26493 }
26494 return resultobj;
26495 fail:
26496 return NULL;
26497 }
26498
26499
26500 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
26501 PyObject *resultobj;
26502 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26503 wxTreeItemId *arg2 = 0 ;
26504 bool arg3 = (bool) False ;
26505 PyObject *result;
26506 PyObject * obj0 = 0 ;
26507 PyObject * obj1 = 0 ;
26508 PyObject * obj2 = 0 ;
26509 char *kwnames[] = {
26510 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26511 };
26512
26513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26517 SWIG_POINTER_EXCEPTION | 0)) == -1)
26518 SWIG_fail;
26519 if (arg2 == NULL) {
26520 PyErr_SetString(PyExc_TypeError,"null reference");
26521 SWIG_fail;
26522 }
26523 if (obj2) {
26524 arg3 = (bool) SWIG_AsBool(obj2);
26525 if (PyErr_Occurred()) SWIG_fail;
26526 }
26527 {
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26530
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
26534 resultobj = result;
26535 return resultobj;
26536 fail:
26537 return NULL;
26538 }
26539
26540
26541 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
26542 PyObject *obj;
26543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26544 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26545 Py_INCREF(obj);
26546 return Py_BuildValue((char *)"");
26547 }
26548 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
26549 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26550 return 1;
26551 }
26552
26553
26554 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26555 PyObject *pyobj;
26556
26557 {
26558 #if wxUSE_UNICODE
26559 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26560 #else
26561 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26562 #endif
26563 }
26564 return pyobj;
26565 }
26566
26567
26568 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26569 PyObject *resultobj;
26570 wxWindow *arg1 = (wxWindow *) 0 ;
26571 int arg2 = (int) (int)-1 ;
26572 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26573 wxString *arg3 = (wxString *) &arg3_defvalue ;
26574 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26575 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26576 wxSize const &arg5_defvalue = wxDefaultSize ;
26577 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26578 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26579 wxString const &arg7_defvalue = wxPyEmptyString ;
26580 wxString *arg7 = (wxString *) &arg7_defvalue ;
26581 int arg8 = (int) 0 ;
26582 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26583 wxString *arg9 = (wxString *) &arg9_defvalue ;
26584 wxGenericDirCtrl *result;
26585 bool temp3 = False ;
26586 wxPoint temp4 ;
26587 wxSize temp5 ;
26588 bool temp7 = False ;
26589 bool temp9 = False ;
26590 PyObject * obj0 = 0 ;
26591 PyObject * obj1 = 0 ;
26592 PyObject * obj2 = 0 ;
26593 PyObject * obj3 = 0 ;
26594 PyObject * obj4 = 0 ;
26595 PyObject * obj5 = 0 ;
26596 PyObject * obj6 = 0 ;
26597 PyObject * obj7 = 0 ;
26598 PyObject * obj8 = 0 ;
26599 char *kwnames[] = {
26600 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26601 };
26602
26603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26606 if (obj1) {
26607 arg2 = (int const) SWIG_AsInt(obj1);
26608 if (PyErr_Occurred()) SWIG_fail;
26609 }
26610 if (obj2) {
26611 {
26612 arg3 = wxString_in_helper(obj2);
26613 if (arg3 == NULL) SWIG_fail;
26614 temp3 = True;
26615 }
26616 }
26617 if (obj3) {
26618 {
26619 arg4 = &temp4;
26620 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26621 }
26622 }
26623 if (obj4) {
26624 {
26625 arg5 = &temp5;
26626 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26627 }
26628 }
26629 if (obj5) {
26630 arg6 = (long) SWIG_AsLong(obj5);
26631 if (PyErr_Occurred()) SWIG_fail;
26632 }
26633 if (obj6) {
26634 {
26635 arg7 = wxString_in_helper(obj6);
26636 if (arg7 == NULL) SWIG_fail;
26637 temp7 = True;
26638 }
26639 }
26640 if (obj7) {
26641 arg8 = (int) SWIG_AsInt(obj7);
26642 if (PyErr_Occurred()) SWIG_fail;
26643 }
26644 if (obj8) {
26645 {
26646 arg9 = wxString_in_helper(obj8);
26647 if (arg9 == NULL) SWIG_fail;
26648 temp9 = True;
26649 }
26650 }
26651 {
26652 PyThreadState* __tstate = wxPyBeginAllowThreads();
26653 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26654
26655 wxPyEndAllowThreads(__tstate);
26656 if (PyErr_Occurred()) SWIG_fail;
26657 }
26658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26659 {
26660 if (temp3)
26661 delete arg3;
26662 }
26663 {
26664 if (temp7)
26665 delete arg7;
26666 }
26667 {
26668 if (temp9)
26669 delete arg9;
26670 }
26671 return resultobj;
26672 fail:
26673 {
26674 if (temp3)
26675 delete arg3;
26676 }
26677 {
26678 if (temp7)
26679 delete arg7;
26680 }
26681 {
26682 if (temp9)
26683 delete arg9;
26684 }
26685 return NULL;
26686 }
26687
26688
26689 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26690 PyObject *resultobj;
26691 wxGenericDirCtrl *result;
26692 char *kwnames[] = {
26693 NULL
26694 };
26695
26696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26697 {
26698 PyThreadState* __tstate = wxPyBeginAllowThreads();
26699 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26700
26701 wxPyEndAllowThreads(__tstate);
26702 if (PyErr_Occurred()) SWIG_fail;
26703 }
26704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26705 return resultobj;
26706 fail:
26707 return NULL;
26708 }
26709
26710
26711 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26712 PyObject *resultobj;
26713 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26714 wxWindow *arg2 = (wxWindow *) 0 ;
26715 int arg3 = (int) (int)-1 ;
26716 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26717 wxString *arg4 = (wxString *) &arg4_defvalue ;
26718 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26719 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26720 wxSize const &arg6_defvalue = wxDefaultSize ;
26721 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26722 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26723 wxString const &arg8_defvalue = wxPyEmptyString ;
26724 wxString *arg8 = (wxString *) &arg8_defvalue ;
26725 int arg9 = (int) 0 ;
26726 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26727 wxString *arg10 = (wxString *) &arg10_defvalue ;
26728 bool result;
26729 bool temp4 = False ;
26730 wxPoint temp5 ;
26731 wxSize temp6 ;
26732 bool temp8 = False ;
26733 bool temp10 = False ;
26734 PyObject * obj0 = 0 ;
26735 PyObject * obj1 = 0 ;
26736 PyObject * obj2 = 0 ;
26737 PyObject * obj3 = 0 ;
26738 PyObject * obj4 = 0 ;
26739 PyObject * obj5 = 0 ;
26740 PyObject * obj6 = 0 ;
26741 PyObject * obj7 = 0 ;
26742 PyObject * obj8 = 0 ;
26743 PyObject * obj9 = 0 ;
26744 char *kwnames[] = {
26745 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26746 };
26747
26748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26751 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26753 if (obj2) {
26754 arg3 = (int const) SWIG_AsInt(obj2);
26755 if (PyErr_Occurred()) SWIG_fail;
26756 }
26757 if (obj3) {
26758 {
26759 arg4 = wxString_in_helper(obj3);
26760 if (arg4 == NULL) SWIG_fail;
26761 temp4 = True;
26762 }
26763 }
26764 if (obj4) {
26765 {
26766 arg5 = &temp5;
26767 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26768 }
26769 }
26770 if (obj5) {
26771 {
26772 arg6 = &temp6;
26773 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26774 }
26775 }
26776 if (obj6) {
26777 arg7 = (long) SWIG_AsLong(obj6);
26778 if (PyErr_Occurred()) SWIG_fail;
26779 }
26780 if (obj7) {
26781 {
26782 arg8 = wxString_in_helper(obj7);
26783 if (arg8 == NULL) SWIG_fail;
26784 temp8 = True;
26785 }
26786 }
26787 if (obj8) {
26788 arg9 = (int) SWIG_AsInt(obj8);
26789 if (PyErr_Occurred()) SWIG_fail;
26790 }
26791 if (obj9) {
26792 {
26793 arg10 = wxString_in_helper(obj9);
26794 if (arg10 == NULL) SWIG_fail;
26795 temp10 = True;
26796 }
26797 }
26798 {
26799 PyThreadState* __tstate = wxPyBeginAllowThreads();
26800 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26801
26802 wxPyEndAllowThreads(__tstate);
26803 if (PyErr_Occurred()) SWIG_fail;
26804 }
26805 {
26806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26807 }
26808 {
26809 if (temp4)
26810 delete arg4;
26811 }
26812 {
26813 if (temp8)
26814 delete arg8;
26815 }
26816 {
26817 if (temp10)
26818 delete arg10;
26819 }
26820 return resultobj;
26821 fail:
26822 {
26823 if (temp4)
26824 delete arg4;
26825 }
26826 {
26827 if (temp8)
26828 delete arg8;
26829 }
26830 {
26831 if (temp10)
26832 delete arg10;
26833 }
26834 return NULL;
26835 }
26836
26837
26838 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
26839 PyObject *resultobj;
26840 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26841 wxString *arg2 = 0 ;
26842 bool result;
26843 bool temp2 = False ;
26844 PyObject * obj0 = 0 ;
26845 PyObject * obj1 = 0 ;
26846 char *kwnames[] = {
26847 (char *) "self",(char *) "path", NULL
26848 };
26849
26850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26853 {
26854 arg2 = wxString_in_helper(obj1);
26855 if (arg2 == NULL) SWIG_fail;
26856 temp2 = True;
26857 }
26858 {
26859 PyThreadState* __tstate = wxPyBeginAllowThreads();
26860 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26861
26862 wxPyEndAllowThreads(__tstate);
26863 if (PyErr_Occurred()) SWIG_fail;
26864 }
26865 {
26866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26867 }
26868 {
26869 if (temp2)
26870 delete arg2;
26871 }
26872 return resultobj;
26873 fail:
26874 {
26875 if (temp2)
26876 delete arg2;
26877 }
26878 return NULL;
26879 }
26880
26881
26882 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
26883 PyObject *resultobj;
26884 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26885 wxString result;
26886 PyObject * obj0 = 0 ;
26887 char *kwnames[] = {
26888 (char *) "self", NULL
26889 };
26890
26891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26894 {
26895 PyThreadState* __tstate = wxPyBeginAllowThreads();
26896 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26897
26898 wxPyEndAllowThreads(__tstate);
26899 if (PyErr_Occurred()) SWIG_fail;
26900 }
26901 {
26902 #if wxUSE_UNICODE
26903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26904 #else
26905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26906 #endif
26907 }
26908 return resultobj;
26909 fail:
26910 return NULL;
26911 }
26912
26913
26914 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
26915 PyObject *resultobj;
26916 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26917 wxString *arg2 = 0 ;
26918 bool temp2 = False ;
26919 PyObject * obj0 = 0 ;
26920 PyObject * obj1 = 0 ;
26921 char *kwnames[] = {
26922 (char *) "self",(char *) "path", NULL
26923 };
26924
26925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26928 {
26929 arg2 = wxString_in_helper(obj1);
26930 if (arg2 == NULL) SWIG_fail;
26931 temp2 = True;
26932 }
26933 {
26934 PyThreadState* __tstate = wxPyBeginAllowThreads();
26935 (arg1)->SetDefaultPath((wxString const &)*arg2);
26936
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
26940 Py_INCREF(Py_None); resultobj = Py_None;
26941 {
26942 if (temp2)
26943 delete arg2;
26944 }
26945 return resultobj;
26946 fail:
26947 {
26948 if (temp2)
26949 delete arg2;
26950 }
26951 return NULL;
26952 }
26953
26954
26955 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
26956 PyObject *resultobj;
26957 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26958 wxString result;
26959 PyObject * obj0 = 0 ;
26960 char *kwnames[] = {
26961 (char *) "self", NULL
26962 };
26963
26964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26967 {
26968 PyThreadState* __tstate = wxPyBeginAllowThreads();
26969 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26970
26971 wxPyEndAllowThreads(__tstate);
26972 if (PyErr_Occurred()) SWIG_fail;
26973 }
26974 {
26975 #if wxUSE_UNICODE
26976 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26977 #else
26978 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26979 #endif
26980 }
26981 return resultobj;
26982 fail:
26983 return NULL;
26984 }
26985
26986
26987 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
26988 PyObject *resultobj;
26989 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26990 wxString result;
26991 PyObject * obj0 = 0 ;
26992 char *kwnames[] = {
26993 (char *) "self", NULL
26994 };
26995
26996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26999 {
27000 PyThreadState* __tstate = wxPyBeginAllowThreads();
27001 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27002
27003 wxPyEndAllowThreads(__tstate);
27004 if (PyErr_Occurred()) SWIG_fail;
27005 }
27006 {
27007 #if wxUSE_UNICODE
27008 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27009 #else
27010 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27011 #endif
27012 }
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
27020 PyObject *resultobj;
27021 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27022 wxString *arg2 = 0 ;
27023 bool temp2 = False ;
27024 PyObject * obj0 = 0 ;
27025 PyObject * obj1 = 0 ;
27026 char *kwnames[] = {
27027 (char *) "self",(char *) "path", NULL
27028 };
27029
27030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
27031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27033 {
27034 arg2 = wxString_in_helper(obj1);
27035 if (arg2 == NULL) SWIG_fail;
27036 temp2 = True;
27037 }
27038 {
27039 PyThreadState* __tstate = wxPyBeginAllowThreads();
27040 (arg1)->SetPath((wxString const &)*arg2);
27041
27042 wxPyEndAllowThreads(__tstate);
27043 if (PyErr_Occurred()) SWIG_fail;
27044 }
27045 Py_INCREF(Py_None); resultobj = Py_None;
27046 {
27047 if (temp2)
27048 delete arg2;
27049 }
27050 return resultobj;
27051 fail:
27052 {
27053 if (temp2)
27054 delete arg2;
27055 }
27056 return NULL;
27057 }
27058
27059
27060 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
27061 PyObject *resultobj;
27062 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27063 bool arg2 ;
27064 PyObject * obj0 = 0 ;
27065 PyObject * obj1 = 0 ;
27066 char *kwnames[] = {
27067 (char *) "self",(char *) "show", NULL
27068 };
27069
27070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
27071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27073 arg2 = (bool) SWIG_AsBool(obj1);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
27077 (arg1)->ShowHidden(arg2);
27078
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 Py_INCREF(Py_None); resultobj = Py_None;
27083 return resultobj;
27084 fail:
27085 return NULL;
27086 }
27087
27088
27089 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
27090 PyObject *resultobj;
27091 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27092 bool result;
27093 PyObject * obj0 = 0 ;
27094 char *kwnames[] = {
27095 (char *) "self", NULL
27096 };
27097
27098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
27099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27101 {
27102 PyThreadState* __tstate = wxPyBeginAllowThreads();
27103 result = (bool)(arg1)->GetShowHidden();
27104
27105 wxPyEndAllowThreads(__tstate);
27106 if (PyErr_Occurred()) SWIG_fail;
27107 }
27108 {
27109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27110 }
27111 return resultobj;
27112 fail:
27113 return NULL;
27114 }
27115
27116
27117 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
27118 PyObject *resultobj;
27119 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27120 wxString result;
27121 PyObject * obj0 = 0 ;
27122 char *kwnames[] = {
27123 (char *) "self", NULL
27124 };
27125
27126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
27127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27129 {
27130 PyThreadState* __tstate = wxPyBeginAllowThreads();
27131 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27132
27133 wxPyEndAllowThreads(__tstate);
27134 if (PyErr_Occurred()) SWIG_fail;
27135 }
27136 {
27137 #if wxUSE_UNICODE
27138 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27139 #else
27140 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27141 #endif
27142 }
27143 return resultobj;
27144 fail:
27145 return NULL;
27146 }
27147
27148
27149 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
27150 PyObject *resultobj;
27151 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27152 wxString *arg2 = 0 ;
27153 bool temp2 = False ;
27154 PyObject * obj0 = 0 ;
27155 PyObject * obj1 = 0 ;
27156 char *kwnames[] = {
27157 (char *) "self",(char *) "filter", NULL
27158 };
27159
27160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27163 {
27164 arg2 = wxString_in_helper(obj1);
27165 if (arg2 == NULL) SWIG_fail;
27166 temp2 = True;
27167 }
27168 {
27169 PyThreadState* __tstate = wxPyBeginAllowThreads();
27170 (arg1)->SetFilter((wxString const &)*arg2);
27171
27172 wxPyEndAllowThreads(__tstate);
27173 if (PyErr_Occurred()) SWIG_fail;
27174 }
27175 Py_INCREF(Py_None); resultobj = Py_None;
27176 {
27177 if (temp2)
27178 delete arg2;
27179 }
27180 return resultobj;
27181 fail:
27182 {
27183 if (temp2)
27184 delete arg2;
27185 }
27186 return NULL;
27187 }
27188
27189
27190 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
27191 PyObject *resultobj;
27192 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27193 int result;
27194 PyObject * obj0 = 0 ;
27195 char *kwnames[] = {
27196 (char *) "self", NULL
27197 };
27198
27199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27202 {
27203 PyThreadState* __tstate = wxPyBeginAllowThreads();
27204 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27205
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
27209 resultobj = SWIG_FromInt((int)result);
27210 return resultobj;
27211 fail:
27212 return NULL;
27213 }
27214
27215
27216 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
27217 PyObject *resultobj;
27218 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27219 int arg2 ;
27220 PyObject * obj0 = 0 ;
27221 PyObject * obj1 = 0 ;
27222 char *kwnames[] = {
27223 (char *) "self",(char *) "n", NULL
27224 };
27225
27226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27229 arg2 = (int) SWIG_AsInt(obj1);
27230 if (PyErr_Occurred()) SWIG_fail;
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
27233 (arg1)->SetFilterIndex(arg2);
27234
27235 wxPyEndAllowThreads(__tstate);
27236 if (PyErr_Occurred()) SWIG_fail;
27237 }
27238 Py_INCREF(Py_None); resultobj = Py_None;
27239 return resultobj;
27240 fail:
27241 return NULL;
27242 }
27243
27244
27245 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
27246 PyObject *resultobj;
27247 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27248 wxTreeItemId result;
27249 PyObject * obj0 = 0 ;
27250 char *kwnames[] = {
27251 (char *) "self", NULL
27252 };
27253
27254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27257 {
27258 PyThreadState* __tstate = wxPyBeginAllowThreads();
27259 result = (arg1)->GetRootId();
27260
27261 wxPyEndAllowThreads(__tstate);
27262 if (PyErr_Occurred()) SWIG_fail;
27263 }
27264 {
27265 wxTreeItemId * resultptr;
27266 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27267 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27268 }
27269 return resultobj;
27270 fail:
27271 return NULL;
27272 }
27273
27274
27275 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27276 PyObject *resultobj;
27277 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27278 wxPyTreeCtrl *result;
27279 PyObject * obj0 = 0 ;
27280 char *kwnames[] = {
27281 (char *) "self", NULL
27282 };
27283
27284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27290
27291 wxPyEndAllowThreads(__tstate);
27292 if (PyErr_Occurred()) SWIG_fail;
27293 }
27294 {
27295 resultobj = wxPyMake_wxObject(result);
27296 }
27297 return resultobj;
27298 fail:
27299 return NULL;
27300 }
27301
27302
27303 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27304 PyObject *resultobj;
27305 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27306 wxDirFilterListCtrl *result;
27307 PyObject * obj0 = 0 ;
27308 char *kwnames[] = {
27309 (char *) "self", NULL
27310 };
27311
27312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27315 {
27316 PyThreadState* __tstate = wxPyBeginAllowThreads();
27317 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27318
27319 wxPyEndAllowThreads(__tstate);
27320 if (PyErr_Occurred()) SWIG_fail;
27321 }
27322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27323 return resultobj;
27324 fail:
27325 return NULL;
27326 }
27327
27328
27329 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
27330 PyObject *resultobj;
27331 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27332 wxTreeItemId arg2 ;
27333 wxString *arg3 = 0 ;
27334 bool *arg4 = 0 ;
27335 wxTreeItemId result;
27336 wxTreeItemId *argp2 ;
27337 bool temp3 = False ;
27338 bool temp4 ;
27339 PyObject * obj0 = 0 ;
27340 PyObject * obj1 = 0 ;
27341 PyObject * obj2 = 0 ;
27342 char *kwnames[] = {
27343 (char *) "self",(char *) "parentId",(char *) "path", NULL
27344 };
27345
27346 arg4 = &temp4;
27347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27350 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27351 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27352 arg2 = *argp2;
27353 {
27354 arg3 = wxString_in_helper(obj2);
27355 if (arg3 == NULL) SWIG_fail;
27356 temp3 = True;
27357 }
27358 {
27359 PyThreadState* __tstate = wxPyBeginAllowThreads();
27360 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27361
27362 wxPyEndAllowThreads(__tstate);
27363 if (PyErr_Occurred()) SWIG_fail;
27364 }
27365 {
27366 wxTreeItemId * resultptr;
27367 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27369 }
27370 {
27371 PyObject *o = PyInt_FromLong((long) (*arg4));
27372 resultobj = t_output_helper(resultobj,o);
27373 }
27374 {
27375 if (temp3)
27376 delete arg3;
27377 }
27378 return resultobj;
27379 fail:
27380 {
27381 if (temp3)
27382 delete arg3;
27383 }
27384 return NULL;
27385 }
27386
27387
27388 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
27389 PyObject *resultobj;
27390 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27391 PyObject * obj0 = 0 ;
27392 char *kwnames[] = {
27393 (char *) "self", NULL
27394 };
27395
27396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27399 {
27400 PyThreadState* __tstate = wxPyBeginAllowThreads();
27401 (arg1)->DoResize();
27402
27403 wxPyEndAllowThreads(__tstate);
27404 if (PyErr_Occurred()) SWIG_fail;
27405 }
27406 Py_INCREF(Py_None); resultobj = Py_None;
27407 return resultobj;
27408 fail:
27409 return NULL;
27410 }
27411
27412
27413 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
27414 PyObject *resultobj;
27415 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27416 PyObject * obj0 = 0 ;
27417 char *kwnames[] = {
27418 (char *) "self", NULL
27419 };
27420
27421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27424 {
27425 PyThreadState* __tstate = wxPyBeginAllowThreads();
27426 (arg1)->ReCreateTree();
27427
27428 wxPyEndAllowThreads(__tstate);
27429 if (PyErr_Occurred()) SWIG_fail;
27430 }
27431 Py_INCREF(Py_None); resultobj = Py_None;
27432 return resultobj;
27433 fail:
27434 return NULL;
27435 }
27436
27437
27438 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
27439 PyObject *obj;
27440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27441 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27442 Py_INCREF(obj);
27443 return Py_BuildValue((char *)"");
27444 }
27445 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27446 PyObject *resultobj;
27447 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27448 int arg2 = (int) (int)-1 ;
27449 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27450 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27451 wxSize const &arg4_defvalue = wxDefaultSize ;
27452 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27453 long arg5 = (long) 0 ;
27454 wxDirFilterListCtrl *result;
27455 wxPoint temp3 ;
27456 wxSize temp4 ;
27457 PyObject * obj0 = 0 ;
27458 PyObject * obj1 = 0 ;
27459 PyObject * obj2 = 0 ;
27460 PyObject * obj3 = 0 ;
27461 PyObject * obj4 = 0 ;
27462 char *kwnames[] = {
27463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27464 };
27465
27466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27469 if (obj1) {
27470 arg2 = (int const) SWIG_AsInt(obj1);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
27473 if (obj2) {
27474 {
27475 arg3 = &temp3;
27476 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27477 }
27478 }
27479 if (obj3) {
27480 {
27481 arg4 = &temp4;
27482 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27483 }
27484 }
27485 if (obj4) {
27486 arg5 = (long) SWIG_AsLong(obj4);
27487 if (PyErr_Occurred()) SWIG_fail;
27488 }
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27492
27493 wxPyEndAllowThreads(__tstate);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 }
27496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27497 return resultobj;
27498 fail:
27499 return NULL;
27500 }
27501
27502
27503 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27504 PyObject *resultobj;
27505 wxDirFilterListCtrl *result;
27506 char *kwnames[] = {
27507 NULL
27508 };
27509
27510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27511 {
27512 PyThreadState* __tstate = wxPyBeginAllowThreads();
27513 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27514
27515 wxPyEndAllowThreads(__tstate);
27516 if (PyErr_Occurred()) SWIG_fail;
27517 }
27518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27519 return resultobj;
27520 fail:
27521 return NULL;
27522 }
27523
27524
27525 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
27526 PyObject *resultobj;
27527 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27528 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27529 int arg3 = (int) (int)-1 ;
27530 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27531 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27532 wxSize const &arg5_defvalue = wxDefaultSize ;
27533 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27534 long arg6 = (long) 0 ;
27535 bool result;
27536 wxPoint temp4 ;
27537 wxSize temp5 ;
27538 PyObject * obj0 = 0 ;
27539 PyObject * obj1 = 0 ;
27540 PyObject * obj2 = 0 ;
27541 PyObject * obj3 = 0 ;
27542 PyObject * obj4 = 0 ;
27543 PyObject * obj5 = 0 ;
27544 char *kwnames[] = {
27545 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27546 };
27547
27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27553 if (obj2) {
27554 arg3 = (int const) SWIG_AsInt(obj2);
27555 if (PyErr_Occurred()) SWIG_fail;
27556 }
27557 if (obj3) {
27558 {
27559 arg4 = &temp4;
27560 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27561 }
27562 }
27563 if (obj4) {
27564 {
27565 arg5 = &temp5;
27566 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27567 }
27568 }
27569 if (obj5) {
27570 arg6 = (long) SWIG_AsLong(obj5);
27571 if (PyErr_Occurred()) SWIG_fail;
27572 }
27573 {
27574 PyThreadState* __tstate = wxPyBeginAllowThreads();
27575 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27576
27577 wxPyEndAllowThreads(__tstate);
27578 if (PyErr_Occurred()) SWIG_fail;
27579 }
27580 {
27581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27582 }
27583 return resultobj;
27584 fail:
27585 return NULL;
27586 }
27587
27588
27589 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
27590 PyObject *resultobj;
27591 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27592 wxString *arg2 = 0 ;
27593 int arg3 ;
27594 bool temp2 = False ;
27595 PyObject * obj0 = 0 ;
27596 PyObject * obj1 = 0 ;
27597 PyObject * obj2 = 0 ;
27598 char *kwnames[] = {
27599 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27600 };
27601
27602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27605 {
27606 arg2 = wxString_in_helper(obj1);
27607 if (arg2 == NULL) SWIG_fail;
27608 temp2 = True;
27609 }
27610 arg3 = (int) SWIG_AsInt(obj2);
27611 if (PyErr_Occurred()) SWIG_fail;
27612 {
27613 PyThreadState* __tstate = wxPyBeginAllowThreads();
27614 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27615
27616 wxPyEndAllowThreads(__tstate);
27617 if (PyErr_Occurred()) SWIG_fail;
27618 }
27619 Py_INCREF(Py_None); resultobj = Py_None;
27620 {
27621 if (temp2)
27622 delete arg2;
27623 }
27624 return resultobj;
27625 fail:
27626 {
27627 if (temp2)
27628 delete arg2;
27629 }
27630 return NULL;
27631 }
27632
27633
27634 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
27635 PyObject *obj;
27636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27637 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27638 Py_INCREF(obj);
27639 return Py_BuildValue((char *)"");
27640 }
27641 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
27642 PyObject *resultobj;
27643 wxWindow *arg1 = (wxWindow *) 0 ;
27644 int arg2 ;
27645 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27646 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27647 wxSize const &arg4_defvalue = wxDefaultSize ;
27648 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27649 long arg5 = (long) 0 ;
27650 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27651 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27652 wxString const &arg7_defvalue = wxPyControlNameStr ;
27653 wxString *arg7 = (wxString *) &arg7_defvalue ;
27654 wxPyControl *result;
27655 wxPoint temp3 ;
27656 wxSize temp4 ;
27657 bool temp7 = False ;
27658 PyObject * obj0 = 0 ;
27659 PyObject * obj1 = 0 ;
27660 PyObject * obj2 = 0 ;
27661 PyObject * obj3 = 0 ;
27662 PyObject * obj4 = 0 ;
27663 PyObject * obj5 = 0 ;
27664 PyObject * obj6 = 0 ;
27665 char *kwnames[] = {
27666 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27667 };
27668
27669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27672 arg2 = (int const) SWIG_AsInt(obj1);
27673 if (PyErr_Occurred()) SWIG_fail;
27674 if (obj2) {
27675 {
27676 arg3 = &temp3;
27677 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27678 }
27679 }
27680 if (obj3) {
27681 {
27682 arg4 = &temp4;
27683 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27684 }
27685 }
27686 if (obj4) {
27687 arg5 = (long) SWIG_AsLong(obj4);
27688 if (PyErr_Occurred()) SWIG_fail;
27689 }
27690 if (obj5) {
27691 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
27692 SWIG_POINTER_EXCEPTION | 0)) == -1)
27693 SWIG_fail;
27694 if (arg6 == NULL) {
27695 PyErr_SetString(PyExc_TypeError,"null reference");
27696 SWIG_fail;
27697 }
27698 }
27699 if (obj6) {
27700 {
27701 arg7 = wxString_in_helper(obj6);
27702 if (arg7 == NULL) SWIG_fail;
27703 temp7 = True;
27704 }
27705 }
27706 {
27707 PyThreadState* __tstate = wxPyBeginAllowThreads();
27708 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27709
27710 wxPyEndAllowThreads(__tstate);
27711 if (PyErr_Occurred()) SWIG_fail;
27712 }
27713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27714 {
27715 if (temp7)
27716 delete arg7;
27717 }
27718 return resultobj;
27719 fail:
27720 {
27721 if (temp7)
27722 delete arg7;
27723 }
27724 return NULL;
27725 }
27726
27727
27728 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27729 PyObject *resultobj;
27730 wxPyControl *arg1 = (wxPyControl *) 0 ;
27731 PyObject *arg2 = (PyObject *) 0 ;
27732 PyObject *arg3 = (PyObject *) 0 ;
27733 PyObject * obj0 = 0 ;
27734 PyObject * obj1 = 0 ;
27735 PyObject * obj2 = 0 ;
27736 char *kwnames[] = {
27737 (char *) "self",(char *) "self",(char *) "_class", NULL
27738 };
27739
27740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27743 arg2 = obj1;
27744 arg3 = obj2;
27745 {
27746 PyThreadState* __tstate = wxPyBeginAllowThreads();
27747 (arg1)->_setCallbackInfo(arg2,arg3);
27748
27749 wxPyEndAllowThreads(__tstate);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 }
27752 Py_INCREF(Py_None); resultobj = Py_None;
27753 return resultobj;
27754 fail:
27755 return NULL;
27756 }
27757
27758
27759 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27760 PyObject *resultobj;
27761 wxPyControl *arg1 = (wxPyControl *) 0 ;
27762 int arg2 ;
27763 int arg3 ;
27764 int arg4 ;
27765 int arg5 ;
27766 PyObject * obj0 = 0 ;
27767 PyObject * obj1 = 0 ;
27768 PyObject * obj2 = 0 ;
27769 PyObject * obj3 = 0 ;
27770 PyObject * obj4 = 0 ;
27771 char *kwnames[] = {
27772 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27773 };
27774
27775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27778 arg2 = (int) SWIG_AsInt(obj1);
27779 if (PyErr_Occurred()) SWIG_fail;
27780 arg3 = (int) SWIG_AsInt(obj2);
27781 if (PyErr_Occurred()) SWIG_fail;
27782 arg4 = (int) SWIG_AsInt(obj3);
27783 if (PyErr_Occurred()) SWIG_fail;
27784 arg5 = (int) SWIG_AsInt(obj4);
27785 if (PyErr_Occurred()) SWIG_fail;
27786 {
27787 PyThreadState* __tstate = wxPyBeginAllowThreads();
27788 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27789
27790 wxPyEndAllowThreads(__tstate);
27791 if (PyErr_Occurred()) SWIG_fail;
27792 }
27793 Py_INCREF(Py_None); resultobj = Py_None;
27794 return resultobj;
27795 fail:
27796 return NULL;
27797 }
27798
27799
27800 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
27801 PyObject *resultobj;
27802 wxPyControl *arg1 = (wxPyControl *) 0 ;
27803 int arg2 ;
27804 int arg3 ;
27805 int arg4 ;
27806 int arg5 ;
27807 int arg6 = (int) wxSIZE_AUTO ;
27808 PyObject * obj0 = 0 ;
27809 PyObject * obj1 = 0 ;
27810 PyObject * obj2 = 0 ;
27811 PyObject * obj3 = 0 ;
27812 PyObject * obj4 = 0 ;
27813 PyObject * obj5 = 0 ;
27814 char *kwnames[] = {
27815 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27816 };
27817
27818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27821 arg2 = (int) SWIG_AsInt(obj1);
27822 if (PyErr_Occurred()) SWIG_fail;
27823 arg3 = (int) SWIG_AsInt(obj2);
27824 if (PyErr_Occurred()) SWIG_fail;
27825 arg4 = (int) SWIG_AsInt(obj3);
27826 if (PyErr_Occurred()) SWIG_fail;
27827 arg5 = (int) SWIG_AsInt(obj4);
27828 if (PyErr_Occurred()) SWIG_fail;
27829 if (obj5) {
27830 arg6 = (int) SWIG_AsInt(obj5);
27831 if (PyErr_Occurred()) SWIG_fail;
27832 }
27833 {
27834 PyThreadState* __tstate = wxPyBeginAllowThreads();
27835 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27836
27837 wxPyEndAllowThreads(__tstate);
27838 if (PyErr_Occurred()) SWIG_fail;
27839 }
27840 Py_INCREF(Py_None); resultobj = Py_None;
27841 return resultobj;
27842 fail:
27843 return NULL;
27844 }
27845
27846
27847 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
27848 PyObject *resultobj;
27849 wxPyControl *arg1 = (wxPyControl *) 0 ;
27850 int arg2 ;
27851 int arg3 ;
27852 PyObject * obj0 = 0 ;
27853 PyObject * obj1 = 0 ;
27854 PyObject * obj2 = 0 ;
27855 char *kwnames[] = {
27856 (char *) "self",(char *) "width",(char *) "height", NULL
27857 };
27858
27859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27862 arg2 = (int) SWIG_AsInt(obj1);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 arg3 = (int) SWIG_AsInt(obj2);
27865 if (PyErr_Occurred()) SWIG_fail;
27866 {
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 (arg1)->base_DoSetClientSize(arg2,arg3);
27869
27870 wxPyEndAllowThreads(__tstate);
27871 if (PyErr_Occurred()) SWIG_fail;
27872 }
27873 Py_INCREF(Py_None); resultobj = Py_None;
27874 return resultobj;
27875 fail:
27876 return NULL;
27877 }
27878
27879
27880 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
27881 PyObject *resultobj;
27882 wxPyControl *arg1 = (wxPyControl *) 0 ;
27883 int arg2 ;
27884 int arg3 ;
27885 PyObject * obj0 = 0 ;
27886 PyObject * obj1 = 0 ;
27887 PyObject * obj2 = 0 ;
27888 char *kwnames[] = {
27889 (char *) "self",(char *) "x",(char *) "y", NULL
27890 };
27891
27892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27895 arg2 = (int) SWIG_AsInt(obj1);
27896 if (PyErr_Occurred()) SWIG_fail;
27897 arg3 = (int) SWIG_AsInt(obj2);
27898 if (PyErr_Occurred()) SWIG_fail;
27899 {
27900 PyThreadState* __tstate = wxPyBeginAllowThreads();
27901 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27902
27903 wxPyEndAllowThreads(__tstate);
27904 if (PyErr_Occurred()) SWIG_fail;
27905 }
27906 Py_INCREF(Py_None); resultobj = Py_None;
27907 return resultobj;
27908 fail:
27909 return NULL;
27910 }
27911
27912
27913 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj;
27915 wxPyControl *arg1 = (wxPyControl *) 0 ;
27916 int *arg2 = (int *) 0 ;
27917 int *arg3 = (int *) 0 ;
27918 int temp2 ;
27919 int temp3 ;
27920 PyObject * obj0 = 0 ;
27921 char *kwnames[] = {
27922 (char *) "self", NULL
27923 };
27924
27925 arg2 = &temp2;
27926 arg3 = &temp3;
27927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27930 {
27931 PyThreadState* __tstate = wxPyBeginAllowThreads();
27932 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27933
27934 wxPyEndAllowThreads(__tstate);
27935 if (PyErr_Occurred()) SWIG_fail;
27936 }
27937 Py_INCREF(Py_None); resultobj = Py_None;
27938 {
27939 PyObject *o = PyInt_FromLong((long) (*arg2));
27940 resultobj = t_output_helper(resultobj,o);
27941 }
27942 {
27943 PyObject *o = PyInt_FromLong((long) (*arg3));
27944 resultobj = t_output_helper(resultobj,o);
27945 }
27946 return resultobj;
27947 fail:
27948 return NULL;
27949 }
27950
27951
27952 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
27953 PyObject *resultobj;
27954 wxPyControl *arg1 = (wxPyControl *) 0 ;
27955 int *arg2 = (int *) 0 ;
27956 int *arg3 = (int *) 0 ;
27957 int temp2 ;
27958 int temp3 ;
27959 PyObject * obj0 = 0 ;
27960 char *kwnames[] = {
27961 (char *) "self", NULL
27962 };
27963
27964 arg2 = &temp2;
27965 arg3 = &temp3;
27966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27969 {
27970 PyThreadState* __tstate = wxPyBeginAllowThreads();
27971 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27972
27973 wxPyEndAllowThreads(__tstate);
27974 if (PyErr_Occurred()) SWIG_fail;
27975 }
27976 Py_INCREF(Py_None); resultobj = Py_None;
27977 {
27978 PyObject *o = PyInt_FromLong((long) (*arg2));
27979 resultobj = t_output_helper(resultobj,o);
27980 }
27981 {
27982 PyObject *o = PyInt_FromLong((long) (*arg3));
27983 resultobj = t_output_helper(resultobj,o);
27984 }
27985 return resultobj;
27986 fail:
27987 return NULL;
27988 }
27989
27990
27991 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
27992 PyObject *resultobj;
27993 wxPyControl *arg1 = (wxPyControl *) 0 ;
27994 int *arg2 = (int *) 0 ;
27995 int *arg3 = (int *) 0 ;
27996 int temp2 ;
27997 int temp3 ;
27998 PyObject * obj0 = 0 ;
27999 char *kwnames[] = {
28000 (char *) "self", NULL
28001 };
28002
28003 arg2 = &temp2;
28004 arg3 = &temp3;
28005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
28006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28008 {
28009 PyThreadState* __tstate = wxPyBeginAllowThreads();
28010 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28011
28012 wxPyEndAllowThreads(__tstate);
28013 if (PyErr_Occurred()) SWIG_fail;
28014 }
28015 Py_INCREF(Py_None); resultobj = Py_None;
28016 {
28017 PyObject *o = PyInt_FromLong((long) (*arg2));
28018 resultobj = t_output_helper(resultobj,o);
28019 }
28020 {
28021 PyObject *o = PyInt_FromLong((long) (*arg3));
28022 resultobj = t_output_helper(resultobj,o);
28023 }
28024 return resultobj;
28025 fail:
28026 return NULL;
28027 }
28028
28029
28030 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
28031 PyObject *resultobj;
28032 wxPyControl *arg1 = (wxPyControl *) 0 ;
28033 wxSize result;
28034 PyObject * obj0 = 0 ;
28035 char *kwnames[] = {
28036 (char *) "self", NULL
28037 };
28038
28039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
28040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28042 {
28043 PyThreadState* __tstate = wxPyBeginAllowThreads();
28044 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28045
28046 wxPyEndAllowThreads(__tstate);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
28049 {
28050 wxSize * resultptr;
28051 resultptr = new wxSize((wxSize &) result);
28052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28053 }
28054 return resultobj;
28055 fail:
28056 return NULL;
28057 }
28058
28059
28060 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
28061 PyObject *resultobj;
28062 wxPyControl *arg1 = (wxPyControl *) 0 ;
28063 wxSize result;
28064 PyObject * obj0 = 0 ;
28065 char *kwnames[] = {
28066 (char *) "self", NULL
28067 };
28068
28069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
28070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28072 {
28073 PyThreadState* __tstate = wxPyBeginAllowThreads();
28074 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28075
28076 wxPyEndAllowThreads(__tstate);
28077 if (PyErr_Occurred()) SWIG_fail;
28078 }
28079 {
28080 wxSize * resultptr;
28081 resultptr = new wxSize((wxSize &) result);
28082 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28083 }
28084 return resultobj;
28085 fail:
28086 return NULL;
28087 }
28088
28089
28090 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
28091 PyObject *resultobj;
28092 wxPyControl *arg1 = (wxPyControl *) 0 ;
28093 PyObject * obj0 = 0 ;
28094 char *kwnames[] = {
28095 (char *) "self", NULL
28096 };
28097
28098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
28099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28101 {
28102 PyThreadState* __tstate = wxPyBeginAllowThreads();
28103 (arg1)->base_InitDialog();
28104
28105 wxPyEndAllowThreads(__tstate);
28106 if (PyErr_Occurred()) SWIG_fail;
28107 }
28108 Py_INCREF(Py_None); resultobj = Py_None;
28109 return resultobj;
28110 fail:
28111 return NULL;
28112 }
28113
28114
28115 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
28116 PyObject *resultobj;
28117 wxPyControl *arg1 = (wxPyControl *) 0 ;
28118 bool result;
28119 PyObject * obj0 = 0 ;
28120 char *kwnames[] = {
28121 (char *) "self", NULL
28122 };
28123
28124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
28125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28127 {
28128 PyThreadState* __tstate = wxPyBeginAllowThreads();
28129 result = (bool)(arg1)->base_TransferDataToWindow();
28130
28131 wxPyEndAllowThreads(__tstate);
28132 if (PyErr_Occurred()) SWIG_fail;
28133 }
28134 {
28135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28136 }
28137 return resultobj;
28138 fail:
28139 return NULL;
28140 }
28141
28142
28143 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
28144 PyObject *resultobj;
28145 wxPyControl *arg1 = (wxPyControl *) 0 ;
28146 bool result;
28147 PyObject * obj0 = 0 ;
28148 char *kwnames[] = {
28149 (char *) "self", NULL
28150 };
28151
28152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28155 {
28156 PyThreadState* __tstate = wxPyBeginAllowThreads();
28157 result = (bool)(arg1)->base_TransferDataFromWindow();
28158
28159 wxPyEndAllowThreads(__tstate);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 }
28162 {
28163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28164 }
28165 return resultobj;
28166 fail:
28167 return NULL;
28168 }
28169
28170
28171 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
28172 PyObject *resultobj;
28173 wxPyControl *arg1 = (wxPyControl *) 0 ;
28174 bool result;
28175 PyObject * obj0 = 0 ;
28176 char *kwnames[] = {
28177 (char *) "self", NULL
28178 };
28179
28180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28183 {
28184 PyThreadState* __tstate = wxPyBeginAllowThreads();
28185 result = (bool)(arg1)->base_Validate();
28186
28187 wxPyEndAllowThreads(__tstate);
28188 if (PyErr_Occurred()) SWIG_fail;
28189 }
28190 {
28191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28192 }
28193 return resultobj;
28194 fail:
28195 return NULL;
28196 }
28197
28198
28199 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
28200 PyObject *resultobj;
28201 wxPyControl *arg1 = (wxPyControl *) 0 ;
28202 bool result;
28203 PyObject * obj0 = 0 ;
28204 char *kwnames[] = {
28205 (char *) "self", NULL
28206 };
28207
28208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28211 {
28212 PyThreadState* __tstate = wxPyBeginAllowThreads();
28213 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28214
28215 wxPyEndAllowThreads(__tstate);
28216 if (PyErr_Occurred()) SWIG_fail;
28217 }
28218 {
28219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28220 }
28221 return resultobj;
28222 fail:
28223 return NULL;
28224 }
28225
28226
28227 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
28228 PyObject *resultobj;
28229 wxPyControl *arg1 = (wxPyControl *) 0 ;
28230 bool result;
28231 PyObject * obj0 = 0 ;
28232 char *kwnames[] = {
28233 (char *) "self", NULL
28234 };
28235
28236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28239 {
28240 PyThreadState* __tstate = wxPyBeginAllowThreads();
28241 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28242
28243 wxPyEndAllowThreads(__tstate);
28244 if (PyErr_Occurred()) SWIG_fail;
28245 }
28246 {
28247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28248 }
28249 return resultobj;
28250 fail:
28251 return NULL;
28252 }
28253
28254
28255 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
28256 PyObject *resultobj;
28257 wxPyControl *arg1 = (wxPyControl *) 0 ;
28258 wxSize result;
28259 PyObject * obj0 = 0 ;
28260 char *kwnames[] = {
28261 (char *) "self", NULL
28262 };
28263
28264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28267 {
28268 PyThreadState* __tstate = wxPyBeginAllowThreads();
28269 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28270
28271 wxPyEndAllowThreads(__tstate);
28272 if (PyErr_Occurred()) SWIG_fail;
28273 }
28274 {
28275 wxSize * resultptr;
28276 resultptr = new wxSize((wxSize &) result);
28277 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28278 }
28279 return resultobj;
28280 fail:
28281 return NULL;
28282 }
28283
28284
28285 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
28286 PyObject *resultobj;
28287 wxPyControl *arg1 = (wxPyControl *) 0 ;
28288 wxWindow *arg2 = (wxWindow *) 0 ;
28289 PyObject * obj0 = 0 ;
28290 PyObject * obj1 = 0 ;
28291 char *kwnames[] = {
28292 (char *) "self",(char *) "child", NULL
28293 };
28294
28295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28300 {
28301 PyThreadState* __tstate = wxPyBeginAllowThreads();
28302 (arg1)->base_AddChild(arg2);
28303
28304 wxPyEndAllowThreads(__tstate);
28305 if (PyErr_Occurred()) SWIG_fail;
28306 }
28307 Py_INCREF(Py_None); resultobj = Py_None;
28308 return resultobj;
28309 fail:
28310 return NULL;
28311 }
28312
28313
28314 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
28315 PyObject *resultobj;
28316 wxPyControl *arg1 = (wxPyControl *) 0 ;
28317 wxWindow *arg2 = (wxWindow *) 0 ;
28318 PyObject * obj0 = 0 ;
28319 PyObject * obj1 = 0 ;
28320 char *kwnames[] = {
28321 (char *) "self",(char *) "child", NULL
28322 };
28323
28324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28329 {
28330 PyThreadState* __tstate = wxPyBeginAllowThreads();
28331 (arg1)->base_RemoveChild(arg2);
28332
28333 wxPyEndAllowThreads(__tstate);
28334 if (PyErr_Occurred()) SWIG_fail;
28335 }
28336 Py_INCREF(Py_None); resultobj = Py_None;
28337 return resultobj;
28338 fail:
28339 return NULL;
28340 }
28341
28342
28343 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
28344 PyObject *obj;
28345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28346 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28347 Py_INCREF(obj);
28348 return Py_BuildValue((char *)"");
28349 }
28350 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28351 PyObject *resultobj;
28352 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28353 int arg2 = (int) 0 ;
28354 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28355 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28356 wxHelpEvent *result;
28357 wxPoint temp3 ;
28358 PyObject * obj0 = 0 ;
28359 PyObject * obj1 = 0 ;
28360 PyObject * obj2 = 0 ;
28361 char *kwnames[] = {
28362 (char *) "type",(char *) "winid",(char *) "pt", NULL
28363 };
28364
28365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28366 if (obj0) {
28367 arg1 = (wxEventType) SWIG_AsInt(obj0);
28368 if (PyErr_Occurred()) SWIG_fail;
28369 }
28370 if (obj1) {
28371 arg2 = (int) SWIG_AsInt(obj1);
28372 if (PyErr_Occurred()) SWIG_fail;
28373 }
28374 if (obj2) {
28375 {
28376 arg3 = &temp3;
28377 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28378 }
28379 }
28380 {
28381 PyThreadState* __tstate = wxPyBeginAllowThreads();
28382 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28383
28384 wxPyEndAllowThreads(__tstate);
28385 if (PyErr_Occurred()) SWIG_fail;
28386 }
28387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28388 return resultobj;
28389 fail:
28390 return NULL;
28391 }
28392
28393
28394 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28395 PyObject *resultobj;
28396 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28397 wxPoint result;
28398 PyObject * obj0 = 0 ;
28399 char *kwnames[] = {
28400 (char *) "self", NULL
28401 };
28402
28403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28406 {
28407 PyThreadState* __tstate = wxPyBeginAllowThreads();
28408 result = ((wxHelpEvent const *)arg1)->GetPosition();
28409
28410 wxPyEndAllowThreads(__tstate);
28411 if (PyErr_Occurred()) SWIG_fail;
28412 }
28413 {
28414 wxPoint * resultptr;
28415 resultptr = new wxPoint((wxPoint &) result);
28416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28417 }
28418 return resultobj;
28419 fail:
28420 return NULL;
28421 }
28422
28423
28424 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28425 PyObject *resultobj;
28426 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28427 wxPoint *arg2 = 0 ;
28428 wxPoint temp2 ;
28429 PyObject * obj0 = 0 ;
28430 PyObject * obj1 = 0 ;
28431 char *kwnames[] = {
28432 (char *) "self",(char *) "pos", NULL
28433 };
28434
28435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28438 {
28439 arg2 = &temp2;
28440 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28441 }
28442 {
28443 PyThreadState* __tstate = wxPyBeginAllowThreads();
28444 (arg1)->SetPosition((wxPoint const &)*arg2);
28445
28446 wxPyEndAllowThreads(__tstate);
28447 if (PyErr_Occurred()) SWIG_fail;
28448 }
28449 Py_INCREF(Py_None); resultobj = Py_None;
28450 return resultobj;
28451 fail:
28452 return NULL;
28453 }
28454
28455
28456 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
28457 PyObject *resultobj;
28458 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28459 wxString *result;
28460 PyObject * obj0 = 0 ;
28461 char *kwnames[] = {
28462 (char *) "self", NULL
28463 };
28464
28465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28468 {
28469 PyThreadState* __tstate = wxPyBeginAllowThreads();
28470 {
28471 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28472 result = (wxString *) &_result_ref;
28473 }
28474
28475 wxPyEndAllowThreads(__tstate);
28476 if (PyErr_Occurred()) SWIG_fail;
28477 }
28478 {
28479 #if wxUSE_UNICODE
28480 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28481 #else
28482 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28483 #endif
28484 }
28485 return resultobj;
28486 fail:
28487 return NULL;
28488 }
28489
28490
28491 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
28492 PyObject *resultobj;
28493 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28494 wxString *arg2 = 0 ;
28495 bool temp2 = False ;
28496 PyObject * obj0 = 0 ;
28497 PyObject * obj1 = 0 ;
28498 char *kwnames[] = {
28499 (char *) "self",(char *) "link", NULL
28500 };
28501
28502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28505 {
28506 arg2 = wxString_in_helper(obj1);
28507 if (arg2 == NULL) SWIG_fail;
28508 temp2 = True;
28509 }
28510 {
28511 PyThreadState* __tstate = wxPyBeginAllowThreads();
28512 (arg1)->SetLink((wxString const &)*arg2);
28513
28514 wxPyEndAllowThreads(__tstate);
28515 if (PyErr_Occurred()) SWIG_fail;
28516 }
28517 Py_INCREF(Py_None); resultobj = Py_None;
28518 {
28519 if (temp2)
28520 delete arg2;
28521 }
28522 return resultobj;
28523 fail:
28524 {
28525 if (temp2)
28526 delete arg2;
28527 }
28528 return NULL;
28529 }
28530
28531
28532 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28533 PyObject *resultobj;
28534 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28535 wxString *result;
28536 PyObject * obj0 = 0 ;
28537 char *kwnames[] = {
28538 (char *) "self", NULL
28539 };
28540
28541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28544 {
28545 PyThreadState* __tstate = wxPyBeginAllowThreads();
28546 {
28547 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28548 result = (wxString *) &_result_ref;
28549 }
28550
28551 wxPyEndAllowThreads(__tstate);
28552 if (PyErr_Occurred()) SWIG_fail;
28553 }
28554 {
28555 #if wxUSE_UNICODE
28556 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28557 #else
28558 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28559 #endif
28560 }
28561 return resultobj;
28562 fail:
28563 return NULL;
28564 }
28565
28566
28567 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28568 PyObject *resultobj;
28569 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28570 wxString *arg2 = 0 ;
28571 bool temp2 = False ;
28572 PyObject * obj0 = 0 ;
28573 PyObject * obj1 = 0 ;
28574 char *kwnames[] = {
28575 (char *) "self",(char *) "target", NULL
28576 };
28577
28578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28581 {
28582 arg2 = wxString_in_helper(obj1);
28583 if (arg2 == NULL) SWIG_fail;
28584 temp2 = True;
28585 }
28586 {
28587 PyThreadState* __tstate = wxPyBeginAllowThreads();
28588 (arg1)->SetTarget((wxString const &)*arg2);
28589
28590 wxPyEndAllowThreads(__tstate);
28591 if (PyErr_Occurred()) SWIG_fail;
28592 }
28593 Py_INCREF(Py_None); resultobj = Py_None;
28594 {
28595 if (temp2)
28596 delete arg2;
28597 }
28598 return resultobj;
28599 fail:
28600 {
28601 if (temp2)
28602 delete arg2;
28603 }
28604 return NULL;
28605 }
28606
28607
28608 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
28609 PyObject *obj;
28610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28611 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28612 Py_INCREF(obj);
28613 return Py_BuildValue((char *)"");
28614 }
28615 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28616 PyObject *resultobj;
28617 wxWindow *arg1 = (wxWindow *) NULL ;
28618 bool arg2 = (bool) True ;
28619 wxContextHelp *result;
28620 PyObject * obj0 = 0 ;
28621 PyObject * obj1 = 0 ;
28622 char *kwnames[] = {
28623 (char *) "window",(char *) "doNow", NULL
28624 };
28625
28626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28627 if (obj0) {
28628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28630 }
28631 if (obj1) {
28632 arg2 = (bool) SWIG_AsBool(obj1);
28633 if (PyErr_Occurred()) SWIG_fail;
28634 }
28635 {
28636 PyThreadState* __tstate = wxPyBeginAllowThreads();
28637 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28638
28639 wxPyEndAllowThreads(__tstate);
28640 if (PyErr_Occurred()) SWIG_fail;
28641 }
28642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
28643 return resultobj;
28644 fail:
28645 return NULL;
28646 }
28647
28648
28649 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28650 PyObject *resultobj;
28651 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28652 PyObject * obj0 = 0 ;
28653 char *kwnames[] = {
28654 (char *) "self", NULL
28655 };
28656
28657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28660 {
28661 PyThreadState* __tstate = wxPyBeginAllowThreads();
28662 delete arg1;
28663
28664 wxPyEndAllowThreads(__tstate);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 Py_INCREF(Py_None); resultobj = Py_None;
28668 return resultobj;
28669 fail:
28670 return NULL;
28671 }
28672
28673
28674 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28675 PyObject *resultobj;
28676 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28677 wxWindow *arg2 = (wxWindow *) NULL ;
28678 bool result;
28679 PyObject * obj0 = 0 ;
28680 PyObject * obj1 = 0 ;
28681 char *kwnames[] = {
28682 (char *) "self",(char *) "window", NULL
28683 };
28684
28685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28688 if (obj1) {
28689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28691 }
28692 {
28693 PyThreadState* __tstate = wxPyBeginAllowThreads();
28694 result = (bool)(arg1)->BeginContextHelp(arg2);
28695
28696 wxPyEndAllowThreads(__tstate);
28697 if (PyErr_Occurred()) SWIG_fail;
28698 }
28699 {
28700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28701 }
28702 return resultobj;
28703 fail:
28704 return NULL;
28705 }
28706
28707
28708 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28709 PyObject *resultobj;
28710 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28711 bool result;
28712 PyObject * obj0 = 0 ;
28713 char *kwnames[] = {
28714 (char *) "self", NULL
28715 };
28716
28717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28720 {
28721 PyThreadState* __tstate = wxPyBeginAllowThreads();
28722 result = (bool)(arg1)->EndContextHelp();
28723
28724 wxPyEndAllowThreads(__tstate);
28725 if (PyErr_Occurred()) SWIG_fail;
28726 }
28727 {
28728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28729 }
28730 return resultobj;
28731 fail:
28732 return NULL;
28733 }
28734
28735
28736 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
28737 PyObject *obj;
28738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28739 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28740 Py_INCREF(obj);
28741 return Py_BuildValue((char *)"");
28742 }
28743 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
28744 PyObject *resultobj;
28745 wxWindow *arg1 = (wxWindow *) 0 ;
28746 int arg2 = (int) wxID_CONTEXT_HELP ;
28747 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28748 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28749 wxSize const &arg4_defvalue = wxDefaultSize ;
28750 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28751 long arg5 = (long) wxBU_AUTODRAW ;
28752 wxContextHelpButton *result;
28753 wxPoint temp3 ;
28754 wxSize temp4 ;
28755 PyObject * obj0 = 0 ;
28756 PyObject * obj1 = 0 ;
28757 PyObject * obj2 = 0 ;
28758 PyObject * obj3 = 0 ;
28759 PyObject * obj4 = 0 ;
28760 char *kwnames[] = {
28761 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28762 };
28763
28764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28767 if (obj1) {
28768 arg2 = (int) SWIG_AsInt(obj1);
28769 if (PyErr_Occurred()) SWIG_fail;
28770 }
28771 if (obj2) {
28772 {
28773 arg3 = &temp3;
28774 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28775 }
28776 }
28777 if (obj3) {
28778 {
28779 arg4 = &temp4;
28780 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28781 }
28782 }
28783 if (obj4) {
28784 arg5 = (long) SWIG_AsLong(obj4);
28785 if (PyErr_Occurred()) SWIG_fail;
28786 }
28787 {
28788 PyThreadState* __tstate = wxPyBeginAllowThreads();
28789 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28790
28791 wxPyEndAllowThreads(__tstate);
28792 if (PyErr_Occurred()) SWIG_fail;
28793 }
28794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
28795 return resultobj;
28796 fail:
28797 return NULL;
28798 }
28799
28800
28801 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
28802 PyObject *obj;
28803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28804 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28805 Py_INCREF(obj);
28806 return Py_BuildValue((char *)"");
28807 }
28808 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
28809 PyObject *resultobj;
28810 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28811 wxHelpProvider *result;
28812 PyObject * obj0 = 0 ;
28813 char *kwnames[] = {
28814 (char *) "helpProvider", NULL
28815 };
28816
28817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28820 {
28821 PyThreadState* __tstate = wxPyBeginAllowThreads();
28822 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28823
28824 wxPyEndAllowThreads(__tstate);
28825 if (PyErr_Occurred()) SWIG_fail;
28826 }
28827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
28828 return resultobj;
28829 fail:
28830 return NULL;
28831 }
28832
28833
28834 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
28835 PyObject *resultobj;
28836 wxHelpProvider *result;
28837 char *kwnames[] = {
28838 NULL
28839 };
28840
28841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28842 {
28843 PyThreadState* __tstate = wxPyBeginAllowThreads();
28844 result = (wxHelpProvider *)wxHelpProvider::Get();
28845
28846 wxPyEndAllowThreads(__tstate);
28847 if (PyErr_Occurred()) SWIG_fail;
28848 }
28849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
28850 return resultobj;
28851 fail:
28852 return NULL;
28853 }
28854
28855
28856 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28857 PyObject *resultobj;
28858 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28859 wxWindow *arg2 = (wxWindow *) 0 ;
28860 wxString result;
28861 PyObject * obj0 = 0 ;
28862 PyObject * obj1 = 0 ;
28863 char *kwnames[] = {
28864 (char *) "self",(char *) "window", NULL
28865 };
28866
28867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28872 {
28873 PyThreadState* __tstate = wxPyBeginAllowThreads();
28874 result = (arg1)->GetHelp((wxWindow const *)arg2);
28875
28876 wxPyEndAllowThreads(__tstate);
28877 if (PyErr_Occurred()) SWIG_fail;
28878 }
28879 {
28880 #if wxUSE_UNICODE
28881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28882 #else
28883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28884 #endif
28885 }
28886 return resultobj;
28887 fail:
28888 return NULL;
28889 }
28890
28891
28892 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28893 PyObject *resultobj;
28894 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28895 wxWindow *arg2 = (wxWindow *) 0 ;
28896 bool result;
28897 PyObject * obj0 = 0 ;
28898 PyObject * obj1 = 0 ;
28899 char *kwnames[] = {
28900 (char *) "self",(char *) "window", NULL
28901 };
28902
28903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28908 {
28909 PyThreadState* __tstate = wxPyBeginAllowThreads();
28910 result = (bool)(arg1)->ShowHelp(arg2);
28911
28912 wxPyEndAllowThreads(__tstate);
28913 if (PyErr_Occurred()) SWIG_fail;
28914 }
28915 {
28916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28917 }
28918 return resultobj;
28919 fail:
28920 return NULL;
28921 }
28922
28923
28924 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28925 PyObject *resultobj;
28926 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28927 wxWindow *arg2 = (wxWindow *) 0 ;
28928 wxString *arg3 = 0 ;
28929 bool temp3 = False ;
28930 PyObject * obj0 = 0 ;
28931 PyObject * obj1 = 0 ;
28932 PyObject * obj2 = 0 ;
28933 char *kwnames[] = {
28934 (char *) "self",(char *) "window",(char *) "text", NULL
28935 };
28936
28937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28942 {
28943 arg3 = wxString_in_helper(obj2);
28944 if (arg3 == NULL) SWIG_fail;
28945 temp3 = True;
28946 }
28947 {
28948 PyThreadState* __tstate = wxPyBeginAllowThreads();
28949 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28950
28951 wxPyEndAllowThreads(__tstate);
28952 if (PyErr_Occurred()) SWIG_fail;
28953 }
28954 Py_INCREF(Py_None); resultobj = Py_None;
28955 {
28956 if (temp3)
28957 delete arg3;
28958 }
28959 return resultobj;
28960 fail:
28961 {
28962 if (temp3)
28963 delete arg3;
28964 }
28965 return NULL;
28966 }
28967
28968
28969 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
28970 PyObject *resultobj;
28971 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28972 int arg2 ;
28973 wxString *arg3 = 0 ;
28974 bool temp3 = False ;
28975 PyObject * obj0 = 0 ;
28976 PyObject * obj1 = 0 ;
28977 PyObject * obj2 = 0 ;
28978 char *kwnames[] = {
28979 (char *) "self",(char *) "id",(char *) "text", NULL
28980 };
28981
28982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28985 arg2 = (int) SWIG_AsInt(obj1);
28986 if (PyErr_Occurred()) SWIG_fail;
28987 {
28988 arg3 = wxString_in_helper(obj2);
28989 if (arg3 == NULL) SWIG_fail;
28990 temp3 = True;
28991 }
28992 {
28993 PyThreadState* __tstate = wxPyBeginAllowThreads();
28994 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28995
28996 wxPyEndAllowThreads(__tstate);
28997 if (PyErr_Occurred()) SWIG_fail;
28998 }
28999 Py_INCREF(Py_None); resultobj = Py_None;
29000 {
29001 if (temp3)
29002 delete arg3;
29003 }
29004 return resultobj;
29005 fail:
29006 {
29007 if (temp3)
29008 delete arg3;
29009 }
29010 return NULL;
29011 }
29012
29013
29014 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
29015 PyObject *resultobj;
29016 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29017 wxWindow *arg2 = (wxWindow *) 0 ;
29018 PyObject * obj0 = 0 ;
29019 PyObject * obj1 = 0 ;
29020 char *kwnames[] = {
29021 (char *) "self",(char *) "window", NULL
29022 };
29023
29024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29029 {
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 (arg1)->RemoveHelp(arg2);
29032
29033 wxPyEndAllowThreads(__tstate);
29034 if (PyErr_Occurred()) SWIG_fail;
29035 }
29036 Py_INCREF(Py_None); resultobj = Py_None;
29037 return resultobj;
29038 fail:
29039 return NULL;
29040 }
29041
29042
29043 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
29044 PyObject *resultobj;
29045 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29046 PyObject * obj0 = 0 ;
29047 char *kwnames[] = {
29048 (char *) "self", NULL
29049 };
29050
29051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
29052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29054 {
29055 PyThreadState* __tstate = wxPyBeginAllowThreads();
29056 wxHelpProvider_Destroy(arg1);
29057
29058 wxPyEndAllowThreads(__tstate);
29059 if (PyErr_Occurred()) SWIG_fail;
29060 }
29061 Py_INCREF(Py_None); resultobj = Py_None;
29062 return resultobj;
29063 fail:
29064 return NULL;
29065 }
29066
29067
29068 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
29069 PyObject *obj;
29070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29071 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29072 Py_INCREF(obj);
29073 return Py_BuildValue((char *)"");
29074 }
29075 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
29076 PyObject *resultobj;
29077 wxSimpleHelpProvider *result;
29078 char *kwnames[] = {
29079 NULL
29080 };
29081
29082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29083 {
29084 PyThreadState* __tstate = wxPyBeginAllowThreads();
29085 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29086
29087 wxPyEndAllowThreads(__tstate);
29088 if (PyErr_Occurred()) SWIG_fail;
29089 }
29090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
29091 return resultobj;
29092 fail:
29093 return NULL;
29094 }
29095
29096
29097 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
29098 PyObject *obj;
29099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29100 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29101 Py_INCREF(obj);
29102 return Py_BuildValue((char *)"");
29103 }
29104 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
29105 PyObject *resultobj;
29106 wxBitmap *arg1 = 0 ;
29107 wxCursor const &arg2_defvalue = wxNullCursor ;
29108 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29109 wxGenericDragImage *result;
29110 PyObject * obj0 = 0 ;
29111 PyObject * obj1 = 0 ;
29112 char *kwnames[] = {
29113 (char *) "image",(char *) "cursor", NULL
29114 };
29115
29116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
29117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29118 SWIG_POINTER_EXCEPTION | 0)) == -1)
29119 SWIG_fail;
29120 if (arg1 == NULL) {
29121 PyErr_SetString(PyExc_TypeError,"null reference");
29122 SWIG_fail;
29123 }
29124 if (obj1) {
29125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29126 SWIG_POINTER_EXCEPTION | 0)) == -1)
29127 SWIG_fail;
29128 if (arg2 == NULL) {
29129 PyErr_SetString(PyExc_TypeError,"null reference");
29130 SWIG_fail;
29131 }
29132 }
29133 {
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29136
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29141 return resultobj;
29142 fail:
29143 return NULL;
29144 }
29145
29146
29147 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
29148 PyObject *resultobj;
29149 wxIcon *arg1 = 0 ;
29150 wxCursor const &arg2_defvalue = wxNullCursor ;
29151 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29152 wxGenericDragImage *result;
29153 PyObject * obj0 = 0 ;
29154 PyObject * obj1 = 0 ;
29155 char *kwnames[] = {
29156 (char *) "image",(char *) "cursor", NULL
29157 };
29158
29159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
29160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29161 SWIG_POINTER_EXCEPTION | 0)) == -1)
29162 SWIG_fail;
29163 if (arg1 == NULL) {
29164 PyErr_SetString(PyExc_TypeError,"null reference");
29165 SWIG_fail;
29166 }
29167 if (obj1) {
29168 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29169 SWIG_POINTER_EXCEPTION | 0)) == -1)
29170 SWIG_fail;
29171 if (arg2 == NULL) {
29172 PyErr_SetString(PyExc_TypeError,"null reference");
29173 SWIG_fail;
29174 }
29175 }
29176 {
29177 PyThreadState* __tstate = wxPyBeginAllowThreads();
29178 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29179
29180 wxPyEndAllowThreads(__tstate);
29181 if (PyErr_Occurred()) SWIG_fail;
29182 }
29183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29184 return resultobj;
29185 fail:
29186 return NULL;
29187 }
29188
29189
29190 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
29191 PyObject *resultobj;
29192 wxString *arg1 = 0 ;
29193 wxCursor const &arg2_defvalue = wxNullCursor ;
29194 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29195 wxGenericDragImage *result;
29196 bool temp1 = False ;
29197 PyObject * obj0 = 0 ;
29198 PyObject * obj1 = 0 ;
29199 char *kwnames[] = {
29200 (char *) "str",(char *) "cursor", NULL
29201 };
29202
29203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29204 {
29205 arg1 = wxString_in_helper(obj0);
29206 if (arg1 == NULL) SWIG_fail;
29207 temp1 = True;
29208 }
29209 if (obj1) {
29210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29211 SWIG_POINTER_EXCEPTION | 0)) == -1)
29212 SWIG_fail;
29213 if (arg2 == NULL) {
29214 PyErr_SetString(PyExc_TypeError,"null reference");
29215 SWIG_fail;
29216 }
29217 }
29218 {
29219 PyThreadState* __tstate = wxPyBeginAllowThreads();
29220 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29221
29222 wxPyEndAllowThreads(__tstate);
29223 if (PyErr_Occurred()) SWIG_fail;
29224 }
29225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29226 {
29227 if (temp1)
29228 delete arg1;
29229 }
29230 return resultobj;
29231 fail:
29232 {
29233 if (temp1)
29234 delete arg1;
29235 }
29236 return NULL;
29237 }
29238
29239
29240 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
29241 PyObject *resultobj;
29242 wxPyTreeCtrl *arg1 = 0 ;
29243 wxTreeItemId *arg2 = 0 ;
29244 wxGenericDragImage *result;
29245 PyObject * obj0 = 0 ;
29246 PyObject * obj1 = 0 ;
29247 char *kwnames[] = {
29248 (char *) "treeCtrl",(char *) "id", NULL
29249 };
29250
29251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29253 SWIG_POINTER_EXCEPTION | 0)) == -1)
29254 SWIG_fail;
29255 if (arg1 == NULL) {
29256 PyErr_SetString(PyExc_TypeError,"null reference");
29257 SWIG_fail;
29258 }
29259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29260 SWIG_POINTER_EXCEPTION | 0)) == -1)
29261 SWIG_fail;
29262 if (arg2 == NULL) {
29263 PyErr_SetString(PyExc_TypeError,"null reference");
29264 SWIG_fail;
29265 }
29266 {
29267 PyThreadState* __tstate = wxPyBeginAllowThreads();
29268 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29269
29270 wxPyEndAllowThreads(__tstate);
29271 if (PyErr_Occurred()) SWIG_fail;
29272 }
29273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29274 return resultobj;
29275 fail:
29276 return NULL;
29277 }
29278
29279
29280 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
29281 PyObject *resultobj;
29282 wxPyListCtrl *arg1 = 0 ;
29283 long arg2 ;
29284 wxGenericDragImage *result;
29285 PyObject * obj0 = 0 ;
29286 PyObject * obj1 = 0 ;
29287 char *kwnames[] = {
29288 (char *) "listCtrl",(char *) "id", NULL
29289 };
29290
29291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29293 SWIG_POINTER_EXCEPTION | 0)) == -1)
29294 SWIG_fail;
29295 if (arg1 == NULL) {
29296 PyErr_SetString(PyExc_TypeError,"null reference");
29297 SWIG_fail;
29298 }
29299 arg2 = (long) SWIG_AsLong(obj1);
29300 if (PyErr_Occurred()) SWIG_fail;
29301 {
29302 PyThreadState* __tstate = wxPyBeginAllowThreads();
29303 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29304
29305 wxPyEndAllowThreads(__tstate);
29306 if (PyErr_Occurred()) SWIG_fail;
29307 }
29308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29309 return resultobj;
29310 fail:
29311 return NULL;
29312 }
29313
29314
29315 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
29316 PyObject *resultobj;
29317 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29318 PyObject * obj0 = 0 ;
29319 char *kwnames[] = {
29320 (char *) "self", NULL
29321 };
29322
29323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29326 {
29327 PyThreadState* __tstate = wxPyBeginAllowThreads();
29328 delete arg1;
29329
29330 wxPyEndAllowThreads(__tstate);
29331 if (PyErr_Occurred()) SWIG_fail;
29332 }
29333 Py_INCREF(Py_None); resultobj = Py_None;
29334 return resultobj;
29335 fail:
29336 return NULL;
29337 }
29338
29339
29340 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
29341 PyObject *resultobj;
29342 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29343 wxBitmap *arg2 = (wxBitmap *) 0 ;
29344 PyObject * obj0 = 0 ;
29345 PyObject * obj1 = 0 ;
29346 char *kwnames[] = {
29347 (char *) "self",(char *) "bitmap", NULL
29348 };
29349
29350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29355 {
29356 PyThreadState* __tstate = wxPyBeginAllowThreads();
29357 (arg1)->SetBackingBitmap(arg2);
29358
29359 wxPyEndAllowThreads(__tstate);
29360 if (PyErr_Occurred()) SWIG_fail;
29361 }
29362 Py_INCREF(Py_None); resultobj = Py_None;
29363 return resultobj;
29364 fail:
29365 return NULL;
29366 }
29367
29368
29369 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
29370 PyObject *resultobj;
29371 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29372 wxPoint *arg2 = 0 ;
29373 wxWindow *arg3 = (wxWindow *) 0 ;
29374 bool arg4 = (bool) False ;
29375 wxRect *arg5 = (wxRect *) NULL ;
29376 bool result;
29377 wxPoint temp2 ;
29378 PyObject * obj0 = 0 ;
29379 PyObject * obj1 = 0 ;
29380 PyObject * obj2 = 0 ;
29381 PyObject * obj3 = 0 ;
29382 PyObject * obj4 = 0 ;
29383 char *kwnames[] = {
29384 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29385 };
29386
29387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29390 {
29391 arg2 = &temp2;
29392 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29393 }
29394 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29396 if (obj3) {
29397 arg4 = (bool) SWIG_AsBool(obj3);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 }
29400 if (obj4) {
29401 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29403 }
29404 {
29405 PyThreadState* __tstate = wxPyBeginAllowThreads();
29406 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29407
29408 wxPyEndAllowThreads(__tstate);
29409 if (PyErr_Occurred()) SWIG_fail;
29410 }
29411 {
29412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29413 }
29414 return resultobj;
29415 fail:
29416 return NULL;
29417 }
29418
29419
29420 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
29421 PyObject *resultobj;
29422 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29423 wxPoint *arg2 = 0 ;
29424 wxWindow *arg3 = (wxWindow *) 0 ;
29425 wxWindow *arg4 = (wxWindow *) 0 ;
29426 bool result;
29427 wxPoint temp2 ;
29428 PyObject * obj0 = 0 ;
29429 PyObject * obj1 = 0 ;
29430 PyObject * obj2 = 0 ;
29431 PyObject * obj3 = 0 ;
29432 char *kwnames[] = {
29433 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29434 };
29435
29436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29439 {
29440 arg2 = &temp2;
29441 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29442 }
29443 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29445 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29447 {
29448 PyThreadState* __tstate = wxPyBeginAllowThreads();
29449 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29450
29451 wxPyEndAllowThreads(__tstate);
29452 if (PyErr_Occurred()) SWIG_fail;
29453 }
29454 {
29455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29456 }
29457 return resultobj;
29458 fail:
29459 return NULL;
29460 }
29461
29462
29463 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
29464 PyObject *resultobj;
29465 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29466 bool result;
29467 PyObject * obj0 = 0 ;
29468 char *kwnames[] = {
29469 (char *) "self", NULL
29470 };
29471
29472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29475 {
29476 PyThreadState* __tstate = wxPyBeginAllowThreads();
29477 result = (bool)(arg1)->EndDrag();
29478
29479 wxPyEndAllowThreads(__tstate);
29480 if (PyErr_Occurred()) SWIG_fail;
29481 }
29482 {
29483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29484 }
29485 return resultobj;
29486 fail:
29487 return NULL;
29488 }
29489
29490
29491 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
29492 PyObject *resultobj;
29493 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29494 wxPoint *arg2 = 0 ;
29495 bool result;
29496 wxPoint temp2 ;
29497 PyObject * obj0 = 0 ;
29498 PyObject * obj1 = 0 ;
29499 char *kwnames[] = {
29500 (char *) "self",(char *) "pt", NULL
29501 };
29502
29503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29506 {
29507 arg2 = &temp2;
29508 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29509 }
29510 {
29511 PyThreadState* __tstate = wxPyBeginAllowThreads();
29512 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29513
29514 wxPyEndAllowThreads(__tstate);
29515 if (PyErr_Occurred()) SWIG_fail;
29516 }
29517 {
29518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29519 }
29520 return resultobj;
29521 fail:
29522 return NULL;
29523 }
29524
29525
29526 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
29527 PyObject *resultobj;
29528 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29529 bool result;
29530 PyObject * obj0 = 0 ;
29531 char *kwnames[] = {
29532 (char *) "self", NULL
29533 };
29534
29535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29538 {
29539 PyThreadState* __tstate = wxPyBeginAllowThreads();
29540 result = (bool)(arg1)->Show();
29541
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 {
29546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29547 }
29548 return resultobj;
29549 fail:
29550 return NULL;
29551 }
29552
29553
29554 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
29555 PyObject *resultobj;
29556 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29557 bool result;
29558 PyObject * obj0 = 0 ;
29559 char *kwnames[] = {
29560 (char *) "self", NULL
29561 };
29562
29563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29566 {
29567 PyThreadState* __tstate = wxPyBeginAllowThreads();
29568 result = (bool)(arg1)->Hide();
29569
29570 wxPyEndAllowThreads(__tstate);
29571 if (PyErr_Occurred()) SWIG_fail;
29572 }
29573 {
29574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29575 }
29576 return resultobj;
29577 fail:
29578 return NULL;
29579 }
29580
29581
29582 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
29583 PyObject *resultobj;
29584 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29585 wxPoint *arg2 = 0 ;
29586 wxRect result;
29587 wxPoint temp2 ;
29588 PyObject * obj0 = 0 ;
29589 PyObject * obj1 = 0 ;
29590 char *kwnames[] = {
29591 (char *) "self",(char *) "pos", NULL
29592 };
29593
29594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29597 {
29598 arg2 = &temp2;
29599 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29600 }
29601 {
29602 PyThreadState* __tstate = wxPyBeginAllowThreads();
29603 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29604
29605 wxPyEndAllowThreads(__tstate);
29606 if (PyErr_Occurred()) SWIG_fail;
29607 }
29608 {
29609 wxRect * resultptr;
29610 resultptr = new wxRect((wxRect &) result);
29611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
29612 }
29613 return resultobj;
29614 fail:
29615 return NULL;
29616 }
29617
29618
29619 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
29620 PyObject *resultobj;
29621 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29622 wxDC *arg2 = 0 ;
29623 wxPoint *arg3 = 0 ;
29624 bool result;
29625 wxPoint temp3 ;
29626 PyObject * obj0 = 0 ;
29627 PyObject * obj1 = 0 ;
29628 PyObject * obj2 = 0 ;
29629 char *kwnames[] = {
29630 (char *) "self",(char *) "dc",(char *) "pos", NULL
29631 };
29632
29633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29637 SWIG_POINTER_EXCEPTION | 0)) == -1)
29638 SWIG_fail;
29639 if (arg2 == NULL) {
29640 PyErr_SetString(PyExc_TypeError,"null reference");
29641 SWIG_fail;
29642 }
29643 {
29644 arg3 = &temp3;
29645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29646 }
29647 {
29648 PyThreadState* __tstate = wxPyBeginAllowThreads();
29649 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29650
29651 wxPyEndAllowThreads(__tstate);
29652 if (PyErr_Occurred()) SWIG_fail;
29653 }
29654 {
29655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29656 }
29657 return resultobj;
29658 fail:
29659 return NULL;
29660 }
29661
29662
29663 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29664 PyObject *resultobj;
29665 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29666 wxDC *arg2 = 0 ;
29667 wxMemoryDC *arg3 = 0 ;
29668 wxRect *arg4 = 0 ;
29669 wxRect *arg5 = 0 ;
29670 bool result;
29671 wxRect temp4 ;
29672 wxRect temp5 ;
29673 PyObject * obj0 = 0 ;
29674 PyObject * obj1 = 0 ;
29675 PyObject * obj2 = 0 ;
29676 PyObject * obj3 = 0 ;
29677 PyObject * obj4 = 0 ;
29678 char *kwnames[] = {
29679 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29680 };
29681
29682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29686 SWIG_POINTER_EXCEPTION | 0)) == -1)
29687 SWIG_fail;
29688 if (arg2 == NULL) {
29689 PyErr_SetString(PyExc_TypeError,"null reference");
29690 SWIG_fail;
29691 }
29692 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
29693 SWIG_POINTER_EXCEPTION | 0)) == -1)
29694 SWIG_fail;
29695 if (arg3 == NULL) {
29696 PyErr_SetString(PyExc_TypeError,"null reference");
29697 SWIG_fail;
29698 }
29699 {
29700 arg4 = &temp4;
29701 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29702 }
29703 {
29704 arg5 = &temp5;
29705 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29706 }
29707 {
29708 PyThreadState* __tstate = wxPyBeginAllowThreads();
29709 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29710
29711 wxPyEndAllowThreads(__tstate);
29712 if (PyErr_Occurred()) SWIG_fail;
29713 }
29714 {
29715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29716 }
29717 return resultobj;
29718 fail:
29719 return NULL;
29720 }
29721
29722
29723 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
29724 PyObject *resultobj;
29725 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29726 wxPoint *arg2 = 0 ;
29727 wxPoint *arg3 = 0 ;
29728 bool arg4 ;
29729 bool arg5 ;
29730 bool result;
29731 wxPoint temp2 ;
29732 wxPoint temp3 ;
29733 PyObject * obj0 = 0 ;
29734 PyObject * obj1 = 0 ;
29735 PyObject * obj2 = 0 ;
29736 PyObject * obj3 = 0 ;
29737 PyObject * obj4 = 0 ;
29738 char *kwnames[] = {
29739 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29740 };
29741
29742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29745 {
29746 arg2 = &temp2;
29747 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29748 }
29749 {
29750 arg3 = &temp3;
29751 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29752 }
29753 arg4 = (bool) SWIG_AsBool(obj3);
29754 if (PyErr_Occurred()) SWIG_fail;
29755 arg5 = (bool) SWIG_AsBool(obj4);
29756 if (PyErr_Occurred()) SWIG_fail;
29757 {
29758 PyThreadState* __tstate = wxPyBeginAllowThreads();
29759 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29760
29761 wxPyEndAllowThreads(__tstate);
29762 if (PyErr_Occurred()) SWIG_fail;
29763 }
29764 {
29765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29766 }
29767 return resultobj;
29768 fail:
29769 return NULL;
29770 }
29771
29772
29773 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
29774 PyObject *obj;
29775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29776 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29777 Py_INCREF(obj);
29778 return Py_BuildValue((char *)"");
29779 }
29780 static PyMethodDef SwigMethods[] = {
29781 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
29782 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
29783 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29784 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
29785 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
29786 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
29787 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
29788 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
29789 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29790 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29791 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
29792 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
29793 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29794 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
29795 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
29796 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29797 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29798 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
29799 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
29800 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
29801 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
29802 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
29803 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
29804 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29805 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29806 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
29807 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29808 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
29809 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
29810 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
29811 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
29812 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
29813 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
29814 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
29815 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29816 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29817 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29818 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
29819 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
29820 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
29821 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
29822 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29823 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29824 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29825 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
29826 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
29827 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
29828 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29829 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29830 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29831 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
29832 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29833 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
29834 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
29835 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29836 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
29837 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
29838 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
29839 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
29840 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29841 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29842 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29843 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29844 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29845 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29846 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29847 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29848 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
29849 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
29850 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
29851 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
29852 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
29853 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29854 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
29855 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
29856 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
29857 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29858 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29859 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
29860 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
29861 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
29862 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
29863 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29864 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
29865 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29866 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29867 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29868 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29869 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29870 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29871 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
29872 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29873 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29874 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29875 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
29876 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
29877 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29878 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29879 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29880 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
29881 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
29882 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
29883 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29884 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
29885 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
29886 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
29887 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
29888 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
29889 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
29890 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29891 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29892 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
29893 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
29894 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29895 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29896 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29897 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
29898 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
29899 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
29900 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
29901 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
29902 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS, NULL },
29903 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
29904 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
29905 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29906 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29907 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29908 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
29909 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
29910 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29911 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29912 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
29913 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29914 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29915 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
29916 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
29917 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
29918 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29919 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29920 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
29921 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29922 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29923 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29924 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
29925 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
29926 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29927 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29928 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
29929 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
29930 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
29931 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
29932 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29933 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29934 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29935 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29936 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29937 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29938 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
29939 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
29940 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
29941 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
29942 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
29943 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
29944 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
29945 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29946 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29947 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
29948 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
29949 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
29950 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
29951 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
29952 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
29953 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
29954 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
29955 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
29956 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
29957 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
29958 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29959 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29960 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29961 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29962 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29963 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
29964 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29965 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
29966 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
29967 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
29968 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
29969 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
29970 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
29971 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
29972 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
29973 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
29974 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
29975 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
29976 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29977 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29978 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29979 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29980 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29981 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
29982 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
29983 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
29984 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
29985 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
29986 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29987 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29988 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
29989 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29990 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
29991 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
29992 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
29993 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29994 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29995 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
29996 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
29997 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29998 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29999 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30000 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
30001 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
30002 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
30003 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
30004 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30005 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30006 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30007 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30008 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30009 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30010 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30011 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30012 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30013 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
30014 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30015 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30016 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30017 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30018 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30019 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
30020 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30021 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30022 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30023 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30024 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
30025 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30026 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30027 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30028 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
30029 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
30030 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
30031 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30032 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30033 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30034 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30035 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30036 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
30037 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
30038 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
30039 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
30040 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
30041 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
30042 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
30043 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
30044 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
30045 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
30046 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
30047 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
30048 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30049 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30050 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30051 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
30052 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
30053 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
30054 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30055 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30056 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
30057 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
30058 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30059 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30060 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
30061 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
30062 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
30063 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30064 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
30065 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30066 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
30067 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
30068 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
30069 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
30070 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
30071 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
30072 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
30073 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
30074 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
30075 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30076 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
30077 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
30078 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
30079 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
30080 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
30081 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
30082 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30083 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
30084 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
30085 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30086 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30087 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30088 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
30089 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
30090 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
30091 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
30092 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
30093 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
30094 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
30095 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
30096 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
30097 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30098 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30099 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS, NULL },
30100 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30101 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30102 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30103 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30104 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30105 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS, NULL },
30106 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
30107 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
30108 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30109 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
30110 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
30111 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
30112 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30113 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
30114 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
30115 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30116 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
30117 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
30118 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
30119 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30120 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30121 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
30122 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30123 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
30124 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
30125 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
30126 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
30127 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
30128 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
30129 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
30130 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
30131 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
30132 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
30133 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
30134 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30135 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
30136 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
30137 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
30138 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
30139 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
30140 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30141 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
30142 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
30143 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
30144 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
30145 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30146 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30147 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30148 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30149 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30150 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30151 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
30152 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
30153 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
30154 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30155 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30156 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30157 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30158 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30159 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
30160 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
30161 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30162 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30163 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
30164 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
30165 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
30166 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
30167 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
30168 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
30169 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
30170 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
30171 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
30172 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
30173 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
30174 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
30175 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
30176 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
30177 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
30178 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
30179 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
30180 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
30181 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30182 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
30183 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
30184 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
30185 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
30186 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30187 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30188 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30189 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30190 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
30191 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
30192 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
30193 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
30194 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
30195 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
30196 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
30197 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
30198 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
30199 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
30200 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
30201 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
30202 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
30203 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
30204 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
30205 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30206 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
30207 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
30208 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
30209 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
30210 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
30211 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30212 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30213 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
30214 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
30215 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30216 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30217 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30218 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30219 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30220 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
30221 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30222 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30223 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30224 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30225 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
30226 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30227 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30228 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
30229 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30230 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
30231 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
30232 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30233 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
30234 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
30235 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
30236 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
30237 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
30238 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30239 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
30240 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30241 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30242 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30243 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
30244 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30245 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30246 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
30247 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
30248 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
30249 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30250 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30251 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
30252 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30253 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
30254 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30255 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30256 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
30257 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
30258 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
30259 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
30260 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
30261 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
30262 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
30263 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
30264 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
30265 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
30266 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
30267 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
30268 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
30269 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
30270 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
30271 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
30272 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
30273 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
30274 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
30275 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
30276 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
30277 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
30278 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30279 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
30280 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
30281 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
30282 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
30283 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
30284 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
30285 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
30286 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
30287 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
30288 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
30289 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
30290 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
30291 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30292 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30293 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30294 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30295 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
30296 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
30297 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30298 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
30299 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30300 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
30301 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
30302 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
30303 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
30304 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
30305 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30306 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30307 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30308 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30309 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30310 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30311 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30312 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30313 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30314 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
30315 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
30316 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
30317 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30318 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30319 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30320 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
30321 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
30322 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30323 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30324 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30325 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30326 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30327 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30328 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
30329 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30330 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30331 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
30332 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30333 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30334 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30335 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30336 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30337 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
30338 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30339 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
30340 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
30341 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30342 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30343 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30344 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL },
30345 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
30346 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
30347 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
30348 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
30349 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
30350 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
30351 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30352 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
30353 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
30354 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30355 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30356 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
30357 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30358 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
30359 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30360 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
30361 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30362 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
30363 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30364 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30365 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30366 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30367 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
30368 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30369 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30370 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30371 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30372 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
30373 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30374 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
30375 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
30376 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
30377 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30378 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
30379 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
30380 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
30381 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30382 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30383 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30384 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
30385 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
30386 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
30387 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
30388 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
30389 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
30390 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
30391 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
30392 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
30393 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
30394 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
30395 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30396 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30397 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
30398 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30399 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
30400 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30401 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
30402 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30403 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30404 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30405 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
30406 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
30407 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30408 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30409 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30410 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
30411 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30412 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30413 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30414 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
30415 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
30416 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
30417 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
30418 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30419 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30420 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30421 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30422 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
30423 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30424 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30425 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30426 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30427 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30428 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30429 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30430 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30431 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30432 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30433 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30434 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30435 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30436 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
30437 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30438 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30439 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30440 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30441 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30442 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30443 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
30444 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30445 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
30446 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30447 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30448 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30449 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30450 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30451 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
30452 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30453 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
30454 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
30455 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
30456 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30457 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
30458 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
30459 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
30460 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
30461 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
30462 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
30463 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
30464 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
30465 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30466 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30467 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
30468 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
30469 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
30470 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
30471 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
30472 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
30473 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30474 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
30475 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
30476 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
30477 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
30478 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
30479 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
30480 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
30481 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
30482 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
30483 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30484 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30485 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
30486 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30487 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
30488 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30489 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30490 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
30491 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
30492 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30493 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30494 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30495 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
30496 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
30497 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
30498 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
30499 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
30500 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
30501 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
30502 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
30503 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
30504 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
30505 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30506 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30507 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
30508 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30509 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30510 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
30511 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
30512 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
30513 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
30514 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30515 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30516 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30517 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
30518 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
30519 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
30520 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30521 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30522 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
30523 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
30524 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
30525 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
30526 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
30527 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30528 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
30529 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
30530 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
30531 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30532 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30533 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
30534 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
30535 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
30536 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
30537 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
30538 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
30539 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
30540 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30541 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30542 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30543 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
30544 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
30545 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
30546 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
30547 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
30548 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30549 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30550 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30551 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30552 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
30553 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
30554 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
30555 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
30556 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
30557 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30558 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30559 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30560 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
30561 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30562 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30563 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
30564 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
30565 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
30566 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
30567 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
30568 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
30569 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
30570 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30571 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
30572 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30573 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
30574 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
30575 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
30576 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
30577 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
30578 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
30579 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
30580 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
30581 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30582 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
30583 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
30584 { NULL, NULL, 0, NULL }
30585 };
30586
30587
30588 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30589
30590 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30591 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30592 }
30593 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30594 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30595 }
30596 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30597 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30598 }
30599 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30600 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30601 }
30602 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30603 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30604 }
30605 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30606 return (void *)((wxSizer *) ((wxGridSizer *) x));
30607 }
30608 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30609 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30610 }
30611 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30612 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30613 }
30614 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30615 return (void *)((wxSizer *) ((wxPySizer *) x));
30616 }
30617 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30618 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30619 }
30620 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30621 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30622 }
30623 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30624 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30625 }
30626 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30627 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30628 }
30629 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30630 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30631 }
30632 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30633 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30634 }
30635 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30636 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30637 }
30638 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30639 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30640 }
30641 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30642 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30643 }
30644 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30645 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30646 }
30647 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30648 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30649 }
30650 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30651 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30652 }
30653 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30654 return (void *)((wxEvent *) ((wxPyEvent *) x));
30655 }
30656 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30657 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30658 }
30659 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30660 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30661 }
30662 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30663 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30664 }
30665 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30666 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30667 }
30668 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30669 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30670 }
30671 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30672 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30673 }
30674 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30675 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30676 }
30677 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30678 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30679 }
30680 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30681 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30682 }
30683 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30684 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30685 }
30686 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30687 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30688 }
30689 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30690 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30691 }
30692 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30693 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30694 }
30695 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30696 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30697 }
30698 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30699 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30700 }
30701 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30702 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30703 }
30704 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30705 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30706 }
30707 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30708 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30709 }
30710 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30711 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30712 }
30713 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30714 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30715 }
30716 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30717 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30718 }
30719 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30720 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30721 }
30722 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30723 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30724 }
30725 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30726 return (void *)((wxEvent *) ((wxShowEvent *) x));
30727 }
30728 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30729 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30730 }
30731 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30732 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30733 }
30734 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30735 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30736 }
30737 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30738 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30739 }
30740 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30741 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30742 }
30743 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30744 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30745 }
30746 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30747 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30748 }
30749 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30750 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30751 }
30752 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30753 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30754 }
30755 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30756 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30757 }
30758 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30759 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30760 }
30761 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30762 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30763 }
30764 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30765 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30766 }
30767 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30768 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30769 }
30770 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30771 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30772 }
30773 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30774 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30775 }
30776 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30777 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30778 }
30779 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30780 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30781 }
30782 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30783 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30784 }
30785 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30786 return (void *)((wxControl *) ((wxComboBox *) x));
30787 }
30788 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30789 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30790 }
30791 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30792 return (void *)((wxControl *) ((wxStaticBox *) x));
30793 }
30794 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30795 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30796 }
30797 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30798 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30799 }
30800 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30801 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30802 }
30803 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30804 return (void *)((wxControl *) ((wxScrollBar *) x));
30805 }
30806 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30807 return (void *)((wxControl *) ((wxBookCtrl *) x));
30808 }
30809 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30810 return (void *)((wxControl *) ((wxRadioButton *) x));
30811 }
30812 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30813 return (void *)((wxControl *) ((wxToggleButton *) x));
30814 }
30815 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30816 return (void *)((wxControl *) ((wxGauge *) x));
30817 }
30818 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30819 return (void *)((wxControl *) ((wxToolBarBase *) x));
30820 }
30821 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30822 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30823 }
30824 static void *_p_wxButtonTo_p_wxControl(void *x) {
30825 return (void *)((wxControl *) ((wxButton *) x));
30826 }
30827 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30828 return (void *)((wxControl *) ((wxSpinButton *) x));
30829 }
30830 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30831 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30832 }
30833 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30834 return (void *)((wxControl *) ((wxControlWithItems *) x));
30835 }
30836 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30837 return (void *)((wxControl *) ((wxRadioBox *) x));
30838 }
30839 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30840 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30841 }
30842 static void *_p_wxListbookTo_p_wxControl(void *x) {
30843 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30844 }
30845 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30846 return (void *)((wxControl *) ((wxCheckBox *) x));
30847 }
30848 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30849 return (void *)((wxControl *) ((wxTextCtrl *) x));
30850 }
30851 static void *_p_wxListViewTo_p_wxControl(void *x) {
30852 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30853 }
30854 static void *_p_wxSliderTo_p_wxControl(void *x) {
30855 return (void *)((wxControl *) ((wxSlider *) x));
30856 }
30857 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30858 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30859 }
30860 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30861 return (void *)((wxControl *) ((wxPyControl *) x));
30862 }
30863 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30864 return (void *)((wxControl *) ((wxStaticLine *) x));
30865 }
30866 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30867 return (void *)((wxControl *) ((wxStaticText *) x));
30868 }
30869 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30870 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30871 }
30872 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30873 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30874 }
30875 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30876 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30877 }
30878 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30879 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30880 }
30881 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30882 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30883 }
30884 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30885 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30886 }
30887 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30888 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30889 }
30890 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30891 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30892 }
30893 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30894 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30895 }
30896 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30897 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30898 }
30899 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30900 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30901 }
30902 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30903 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30904 }
30905 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30906 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30907 }
30908 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30909 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30910 }
30911 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30912 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30913 }
30914 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30915 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30916 }
30917 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30918 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30919 }
30920 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30921 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30922 }
30923 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30924 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30925 }
30926 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30927 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30928 }
30929 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30930 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
30931 }
30932 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30934 }
30935 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30936 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30937 }
30938 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30939 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30940 }
30941 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30942 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30943 }
30944 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30945 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30946 }
30947 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30948 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30949 }
30950 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30951 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30952 }
30953 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30954 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30955 }
30956 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30957 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30958 }
30959 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30960 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30961 }
30962 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30964 }
30965 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30966 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30967 }
30968 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30969 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30970 }
30971 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30972 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30973 }
30974 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30975 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30976 }
30977 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30978 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30979 }
30980 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30981 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30982 }
30983 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30984 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30985 }
30986 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30987 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30988 }
30989 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30990 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30991 }
30992 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30993 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30994 }
30995 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30996 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30997 }
30998 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30999 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31000 }
31001 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31002 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31003 }
31004 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31005 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31006 }
31007 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31008 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31009 }
31010 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31011 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31012 }
31013 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31014 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31015 }
31016 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31017 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31018 }
31019 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31020 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31021 }
31022 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31023 return (void *)((wxButton *) ((wxBitmapButton *) x));
31024 }
31025 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31026 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31027 }
31028 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31029 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31030 }
31031 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31032 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31033 }
31034 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31035 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31036 }
31037 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31038 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31039 }
31040 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31041 return (void *)((wxObject *) ((wxSizerItem *) x));
31042 }
31043 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31044 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31045 }
31046 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31047 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31048 }
31049 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31050 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31051 }
31052 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31053 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31054 }
31055 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31056 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31057 }
31058 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31059 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31060 }
31061 static void *_p_wxSizerTo_p_wxObject(void *x) {
31062 return (void *)((wxObject *) ((wxSizer *) x));
31063 }
31064 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31065 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31066 }
31067 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31069 }
31070 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31072 }
31073 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31074 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31075 }
31076 static void *_p_wxEventTo_p_wxObject(void *x) {
31077 return (void *)((wxObject *) ((wxEvent *) x));
31078 }
31079 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31080 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31081 }
31082 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31083 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31084 }
31085 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31086 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31087 }
31088 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31090 }
31091 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31093 }
31094 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31096 }
31097 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31098 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31099 }
31100 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31101 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31102 }
31103 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31104 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31105 }
31106 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31107 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31108 }
31109 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31110 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31111 }
31112 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31113 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31114 }
31115 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31117 }
31118 static void *_p_wxControlTo_p_wxObject(void *x) {
31119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31120 }
31121 static void *_p_wxPyControlTo_p_wxObject(void *x) {
31122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31123 }
31124 static void *_p_wxGaugeTo_p_wxObject(void *x) {
31125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31126 }
31127 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31129 }
31130 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31132 }
31133 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31135 }
31136 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31137 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31138 }
31139 static void *_p_wxChoiceTo_p_wxObject(void *x) {
31140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31141 }
31142 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31143 return (void *)((wxObject *) ((wxFSFile *) x));
31144 }
31145 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31146 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31147 }
31148 static void *_p_wxListViewTo_p_wxObject(void *x) {
31149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31150 }
31151 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31153 }
31154 static void *_p_wxNotebookTo_p_wxObject(void *x) {
31155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31156 }
31157 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31158 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31159 }
31160 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31161 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31162 }
31163 static void *_p_wxListbookTo_p_wxObject(void *x) {
31164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31165 }
31166 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31167 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31168 }
31169 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31171 }
31172 static void *_p_wxSliderTo_p_wxObject(void *x) {
31173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31174 }
31175 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31176 return (void *)((wxObject *) ((wxMenuItem *) x));
31177 }
31178 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31179 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31180 }
31181 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31182 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31183 }
31184 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31185 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31186 }
31187 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31188 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31189 }
31190 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31191 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31192 }
31193 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31194 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31195 }
31196 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31197 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31198 }
31199 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31200 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31201 }
31202 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31204 }
31205 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31206 return (void *)((wxObject *) ((wxContextHelp *) x));
31207 }
31208 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31209 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31210 }
31211 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31212 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31213 }
31214 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31215 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31216 }
31217 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31218 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31219 }
31220 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31221 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31222 }
31223 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31224 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31225 }
31226 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31227 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31228 }
31229 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31230 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31231 }
31232 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31233 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31234 }
31235 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31236 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31237 }
31238 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31239 return (void *)((wxObject *) ((wxImageHandler *) x));
31240 }
31241 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31242 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31243 }
31244 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31245 return (void *)((wxObject *) ((wxEvtHandler *) x));
31246 }
31247 static void *_p_wxListEventTo_p_wxObject(void *x) {
31248 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31249 }
31250 static void *_p_wxListBoxTo_p_wxObject(void *x) {
31251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31252 }
31253 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31255 }
31256 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31258 }
31259 static void *_p_wxButtonTo_p_wxObject(void *x) {
31260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31261 }
31262 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31264 }
31265 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31267 }
31268 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31270 }
31271 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31272 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31273 }
31274 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31276 }
31277 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31279 }
31280 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31282 }
31283 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31284 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31285 }
31286 static void *_p_wxListItemTo_p_wxObject(void *x) {
31287 return (void *)((wxObject *) ((wxListItem *) x));
31288 }
31289 static void *_p_wxImageTo_p_wxObject(void *x) {
31290 return (void *)((wxObject *) ((wxImage *) x));
31291 }
31292 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31293 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31294 }
31295 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31296 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31297 }
31298 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31299 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31300 }
31301 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31302 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31303 }
31304 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31306 }
31307 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31308 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31309 }
31310 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31312 }
31313 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31314 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31315 }
31316 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31317 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31318 }
31319 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31320 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31321 }
31322 static void *_p_wxWindowTo_p_wxObject(void *x) {
31323 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31324 }
31325 static void *_p_wxMenuTo_p_wxObject(void *x) {
31326 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31327 }
31328 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31330 }
31331 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31332 return (void *)((wxObject *) ((wxFileSystem *) x));
31333 }
31334 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31335 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31336 }
31337 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31338 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31339 }
31340 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31341 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31342 }
31343 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31344 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31345 }
31346 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31347 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31348 }
31349 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31350 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31351 }
31352 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31353 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31354 }
31355 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31356 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31357 }
31358 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31359 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31360 }
31361 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31363 }
31364 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31365 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31366 }
31367 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31368 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31369 }
31370 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31371 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31372 }
31373 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31375 }
31376 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31377 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31378 }
31379 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31381 }
31382 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31383 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31384 }
31385 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31386 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31387 }
31388 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31389 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31390 }
31391 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31392 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31393 }
31394 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31395 return (void *)((wxWindow *) ((wxMenuBar *) x));
31396 }
31397 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31398 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31399 }
31400 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31401 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31402 }
31403 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31404 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31405 }
31406 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31407 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31408 }
31409 static void *_p_wxControlTo_p_wxWindow(void *x) {
31410 return (void *)((wxWindow *) ((wxControl *) x));
31411 }
31412 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31413 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31414 }
31415 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31416 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31417 }
31418 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31419 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31420 }
31421 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31422 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31423 }
31424 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31425 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31426 }
31427 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31428 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31429 }
31430 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31431 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31432 }
31433 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31434 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31435 }
31436 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31437 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31438 }
31439 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31440 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31441 }
31442 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31443 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31444 }
31445 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31446 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31447 }
31448 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31449 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31450 }
31451 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31452 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31453 }
31454 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31455 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31456 }
31457 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31458 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31459 }
31460 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31461 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31462 }
31463 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31464 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31465 }
31466 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31467 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31468 }
31469 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31470 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31471 }
31472 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31473 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31474 }
31475 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31476 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31477 }
31478 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31479 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31480 }
31481 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31482 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31483 }
31484 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31485 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31486 }
31487 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31488 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31489 }
31490 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31491 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31492 }
31493 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31494 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31495 }
31496 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31497 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31498 }
31499 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31500 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31501 }
31502 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31503 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31504 }
31505 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31506 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31507 }
31508 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31509 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31510 }
31511 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31512 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31513 }
31514 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31515 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31516 }
31517 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31518 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31519 }
31520 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31521 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31522 }
31523 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31524 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31525 }
31526 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31527 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31528 }
31529 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31530 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31531 }
31532 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31533 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31534 }
31535 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31536 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31537 }
31538 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31539 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31540 }
31541 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31542 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31543 }
31544 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31545 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31546 }
31547 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31548 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31549 }
31550 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31551 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31552 }
31553 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31554 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31555 }
31556 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31557 return (void *)((wxValidator *) ((wxPyValidator *) x));
31558 }
31559 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}};
31560 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}};
31561 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}};
31562 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}};
31563 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}};
31564 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}};
31565 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}};
31566 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}};
31567 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}};
31568 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}};
31569 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}};
31570 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}};
31571 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}};
31572 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}};
31573 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}};
31574 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}};
31575 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}};
31576 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}};
31577 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}};
31578 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}};
31579 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}};
31580 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}};
31581 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}};
31582 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}};
31583 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}};
31584 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}};
31585 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}};
31586 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}};
31587 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}};
31588 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}};
31589 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}};
31590 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}};
31591 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}};
31592 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}};
31593 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}};
31594 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}};
31595 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}};
31596 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}};
31597 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}};
31598 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}};
31599 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}};
31600 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}};
31601 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}};
31602 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}};
31603 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}};
31604 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}};
31605 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}};
31606 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}};
31607 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}};
31608 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}};
31609 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}};
31610 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}};
31611 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}};
31612 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}};
31613 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}};
31614 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}};
31615 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}};
31616 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}};
31617 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}};
31618 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}};
31619 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}};
31620 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}};
31621 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}};
31622 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}};
31623 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}};
31624 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}};
31625 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}};
31626 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}};
31627 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}};
31628 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}};
31629 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}};
31630 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}};
31631 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}};
31632 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}};
31633 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}};
31634 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}};
31635 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}};
31636 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}};
31637 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}};
31638 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}};
31639 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}};
31640 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}};
31641 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}};
31642 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}};
31643
31644 static swig_type_info *swig_types_initial[] = {
31645 _swigt__p_wxTextUrlEvent,
31646 _swigt__p_wxBookCtrlEvent,
31647 _swigt__p_wxSizer,
31648 _swigt__p_wxCheckBox,
31649 _swigt__p_wxPyTreeCtrl,
31650 _swigt__p_wxEvent,
31651 _swigt__p_wxGenericDirCtrl,
31652 _swigt__p_bool,
31653 _swigt__p_wxPyTreeItemData,
31654 _swigt__p_wxItemContainer,
31655 _swigt__p_wxDirFilterListCtrl,
31656 _swigt__p_wxPyListCtrl,
31657 _swigt__p_wxStaticLine,
31658 _swigt__p_wxControl,
31659 _swigt__p_wxPyControl,
31660 _swigt__p_wxGauge,
31661 _swigt__p_wxToolBarBase,
31662 _swigt__p_wxFont,
31663 _swigt__p_wxToggleButton,
31664 _swigt__p_wxRadioButton,
31665 _swigt__p_wxChoice,
31666 _swigt__p_wxMemoryDC,
31667 _swigt__p_wxListItemAttr,
31668 _swigt__p_void,
31669 _swigt__p_int,
31670 _swigt__p_wxSize,
31671 _swigt__p_wxDC,
31672 _swigt__p_wxListView,
31673 _swigt__p_wxIcon,
31674 _swigt__p_wxTextCtrl,
31675 _swigt__p_wxNotebook,
31676 _swigt__p_wxNotifyEvent,
31677 _swigt__p_wxArrayString,
31678 _swigt__p_wxListbook,
31679 _swigt__p_wxStaticBitmap,
31680 _swigt__p_wxSlider,
31681 _swigt__p_wxStaticBox,
31682 _swigt__p_wxArrayInt,
31683 _swigt__p_wxContextHelp,
31684 _swigt__p_long,
31685 _swigt__p_wxEvtHandler,
31686 _swigt__p_wxListEvent,
31687 _swigt__p_wxListBox,
31688 _swigt__p_wxCheckListBox,
31689 _swigt__p_wxBookCtrl,
31690 _swigt__p_wxSpinButton,
31691 _swigt__p_wxButton,
31692 _swigt__p_wxBitmapButton,
31693 _swigt__p_wxRect,
31694 _swigt__p_wxContextHelpButton,
31695 _swigt__p_wxRadioBox,
31696 _swigt__p_wxScrollBar,
31697 _swigt__p_char,
31698 _swigt__p_wxTreeItemId,
31699 _swigt__p_wxComboBox,
31700 _swigt__p_wxHelpEvent,
31701 _swigt__p_wxListItem,
31702 _swigt__p_wxNotebookSizer,
31703 _swigt__p_wxSpinEvent,
31704 _swigt__p_wxGenericDragImage,
31705 _swigt__p_wxSpinCtrl,
31706 _swigt__p_wxImageList,
31707 _swigt__p_wxHelpProvider,
31708 _swigt__p_wxTextAttr,
31709 _swigt__p_wxSimpleHelpProvider,
31710 _swigt__p_wxPoint,
31711 _swigt__p_wxListbookEvent,
31712 _swigt__p_wxNotebookEvent,
31713 _swigt__p_wxObject,
31714 _swigt__p_wxCursor,
31715 _swigt__p_wxKeyEvent,
31716 _swigt__p_wxWindow,
31717 _swigt__p_wxString,
31718 _swigt__p_wxBitmap,
31719 _swigt__p_wxTreeEvent,
31720 _swigt__p_wxMouseEvent,
31721 _swigt__p_wxCommandEvent,
31722 _swigt__p_wxStaticText,
31723 _swigt__p_wxControlWithItems,
31724 _swigt__p_wxToolBarToolBase,
31725 _swigt__p_wxColour,
31726 _swigt__p_wxToolBar,
31727 _swigt__p_wxBookCtrlSizer,
31728 _swigt__p_wxValidator,
31729 0
31730 };
31731
31732
31733 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31734
31735 static swig_const_info swig_const_table[] = {
31736 {0, 0, 0, 0.0, 0, 0}};
31737
31738 #ifdef __cplusplus
31739 }
31740 #endif
31741
31742 #ifdef __cplusplus
31743 extern "C"
31744 #endif
31745 SWIGEXPORT(void) SWIG_init(void) {
31746 static PyObject *SWIG_globals = 0;
31747 static int typeinit = 0;
31748 PyObject *m, *d;
31749 int i;
31750 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31751 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31752 d = PyModule_GetDict(m);
31753
31754 if (!typeinit) {
31755 for (i = 0; swig_types_initial[i]; i++) {
31756 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31757 }
31758 typeinit = 1;
31759 }
31760 SWIG_InstallConstants(d,swig_const_table);
31761
31762 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31763 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31764 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
31765 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
31766 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
31767 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
31768 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
31769 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
31770 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31771 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
31772 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
31773 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31774 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
31775 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
31776 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
31777 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31778 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31779 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31780 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
31781 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
31782 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
31783 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
31784 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31785 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31786 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31787 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31788 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31789 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
31790 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
31791 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
31792 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
31793 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
31794 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
31795 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
31796 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
31797 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
31798 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
31799 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
31800 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
31801 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
31802 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
31803 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
31804 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
31805 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
31806 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
31807 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31808 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31809 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31810 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31811 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31812 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31813 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31814 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31815 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31816 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31817 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31818 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31819 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31820 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
31821 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31822 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31823 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31824 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
31825 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
31826 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
31827 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
31828 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
31829 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
31830 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31831 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31832 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31833 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31834 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31835 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31836 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31837 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
31838 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
31839 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
31840 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
31841 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31842 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31843 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31844 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31845 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31846 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31847 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31848 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
31849 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
31850 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
31851 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
31852 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
31853 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
31854 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
31855 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
31856 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
31857 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
31858 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31859 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31860 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
31861 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
31862 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
31863 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
31864 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
31865 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
31866 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31867 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31868 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
31869 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31870 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
31871 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
31872 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
31873 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
31874 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
31875 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
31876 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
31877 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
31878 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
31879 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
31880 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
31881 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
31882 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31883 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
31884 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
31885 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
31886 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
31887 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
31888 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
31889 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
31890 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
31891 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
31892 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
31893 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
31894 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
31895 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
31896 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
31897 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
31898 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
31899 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
31900 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
31901 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
31902 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
31903 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
31904 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
31905 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
31906 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
31907 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
31908 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
31909 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
31910 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
31911 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
31912 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
31913 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
31914 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
31915 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
31916 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
31917 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
31918 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
31919 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
31920 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
31921 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
31922 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31923 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31924 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31925 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31926 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
31927 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
31928 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
31929 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
31930 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
31931 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
31932 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
31933 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
31934 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
31935 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
31936 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
31937 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31938 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
31939 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
31940 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
31941 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
31942 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
31943 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31944 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
31945 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
31946 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
31947 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
31948 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
31949 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
31950 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
31951 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31952 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31953 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31954 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31955 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31956 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31957 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31958 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31959 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31960 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31961 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31962 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31963 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31964 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31965 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31966 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31967 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31968 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31969 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31970 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31971 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31972 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31973
31974 // Map renamed classes back to their common name for OOR
31975 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31976
31977 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31978 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
31979 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
31980 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
31981 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
31982 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
31983 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
31984 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
31985 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31986 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
31987 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
31988 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
31989 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31990 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
31991 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
31992 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
31993 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
31994 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
31995 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
31996 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
31997 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31998 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
31999 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32000 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32001 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32002 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32003 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32004 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32005 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32006 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32007 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32008 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32009 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32010 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32011 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32012 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
32013 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32014 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32015 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32016 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32017 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32018 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32019 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32020 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32021 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32022 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32023 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32024 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32025 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32026 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32027 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32028 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32029 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32030 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32031 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
32032 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
32033
32034 // Map renamed classes back to their common name for OOR
32035 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32036 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32037
32038 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
32039 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32040 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32041 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32042 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32043 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32044 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32045 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
32046 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32047 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
32048
32049 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32050
32051 }
32052