]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
make it easier to do a gtk2 build
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
303
304 #define SWIG_name "_controls_"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352 static const wxString wxPyPanelNameStr(wxPanelNameStr);
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyControlNameStr(wxControlNameStr);
355
356 const wxArrayString wxPyEmptyStringArray;
357
358 static const wxString wxPyButtonNameStr(wxButtonNameStr);
359
360 #include <limits.h>
361
362
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366 {
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384 }
385
386
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject * obj)
389 {
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399 }
400
401
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject *obj)
405 {
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409 }
410 #else
411 #define SWIG_AsInt SWIG_AsLong
412 #endif
413
414
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject* obj)
417 {
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425 }
426
427
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject* obj)
430 {
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438 }
439
440 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
441
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject *obj)
444 {
445 return PyObject_IsTrue(obj) ? true : false;
446 }
447
448
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject* obj)
451 {
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459 }
460
461 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
462 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
463 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
464 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
465 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
466 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
467
468 #include <wx/checklst.h>
469
470
471 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
472 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
473 if (clientData) {
474 wxPyClientData* data = new wxPyClientData(clientData);
475 self->Insert(item, pos, data);
476 } else
477 self->Insert(item, pos);
478 }
479 PyObject *wxListBox_GetSelections(wxListBox *self){
480 wxArrayInt lst;
481 self->GetSelections(lst);
482 PyObject *tup = PyTuple_New(lst.GetCount());
483 for(size_t i=0; i<lst.GetCount(); i++) {
484 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
485 }
486 return tup;
487 }
488 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
489 #ifdef __WXMSW__
490 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
491 self->GetItem(item)->SetTextColour(c);
492 #endif
493 }
494 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
495 #ifdef __WXMSW__
496 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
497 self->GetItem(item)->SetBackgroundColour(c);
498 #endif
499 }
500 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
501 #ifdef __WXMSW__
502 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
503 self->GetItem(item)->SetFont(f);
504 #endif
505 }
506 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
507
508 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
509 PyObject* o2;
510 PyObject* o3;
511
512 if (!target) {
513 target = o;
514 } else if (target == Py_None) {
515 Py_DECREF(Py_None);
516 target = o;
517 } else {
518 if (!PyTuple_Check(target)) {
519 o2 = target;
520 target = PyTuple_New(1);
521 PyTuple_SetItem(target, 0, o2);
522 }
523 o3 = PyTuple_New(1);
524 PyTuple_SetItem(o3, 0, o);
525
526 o2 = target;
527 target = PySequence_Concat(o2, o3);
528 Py_DECREF(o2);
529 Py_DECREF(o3);
530 }
531 return target;
532 }
533
534
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject * obj)
537 {
538 if (PyLong_Check(obj)) {
539 return PyLong_AsUnsignedLong(obj);
540 } else {
541 long i = SWIG_AsLong(obj);
542 if ( !PyErr_Occurred() && (i < 0)) {
543 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
544 }
545 return i;
546 }
547 }
548
549
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject* obj)
552 {
553 SWIG_AsUnsignedLong(obj);
554 if (PyErr_Occurred()) {
555 PyErr_Clear();
556 return 0;
557 } else {
558 return 1;
559 }
560 }
561
562 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
563 self->AppendText(text);
564 }
565 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
566 return self->GetValue().Mid(from, to - from);
567 }
568 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
569 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
570 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
572 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
573 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
574 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
575 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
576
577 #include <wx/slider.h>
578
579
580 static const wxString wxPySliderNameStr(wxSliderNameStr);
581 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
582
583 #if !wxUSE_TOGGLEBTN
584 // implement dummy items for platforms that don't have this class
585
586 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
587
588 class wxToggleButton : public wxControl
589 {
590 public:
591 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
592 const wxPoint&, const wxSize&, long,
593 const wxValidator&, const wxString&)
594 { wxPyRaiseNotImplemented(); }
595
596 wxToggleButton()
597 { wxPyRaiseNotImplemented(); }
598 };
599 #endif
600
601 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
602
603 SWIGSTATICINLINE(PyObject* )
604 SWIG_FromUnsignedLong(unsigned long value)
605 {
606 return (value > LONG_MAX) ?
607 PyLong_FromUnsignedLong(value)
608 : PyInt_FromLong(swig_numeric_cast(long,value));
609 }
610
611 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
612 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
613 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
614 if (udata) {
615 Py_INCREF(udata->m_obj);
616 return udata->m_obj;
617 } else {
618 Py_INCREF(Py_None);
619 return Py_None;
620 }
621 }
622 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
623 self->SetClientData(new wxPyUserData(clientData));
624 }
625 wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
626 wxPyUserData* udata = NULL;
627 if (clientData && clientData != Py_None)
628 udata = new wxPyUserData(clientData);
629 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
630 shortHelp, longHelp, udata);
631 }
632 wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
633 wxPyUserData* udata = NULL;
634 if (clientData && clientData != Py_None)
635 udata = new wxPyUserData(clientData);
636 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
637 shortHelp, longHelp, udata);
638 }
639 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
640 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
641 if (udata) {
642 Py_INCREF(udata->m_obj);
643 return udata->m_obj;
644 } else {
645 Py_INCREF(Py_None);
646 return Py_None;
647 }
648 }
649 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
650 self->SetToolClientData(id, new wxPyUserData(clientData));
651 }
652
653 #include <wx/listctrl.h>
654
655
656 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
657 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
658 // Python aware sorting function for wxPyListCtrl
659 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
660 int retval = 0;
661 PyObject* func = (PyObject*)funcPtr;
662 bool blocked = wxPyBeginBlockThreads();
663
664 PyObject* args = Py_BuildValue("(ii)", item1, item2);
665 PyObject* result = PyEval_CallObject(func, args);
666 Py_DECREF(args);
667 if (result) {
668 retval = PyInt_AsLong(result);
669 Py_DECREF(result);
670 }
671
672 wxPyEndBlockThreads(blocked);
673 return retval;
674 }
675
676 // C++ Version of a Python aware class
677 class wxPyListCtrl : public wxListCtrl {
678 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
679 public:
680 wxPyListCtrl() : wxListCtrl() {}
681 wxPyListCtrl(wxWindow* parent, wxWindowID id,
682 const wxPoint& pos,
683 const wxSize& size,
684 long style,
685 const wxValidator& validator,
686 const wxString& name) :
687 wxListCtrl(parent, id, pos, size, style, validator, name) {}
688
689 bool Create(wxWindow* parent, wxWindowID id,
690 const wxPoint& pos,
691 const wxSize& size,
692 long style,
693 const wxValidator& validator,
694 const wxString& name) {
695 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
696 }
697
698 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
699 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
700 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
701
702 PYPRIVATE;
703 };
704
705 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
706
707 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
708 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
709 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
710
711 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
712 wxListItem item;
713 item.SetMask( wxLIST_MASK_STATE |
714 wxLIST_MASK_TEXT |
715 wxLIST_MASK_IMAGE |
716 wxLIST_MASK_DATA |
717 wxLIST_SET_ITEM |
718 wxLIST_MASK_WIDTH |
719 wxLIST_MASK_FORMAT
720 );
721 if (self->GetColumn(col, item))
722 return new wxListItem(item);
723 else
724 return NULL;
725 }
726 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
727 wxListItem* info = new wxListItem;
728 info->m_itemId = itemId;
729 info->m_col = col;
730 info->m_mask = 0xFFFF;
731 self->GetItem(*info);
732 return info;
733 }
734 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
735 wxPoint pos;
736 self->GetItemPosition(item, pos);
737 return pos;
738 }
739 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
740 wxRect rect;
741 self->GetItemRect(item, rect, code);
742 return rect;
743 }
744 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
745 if (!PyCallable_Check(func))
746 return False;
747 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
748 }
749 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
750
751
752
753 return (wxWindow*)self->m_mainWin;
754
755 }
756
757 #include <wx/treectrl.h>
758 #include "wx/wxPython/pytree.h"
759
760 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
761 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
762 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
763 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
764 // C++ version of Python aware wxTreeCtrl
765 class wxPyTreeCtrl : public wxTreeCtrl {
766 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
767 public:
768 wxPyTreeCtrl() : wxTreeCtrl() {}
769 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
770 const wxPoint& pos,
771 const wxSize& size,
772 long style,
773 const wxValidator& validator,
774 const wxString& name) :
775 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
776
777 bool Create(wxWindow *parent, wxWindowID id,
778 const wxPoint& pos,
779 const wxSize& size,
780 long style,
781 const wxValidator& validator,
782 const wxString& name) {
783 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
784 }
785
786
787 int OnCompareItems(const wxTreeItemId& item1,
788 const wxTreeItemId& item2) {
789 int rval = 0;
790 bool found;
791 bool blocked = wxPyBeginBlockThreads();
792 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
793 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
794 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
795 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
796 Py_DECREF(o1);
797 Py_DECREF(o2);
798 }
799 wxPyEndBlockThreads(blocked);
800 if (! found)
801 rval = wxTreeCtrl::OnCompareItems(item1, item2);
802 return rval;
803 }
804 PYPRIVATE;
805 };
806
807 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
808
809
810
811 #if UINT_MAX < LONG_MAX
812 #define SWIG_FromUnsignedInt SWIG_FromLong
813 #else
814 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
815 #endif
816
817
818 SWIGSTATICINLINE(unsigned long)
819 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
820 unsigned long max_value)
821 {
822 if (!PyErr_Occurred()) {
823 if (value > max_value) {
824 PyObject *err =
825 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
826 value, type, max_value);
827 PyErr_SetObject(PyExc_OverflowError, err);
828 Py_DECREF(err);
829 }
830 }
831 return value;
832 }
833
834
835 #if UINT_MAX != ULONG_MAX
836 SWIGSTATICINLINE(unsigned int)
837 SWIG_AsUnsignedInt(PyObject *obj)
838 {
839 return swig_numeric_cast(unsigned int,
840 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
841 "unsigned int", UINT_MAX));
842 }
843 #else
844 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
845 #endif
846
847
848 SWIGSTATICINLINE(int)
849 SWIG_CheckUnsignedInt(PyObject* obj)
850 {
851 SWIG_AsUnsignedInt(obj);
852 if (PyErr_Occurred()) {
853 PyErr_Clear();
854 return 0;
855 } else {
856 return 1;
857 }
858 }
859
860 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
861 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
862 if (data == NULL) {
863 data = new wxPyTreeItemData();
864 data->SetId(item); // set the id
865 self->SetItemData(item, data);
866 }
867 return data;
868 }
869 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
870 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
871 if (data == NULL) {
872 data = new wxPyTreeItemData();
873 data->SetId(item); // set the id
874 self->SetItemData(item, data);
875 }
876 return data->GetData();
877 }
878 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
879 data->SetId(item); // set the id
880 self->SetItemData(item, data);
881 }
882 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
883 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
884 if (data == NULL) {
885 data = new wxPyTreeItemData(obj);
886 data->SetId(item); // set the id
887 self->SetItemData(item, data);
888 } else
889 data->SetData(obj);
890 }
891 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
892 bool blocked = wxPyBeginBlockThreads();
893 PyObject* rval = PyList_New(0);
894 wxArrayTreeItemIds array;
895 size_t num, x;
896 num = self->GetSelections(array);
897 for (x=0; x < num; x++) {
898 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
899 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
900 PyList_Append(rval, item);
901 }
902 wxPyEndBlockThreads(blocked);
903 return rval;
904 }
905 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
906 void* cookie = 0;
907 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
908 bool blocked = wxPyBeginBlockThreads();
909 PyObject* tup = PyTuple_New(2);
910 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
911 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
912 wxPyEndBlockThreads(blocked);
913 return tup;
914 }
915 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
916 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
917 bool blocked = wxPyBeginBlockThreads();
918 PyObject* tup = PyTuple_New(2);
919 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
920 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
921 wxPyEndBlockThreads(blocked);
922 return tup;
923 }
924 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
925 wxRect rect;
926 if (self->GetBoundingRect(item, rect, textOnly)) {
927 bool blocked = wxPyBeginBlockThreads();
928 wxRect* r = new wxRect(rect);
929 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
930 wxPyEndBlockThreads(blocked);
931 return val;
932 }
933 else
934 RETURN_NONE();
935 }
936 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
937 // C++ version of Python aware wxControl
938 class wxPyControl : public wxControl
939 {
940 DECLARE_DYNAMIC_CLASS(wxPyControl)
941 public:
942 wxPyControl() : wxControl() {}
943 wxPyControl(wxWindow* parent, const wxWindowID id,
944 const wxPoint& pos = wxDefaultPosition,
945 const wxSize& size = wxDefaultSize,
946 long style = 0,
947 const wxValidator& validator=wxDefaultValidator,
948 const wxString& name = wxPyControlNameStr)
949 : wxControl(parent, id, pos, size, style, validator, name) {}
950
951
952 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
953 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
954 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
955 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
956
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
960
961 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
962 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
963
964 DEC_PYCALLBACK__(InitDialog);
965 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
966 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
967 DEC_PYCALLBACK_BOOL_(Validate);
968
969 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
970 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
971 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
972
973 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
974 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
975
976 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
977 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
978
979 PYPRIVATE;
980 };
981
982 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
983
984 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
985 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
987 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
988
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
991 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
992
993 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
994 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
995
996 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
997 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
998 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
999 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
1000
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1002 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1003 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1004
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1006 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1007
1008 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
1009 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1010
1011
1012
1013 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1014
1015 #include <wx/generic/dragimgg.h>
1016
1017 #ifdef __cplusplus
1018 extern "C" {
1019 #endif
1020 static int _wrap_ButtonNameStr_set(PyObject *_val) {
1021 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1022 return 1;
1023 }
1024
1025
1026 static PyObject *_wrap_ButtonNameStr_get() {
1027 PyObject *pyobj;
1028
1029 {
1030 #if wxUSE_UNICODE
1031 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1032 #else
1033 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1034 #endif
1035 }
1036 return pyobj;
1037 }
1038
1039
1040 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1041 PyObject *resultobj;
1042 wxWindow *arg1 = (wxWindow *) 0 ;
1043 int arg2 ;
1044 wxString *arg3 = 0 ;
1045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1047 wxSize const &arg5_defvalue = wxDefaultSize ;
1048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1049 long arg6 = (long) 0 ;
1050 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1051 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1052 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1053 wxString *arg8 = (wxString *) &arg8_defvalue ;
1054 wxButton *result;
1055 bool temp3 = False ;
1056 wxPoint temp4 ;
1057 wxSize temp5 ;
1058 bool temp8 = False ;
1059 PyObject * obj0 = 0 ;
1060 PyObject * obj1 = 0 ;
1061 PyObject * obj2 = 0 ;
1062 PyObject * obj3 = 0 ;
1063 PyObject * obj4 = 0 ;
1064 PyObject * obj5 = 0 ;
1065 PyObject * obj6 = 0 ;
1066 PyObject * obj7 = 0 ;
1067 char *kwnames[] = {
1068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1069 };
1070
1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1074 arg2 = (int) SWIG_AsInt(obj1);
1075 if (PyErr_Occurred()) SWIG_fail;
1076 {
1077 arg3 = wxString_in_helper(obj2);
1078 if (arg3 == NULL) SWIG_fail;
1079 temp3 = True;
1080 }
1081 if (obj3) {
1082 {
1083 arg4 = &temp4;
1084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1085 }
1086 }
1087 if (obj4) {
1088 {
1089 arg5 = &temp5;
1090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1091 }
1092 }
1093 if (obj5) {
1094 arg6 = (long) SWIG_AsLong(obj5);
1095 if (PyErr_Occurred()) SWIG_fail;
1096 }
1097 if (obj6) {
1098 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1099 SWIG_POINTER_EXCEPTION | 0)) == -1)
1100 SWIG_fail;
1101 if (arg7 == NULL) {
1102 PyErr_SetString(PyExc_TypeError,"null reference");
1103 SWIG_fail;
1104 }
1105 }
1106 if (obj7) {
1107 {
1108 arg8 = wxString_in_helper(obj7);
1109 if (arg8 == NULL) SWIG_fail;
1110 temp8 = True;
1111 }
1112 }
1113 {
1114 PyThreadState* __tstate = wxPyBeginAllowThreads();
1115 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1116
1117 wxPyEndAllowThreads(__tstate);
1118 if (PyErr_Occurred()) SWIG_fail;
1119 }
1120 {
1121 resultobj = wxPyMake_wxObject(result);
1122 }
1123 {
1124 if (temp3)
1125 delete arg3;
1126 }
1127 {
1128 if (temp8)
1129 delete arg8;
1130 }
1131 return resultobj;
1132 fail:
1133 {
1134 if (temp3)
1135 delete arg3;
1136 }
1137 {
1138 if (temp8)
1139 delete arg8;
1140 }
1141 return NULL;
1142 }
1143
1144
1145 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1146 PyObject *resultobj;
1147 wxButton *result;
1148 char *kwnames[] = {
1149 NULL
1150 };
1151
1152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1153 {
1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
1155 result = (wxButton *)new wxButton();
1156
1157 wxPyEndAllowThreads(__tstate);
1158 if (PyErr_Occurred()) SWIG_fail;
1159 }
1160 {
1161 resultobj = wxPyMake_wxObject(result);
1162 }
1163 return resultobj;
1164 fail:
1165 return NULL;
1166 }
1167
1168
1169 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject *resultobj;
1171 wxButton *arg1 = (wxButton *) 0 ;
1172 wxWindow *arg2 = (wxWindow *) 0 ;
1173 int arg3 ;
1174 wxString *arg4 = 0 ;
1175 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1176 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1177 wxSize const &arg6_defvalue = wxDefaultSize ;
1178 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1179 long arg7 = (long) 0 ;
1180 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1181 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1182 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1183 wxString *arg9 = (wxString *) &arg9_defvalue ;
1184 bool result;
1185 bool temp4 = False ;
1186 wxPoint temp5 ;
1187 wxSize temp6 ;
1188 bool temp9 = False ;
1189 PyObject * obj0 = 0 ;
1190 PyObject * obj1 = 0 ;
1191 PyObject * obj2 = 0 ;
1192 PyObject * obj3 = 0 ;
1193 PyObject * obj4 = 0 ;
1194 PyObject * obj5 = 0 ;
1195 PyObject * obj6 = 0 ;
1196 PyObject * obj7 = 0 ;
1197 PyObject * obj8 = 0 ;
1198 char *kwnames[] = {
1199 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1200 };
1201
1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1207 arg3 = (int) SWIG_AsInt(obj2);
1208 if (PyErr_Occurred()) SWIG_fail;
1209 {
1210 arg4 = wxString_in_helper(obj3);
1211 if (arg4 == NULL) SWIG_fail;
1212 temp4 = True;
1213 }
1214 if (obj4) {
1215 {
1216 arg5 = &temp5;
1217 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1218 }
1219 }
1220 if (obj5) {
1221 {
1222 arg6 = &temp6;
1223 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1224 }
1225 }
1226 if (obj6) {
1227 arg7 = (long) SWIG_AsLong(obj6);
1228 if (PyErr_Occurred()) SWIG_fail;
1229 }
1230 if (obj7) {
1231 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1232 SWIG_POINTER_EXCEPTION | 0)) == -1)
1233 SWIG_fail;
1234 if (arg8 == NULL) {
1235 PyErr_SetString(PyExc_TypeError,"null reference");
1236 SWIG_fail;
1237 }
1238 }
1239 if (obj8) {
1240 {
1241 arg9 = wxString_in_helper(obj8);
1242 if (arg9 == NULL) SWIG_fail;
1243 temp9 = True;
1244 }
1245 }
1246 {
1247 PyThreadState* __tstate = wxPyBeginAllowThreads();
1248 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1249
1250 wxPyEndAllowThreads(__tstate);
1251 if (PyErr_Occurred()) SWIG_fail;
1252 }
1253 {
1254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1255 }
1256 {
1257 if (temp4)
1258 delete arg4;
1259 }
1260 {
1261 if (temp9)
1262 delete arg9;
1263 }
1264 return resultobj;
1265 fail:
1266 {
1267 if (temp4)
1268 delete arg4;
1269 }
1270 {
1271 if (temp9)
1272 delete arg9;
1273 }
1274 return NULL;
1275 }
1276
1277
1278 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject *resultobj;
1280 wxButton *arg1 = (wxButton *) 0 ;
1281 PyObject * obj0 = 0 ;
1282 char *kwnames[] = {
1283 (char *) "self", NULL
1284 };
1285
1286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1289 {
1290 PyThreadState* __tstate = wxPyBeginAllowThreads();
1291 (arg1)->SetDefault();
1292
1293 wxPyEndAllowThreads(__tstate);
1294 if (PyErr_Occurred()) SWIG_fail;
1295 }
1296 Py_INCREF(Py_None); resultobj = Py_None;
1297 return resultobj;
1298 fail:
1299 return NULL;
1300 }
1301
1302
1303 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1304 PyObject *resultobj;
1305 wxSize result;
1306 char *kwnames[] = {
1307 NULL
1308 };
1309
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1311 {
1312 PyThreadState* __tstate = wxPyBeginAllowThreads();
1313 result = wxButton::GetDefaultSize();
1314
1315 wxPyEndAllowThreads(__tstate);
1316 if (PyErr_Occurred()) SWIG_fail;
1317 }
1318 {
1319 wxSize * resultptr;
1320 resultptr = new wxSize((wxSize &) result);
1321 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1322 }
1323 return resultobj;
1324 fail:
1325 return NULL;
1326 }
1327
1328
1329 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1330 PyObject *obj;
1331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1332 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1333 Py_INCREF(obj);
1334 return Py_BuildValue((char *)"");
1335 }
1336 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1337 PyObject *resultobj;
1338 wxWindow *arg1 = (wxWindow *) 0 ;
1339 int arg2 ;
1340 wxBitmap *arg3 = 0 ;
1341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1343 wxSize const &arg5_defvalue = wxDefaultSize ;
1344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1345 long arg6 = (long) wxBU_AUTODRAW ;
1346 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1347 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1348 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1349 wxString *arg8 = (wxString *) &arg8_defvalue ;
1350 wxBitmapButton *result;
1351 wxPoint temp4 ;
1352 wxSize temp5 ;
1353 bool temp8 = False ;
1354 PyObject * obj0 = 0 ;
1355 PyObject * obj1 = 0 ;
1356 PyObject * obj2 = 0 ;
1357 PyObject * obj3 = 0 ;
1358 PyObject * obj4 = 0 ;
1359 PyObject * obj5 = 0 ;
1360 PyObject * obj6 = 0 ;
1361 PyObject * obj7 = 0 ;
1362 char *kwnames[] = {
1363 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1364 };
1365
1366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1369 arg2 = (int) SWIG_AsInt(obj1);
1370 if (PyErr_Occurred()) SWIG_fail;
1371 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1372 SWIG_POINTER_EXCEPTION | 0)) == -1)
1373 SWIG_fail;
1374 if (arg3 == NULL) {
1375 PyErr_SetString(PyExc_TypeError,"null reference");
1376 SWIG_fail;
1377 }
1378 if (obj3) {
1379 {
1380 arg4 = &temp4;
1381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1382 }
1383 }
1384 if (obj4) {
1385 {
1386 arg5 = &temp5;
1387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1388 }
1389 }
1390 if (obj5) {
1391 arg6 = (long) SWIG_AsLong(obj5);
1392 if (PyErr_Occurred()) SWIG_fail;
1393 }
1394 if (obj6) {
1395 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1396 SWIG_POINTER_EXCEPTION | 0)) == -1)
1397 SWIG_fail;
1398 if (arg7 == NULL) {
1399 PyErr_SetString(PyExc_TypeError,"null reference");
1400 SWIG_fail;
1401 }
1402 }
1403 if (obj7) {
1404 {
1405 arg8 = wxString_in_helper(obj7);
1406 if (arg8 == NULL) SWIG_fail;
1407 temp8 = True;
1408 }
1409 }
1410 {
1411 PyThreadState* __tstate = wxPyBeginAllowThreads();
1412 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1413
1414 wxPyEndAllowThreads(__tstate);
1415 if (PyErr_Occurred()) SWIG_fail;
1416 }
1417 {
1418 resultobj = wxPyMake_wxObject(result);
1419 }
1420 {
1421 if (temp8)
1422 delete arg8;
1423 }
1424 return resultobj;
1425 fail:
1426 {
1427 if (temp8)
1428 delete arg8;
1429 }
1430 return NULL;
1431 }
1432
1433
1434 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject *resultobj;
1436 wxBitmapButton *result;
1437 char *kwnames[] = {
1438 NULL
1439 };
1440
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1442 {
1443 PyThreadState* __tstate = wxPyBeginAllowThreads();
1444 result = (wxBitmapButton *)new wxBitmapButton();
1445
1446 wxPyEndAllowThreads(__tstate);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 {
1450 resultobj = wxPyMake_wxObject(result);
1451 }
1452 return resultobj;
1453 fail:
1454 return NULL;
1455 }
1456
1457
1458 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject *resultobj;
1460 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1461 wxWindow *arg2 = (wxWindow *) 0 ;
1462 int arg3 ;
1463 wxBitmap *arg4 = 0 ;
1464 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1465 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1466 wxSize const &arg6_defvalue = wxDefaultSize ;
1467 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1468 long arg7 = (long) wxBU_AUTODRAW ;
1469 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1470 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1471 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1472 wxString *arg9 = (wxString *) &arg9_defvalue ;
1473 bool result;
1474 wxPoint temp5 ;
1475 wxSize temp6 ;
1476 bool temp9 = False ;
1477 PyObject * obj0 = 0 ;
1478 PyObject * obj1 = 0 ;
1479 PyObject * obj2 = 0 ;
1480 PyObject * obj3 = 0 ;
1481 PyObject * obj4 = 0 ;
1482 PyObject * obj5 = 0 ;
1483 PyObject * obj6 = 0 ;
1484 PyObject * obj7 = 0 ;
1485 PyObject * obj8 = 0 ;
1486 char *kwnames[] = {
1487 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1488 };
1489
1490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1495 arg3 = (int) SWIG_AsInt(obj2);
1496 if (PyErr_Occurred()) SWIG_fail;
1497 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1498 SWIG_POINTER_EXCEPTION | 0)) == -1)
1499 SWIG_fail;
1500 if (arg4 == NULL) {
1501 PyErr_SetString(PyExc_TypeError,"null reference");
1502 SWIG_fail;
1503 }
1504 if (obj4) {
1505 {
1506 arg5 = &temp5;
1507 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1508 }
1509 }
1510 if (obj5) {
1511 {
1512 arg6 = &temp6;
1513 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1514 }
1515 }
1516 if (obj6) {
1517 arg7 = (long) SWIG_AsLong(obj6);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 if (obj7) {
1521 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1522 SWIG_POINTER_EXCEPTION | 0)) == -1)
1523 SWIG_fail;
1524 if (arg8 == NULL) {
1525 PyErr_SetString(PyExc_TypeError,"null reference");
1526 SWIG_fail;
1527 }
1528 }
1529 if (obj8) {
1530 {
1531 arg9 = wxString_in_helper(obj8);
1532 if (arg9 == NULL) SWIG_fail;
1533 temp9 = True;
1534 }
1535 }
1536 {
1537 PyThreadState* __tstate = wxPyBeginAllowThreads();
1538 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1539
1540 wxPyEndAllowThreads(__tstate);
1541 if (PyErr_Occurred()) SWIG_fail;
1542 }
1543 {
1544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1545 }
1546 {
1547 if (temp9)
1548 delete arg9;
1549 }
1550 return resultobj;
1551 fail:
1552 {
1553 if (temp9)
1554 delete arg9;
1555 }
1556 return NULL;
1557 }
1558
1559
1560 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject *resultobj;
1562 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1563 wxBitmap result;
1564 PyObject * obj0 = 0 ;
1565 char *kwnames[] = {
1566 (char *) "self", NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1572 {
1573 PyThreadState* __tstate = wxPyBeginAllowThreads();
1574 result = (arg1)->GetBitmapLabel();
1575
1576 wxPyEndAllowThreads(__tstate);
1577 if (PyErr_Occurred()) SWIG_fail;
1578 }
1579 {
1580 wxBitmap * resultptr;
1581 resultptr = new wxBitmap((wxBitmap &) result);
1582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1583 }
1584 return resultobj;
1585 fail:
1586 return NULL;
1587 }
1588
1589
1590 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1593 wxBitmap result;
1594 PyObject * obj0 = 0 ;
1595 char *kwnames[] = {
1596 (char *) "self", NULL
1597 };
1598
1599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 result = (arg1)->GetBitmapDisabled();
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 {
1610 wxBitmap * resultptr;
1611 resultptr = new wxBitmap((wxBitmap &) result);
1612 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1613 }
1614 return resultobj;
1615 fail:
1616 return NULL;
1617 }
1618
1619
1620 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject *resultobj;
1622 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1623 wxBitmap result;
1624 PyObject * obj0 = 0 ;
1625 char *kwnames[] = {
1626 (char *) "self", NULL
1627 };
1628
1629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1632 {
1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
1634 result = (arg1)->GetBitmapFocus();
1635
1636 wxPyEndAllowThreads(__tstate);
1637 if (PyErr_Occurred()) SWIG_fail;
1638 }
1639 {
1640 wxBitmap * resultptr;
1641 resultptr = new wxBitmap((wxBitmap &) result);
1642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1643 }
1644 return resultobj;
1645 fail:
1646 return NULL;
1647 }
1648
1649
1650 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1653 wxBitmap result;
1654 PyObject * obj0 = 0 ;
1655 char *kwnames[] = {
1656 (char *) "self", NULL
1657 };
1658
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1662 {
1663 PyThreadState* __tstate = wxPyBeginAllowThreads();
1664 result = (arg1)->GetBitmapSelected();
1665
1666 wxPyEndAllowThreads(__tstate);
1667 if (PyErr_Occurred()) SWIG_fail;
1668 }
1669 {
1670 wxBitmap * resultptr;
1671 resultptr = new wxBitmap((wxBitmap &) result);
1672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1673 }
1674 return resultobj;
1675 fail:
1676 return NULL;
1677 }
1678
1679
1680 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1683 wxBitmap *arg2 = 0 ;
1684 PyObject * obj0 = 0 ;
1685 PyObject * obj1 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "self",(char *) "bitmap", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1694 SWIG_POINTER_EXCEPTION | 0)) == -1)
1695 SWIG_fail;
1696 if (arg2 == NULL) {
1697 PyErr_SetString(PyExc_TypeError,"null reference");
1698 SWIG_fail;
1699 }
1700 {
1701 PyThreadState* __tstate = wxPyBeginAllowThreads();
1702 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1703
1704 wxPyEndAllowThreads(__tstate);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 }
1707 Py_INCREF(Py_None); resultobj = Py_None;
1708 return resultobj;
1709 fail:
1710 return NULL;
1711 }
1712
1713
1714 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1715 PyObject *resultobj;
1716 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1717 wxBitmap *arg2 = 0 ;
1718 PyObject * obj0 = 0 ;
1719 PyObject * obj1 = 0 ;
1720 char *kwnames[] = {
1721 (char *) "self",(char *) "bitmap", NULL
1722 };
1723
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1728 SWIG_POINTER_EXCEPTION | 0)) == -1)
1729 SWIG_fail;
1730 if (arg2 == NULL) {
1731 PyErr_SetString(PyExc_TypeError,"null reference");
1732 SWIG_fail;
1733 }
1734 {
1735 PyThreadState* __tstate = wxPyBeginAllowThreads();
1736 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1737
1738 wxPyEndAllowThreads(__tstate);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 }
1741 Py_INCREF(Py_None); resultobj = Py_None;
1742 return resultobj;
1743 fail:
1744 return NULL;
1745 }
1746
1747
1748 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1749 PyObject *resultobj;
1750 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1751 wxBitmap *arg2 = 0 ;
1752 PyObject * obj0 = 0 ;
1753 PyObject * obj1 = 0 ;
1754 char *kwnames[] = {
1755 (char *) "self",(char *) "bitmap", NULL
1756 };
1757
1758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1762 SWIG_POINTER_EXCEPTION | 0)) == -1)
1763 SWIG_fail;
1764 if (arg2 == NULL) {
1765 PyErr_SetString(PyExc_TypeError,"null reference");
1766 SWIG_fail;
1767 }
1768 {
1769 PyThreadState* __tstate = wxPyBeginAllowThreads();
1770 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1771
1772 wxPyEndAllowThreads(__tstate);
1773 if (PyErr_Occurred()) SWIG_fail;
1774 }
1775 Py_INCREF(Py_None); resultobj = Py_None;
1776 return resultobj;
1777 fail:
1778 return NULL;
1779 }
1780
1781
1782 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1783 PyObject *resultobj;
1784 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1785 wxBitmap *arg2 = 0 ;
1786 PyObject * obj0 = 0 ;
1787 PyObject * obj1 = 0 ;
1788 char *kwnames[] = {
1789 (char *) "self",(char *) "bitmap", NULL
1790 };
1791
1792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1796 SWIG_POINTER_EXCEPTION | 0)) == -1)
1797 SWIG_fail;
1798 if (arg2 == NULL) {
1799 PyErr_SetString(PyExc_TypeError,"null reference");
1800 SWIG_fail;
1801 }
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 }
1809 Py_INCREF(Py_None); resultobj = Py_None;
1810 return resultobj;
1811 fail:
1812 return NULL;
1813 }
1814
1815
1816 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1817 PyObject *resultobj;
1818 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1819 int arg2 ;
1820 int arg3 ;
1821 PyObject * obj0 = 0 ;
1822 PyObject * obj1 = 0 ;
1823 PyObject * obj2 = 0 ;
1824 char *kwnames[] = {
1825 (char *) "self",(char *) "x",(char *) "y", NULL
1826 };
1827
1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1831 arg2 = (int) SWIG_AsInt(obj1);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 arg3 = (int) SWIG_AsInt(obj2);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 {
1836 PyThreadState* __tstate = wxPyBeginAllowThreads();
1837 (arg1)->SetMargins(arg2,arg3);
1838
1839 wxPyEndAllowThreads(__tstate);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 }
1842 Py_INCREF(Py_None); resultobj = Py_None;
1843 return resultobj;
1844 fail:
1845 return NULL;
1846 }
1847
1848
1849 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1852 int result;
1853 PyObject * obj0 = 0 ;
1854 char *kwnames[] = {
1855 (char *) "self", NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 resultobj = SWIG_FromInt((int)result);
1869 return resultobj;
1870 fail:
1871 return NULL;
1872 }
1873
1874
1875 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1878 int result;
1879 PyObject * obj0 = 0 ;
1880 char *kwnames[] = {
1881 (char *) "self", NULL
1882 };
1883
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1887 {
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 }
1894 resultobj = SWIG_FromInt((int)result);
1895 return resultobj;
1896 fail:
1897 return NULL;
1898 }
1899
1900
1901 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1902 PyObject *obj;
1903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1904 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1905 Py_INCREF(obj);
1906 return Py_BuildValue((char *)"");
1907 }
1908 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1909 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1910 return 1;
1911 }
1912
1913
1914 static PyObject *_wrap_CheckBoxNameStr_get() {
1915 PyObject *pyobj;
1916
1917 {
1918 #if wxUSE_UNICODE
1919 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1920 #else
1921 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1922 #endif
1923 }
1924 return pyobj;
1925 }
1926
1927
1928 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxWindow *arg1 = (wxWindow *) 0 ;
1931 int arg2 ;
1932 wxString *arg3 = 0 ;
1933 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1934 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1935 wxSize const &arg5_defvalue = wxDefaultSize ;
1936 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1937 long arg6 = (long) 0 ;
1938 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1939 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1940 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1941 wxString *arg8 = (wxString *) &arg8_defvalue ;
1942 wxCheckBox *result;
1943 bool temp3 = False ;
1944 wxPoint temp4 ;
1945 wxSize temp5 ;
1946 bool temp8 = False ;
1947 PyObject * obj0 = 0 ;
1948 PyObject * obj1 = 0 ;
1949 PyObject * obj2 = 0 ;
1950 PyObject * obj3 = 0 ;
1951 PyObject * obj4 = 0 ;
1952 PyObject * obj5 = 0 ;
1953 PyObject * obj6 = 0 ;
1954 PyObject * obj7 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1962 arg2 = (int) SWIG_AsInt(obj1);
1963 if (PyErr_Occurred()) SWIG_fail;
1964 {
1965 arg3 = wxString_in_helper(obj2);
1966 if (arg3 == NULL) SWIG_fail;
1967 temp3 = True;
1968 }
1969 if (obj3) {
1970 {
1971 arg4 = &temp4;
1972 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1973 }
1974 }
1975 if (obj4) {
1976 {
1977 arg5 = &temp5;
1978 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1979 }
1980 }
1981 if (obj5) {
1982 arg6 = (long) SWIG_AsLong(obj5);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 }
1985 if (obj6) {
1986 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1987 SWIG_POINTER_EXCEPTION | 0)) == -1)
1988 SWIG_fail;
1989 if (arg7 == NULL) {
1990 PyErr_SetString(PyExc_TypeError,"null reference");
1991 SWIG_fail;
1992 }
1993 }
1994 if (obj7) {
1995 {
1996 arg8 = wxString_in_helper(obj7);
1997 if (arg8 == NULL) SWIG_fail;
1998 temp8 = True;
1999 }
2000 }
2001 {
2002 PyThreadState* __tstate = wxPyBeginAllowThreads();
2003 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2004
2005 wxPyEndAllowThreads(__tstate);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 }
2008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2009 {
2010 if (temp3)
2011 delete arg3;
2012 }
2013 {
2014 if (temp8)
2015 delete arg8;
2016 }
2017 return resultobj;
2018 fail:
2019 {
2020 if (temp3)
2021 delete arg3;
2022 }
2023 {
2024 if (temp8)
2025 delete arg8;
2026 }
2027 return NULL;
2028 }
2029
2030
2031 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 wxCheckBox *result;
2034 char *kwnames[] = {
2035 NULL
2036 };
2037
2038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2039 {
2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
2041 result = (wxCheckBox *)new wxCheckBox();
2042
2043 wxPyEndAllowThreads(__tstate);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
2046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2047 return resultobj;
2048 fail:
2049 return NULL;
2050 }
2051
2052
2053 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2054 PyObject *resultobj;
2055 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2056 wxWindow *arg2 = (wxWindow *) 0 ;
2057 int arg3 ;
2058 wxString *arg4 = 0 ;
2059 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2060 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2061 wxSize const &arg6_defvalue = wxDefaultSize ;
2062 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2063 long arg7 = (long) 0 ;
2064 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2065 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2066 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2067 wxString *arg9 = (wxString *) &arg9_defvalue ;
2068 bool result;
2069 bool temp4 = False ;
2070 wxPoint temp5 ;
2071 wxSize temp6 ;
2072 bool temp9 = False ;
2073 PyObject * obj0 = 0 ;
2074 PyObject * obj1 = 0 ;
2075 PyObject * obj2 = 0 ;
2076 PyObject * obj3 = 0 ;
2077 PyObject * obj4 = 0 ;
2078 PyObject * obj5 = 0 ;
2079 PyObject * obj6 = 0 ;
2080 PyObject * obj7 = 0 ;
2081 PyObject * obj8 = 0 ;
2082 char *kwnames[] = {
2083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2084 };
2085
2086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2091 arg3 = (int) SWIG_AsInt(obj2);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 {
2094 arg4 = wxString_in_helper(obj3);
2095 if (arg4 == NULL) SWIG_fail;
2096 temp4 = True;
2097 }
2098 if (obj4) {
2099 {
2100 arg5 = &temp5;
2101 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2102 }
2103 }
2104 if (obj5) {
2105 {
2106 arg6 = &temp6;
2107 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2108 }
2109 }
2110 if (obj6) {
2111 arg7 = (long) SWIG_AsLong(obj6);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 if (obj7) {
2115 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2116 SWIG_POINTER_EXCEPTION | 0)) == -1)
2117 SWIG_fail;
2118 if (arg8 == NULL) {
2119 PyErr_SetString(PyExc_TypeError,"null reference");
2120 SWIG_fail;
2121 }
2122 }
2123 if (obj8) {
2124 {
2125 arg9 = wxString_in_helper(obj8);
2126 if (arg9 == NULL) SWIG_fail;
2127 temp9 = True;
2128 }
2129 }
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 }
2137 {
2138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2139 }
2140 {
2141 if (temp4)
2142 delete arg4;
2143 }
2144 {
2145 if (temp9)
2146 delete arg9;
2147 }
2148 return resultobj;
2149 fail:
2150 {
2151 if (temp4)
2152 delete arg4;
2153 }
2154 {
2155 if (temp9)
2156 delete arg9;
2157 }
2158 return NULL;
2159 }
2160
2161
2162 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2163 PyObject *resultobj;
2164 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2165 bool result;
2166 PyObject * obj0 = 0 ;
2167 char *kwnames[] = {
2168 (char *) "self", NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2174 {
2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
2176 result = (bool)(arg1)->GetValue();
2177
2178 wxPyEndAllowThreads(__tstate);
2179 if (PyErr_Occurred()) SWIG_fail;
2180 }
2181 {
2182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2183 }
2184 return resultobj;
2185 fail:
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2193 bool result;
2194 PyObject * obj0 = 0 ;
2195 char *kwnames[] = {
2196 (char *) "self", NULL
2197 };
2198
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 result = (bool)(arg1)->IsChecked();
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 {
2210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2211 }
2212 return resultobj;
2213 fail:
2214 return NULL;
2215 }
2216
2217
2218 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2219 PyObject *resultobj;
2220 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2221 bool arg2 ;
2222 PyObject * obj0 = 0 ;
2223 PyObject * obj1 = 0 ;
2224 char *kwnames[] = {
2225 (char *) "self",(char *) "state", NULL
2226 };
2227
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2231 arg2 = (bool const) SWIG_AsBool(obj1);
2232 if (PyErr_Occurred()) SWIG_fail;
2233 {
2234 PyThreadState* __tstate = wxPyBeginAllowThreads();
2235 (arg1)->SetValue(arg2);
2236
2237 wxPyEndAllowThreads(__tstate);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 }
2240 Py_INCREF(Py_None); resultobj = Py_None;
2241 return resultobj;
2242 fail:
2243 return NULL;
2244 }
2245
2246
2247 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject *resultobj;
2249 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2250 int result;
2251 PyObject * obj0 = 0 ;
2252 char *kwnames[] = {
2253 (char *) "self", NULL
2254 };
2255
2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2259 {
2260 PyThreadState* __tstate = wxPyBeginAllowThreads();
2261 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2262
2263 wxPyEndAllowThreads(__tstate);
2264 if (PyErr_Occurred()) SWIG_fail;
2265 }
2266 resultobj = SWIG_FromInt((int)result);
2267 return resultobj;
2268 fail:
2269 return NULL;
2270 }
2271
2272
2273 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2274 PyObject *resultobj;
2275 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2276 int arg2 ;
2277 PyObject * obj0 = 0 ;
2278 PyObject * obj1 = 0 ;
2279 char *kwnames[] = {
2280 (char *) "self",(char *) "state", NULL
2281 };
2282
2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2286 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 {
2289 PyThreadState* __tstate = wxPyBeginAllowThreads();
2290 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2291
2292 wxPyEndAllowThreads(__tstate);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 }
2295 Py_INCREF(Py_None); resultobj = Py_None;
2296 return resultobj;
2297 fail:
2298 return NULL;
2299 }
2300
2301
2302 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject *resultobj;
2304 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2305 bool result;
2306 PyObject * obj0 = 0 ;
2307 char *kwnames[] = {
2308 (char *) "self", NULL
2309 };
2310
2311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2314 {
2315 PyThreadState* __tstate = wxPyBeginAllowThreads();
2316 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2317
2318 wxPyEndAllowThreads(__tstate);
2319 if (PyErr_Occurred()) SWIG_fail;
2320 }
2321 {
2322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2323 }
2324 return resultobj;
2325 fail:
2326 return NULL;
2327 }
2328
2329
2330 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2331 PyObject *resultobj;
2332 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2333 bool result;
2334 PyObject * obj0 = 0 ;
2335 char *kwnames[] = {
2336 (char *) "self", NULL
2337 };
2338
2339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2342 {
2343 PyThreadState* __tstate = wxPyBeginAllowThreads();
2344 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2345
2346 wxPyEndAllowThreads(__tstate);
2347 if (PyErr_Occurred()) SWIG_fail;
2348 }
2349 {
2350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2351 }
2352 return resultobj;
2353 fail:
2354 return NULL;
2355 }
2356
2357
2358 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2359 PyObject *obj;
2360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2361 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2362 Py_INCREF(obj);
2363 return Py_BuildValue((char *)"");
2364 }
2365 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2366 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2367 return 1;
2368 }
2369
2370
2371 static PyObject *_wrap_ChoiceNameStr_get() {
2372 PyObject *pyobj;
2373
2374 {
2375 #if wxUSE_UNICODE
2376 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2377 #else
2378 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2379 #endif
2380 }
2381 return pyobj;
2382 }
2383
2384
2385 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2386 PyObject *resultobj;
2387 wxWindow *arg1 = (wxWindow *) 0 ;
2388 int arg2 = (int) -1 ;
2389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2391 wxSize const &arg4_defvalue = wxDefaultSize ;
2392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2393 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2394 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2395 long arg6 = (long) 0 ;
2396 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2397 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2398 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2399 wxString *arg8 = (wxString *) &arg8_defvalue ;
2400 wxChoice *result;
2401 wxPoint temp3 ;
2402 wxSize temp4 ;
2403 bool temp5 = False ;
2404 bool temp8 = False ;
2405 PyObject * obj0 = 0 ;
2406 PyObject * obj1 = 0 ;
2407 PyObject * obj2 = 0 ;
2408 PyObject * obj3 = 0 ;
2409 PyObject * obj4 = 0 ;
2410 PyObject * obj5 = 0 ;
2411 PyObject * obj6 = 0 ;
2412 PyObject * obj7 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2420 if (obj1) {
2421 arg2 = (int) SWIG_AsInt(obj1);
2422 if (PyErr_Occurred()) SWIG_fail;
2423 }
2424 if (obj2) {
2425 {
2426 arg3 = &temp3;
2427 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2428 }
2429 }
2430 if (obj3) {
2431 {
2432 arg4 = &temp4;
2433 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2434 }
2435 }
2436 if (obj4) {
2437 {
2438 if (! PySequence_Check(obj4)) {
2439 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2440 SWIG_fail;
2441 }
2442 arg5 = new wxArrayString;
2443 temp5 = True;
2444 int i, len=PySequence_Length(obj4);
2445 for (i=0; i<len; i++) {
2446 PyObject* item = PySequence_GetItem(obj4, i);
2447 #if wxUSE_UNICODE
2448 PyObject* str = PyObject_Unicode(item);
2449 #else
2450 PyObject* str = PyObject_Str(item);
2451 #endif
2452 if (PyErr_Occurred()) SWIG_fail;
2453 arg5->Add(Py2wxString(str));
2454 Py_DECREF(item);
2455 Py_DECREF(str);
2456 }
2457 }
2458 }
2459 if (obj5) {
2460 arg6 = (long) SWIG_AsLong(obj5);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 if (obj6) {
2464 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2465 SWIG_POINTER_EXCEPTION | 0)) == -1)
2466 SWIG_fail;
2467 if (arg7 == NULL) {
2468 PyErr_SetString(PyExc_TypeError,"null reference");
2469 SWIG_fail;
2470 }
2471 }
2472 if (obj7) {
2473 {
2474 arg8 = wxString_in_helper(obj7);
2475 if (arg8 == NULL) SWIG_fail;
2476 temp8 = True;
2477 }
2478 }
2479 {
2480 PyThreadState* __tstate = wxPyBeginAllowThreads();
2481 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2487 {
2488 if (temp5) delete arg5;
2489 }
2490 {
2491 if (temp8)
2492 delete arg8;
2493 }
2494 return resultobj;
2495 fail:
2496 {
2497 if (temp5) delete arg5;
2498 }
2499 {
2500 if (temp8)
2501 delete arg8;
2502 }
2503 return NULL;
2504 }
2505
2506
2507 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2508 PyObject *resultobj;
2509 wxChoice *result;
2510 char *kwnames[] = {
2511 NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 result = (wxChoice *)new wxChoice();
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2523 return resultobj;
2524 fail:
2525 return NULL;
2526 }
2527
2528
2529 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj;
2531 wxChoice *arg1 = (wxChoice *) 0 ;
2532 wxWindow *arg2 = (wxWindow *) 0 ;
2533 int arg3 = (int) -1 ;
2534 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2535 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2536 wxSize const &arg5_defvalue = wxDefaultSize ;
2537 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2538 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2539 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2540 long arg7 = (long) 0 ;
2541 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2542 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2543 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2544 wxString *arg9 = (wxString *) &arg9_defvalue ;
2545 bool result;
2546 wxPoint temp4 ;
2547 wxSize temp5 ;
2548 bool temp6 = False ;
2549 bool temp9 = False ;
2550 PyObject * obj0 = 0 ;
2551 PyObject * obj1 = 0 ;
2552 PyObject * obj2 = 0 ;
2553 PyObject * obj3 = 0 ;
2554 PyObject * obj4 = 0 ;
2555 PyObject * obj5 = 0 ;
2556 PyObject * obj6 = 0 ;
2557 PyObject * obj7 = 0 ;
2558 PyObject * obj8 = 0 ;
2559 char *kwnames[] = {
2560 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2566 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2568 if (obj2) {
2569 arg3 = (int) SWIG_AsInt(obj2);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 if (obj3) {
2573 {
2574 arg4 = &temp4;
2575 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2576 }
2577 }
2578 if (obj4) {
2579 {
2580 arg5 = &temp5;
2581 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2582 }
2583 }
2584 if (obj5) {
2585 {
2586 if (! PySequence_Check(obj5)) {
2587 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2588 SWIG_fail;
2589 }
2590 arg6 = new wxArrayString;
2591 temp6 = True;
2592 int i, len=PySequence_Length(obj5);
2593 for (i=0; i<len; i++) {
2594 PyObject* item = PySequence_GetItem(obj5, i);
2595 #if wxUSE_UNICODE
2596 PyObject* str = PyObject_Unicode(item);
2597 #else
2598 PyObject* str = PyObject_Str(item);
2599 #endif
2600 if (PyErr_Occurred()) SWIG_fail;
2601 arg6->Add(Py2wxString(str));
2602 Py_DECREF(item);
2603 Py_DECREF(str);
2604 }
2605 }
2606 }
2607 if (obj6) {
2608 arg7 = (long) SWIG_AsLong(obj6);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 }
2611 if (obj7) {
2612 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2613 SWIG_POINTER_EXCEPTION | 0)) == -1)
2614 SWIG_fail;
2615 if (arg8 == NULL) {
2616 PyErr_SetString(PyExc_TypeError,"null reference");
2617 SWIG_fail;
2618 }
2619 }
2620 if (obj8) {
2621 {
2622 arg9 = wxString_in_helper(obj8);
2623 if (arg9 == NULL) SWIG_fail;
2624 temp9 = True;
2625 }
2626 }
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 {
2635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2636 }
2637 {
2638 if (temp6) delete arg6;
2639 }
2640 {
2641 if (temp9)
2642 delete arg9;
2643 }
2644 return resultobj;
2645 fail:
2646 {
2647 if (temp6) delete arg6;
2648 }
2649 {
2650 if (temp9)
2651 delete arg9;
2652 }
2653 return NULL;
2654 }
2655
2656
2657 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2658 PyObject *resultobj;
2659 wxChoice *arg1 = (wxChoice *) 0 ;
2660 int arg2 ;
2661 PyObject * obj0 = 0 ;
2662 PyObject * obj1 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "n", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2670 arg2 = (int const) SWIG_AsInt(obj1);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 (arg1)->SetSelection(arg2);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 return resultobj;
2681 fail:
2682 return NULL;
2683 }
2684
2685
2686 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject *resultobj;
2688 wxChoice *arg1 = (wxChoice *) 0 ;
2689 wxString *arg2 = 0 ;
2690 bool temp2 = False ;
2691 PyObject * obj0 = 0 ;
2692 PyObject * obj1 = 0 ;
2693 char *kwnames[] = {
2694 (char *) "self",(char *) "string", NULL
2695 };
2696
2697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2700 {
2701 arg2 = wxString_in_helper(obj1);
2702 if (arg2 == NULL) SWIG_fail;
2703 temp2 = True;
2704 }
2705 {
2706 PyThreadState* __tstate = wxPyBeginAllowThreads();
2707 (arg1)->SetStringSelection((wxString const &)*arg2);
2708
2709 wxPyEndAllowThreads(__tstate);
2710 if (PyErr_Occurred()) SWIG_fail;
2711 }
2712 Py_INCREF(Py_None); resultobj = Py_None;
2713 {
2714 if (temp2)
2715 delete arg2;
2716 }
2717 return resultobj;
2718 fail:
2719 {
2720 if (temp2)
2721 delete arg2;
2722 }
2723 return NULL;
2724 }
2725
2726
2727 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject *resultobj;
2729 wxChoice *arg1 = (wxChoice *) 0 ;
2730 int arg2 ;
2731 wxString *arg3 = 0 ;
2732 bool temp3 = False ;
2733 PyObject * obj0 = 0 ;
2734 PyObject * obj1 = 0 ;
2735 PyObject * obj2 = 0 ;
2736 char *kwnames[] = {
2737 (char *) "self",(char *) "n",(char *) "string", NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2743 arg2 = (int) SWIG_AsInt(obj1);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 {
2746 arg3 = wxString_in_helper(obj2);
2747 if (arg3 == NULL) SWIG_fail;
2748 temp3 = True;
2749 }
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 (arg1)->SetString(arg2,(wxString const &)*arg3);
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) SWIG_fail;
2756 }
2757 Py_INCREF(Py_None); resultobj = Py_None;
2758 {
2759 if (temp3)
2760 delete arg3;
2761 }
2762 return resultobj;
2763 fail:
2764 {
2765 if (temp3)
2766 delete arg3;
2767 }
2768 return NULL;
2769 }
2770
2771
2772 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2773 PyObject *obj;
2774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2775 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2776 Py_INCREF(obj);
2777 return Py_BuildValue((char *)"");
2778 }
2779 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2780 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2781 return 1;
2782 }
2783
2784
2785 static PyObject *_wrap_ComboBoxNameStr_get() {
2786 PyObject *pyobj;
2787
2788 {
2789 #if wxUSE_UNICODE
2790 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2791 #else
2792 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2793 #endif
2794 }
2795 return pyobj;
2796 }
2797
2798
2799 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2800 PyObject *resultobj;
2801 wxWindow *arg1 = (wxWindow *) 0 ;
2802 int arg2 = (int) -1 ;
2803 wxString const &arg3_defvalue = wxPyEmptyString ;
2804 wxString *arg3 = (wxString *) &arg3_defvalue ;
2805 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2806 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2807 wxSize const &arg5_defvalue = wxDefaultSize ;
2808 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2809 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2810 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2811 long arg7 = (long) 0 ;
2812 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2813 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2814 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2815 wxString *arg9 = (wxString *) &arg9_defvalue ;
2816 wxComboBox *result;
2817 bool temp3 = False ;
2818 wxPoint temp4 ;
2819 wxSize temp5 ;
2820 bool temp6 = False ;
2821 bool temp9 = False ;
2822 PyObject * obj0 = 0 ;
2823 PyObject * obj1 = 0 ;
2824 PyObject * obj2 = 0 ;
2825 PyObject * obj3 = 0 ;
2826 PyObject * obj4 = 0 ;
2827 PyObject * obj5 = 0 ;
2828 PyObject * obj6 = 0 ;
2829 PyObject * obj7 = 0 ;
2830 PyObject * obj8 = 0 ;
2831 char *kwnames[] = {
2832 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2833 };
2834
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2838 if (obj1) {
2839 arg2 = (int) SWIG_AsInt(obj1);
2840 if (PyErr_Occurred()) SWIG_fail;
2841 }
2842 if (obj2) {
2843 {
2844 arg3 = wxString_in_helper(obj2);
2845 if (arg3 == NULL) SWIG_fail;
2846 temp3 = True;
2847 }
2848 }
2849 if (obj3) {
2850 {
2851 arg4 = &temp4;
2852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2853 }
2854 }
2855 if (obj4) {
2856 {
2857 arg5 = &temp5;
2858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2859 }
2860 }
2861 if (obj5) {
2862 {
2863 if (! PySequence_Check(obj5)) {
2864 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2865 SWIG_fail;
2866 }
2867 arg6 = new wxArrayString;
2868 temp6 = True;
2869 int i, len=PySequence_Length(obj5);
2870 for (i=0; i<len; i++) {
2871 PyObject* item = PySequence_GetItem(obj5, i);
2872 #if wxUSE_UNICODE
2873 PyObject* str = PyObject_Unicode(item);
2874 #else
2875 PyObject* str = PyObject_Str(item);
2876 #endif
2877 if (PyErr_Occurred()) SWIG_fail;
2878 arg6->Add(Py2wxString(str));
2879 Py_DECREF(item);
2880 Py_DECREF(str);
2881 }
2882 }
2883 }
2884 if (obj6) {
2885 arg7 = (long) SWIG_AsLong(obj6);
2886 if (PyErr_Occurred()) SWIG_fail;
2887 }
2888 if (obj7) {
2889 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2890 SWIG_POINTER_EXCEPTION | 0)) == -1)
2891 SWIG_fail;
2892 if (arg8 == NULL) {
2893 PyErr_SetString(PyExc_TypeError,"null reference");
2894 SWIG_fail;
2895 }
2896 }
2897 if (obj8) {
2898 {
2899 arg9 = wxString_in_helper(obj8);
2900 if (arg9 == NULL) SWIG_fail;
2901 temp9 = True;
2902 }
2903 }
2904 {
2905 PyThreadState* __tstate = wxPyBeginAllowThreads();
2906 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2907
2908 wxPyEndAllowThreads(__tstate);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2912 {
2913 if (temp3)
2914 delete arg3;
2915 }
2916 {
2917 if (temp6) delete arg6;
2918 }
2919 {
2920 if (temp9)
2921 delete arg9;
2922 }
2923 return resultobj;
2924 fail:
2925 {
2926 if (temp3)
2927 delete arg3;
2928 }
2929 {
2930 if (temp6) delete arg6;
2931 }
2932 {
2933 if (temp9)
2934 delete arg9;
2935 }
2936 return NULL;
2937 }
2938
2939
2940 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject *resultobj;
2942 wxComboBox *result;
2943 char *kwnames[] = {
2944 NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
2950 result = (wxComboBox *)new wxComboBox();
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2956 return resultobj;
2957 fail:
2958 return NULL;
2959 }
2960
2961
2962 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2963 PyObject *resultobj;
2964 wxComboBox *arg1 = (wxComboBox *) 0 ;
2965 wxWindow *arg2 = (wxWindow *) 0 ;
2966 int arg3 = (int) -1 ;
2967 wxString const &arg4_defvalue = wxPyEmptyString ;
2968 wxString *arg4 = (wxString *) &arg4_defvalue ;
2969 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2970 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2971 wxSize const &arg6_defvalue = wxDefaultSize ;
2972 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2973 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2974 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2975 long arg8 = (long) 0 ;
2976 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2977 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2978 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2979 wxString *arg10 = (wxString *) &arg10_defvalue ;
2980 bool result;
2981 bool temp4 = False ;
2982 wxPoint temp5 ;
2983 wxSize temp6 ;
2984 bool temp7 = False ;
2985 bool temp10 = False ;
2986 PyObject * obj0 = 0 ;
2987 PyObject * obj1 = 0 ;
2988 PyObject * obj2 = 0 ;
2989 PyObject * obj3 = 0 ;
2990 PyObject * obj4 = 0 ;
2991 PyObject * obj5 = 0 ;
2992 PyObject * obj6 = 0 ;
2993 PyObject * obj7 = 0 ;
2994 PyObject * obj8 = 0 ;
2995 PyObject * obj9 = 0 ;
2996 char *kwnames[] = {
2997 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2998 };
2999
3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3005 if (obj2) {
3006 arg3 = (int) SWIG_AsInt(obj2);
3007 if (PyErr_Occurred()) SWIG_fail;
3008 }
3009 if (obj3) {
3010 {
3011 arg4 = wxString_in_helper(obj3);
3012 if (arg4 == NULL) SWIG_fail;
3013 temp4 = True;
3014 }
3015 }
3016 if (obj4) {
3017 {
3018 arg5 = &temp5;
3019 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3020 }
3021 }
3022 if (obj5) {
3023 {
3024 arg6 = &temp6;
3025 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3026 }
3027 }
3028 if (obj6) {
3029 {
3030 if (! PySequence_Check(obj6)) {
3031 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3032 SWIG_fail;
3033 }
3034 arg7 = new wxArrayString;
3035 temp7 = True;
3036 int i, len=PySequence_Length(obj6);
3037 for (i=0; i<len; i++) {
3038 PyObject* item = PySequence_GetItem(obj6, i);
3039 #if wxUSE_UNICODE
3040 PyObject* str = PyObject_Unicode(item);
3041 #else
3042 PyObject* str = PyObject_Str(item);
3043 #endif
3044 if (PyErr_Occurred()) SWIG_fail;
3045 arg7->Add(Py2wxString(str));
3046 Py_DECREF(item);
3047 Py_DECREF(str);
3048 }
3049 }
3050 }
3051 if (obj7) {
3052 arg8 = (long) SWIG_AsLong(obj7);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 if (obj8) {
3056 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3057 SWIG_POINTER_EXCEPTION | 0)) == -1)
3058 SWIG_fail;
3059 if (arg9 == NULL) {
3060 PyErr_SetString(PyExc_TypeError,"null reference");
3061 SWIG_fail;
3062 }
3063 }
3064 if (obj9) {
3065 {
3066 arg10 = wxString_in_helper(obj9);
3067 if (arg10 == NULL) SWIG_fail;
3068 temp10 = True;
3069 }
3070 }
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 {
3079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3080 }
3081 {
3082 if (temp4)
3083 delete arg4;
3084 }
3085 {
3086 if (temp7) delete arg7;
3087 }
3088 {
3089 if (temp10)
3090 delete arg10;
3091 }
3092 return resultobj;
3093 fail:
3094 {
3095 if (temp4)
3096 delete arg4;
3097 }
3098 {
3099 if (temp7) delete arg7;
3100 }
3101 {
3102 if (temp10)
3103 delete arg10;
3104 }
3105 return NULL;
3106 }
3107
3108
3109 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3110 PyObject *resultobj;
3111 wxComboBox *arg1 = (wxComboBox *) 0 ;
3112 wxString result;
3113 PyObject * obj0 = 0 ;
3114 char *kwnames[] = {
3115 (char *) "self", NULL
3116 };
3117
3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3121 {
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 result = ((wxComboBox const *)arg1)->GetValue();
3124
3125 wxPyEndAllowThreads(__tstate);
3126 if (PyErr_Occurred()) SWIG_fail;
3127 }
3128 {
3129 #if wxUSE_UNICODE
3130 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3131 #else
3132 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3133 #endif
3134 }
3135 return resultobj;
3136 fail:
3137 return NULL;
3138 }
3139
3140
3141 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxComboBox *arg1 = (wxComboBox *) 0 ;
3144 wxString *arg2 = 0 ;
3145 bool temp2 = False ;
3146 PyObject * obj0 = 0 ;
3147 PyObject * obj1 = 0 ;
3148 char *kwnames[] = {
3149 (char *) "self",(char *) "value", NULL
3150 };
3151
3152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3155 {
3156 arg2 = wxString_in_helper(obj1);
3157 if (arg2 == NULL) SWIG_fail;
3158 temp2 = True;
3159 }
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 (arg1)->SetValue((wxString const &)*arg2);
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 Py_INCREF(Py_None); resultobj = Py_None;
3168 {
3169 if (temp2)
3170 delete arg2;
3171 }
3172 return resultobj;
3173 fail:
3174 {
3175 if (temp2)
3176 delete arg2;
3177 }
3178 return NULL;
3179 }
3180
3181
3182 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3183 PyObject *resultobj;
3184 wxComboBox *arg1 = (wxComboBox *) 0 ;
3185 PyObject * obj0 = 0 ;
3186 char *kwnames[] = {
3187 (char *) "self", NULL
3188 };
3189
3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 (arg1)->Copy();
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 Py_INCREF(Py_None); resultobj = Py_None;
3201 return resultobj;
3202 fail:
3203 return NULL;
3204 }
3205
3206
3207 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 wxComboBox *arg1 = (wxComboBox *) 0 ;
3210 PyObject * obj0 = 0 ;
3211 char *kwnames[] = {
3212 (char *) "self", NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3218 {
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 (arg1)->Cut();
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
3225 Py_INCREF(Py_None); resultobj = Py_None;
3226 return resultobj;
3227 fail:
3228 return NULL;
3229 }
3230
3231
3232 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3233 PyObject *resultobj;
3234 wxComboBox *arg1 = (wxComboBox *) 0 ;
3235 PyObject * obj0 = 0 ;
3236 char *kwnames[] = {
3237 (char *) "self", NULL
3238 };
3239
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 (arg1)->Paste();
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 Py_INCREF(Py_None); resultobj = Py_None;
3251 return resultobj;
3252 fail:
3253 return NULL;
3254 }
3255
3256
3257 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3258 PyObject *resultobj;
3259 wxComboBox *arg1 = (wxComboBox *) 0 ;
3260 long arg2 ;
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self",(char *) "pos", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3270 arg2 = (long) SWIG_AsLong(obj1);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->SetInsertionPoint(arg2);
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxComboBox *arg1 = (wxComboBox *) 0 ;
3289 long result;
3290 PyObject * obj0 = 0 ;
3291 char *kwnames[] = {
3292 (char *) "self", NULL
3293 };
3294
3295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3298 {
3299 PyThreadState* __tstate = wxPyBeginAllowThreads();
3300 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3301
3302 wxPyEndAllowThreads(__tstate);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 resultobj = SWIG_FromLong((long)result);
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxComboBox *arg1 = (wxComboBox *) 0 ;
3315 long result;
3316 PyObject * obj0 = 0 ;
3317 char *kwnames[] = {
3318 (char *) "self", NULL
3319 };
3320
3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3324 {
3325 PyThreadState* __tstate = wxPyBeginAllowThreads();
3326 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3327
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 resultobj = SWIG_FromLong((long)result);
3332 return resultobj;
3333 fail:
3334 return NULL;
3335 }
3336
3337
3338 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3339 PyObject *resultobj;
3340 wxComboBox *arg1 = (wxComboBox *) 0 ;
3341 long arg2 ;
3342 long arg3 ;
3343 wxString *arg4 = 0 ;
3344 bool temp4 = False ;
3345 PyObject * obj0 = 0 ;
3346 PyObject * obj1 = 0 ;
3347 PyObject * obj2 = 0 ;
3348 PyObject * obj3 = 0 ;
3349 char *kwnames[] = {
3350 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3351 };
3352
3353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3356 arg2 = (long) SWIG_AsLong(obj1);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 arg3 = (long) SWIG_AsLong(obj2);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 {
3361 arg4 = wxString_in_helper(obj3);
3362 if (arg4 == NULL) SWIG_fail;
3363 temp4 = True;
3364 }
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3368
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 Py_INCREF(Py_None); resultobj = Py_None;
3373 {
3374 if (temp4)
3375 delete arg4;
3376 }
3377 return resultobj;
3378 fail:
3379 {
3380 if (temp4)
3381 delete arg4;
3382 }
3383 return NULL;
3384 }
3385
3386
3387 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3388 PyObject *resultobj;
3389 wxComboBox *arg1 = (wxComboBox *) 0 ;
3390 int arg2 ;
3391 PyObject * obj0 = 0 ;
3392 PyObject * obj1 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "self",(char *) "n", NULL
3395 };
3396
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3400 arg2 = (int) SWIG_AsInt(obj1);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 {
3403 PyThreadState* __tstate = wxPyBeginAllowThreads();
3404 (arg1)->SetSelection(arg2);
3405
3406 wxPyEndAllowThreads(__tstate);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 Py_INCREF(Py_None); resultobj = Py_None;
3410 return resultobj;
3411 fail:
3412 return NULL;
3413 }
3414
3415
3416 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj;
3418 wxComboBox *arg1 = (wxComboBox *) 0 ;
3419 long arg2 ;
3420 long arg3 ;
3421 PyObject * obj0 = 0 ;
3422 PyObject * obj1 = 0 ;
3423 PyObject * obj2 = 0 ;
3424 char *kwnames[] = {
3425 (char *) "self",(char *) "from",(char *) "to", NULL
3426 };
3427
3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3431 arg2 = (long) SWIG_AsLong(obj1);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 arg3 = (long) SWIG_AsLong(obj2);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 (arg1)->SetSelection(arg2,arg3);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 Py_INCREF(Py_None); resultobj = Py_None;
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxComboBox *arg1 = (wxComboBox *) 0 ;
3452 bool arg2 ;
3453 PyObject * obj0 = 0 ;
3454 PyObject * obj1 = 0 ;
3455 char *kwnames[] = {
3456 (char *) "self",(char *) "editable", NULL
3457 };
3458
3459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3462 arg2 = (bool) SWIG_AsBool(obj1);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 (arg1)->SetEditable(arg2);
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 Py_INCREF(Py_None); resultobj = Py_None;
3472 return resultobj;
3473 fail:
3474 return NULL;
3475 }
3476
3477
3478 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3479 PyObject *resultobj;
3480 wxComboBox *arg1 = (wxComboBox *) 0 ;
3481 PyObject * obj0 = 0 ;
3482 char *kwnames[] = {
3483 (char *) "self", NULL
3484 };
3485
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3489 {
3490 PyThreadState* __tstate = wxPyBeginAllowThreads();
3491 (arg1)->SetInsertionPointEnd();
3492
3493 wxPyEndAllowThreads(__tstate);
3494 if (PyErr_Occurred()) SWIG_fail;
3495 }
3496 Py_INCREF(Py_None); resultobj = Py_None;
3497 return resultobj;
3498 fail:
3499 return NULL;
3500 }
3501
3502
3503 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3504 PyObject *resultobj;
3505 wxComboBox *arg1 = (wxComboBox *) 0 ;
3506 long arg2 ;
3507 long arg3 ;
3508 PyObject * obj0 = 0 ;
3509 PyObject * obj1 = 0 ;
3510 PyObject * obj2 = 0 ;
3511 char *kwnames[] = {
3512 (char *) "self",(char *) "from",(char *) "to", NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3518 arg2 = (long) SWIG_AsLong(obj1);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 arg3 = (long) SWIG_AsLong(obj2);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 (arg1)->Remove(arg2,arg3);
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 Py_INCREF(Py_None); resultobj = Py_None;
3530 return resultobj;
3531 fail:
3532 return NULL;
3533 }
3534
3535
3536 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3537 PyObject *obj;
3538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3539 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3540 Py_INCREF(obj);
3541 return Py_BuildValue((char *)"");
3542 }
3543 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3544 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3545 return 1;
3546 }
3547
3548
3549 static PyObject *_wrap_GaugeNameStr_get() {
3550 PyObject *pyobj;
3551
3552 {
3553 #if wxUSE_UNICODE
3554 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3555 #else
3556 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3557 #endif
3558 }
3559 return pyobj;
3560 }
3561
3562
3563 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3564 PyObject *resultobj;
3565 wxWindow *arg1 = (wxWindow *) 0 ;
3566 int arg2 ;
3567 int arg3 ;
3568 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3569 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3570 wxSize const &arg5_defvalue = wxDefaultSize ;
3571 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3572 long arg6 = (long) wxGA_HORIZONTAL ;
3573 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3574 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3575 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3576 wxString *arg8 = (wxString *) &arg8_defvalue ;
3577 wxGauge *result;
3578 wxPoint temp4 ;
3579 wxSize temp5 ;
3580 bool temp8 = False ;
3581 PyObject * obj0 = 0 ;
3582 PyObject * obj1 = 0 ;
3583 PyObject * obj2 = 0 ;
3584 PyObject * obj3 = 0 ;
3585 PyObject * obj4 = 0 ;
3586 PyObject * obj5 = 0 ;
3587 PyObject * obj6 = 0 ;
3588 PyObject * obj7 = 0 ;
3589 char *kwnames[] = {
3590 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3591 };
3592
3593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3596 arg2 = (int) SWIG_AsInt(obj1);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 arg3 = (int) SWIG_AsInt(obj2);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 if (obj3) {
3601 {
3602 arg4 = &temp4;
3603 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3604 }
3605 }
3606 if (obj4) {
3607 {
3608 arg5 = &temp5;
3609 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3610 }
3611 }
3612 if (obj5) {
3613 arg6 = (long) SWIG_AsLong(obj5);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
3616 if (obj6) {
3617 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3618 SWIG_POINTER_EXCEPTION | 0)) == -1)
3619 SWIG_fail;
3620 if (arg7 == NULL) {
3621 PyErr_SetString(PyExc_TypeError,"null reference");
3622 SWIG_fail;
3623 }
3624 }
3625 if (obj7) {
3626 {
3627 arg8 = wxString_in_helper(obj7);
3628 if (arg8 == NULL) SWIG_fail;
3629 temp8 = True;
3630 }
3631 }
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3640 {
3641 if (temp8)
3642 delete arg8;
3643 }
3644 return resultobj;
3645 fail:
3646 {
3647 if (temp8)
3648 delete arg8;
3649 }
3650 return NULL;
3651 }
3652
3653
3654 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject *resultobj;
3656 wxGauge *result;
3657 char *kwnames[] = {
3658 NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3662 {
3663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3664 result = (wxGauge *)new wxGauge();
3665
3666 wxPyEndAllowThreads(__tstate);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 }
3669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3670 return resultobj;
3671 fail:
3672 return NULL;
3673 }
3674
3675
3676 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3677 PyObject *resultobj;
3678 wxGauge *arg1 = (wxGauge *) 0 ;
3679 wxWindow *arg2 = (wxWindow *) 0 ;
3680 int arg3 ;
3681 int arg4 ;
3682 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3683 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3684 wxSize const &arg6_defvalue = wxDefaultSize ;
3685 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3686 long arg7 = (long) wxGA_HORIZONTAL ;
3687 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3688 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3689 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3690 wxString *arg9 = (wxString *) &arg9_defvalue ;
3691 bool result;
3692 wxPoint temp5 ;
3693 wxSize temp6 ;
3694 bool temp9 = False ;
3695 PyObject * obj0 = 0 ;
3696 PyObject * obj1 = 0 ;
3697 PyObject * obj2 = 0 ;
3698 PyObject * obj3 = 0 ;
3699 PyObject * obj4 = 0 ;
3700 PyObject * obj5 = 0 ;
3701 PyObject * obj6 = 0 ;
3702 PyObject * obj7 = 0 ;
3703 PyObject * obj8 = 0 ;
3704 char *kwnames[] = {
3705 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3706 };
3707
3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3711 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3713 arg3 = (int) SWIG_AsInt(obj2);
3714 if (PyErr_Occurred()) SWIG_fail;
3715 arg4 = (int) SWIG_AsInt(obj3);
3716 if (PyErr_Occurred()) SWIG_fail;
3717 if (obj4) {
3718 {
3719 arg5 = &temp5;
3720 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3721 }
3722 }
3723 if (obj5) {
3724 {
3725 arg6 = &temp6;
3726 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3727 }
3728 }
3729 if (obj6) {
3730 arg7 = (long) SWIG_AsLong(obj6);
3731 if (PyErr_Occurred()) SWIG_fail;
3732 }
3733 if (obj7) {
3734 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3735 SWIG_POINTER_EXCEPTION | 0)) == -1)
3736 SWIG_fail;
3737 if (arg8 == NULL) {
3738 PyErr_SetString(PyExc_TypeError,"null reference");
3739 SWIG_fail;
3740 }
3741 }
3742 if (obj8) {
3743 {
3744 arg9 = wxString_in_helper(obj8);
3745 if (arg9 == NULL) SWIG_fail;
3746 temp9 = True;
3747 }
3748 }
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 {
3757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3758 }
3759 {
3760 if (temp9)
3761 delete arg9;
3762 }
3763 return resultobj;
3764 fail:
3765 {
3766 if (temp9)
3767 delete arg9;
3768 }
3769 return NULL;
3770 }
3771
3772
3773 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3774 PyObject *resultobj;
3775 wxGauge *arg1 = (wxGauge *) 0 ;
3776 int arg2 ;
3777 PyObject * obj0 = 0 ;
3778 PyObject * obj1 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self",(char *) "range", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3786 arg2 = (int) SWIG_AsInt(obj1);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 (arg1)->SetRange(arg2);
3791
3792 wxPyEndAllowThreads(__tstate);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 Py_INCREF(Py_None); resultobj = Py_None;
3796 return resultobj;
3797 fail:
3798 return NULL;
3799 }
3800
3801
3802 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3803 PyObject *resultobj;
3804 wxGauge *arg1 = (wxGauge *) 0 ;
3805 int result;
3806 PyObject * obj0 = 0 ;
3807 char *kwnames[] = {
3808 (char *) "self", NULL
3809 };
3810
3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3814 {
3815 PyThreadState* __tstate = wxPyBeginAllowThreads();
3816 result = (int)((wxGauge const *)arg1)->GetRange();
3817
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
3821 resultobj = SWIG_FromInt((int)result);
3822 return resultobj;
3823 fail:
3824 return NULL;
3825 }
3826
3827
3828 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3829 PyObject *resultobj;
3830 wxGauge *arg1 = (wxGauge *) 0 ;
3831 int arg2 ;
3832 PyObject * obj0 = 0 ;
3833 PyObject * obj1 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self",(char *) "pos", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3841 arg2 = (int) SWIG_AsInt(obj1);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 {
3844 PyThreadState* __tstate = wxPyBeginAllowThreads();
3845 (arg1)->SetValue(arg2);
3846
3847 wxPyEndAllowThreads(__tstate);
3848 if (PyErr_Occurred()) SWIG_fail;
3849 }
3850 Py_INCREF(Py_None); resultobj = Py_None;
3851 return resultobj;
3852 fail:
3853 return NULL;
3854 }
3855
3856
3857 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3858 PyObject *resultobj;
3859 wxGauge *arg1 = (wxGauge *) 0 ;
3860 int result;
3861 PyObject * obj0 = 0 ;
3862 char *kwnames[] = {
3863 (char *) "self", NULL
3864 };
3865
3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",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 = (int)((wxGauge const *)arg1)->GetValue();
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 resultobj = SWIG_FromInt((int)result);
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxGauge *arg1 = (wxGauge *) 0 ;
3886 bool result;
3887 PyObject * obj0 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "self", NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (bool)((wxGauge const *)arg1)->IsVertical();
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 {
3903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3904 }
3905 return resultobj;
3906 fail:
3907 return NULL;
3908 }
3909
3910
3911 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3912 PyObject *resultobj;
3913 wxGauge *arg1 = (wxGauge *) 0 ;
3914 int arg2 ;
3915 PyObject * obj0 = 0 ;
3916 PyObject * obj1 = 0 ;
3917 char *kwnames[] = {
3918 (char *) "self",(char *) "w", NULL
3919 };
3920
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3924 arg2 = (int) SWIG_AsInt(obj1);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 {
3927 PyThreadState* __tstate = wxPyBeginAllowThreads();
3928 (arg1)->SetShadowWidth(arg2);
3929
3930 wxPyEndAllowThreads(__tstate);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 }
3933 Py_INCREF(Py_None); resultobj = Py_None;
3934 return resultobj;
3935 fail:
3936 return NULL;
3937 }
3938
3939
3940 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj;
3942 wxGauge *arg1 = (wxGauge *) 0 ;
3943 int result;
3944 PyObject * obj0 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "self", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 resultobj = SWIG_FromInt((int)result);
3960 return resultobj;
3961 fail:
3962 return NULL;
3963 }
3964
3965
3966 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj;
3968 wxGauge *arg1 = (wxGauge *) 0 ;
3969 int arg2 ;
3970 PyObject * obj0 = 0 ;
3971 PyObject * obj1 = 0 ;
3972 char *kwnames[] = {
3973 (char *) "self",(char *) "w", NULL
3974 };
3975
3976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3979 arg2 = (int) SWIG_AsInt(obj1);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
3983 (arg1)->SetBezelFace(arg2);
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 Py_INCREF(Py_None); resultobj = Py_None;
3989 return resultobj;
3990 fail:
3991 return NULL;
3992 }
3993
3994
3995 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3996 PyObject *resultobj;
3997 wxGauge *arg1 = (wxGauge *) 0 ;
3998 int result;
3999 PyObject * obj0 = 0 ;
4000 char *kwnames[] = {
4001 (char *) "self", NULL
4002 };
4003
4004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = SWIG_FromInt((int)result);
4015 return resultobj;
4016 fail:
4017 return NULL;
4018 }
4019
4020
4021 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4022 PyObject *obj;
4023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4024 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4025 Py_INCREF(obj);
4026 return Py_BuildValue((char *)"");
4027 }
4028 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4029 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4030 return 1;
4031 }
4032
4033
4034 static PyObject *_wrap_StaticBitmapNameStr_get() {
4035 PyObject *pyobj;
4036
4037 {
4038 #if wxUSE_UNICODE
4039 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4040 #else
4041 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4042 #endif
4043 }
4044 return pyobj;
4045 }
4046
4047
4048 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4049 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4050 return 1;
4051 }
4052
4053
4054 static PyObject *_wrap_StaticBoxNameStr_get() {
4055 PyObject *pyobj;
4056
4057 {
4058 #if wxUSE_UNICODE
4059 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4060 #else
4061 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4062 #endif
4063 }
4064 return pyobj;
4065 }
4066
4067
4068 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4069 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4070 return 1;
4071 }
4072
4073
4074 static PyObject *_wrap_StaticTextNameStr_get() {
4075 PyObject *pyobj;
4076
4077 {
4078 #if wxUSE_UNICODE
4079 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4080 #else
4081 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4082 #endif
4083 }
4084 return pyobj;
4085 }
4086
4087
4088 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4089 PyObject *resultobj;
4090 wxWindow *arg1 = (wxWindow *) 0 ;
4091 int arg2 ;
4092 wxString *arg3 = 0 ;
4093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4095 wxSize const &arg5_defvalue = wxDefaultSize ;
4096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4097 long arg6 = (long) 0 ;
4098 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4099 wxString *arg7 = (wxString *) &arg7_defvalue ;
4100 wxStaticBox *result;
4101 bool temp3 = False ;
4102 wxPoint temp4 ;
4103 wxSize temp5 ;
4104 bool temp7 = False ;
4105 PyObject * obj0 = 0 ;
4106 PyObject * obj1 = 0 ;
4107 PyObject * obj2 = 0 ;
4108 PyObject * obj3 = 0 ;
4109 PyObject * obj4 = 0 ;
4110 PyObject * obj5 = 0 ;
4111 PyObject * obj6 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4119 arg2 = (int) SWIG_AsInt(obj1);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 {
4122 arg3 = wxString_in_helper(obj2);
4123 if (arg3 == NULL) SWIG_fail;
4124 temp3 = True;
4125 }
4126 if (obj3) {
4127 {
4128 arg4 = &temp4;
4129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4130 }
4131 }
4132 if (obj4) {
4133 {
4134 arg5 = &temp5;
4135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4136 }
4137 }
4138 if (obj5) {
4139 arg6 = (long) SWIG_AsLong(obj5);
4140 if (PyErr_Occurred()) SWIG_fail;
4141 }
4142 if (obj6) {
4143 {
4144 arg7 = wxString_in_helper(obj6);
4145 if (arg7 == NULL) SWIG_fail;
4146 temp7 = True;
4147 }
4148 }
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 {
4157 resultobj = wxPyMake_wxObject(result);
4158 }
4159 {
4160 if (temp3)
4161 delete arg3;
4162 }
4163 {
4164 if (temp7)
4165 delete arg7;
4166 }
4167 return resultobj;
4168 fail:
4169 {
4170 if (temp3)
4171 delete arg3;
4172 }
4173 {
4174 if (temp7)
4175 delete arg7;
4176 }
4177 return NULL;
4178 }
4179
4180
4181 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj;
4183 wxStaticBox *result;
4184 char *kwnames[] = {
4185 NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4189 {
4190 PyThreadState* __tstate = wxPyBeginAllowThreads();
4191 result = (wxStaticBox *)new wxStaticBox();
4192
4193 wxPyEndAllowThreads(__tstate);
4194 if (PyErr_Occurred()) SWIG_fail;
4195 }
4196 {
4197 resultobj = wxPyMake_wxObject(result);
4198 }
4199 return resultobj;
4200 fail:
4201 return NULL;
4202 }
4203
4204
4205 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4206 PyObject *resultobj;
4207 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4208 wxWindow *arg2 = (wxWindow *) 0 ;
4209 int arg3 ;
4210 wxString *arg4 = 0 ;
4211 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4212 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4213 wxSize const &arg6_defvalue = wxDefaultSize ;
4214 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4215 long arg7 = (long) 0 ;
4216 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4217 wxString *arg8 = (wxString *) &arg8_defvalue ;
4218 bool result;
4219 bool temp4 = False ;
4220 wxPoint temp5 ;
4221 wxSize temp6 ;
4222 bool temp8 = False ;
4223 PyObject * obj0 = 0 ;
4224 PyObject * obj1 = 0 ;
4225 PyObject * obj2 = 0 ;
4226 PyObject * obj3 = 0 ;
4227 PyObject * obj4 = 0 ;
4228 PyObject * obj5 = 0 ;
4229 PyObject * obj6 = 0 ;
4230 PyObject * obj7 = 0 ;
4231 char *kwnames[] = {
4232 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4233 };
4234
4235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4240 arg3 = (int) SWIG_AsInt(obj2);
4241 if (PyErr_Occurred()) SWIG_fail;
4242 {
4243 arg4 = wxString_in_helper(obj3);
4244 if (arg4 == NULL) SWIG_fail;
4245 temp4 = True;
4246 }
4247 if (obj4) {
4248 {
4249 arg5 = &temp5;
4250 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4251 }
4252 }
4253 if (obj5) {
4254 {
4255 arg6 = &temp6;
4256 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4257 }
4258 }
4259 if (obj6) {
4260 arg7 = (long) SWIG_AsLong(obj6);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 if (obj7) {
4264 {
4265 arg8 = wxString_in_helper(obj7);
4266 if (arg8 == NULL) SWIG_fail;
4267 temp8 = True;
4268 }
4269 }
4270 {
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4273
4274 wxPyEndAllowThreads(__tstate);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4277 {
4278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4279 }
4280 {
4281 if (temp4)
4282 delete arg4;
4283 }
4284 {
4285 if (temp8)
4286 delete arg8;
4287 }
4288 return resultobj;
4289 fail:
4290 {
4291 if (temp4)
4292 delete arg4;
4293 }
4294 {
4295 if (temp8)
4296 delete arg8;
4297 }
4298 return NULL;
4299 }
4300
4301
4302 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4303 PyObject *obj;
4304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4305 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4306 Py_INCREF(obj);
4307 return Py_BuildValue((char *)"");
4308 }
4309 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4310 PyObject *resultobj;
4311 wxWindow *arg1 = (wxWindow *) 0 ;
4312 int arg2 ;
4313 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4314 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4315 wxSize const &arg4_defvalue = wxDefaultSize ;
4316 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4317 long arg5 = (long) wxLI_HORIZONTAL ;
4318 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4319 wxString *arg6 = (wxString *) &arg6_defvalue ;
4320 wxStaticLine *result;
4321 wxPoint temp3 ;
4322 wxSize temp4 ;
4323 bool temp6 = False ;
4324 PyObject * obj0 = 0 ;
4325 PyObject * obj1 = 0 ;
4326 PyObject * obj2 = 0 ;
4327 PyObject * obj3 = 0 ;
4328 PyObject * obj4 = 0 ;
4329 PyObject * obj5 = 0 ;
4330 char *kwnames[] = {
4331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4332 };
4333
4334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4337 arg2 = (int) SWIG_AsInt(obj1);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 if (obj2) {
4340 {
4341 arg3 = &temp3;
4342 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4343 }
4344 }
4345 if (obj3) {
4346 {
4347 arg4 = &temp4;
4348 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4349 }
4350 }
4351 if (obj4) {
4352 arg5 = (long) SWIG_AsLong(obj4);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 if (obj5) {
4356 {
4357 arg6 = wxString_in_helper(obj5);
4358 if (arg6 == NULL) SWIG_fail;
4359 temp6 = True;
4360 }
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4370 {
4371 if (temp6)
4372 delete arg6;
4373 }
4374 return resultobj;
4375 fail:
4376 {
4377 if (temp6)
4378 delete arg6;
4379 }
4380 return NULL;
4381 }
4382
4383
4384 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj;
4386 wxStaticLine *result;
4387 char *kwnames[] = {
4388 NULL
4389 };
4390
4391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4392 {
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 result = (wxStaticLine *)new wxStaticLine();
4395
4396 wxPyEndAllowThreads(__tstate);
4397 if (PyErr_Occurred()) SWIG_fail;
4398 }
4399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4400 return resultobj;
4401 fail:
4402 return NULL;
4403 }
4404
4405
4406 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4407 PyObject *resultobj;
4408 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4409 wxWindow *arg2 = (wxWindow *) 0 ;
4410 int arg3 ;
4411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4413 wxSize const &arg5_defvalue = wxDefaultSize ;
4414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4415 long arg6 = (long) wxLI_HORIZONTAL ;
4416 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4417 wxString *arg7 = (wxString *) &arg7_defvalue ;
4418 bool result;
4419 wxPoint temp4 ;
4420 wxSize temp5 ;
4421 bool temp7 = False ;
4422 PyObject * obj0 = 0 ;
4423 PyObject * obj1 = 0 ;
4424 PyObject * obj2 = 0 ;
4425 PyObject * obj3 = 0 ;
4426 PyObject * obj4 = 0 ;
4427 PyObject * obj5 = 0 ;
4428 PyObject * obj6 = 0 ;
4429 char *kwnames[] = {
4430 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4431 };
4432
4433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4438 arg3 = (int) SWIG_AsInt(obj2);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 if (obj3) {
4441 {
4442 arg4 = &temp4;
4443 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4444 }
4445 }
4446 if (obj4) {
4447 {
4448 arg5 = &temp5;
4449 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4450 }
4451 }
4452 if (obj5) {
4453 arg6 = (long) SWIG_AsLong(obj5);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
4456 if (obj6) {
4457 {
4458 arg7 = wxString_in_helper(obj6);
4459 if (arg7 == NULL) SWIG_fail;
4460 temp7 = True;
4461 }
4462 }
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 {
4471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4472 }
4473 {
4474 if (temp7)
4475 delete arg7;
4476 }
4477 return resultobj;
4478 fail:
4479 {
4480 if (temp7)
4481 delete arg7;
4482 }
4483 return NULL;
4484 }
4485
4486
4487 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj;
4489 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4490 bool result;
4491 PyObject * obj0 = 0 ;
4492 char *kwnames[] = {
4493 (char *) "self", NULL
4494 };
4495
4496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4499 {
4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
4501 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4502
4503 wxPyEndAllowThreads(__tstate);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 }
4506 {
4507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4508 }
4509 return resultobj;
4510 fail:
4511 return NULL;
4512 }
4513
4514
4515 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4516 PyObject *resultobj;
4517 int result;
4518 char *kwnames[] = {
4519 NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 result = (int)wxStaticLine::GetDefaultSize();
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 resultobj = SWIG_FromInt((int)result);
4531 return resultobj;
4532 fail:
4533 return NULL;
4534 }
4535
4536
4537 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4538 PyObject *obj;
4539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4540 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4541 Py_INCREF(obj);
4542 return Py_BuildValue((char *)"");
4543 }
4544 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4545 PyObject *resultobj;
4546 wxWindow *arg1 = (wxWindow *) 0 ;
4547 int arg2 ;
4548 wxString *arg3 = 0 ;
4549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4551 wxSize const &arg5_defvalue = wxDefaultSize ;
4552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4553 long arg6 = (long) 0 ;
4554 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4555 wxString *arg7 = (wxString *) &arg7_defvalue ;
4556 wxStaticText *result;
4557 bool temp3 = False ;
4558 wxPoint temp4 ;
4559 wxSize temp5 ;
4560 bool temp7 = False ;
4561 PyObject * obj0 = 0 ;
4562 PyObject * obj1 = 0 ;
4563 PyObject * obj2 = 0 ;
4564 PyObject * obj3 = 0 ;
4565 PyObject * obj4 = 0 ;
4566 PyObject * obj5 = 0 ;
4567 PyObject * obj6 = 0 ;
4568 char *kwnames[] = {
4569 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4570 };
4571
4572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4575 arg2 = (int) SWIG_AsInt(obj1);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 {
4578 arg3 = wxString_in_helper(obj2);
4579 if (arg3 == NULL) SWIG_fail;
4580 temp3 = True;
4581 }
4582 if (obj3) {
4583 {
4584 arg4 = &temp4;
4585 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4586 }
4587 }
4588 if (obj4) {
4589 {
4590 arg5 = &temp5;
4591 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4592 }
4593 }
4594 if (obj5) {
4595 arg6 = (long) SWIG_AsLong(obj5);
4596 if (PyErr_Occurred()) SWIG_fail;
4597 }
4598 if (obj6) {
4599 {
4600 arg7 = wxString_in_helper(obj6);
4601 if (arg7 == NULL) SWIG_fail;
4602 temp7 = True;
4603 }
4604 }
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4613 {
4614 if (temp3)
4615 delete arg3;
4616 }
4617 {
4618 if (temp7)
4619 delete arg7;
4620 }
4621 return resultobj;
4622 fail:
4623 {
4624 if (temp3)
4625 delete arg3;
4626 }
4627 {
4628 if (temp7)
4629 delete arg7;
4630 }
4631 return NULL;
4632 }
4633
4634
4635 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4636 PyObject *resultobj;
4637 wxStaticText *result;
4638 char *kwnames[] = {
4639 NULL
4640 };
4641
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 result = (wxStaticText *)new wxStaticText();
4646
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4651 return resultobj;
4652 fail:
4653 return NULL;
4654 }
4655
4656
4657 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj;
4659 wxStaticText *arg1 = (wxStaticText *) 0 ;
4660 wxWindow *arg2 = (wxWindow *) 0 ;
4661 int arg3 ;
4662 wxString *arg4 = 0 ;
4663 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4664 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4665 wxSize const &arg6_defvalue = wxDefaultSize ;
4666 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4667 long arg7 = (long) 0 ;
4668 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4669 wxString *arg8 = (wxString *) &arg8_defvalue ;
4670 bool result;
4671 bool temp4 = False ;
4672 wxPoint temp5 ;
4673 wxSize temp6 ;
4674 bool temp8 = False ;
4675 PyObject * obj0 = 0 ;
4676 PyObject * obj1 = 0 ;
4677 PyObject * obj2 = 0 ;
4678 PyObject * obj3 = 0 ;
4679 PyObject * obj4 = 0 ;
4680 PyObject * obj5 = 0 ;
4681 PyObject * obj6 = 0 ;
4682 PyObject * obj7 = 0 ;
4683 char *kwnames[] = {
4684 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4685 };
4686
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4692 arg3 = (int) SWIG_AsInt(obj2);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 {
4695 arg4 = wxString_in_helper(obj3);
4696 if (arg4 == NULL) SWIG_fail;
4697 temp4 = True;
4698 }
4699 if (obj4) {
4700 {
4701 arg5 = &temp5;
4702 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4703 }
4704 }
4705 if (obj5) {
4706 {
4707 arg6 = &temp6;
4708 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4709 }
4710 }
4711 if (obj6) {
4712 arg7 = (long) SWIG_AsLong(obj6);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 if (obj7) {
4716 {
4717 arg8 = wxString_in_helper(obj7);
4718 if (arg8 == NULL) SWIG_fail;
4719 temp8 = True;
4720 }
4721 }
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 {
4730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4731 }
4732 {
4733 if (temp4)
4734 delete arg4;
4735 }
4736 {
4737 if (temp8)
4738 delete arg8;
4739 }
4740 return resultobj;
4741 fail:
4742 {
4743 if (temp4)
4744 delete arg4;
4745 }
4746 {
4747 if (temp8)
4748 delete arg8;
4749 }
4750 return NULL;
4751 }
4752
4753
4754 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4755 PyObject *obj;
4756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4757 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4758 Py_INCREF(obj);
4759 return Py_BuildValue((char *)"");
4760 }
4761 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4762 PyObject *resultobj;
4763 wxWindow *arg1 = (wxWindow *) 0 ;
4764 int arg2 ;
4765 wxBitmap *arg3 = 0 ;
4766 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4767 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4768 wxSize const &arg5_defvalue = wxDefaultSize ;
4769 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4770 long arg6 = (long) 0 ;
4771 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4772 wxString *arg7 = (wxString *) &arg7_defvalue ;
4773 wxStaticBitmap *result;
4774 wxPoint temp4 ;
4775 wxSize temp5 ;
4776 bool temp7 = False ;
4777 PyObject * obj0 = 0 ;
4778 PyObject * obj1 = 0 ;
4779 PyObject * obj2 = 0 ;
4780 PyObject * obj3 = 0 ;
4781 PyObject * obj4 = 0 ;
4782 PyObject * obj5 = 0 ;
4783 PyObject * obj6 = 0 ;
4784 char *kwnames[] = {
4785 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4786 };
4787
4788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4791 arg2 = (int) SWIG_AsInt(obj1);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4794 SWIG_POINTER_EXCEPTION | 0)) == -1)
4795 SWIG_fail;
4796 if (arg3 == NULL) {
4797 PyErr_SetString(PyExc_TypeError,"null reference");
4798 SWIG_fail;
4799 }
4800 if (obj3) {
4801 {
4802 arg4 = &temp4;
4803 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4804 }
4805 }
4806 if (obj4) {
4807 {
4808 arg5 = &temp5;
4809 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4810 }
4811 }
4812 if (obj5) {
4813 arg6 = (long) SWIG_AsLong(obj5);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 if (obj6) {
4817 {
4818 arg7 = wxString_in_helper(obj6);
4819 if (arg7 == NULL) SWIG_fail;
4820 temp7 = True;
4821 }
4822 }
4823 {
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4826
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4831 {
4832 if (temp7)
4833 delete arg7;
4834 }
4835 return resultobj;
4836 fail:
4837 {
4838 if (temp7)
4839 delete arg7;
4840 }
4841 return NULL;
4842 }
4843
4844
4845 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxStaticBitmap *result;
4848 char *kwnames[] = {
4849 NULL
4850 };
4851
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 result = (wxStaticBitmap *)new wxStaticBitmap();
4856
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4861 return resultobj;
4862 fail:
4863 return NULL;
4864 }
4865
4866
4867 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4868 PyObject *resultobj;
4869 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4870 wxWindow *arg2 = (wxWindow *) 0 ;
4871 int arg3 ;
4872 wxBitmap *arg4 = 0 ;
4873 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4874 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4875 wxSize const &arg6_defvalue = wxDefaultSize ;
4876 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4877 long arg7 = (long) 0 ;
4878 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4879 wxString *arg8 = (wxString *) &arg8_defvalue ;
4880 bool result;
4881 wxPoint temp5 ;
4882 wxSize temp6 ;
4883 bool temp8 = False ;
4884 PyObject * obj0 = 0 ;
4885 PyObject * obj1 = 0 ;
4886 PyObject * obj2 = 0 ;
4887 PyObject * obj3 = 0 ;
4888 PyObject * obj4 = 0 ;
4889 PyObject * obj5 = 0 ;
4890 PyObject * obj6 = 0 ;
4891 PyObject * obj7 = 0 ;
4892 char *kwnames[] = {
4893 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4894 };
4895
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4899 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4901 arg3 = (int) SWIG_AsInt(obj2);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4904 SWIG_POINTER_EXCEPTION | 0)) == -1)
4905 SWIG_fail;
4906 if (arg4 == NULL) {
4907 PyErr_SetString(PyExc_TypeError,"null reference");
4908 SWIG_fail;
4909 }
4910 if (obj4) {
4911 {
4912 arg5 = &temp5;
4913 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4914 }
4915 }
4916 if (obj5) {
4917 {
4918 arg6 = &temp6;
4919 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4920 }
4921 }
4922 if (obj6) {
4923 arg7 = (long) SWIG_AsLong(obj6);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 if (obj7) {
4927 {
4928 arg8 = wxString_in_helper(obj7);
4929 if (arg8 == NULL) SWIG_fail;
4930 temp8 = True;
4931 }
4932 }
4933 {
4934 PyThreadState* __tstate = wxPyBeginAllowThreads();
4935 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4936
4937 wxPyEndAllowThreads(__tstate);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 }
4940 {
4941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4942 }
4943 {
4944 if (temp8)
4945 delete arg8;
4946 }
4947 return resultobj;
4948 fail:
4949 {
4950 if (temp8)
4951 delete arg8;
4952 }
4953 return NULL;
4954 }
4955
4956
4957 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4958 PyObject *resultobj;
4959 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4960 wxBitmap result;
4961 PyObject * obj0 = 0 ;
4962 char *kwnames[] = {
4963 (char *) "self", NULL
4964 };
4965
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 result = (arg1)->GetBitmap();
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 {
4977 wxBitmap * resultptr;
4978 resultptr = new wxBitmap((wxBitmap &) result);
4979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4980 }
4981 return resultobj;
4982 fail:
4983 return NULL;
4984 }
4985
4986
4987 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4988 PyObject *resultobj;
4989 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4990 wxBitmap *arg2 = 0 ;
4991 PyObject * obj0 = 0 ;
4992 PyObject * obj1 = 0 ;
4993 char *kwnames[] = {
4994 (char *) "self",(char *) "bitmap", NULL
4995 };
4996
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5001 SWIG_POINTER_EXCEPTION | 0)) == -1)
5002 SWIG_fail;
5003 if (arg2 == NULL) {
5004 PyErr_SetString(PyExc_TypeError,"null reference");
5005 SWIG_fail;
5006 }
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5010
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 Py_INCREF(Py_None); resultobj = Py_None;
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5024 wxIcon *arg2 = 0 ;
5025 PyObject * obj0 = 0 ;
5026 PyObject * obj1 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self",(char *) "icon", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5034 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5035 SWIG_POINTER_EXCEPTION | 0)) == -1)
5036 SWIG_fail;
5037 if (arg2 == NULL) {
5038 PyErr_SetString(PyExc_TypeError,"null reference");
5039 SWIG_fail;
5040 }
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 (arg1)->SetIcon((wxIcon const &)*arg2);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 Py_INCREF(Py_None); resultobj = Py_None;
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5056 PyObject *obj;
5057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5058 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5059 Py_INCREF(obj);
5060 return Py_BuildValue((char *)"");
5061 }
5062 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5063 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5064 return 1;
5065 }
5066
5067
5068 static PyObject *_wrap_ListBoxNameStr_get() {
5069 PyObject *pyobj;
5070
5071 {
5072 #if wxUSE_UNICODE
5073 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5074 #else
5075 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5076 #endif
5077 }
5078 return pyobj;
5079 }
5080
5081
5082 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj;
5084 wxWindow *arg1 = (wxWindow *) 0 ;
5085 int arg2 ;
5086 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5087 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5088 wxSize const &arg4_defvalue = wxDefaultSize ;
5089 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5090 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5091 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5092 long arg6 = (long) 0 ;
5093 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5094 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5095 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5096 wxString *arg8 = (wxString *) &arg8_defvalue ;
5097 wxListBox *result;
5098 wxPoint temp3 ;
5099 wxSize temp4 ;
5100 bool temp5 = False ;
5101 bool temp8 = False ;
5102 PyObject * obj0 = 0 ;
5103 PyObject * obj1 = 0 ;
5104 PyObject * obj2 = 0 ;
5105 PyObject * obj3 = 0 ;
5106 PyObject * obj4 = 0 ;
5107 PyObject * obj5 = 0 ;
5108 PyObject * obj6 = 0 ;
5109 PyObject * obj7 = 0 ;
5110 char *kwnames[] = {
5111 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5112 };
5113
5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5117 arg2 = (int) SWIG_AsInt(obj1);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 if (obj2) {
5120 {
5121 arg3 = &temp3;
5122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5123 }
5124 }
5125 if (obj3) {
5126 {
5127 arg4 = &temp4;
5128 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5129 }
5130 }
5131 if (obj4) {
5132 {
5133 if (! PySequence_Check(obj4)) {
5134 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5135 SWIG_fail;
5136 }
5137 arg5 = new wxArrayString;
5138 temp5 = True;
5139 int i, len=PySequence_Length(obj4);
5140 for (i=0; i<len; i++) {
5141 PyObject* item = PySequence_GetItem(obj4, i);
5142 #if wxUSE_UNICODE
5143 PyObject* str = PyObject_Unicode(item);
5144 #else
5145 PyObject* str = PyObject_Str(item);
5146 #endif
5147 if (PyErr_Occurred()) SWIG_fail;
5148 arg5->Add(Py2wxString(str));
5149 Py_DECREF(item);
5150 Py_DECREF(str);
5151 }
5152 }
5153 }
5154 if (obj5) {
5155 arg6 = (long) SWIG_AsLong(obj5);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 if (obj6) {
5159 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5160 SWIG_POINTER_EXCEPTION | 0)) == -1)
5161 SWIG_fail;
5162 if (arg7 == NULL) {
5163 PyErr_SetString(PyExc_TypeError,"null reference");
5164 SWIG_fail;
5165 }
5166 }
5167 if (obj7) {
5168 {
5169 arg8 = wxString_in_helper(obj7);
5170 if (arg8 == NULL) SWIG_fail;
5171 temp8 = True;
5172 }
5173 }
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5182 {
5183 if (temp5) delete arg5;
5184 }
5185 {
5186 if (temp8)
5187 delete arg8;
5188 }
5189 return resultobj;
5190 fail:
5191 {
5192 if (temp5) delete arg5;
5193 }
5194 {
5195 if (temp8)
5196 delete arg8;
5197 }
5198 return NULL;
5199 }
5200
5201
5202 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5203 PyObject *resultobj;
5204 wxListBox *result;
5205 char *kwnames[] = {
5206 NULL
5207 };
5208
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (wxListBox *)new wxListBox();
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5218 return resultobj;
5219 fail:
5220 return NULL;
5221 }
5222
5223
5224 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxListBox *arg1 = (wxListBox *) 0 ;
5227 wxWindow *arg2 = (wxWindow *) 0 ;
5228 int arg3 ;
5229 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5230 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5231 wxSize const &arg5_defvalue = wxDefaultSize ;
5232 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5233 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5234 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5235 long arg7 = (long) 0 ;
5236 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5237 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5238 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5239 wxString *arg9 = (wxString *) &arg9_defvalue ;
5240 bool result;
5241 wxPoint temp4 ;
5242 wxSize temp5 ;
5243 bool temp6 = False ;
5244 bool temp9 = False ;
5245 PyObject * obj0 = 0 ;
5246 PyObject * obj1 = 0 ;
5247 PyObject * obj2 = 0 ;
5248 PyObject * obj3 = 0 ;
5249 PyObject * obj4 = 0 ;
5250 PyObject * obj5 = 0 ;
5251 PyObject * obj6 = 0 ;
5252 PyObject * obj7 = 0 ;
5253 PyObject * obj8 = 0 ;
5254 char *kwnames[] = {
5255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5256 };
5257
5258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5263 arg3 = (int) SWIG_AsInt(obj2);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 if (obj3) {
5266 {
5267 arg4 = &temp4;
5268 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5269 }
5270 }
5271 if (obj4) {
5272 {
5273 arg5 = &temp5;
5274 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5275 }
5276 }
5277 if (obj5) {
5278 {
5279 if (! PySequence_Check(obj5)) {
5280 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5281 SWIG_fail;
5282 }
5283 arg6 = new wxArrayString;
5284 temp6 = True;
5285 int i, len=PySequence_Length(obj5);
5286 for (i=0; i<len; i++) {
5287 PyObject* item = PySequence_GetItem(obj5, i);
5288 #if wxUSE_UNICODE
5289 PyObject* str = PyObject_Unicode(item);
5290 #else
5291 PyObject* str = PyObject_Str(item);
5292 #endif
5293 if (PyErr_Occurred()) SWIG_fail;
5294 arg6->Add(Py2wxString(str));
5295 Py_DECREF(item);
5296 Py_DECREF(str);
5297 }
5298 }
5299 }
5300 if (obj6) {
5301 arg7 = (long) SWIG_AsLong(obj6);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 if (obj7) {
5305 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5306 SWIG_POINTER_EXCEPTION | 0)) == -1)
5307 SWIG_fail;
5308 if (arg8 == NULL) {
5309 PyErr_SetString(PyExc_TypeError,"null reference");
5310 SWIG_fail;
5311 }
5312 }
5313 if (obj8) {
5314 {
5315 arg9 = wxString_in_helper(obj8);
5316 if (arg9 == NULL) SWIG_fail;
5317 temp9 = True;
5318 }
5319 }
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 {
5328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5329 }
5330 {
5331 if (temp6) delete arg6;
5332 }
5333 {
5334 if (temp9)
5335 delete arg9;
5336 }
5337 return resultobj;
5338 fail:
5339 {
5340 if (temp6) delete arg6;
5341 }
5342 {
5343 if (temp9)
5344 delete arg9;
5345 }
5346 return NULL;
5347 }
5348
5349
5350 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj;
5352 wxListBox *arg1 = (wxListBox *) 0 ;
5353 wxString *arg2 = 0 ;
5354 int arg3 ;
5355 PyObject *arg4 = (PyObject *) NULL ;
5356 bool temp2 = False ;
5357 PyObject * obj0 = 0 ;
5358 PyObject * obj1 = 0 ;
5359 PyObject * obj2 = 0 ;
5360 PyObject * obj3 = 0 ;
5361 char *kwnames[] = {
5362 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5363 };
5364
5365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5368 {
5369 arg2 = wxString_in_helper(obj1);
5370 if (arg2 == NULL) SWIG_fail;
5371 temp2 = True;
5372 }
5373 arg3 = (int) SWIG_AsInt(obj2);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 if (obj3) {
5376 arg4 = obj3;
5377 }
5378 {
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 Py_INCREF(Py_None); resultobj = Py_None;
5386 {
5387 if (temp2)
5388 delete arg2;
5389 }
5390 return resultobj;
5391 fail:
5392 {
5393 if (temp2)
5394 delete arg2;
5395 }
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxListBox *arg1 = (wxListBox *) 0 ;
5403 wxArrayString *arg2 = 0 ;
5404 int arg3 ;
5405 bool temp2 = False ;
5406 PyObject * obj0 = 0 ;
5407 PyObject * obj1 = 0 ;
5408 PyObject * obj2 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self",(char *) "items",(char *) "pos", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5416 {
5417 if (! PySequence_Check(obj1)) {
5418 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5419 SWIG_fail;
5420 }
5421 arg2 = new wxArrayString;
5422 temp2 = True;
5423 int i, len=PySequence_Length(obj1);
5424 for (i=0; i<len; i++) {
5425 PyObject* item = PySequence_GetItem(obj1, i);
5426 #if wxUSE_UNICODE
5427 PyObject* str = PyObject_Unicode(item);
5428 #else
5429 PyObject* str = PyObject_Str(item);
5430 #endif
5431 if (PyErr_Occurred()) SWIG_fail;
5432 arg2->Add(Py2wxString(str));
5433 Py_DECREF(item);
5434 Py_DECREF(str);
5435 }
5436 }
5437 arg3 = (int) SWIG_AsInt(obj2);
5438 if (PyErr_Occurred()) SWIG_fail;
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 Py_INCREF(Py_None); resultobj = Py_None;
5447 {
5448 if (temp2) delete arg2;
5449 }
5450 return resultobj;
5451 fail:
5452 {
5453 if (temp2) delete arg2;
5454 }
5455 return NULL;
5456 }
5457
5458
5459 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5460 PyObject *resultobj;
5461 wxListBox *arg1 = (wxListBox *) 0 ;
5462 wxArrayString *arg2 = 0 ;
5463 bool temp2 = False ;
5464 PyObject * obj0 = 0 ;
5465 PyObject * obj1 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self",(char *) "items", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5473 {
5474 if (! PySequence_Check(obj1)) {
5475 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5476 SWIG_fail;
5477 }
5478 arg2 = new wxArrayString;
5479 temp2 = True;
5480 int i, len=PySequence_Length(obj1);
5481 for (i=0; i<len; i++) {
5482 PyObject* item = PySequence_GetItem(obj1, i);
5483 #if wxUSE_UNICODE
5484 PyObject* str = PyObject_Unicode(item);
5485 #else
5486 PyObject* str = PyObject_Str(item);
5487 #endif
5488 if (PyErr_Occurred()) SWIG_fail;
5489 arg2->Add(Py2wxString(str));
5490 Py_DECREF(item);
5491 Py_DECREF(str);
5492 }
5493 }
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 (arg1)->Set((wxArrayString const &)*arg2);
5497
5498 wxPyEndAllowThreads(__tstate);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 Py_INCREF(Py_None); resultobj = Py_None;
5502 {
5503 if (temp2) delete arg2;
5504 }
5505 return resultobj;
5506 fail:
5507 {
5508 if (temp2) delete arg2;
5509 }
5510 return NULL;
5511 }
5512
5513
5514 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj;
5516 wxListBox *arg1 = (wxListBox *) 0 ;
5517 int arg2 ;
5518 bool result;
5519 PyObject * obj0 = 0 ;
5520 PyObject * obj1 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "self",(char *) "n", NULL
5523 };
5524
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5528 arg2 = (int) SWIG_AsInt(obj1);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 {
5538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5539 }
5540 return resultobj;
5541 fail:
5542 return NULL;
5543 }
5544
5545
5546 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5547 PyObject *resultobj;
5548 wxListBox *arg1 = (wxListBox *) 0 ;
5549 int arg2 ;
5550 bool arg3 = (bool) True ;
5551 PyObject * obj0 = 0 ;
5552 PyObject * obj1 = 0 ;
5553 PyObject * obj2 = 0 ;
5554 char *kwnames[] = {
5555 (char *) "self",(char *) "n",(char *) "select", NULL
5556 };
5557
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5561 arg2 = (int) SWIG_AsInt(obj1);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 if (obj2) {
5564 arg3 = (bool) SWIG_AsBool(obj2);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->SetSelection(arg2,arg3);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 return resultobj;
5576 fail:
5577 return NULL;
5578 }
5579
5580
5581 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxListBox *arg1 = (wxListBox *) 0 ;
5584 int arg2 ;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj1 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self",(char *) "n", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5594 arg2 = (int) SWIG_AsInt(obj1);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 {
5597 PyThreadState* __tstate = wxPyBeginAllowThreads();
5598 (arg1)->Select(arg2);
5599
5600 wxPyEndAllowThreads(__tstate);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 Py_INCREF(Py_None); resultobj = Py_None;
5604 return resultobj;
5605 fail:
5606 return NULL;
5607 }
5608
5609
5610 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5611 PyObject *resultobj;
5612 wxListBox *arg1 = (wxListBox *) 0 ;
5613 int arg2 ;
5614 PyObject * obj0 = 0 ;
5615 PyObject * obj1 = 0 ;
5616 char *kwnames[] = {
5617 (char *) "self",(char *) "n", NULL
5618 };
5619
5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5623 arg2 = (int) SWIG_AsInt(obj1);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 {
5626 PyThreadState* __tstate = wxPyBeginAllowThreads();
5627 (arg1)->Deselect(arg2);
5628
5629 wxPyEndAllowThreads(__tstate);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 }
5632 Py_INCREF(Py_None); resultobj = Py_None;
5633 return resultobj;
5634 fail:
5635 return NULL;
5636 }
5637
5638
5639 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject *resultobj;
5641 wxListBox *arg1 = (wxListBox *) 0 ;
5642 int arg2 = (int) -1 ;
5643 PyObject * obj0 = 0 ;
5644 PyObject * obj1 = 0 ;
5645 char *kwnames[] = {
5646 (char *) "self",(char *) "itemToLeaveSelected", NULL
5647 };
5648
5649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5652 if (obj1) {
5653 arg2 = (int) SWIG_AsInt(obj1);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 }
5656 {
5657 PyThreadState* __tstate = wxPyBeginAllowThreads();
5658 (arg1)->DeselectAll(arg2);
5659
5660 wxPyEndAllowThreads(__tstate);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
5663 Py_INCREF(Py_None); resultobj = Py_None;
5664 return resultobj;
5665 fail:
5666 return NULL;
5667 }
5668
5669
5670 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5671 PyObject *resultobj;
5672 wxListBox *arg1 = (wxListBox *) 0 ;
5673 wxString *arg2 = 0 ;
5674 bool arg3 = (bool) True ;
5675 bool result;
5676 bool temp2 = False ;
5677 PyObject * obj0 = 0 ;
5678 PyObject * obj1 = 0 ;
5679 PyObject * obj2 = 0 ;
5680 char *kwnames[] = {
5681 (char *) "self",(char *) "s",(char *) "select", NULL
5682 };
5683
5684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5687 {
5688 arg2 = wxString_in_helper(obj1);
5689 if (arg2 == NULL) SWIG_fail;
5690 temp2 = True;
5691 }
5692 if (obj2) {
5693 arg3 = (bool) SWIG_AsBool(obj2);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 {
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5699
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 {
5704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5705 }
5706 {
5707 if (temp2)
5708 delete arg2;
5709 }
5710 return resultobj;
5711 fail:
5712 {
5713 if (temp2)
5714 delete arg2;
5715 }
5716 return NULL;
5717 }
5718
5719
5720 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj;
5722 wxListBox *arg1 = (wxListBox *) 0 ;
5723 PyObject *result;
5724 PyObject * obj0 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = (PyObject *)wxListBox_GetSelections(arg1);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 resultobj = result;
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxListBox *arg1 = (wxListBox *) 0 ;
5749 int arg2 ;
5750 PyObject * obj0 = 0 ;
5751 PyObject * obj1 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self",(char *) "n", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5759 arg2 = (int) SWIG_AsInt(obj1);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 (arg1)->SetFirstItem(arg2);
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 Py_INCREF(Py_None); resultobj = Py_None;
5769 return resultobj;
5770 fail:
5771 return NULL;
5772 }
5773
5774
5775 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxListBox *arg1 = (wxListBox *) 0 ;
5778 wxString *arg2 = 0 ;
5779 bool temp2 = False ;
5780 PyObject * obj0 = 0 ;
5781 PyObject * obj1 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "self",(char *) "s", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5789 {
5790 arg2 = wxString_in_helper(obj1);
5791 if (arg2 == NULL) SWIG_fail;
5792 temp2 = True;
5793 }
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 (arg1)->SetFirstItem((wxString const &)*arg2);
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 Py_INCREF(Py_None); resultobj = Py_None;
5802 {
5803 if (temp2)
5804 delete arg2;
5805 }
5806 return resultobj;
5807 fail:
5808 {
5809 if (temp2)
5810 delete arg2;
5811 }
5812 return NULL;
5813 }
5814
5815
5816 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5817 PyObject *resultobj;
5818 wxListBox *arg1 = (wxListBox *) 0 ;
5819 int arg2 ;
5820 PyObject * obj0 = 0 ;
5821 PyObject * obj1 = 0 ;
5822 char *kwnames[] = {
5823 (char *) "self",(char *) "n", NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5829 arg2 = (int) SWIG_AsInt(obj1);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 {
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 (arg1)->EnsureVisible(arg2);
5834
5835 wxPyEndAllowThreads(__tstate);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 Py_INCREF(Py_None); resultobj = Py_None;
5839 return resultobj;
5840 fail:
5841 return NULL;
5842 }
5843
5844
5845 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5846 PyObject *resultobj;
5847 wxListBox *arg1 = (wxListBox *) 0 ;
5848 wxString *arg2 = 0 ;
5849 bool temp2 = False ;
5850 PyObject * obj0 = 0 ;
5851 PyObject * obj1 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self",(char *) "s", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5859 {
5860 arg2 = wxString_in_helper(obj1);
5861 if (arg2 == NULL) SWIG_fail;
5862 temp2 = True;
5863 }
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 Py_INCREF(Py_None); resultobj = Py_None;
5872 {
5873 if (temp2)
5874 delete arg2;
5875 }
5876 return resultobj;
5877 fail:
5878 {
5879 if (temp2)
5880 delete arg2;
5881 }
5882 return NULL;
5883 }
5884
5885
5886 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5887 PyObject *resultobj;
5888 wxListBox *arg1 = (wxListBox *) 0 ;
5889 bool result;
5890 PyObject * obj0 = 0 ;
5891 char *kwnames[] = {
5892 (char *) "self", NULL
5893 };
5894
5895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (bool)((wxListBox const *)arg1)->IsSorted();
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 {
5906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5907 }
5908 return resultobj;
5909 fail:
5910 return NULL;
5911 }
5912
5913
5914 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj;
5916 wxListBox *arg1 = (wxListBox *) 0 ;
5917 int arg2 ;
5918 wxColour *arg3 = 0 ;
5919 wxColour temp3 ;
5920 PyObject * obj0 = 0 ;
5921 PyObject * obj1 = 0 ;
5922 PyObject * obj2 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self",(char *) "item",(char *) "c", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5930 arg2 = (int) SWIG_AsInt(obj1);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 {
5933 arg3 = &temp3;
5934 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5935 }
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5939
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 }
5943 Py_INCREF(Py_None); resultobj = Py_None;
5944 return resultobj;
5945 fail:
5946 return NULL;
5947 }
5948
5949
5950 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5951 PyObject *resultobj;
5952 wxListBox *arg1 = (wxListBox *) 0 ;
5953 int arg2 ;
5954 wxColour *arg3 = 0 ;
5955 wxColour temp3 ;
5956 PyObject * obj0 = 0 ;
5957 PyObject * obj1 = 0 ;
5958 PyObject * obj2 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "self",(char *) "item",(char *) "c", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5966 arg2 = (int) SWIG_AsInt(obj1);
5967 if (PyErr_Occurred()) SWIG_fail;
5968 {
5969 arg3 = &temp3;
5970 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5971 }
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 Py_INCREF(Py_None); resultobj = Py_None;
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj;
5988 wxListBox *arg1 = (wxListBox *) 0 ;
5989 int arg2 ;
5990 wxFont *arg3 = 0 ;
5991 PyObject * obj0 = 0 ;
5992 PyObject * obj1 = 0 ;
5993 PyObject * obj2 = 0 ;
5994 char *kwnames[] = {
5995 (char *) "self",(char *) "item",(char *) "f", NULL
5996 };
5997
5998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6001 arg2 = (int) SWIG_AsInt(obj1);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6004 SWIG_POINTER_EXCEPTION | 0)) == -1)
6005 SWIG_fail;
6006 if (arg3 == NULL) {
6007 PyErr_SetString(PyExc_TypeError,"null reference");
6008 SWIG_fail;
6009 }
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6013
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 Py_INCREF(Py_None); resultobj = Py_None;
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj;
6026 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6027 wxVisualAttributes result;
6028 PyObject * obj0 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "variant", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6034 if (obj0) {
6035 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 {
6046 wxVisualAttributes * resultptr;
6047 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6049 }
6050 return resultobj;
6051 fail:
6052 return NULL;
6053 }
6054
6055
6056 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6057 PyObject *obj;
6058 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6059 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6060 Py_INCREF(obj);
6061 return Py_BuildValue((char *)"");
6062 }
6063 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6064 PyObject *resultobj;
6065 wxWindow *arg1 = (wxWindow *) 0 ;
6066 int arg2 ;
6067 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6068 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6069 wxSize const &arg4_defvalue = wxDefaultSize ;
6070 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6071 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6072 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6073 long arg6 = (long) 0 ;
6074 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6075 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6076 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6077 wxString *arg8 = (wxString *) &arg8_defvalue ;
6078 wxCheckListBox *result;
6079 wxPoint temp3 ;
6080 wxSize temp4 ;
6081 bool temp5 = False ;
6082 bool temp8 = False ;
6083 PyObject * obj0 = 0 ;
6084 PyObject * obj1 = 0 ;
6085 PyObject * obj2 = 0 ;
6086 PyObject * obj3 = 0 ;
6087 PyObject * obj4 = 0 ;
6088 PyObject * obj5 = 0 ;
6089 PyObject * obj6 = 0 ;
6090 PyObject * obj7 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6098 arg2 = (int) SWIG_AsInt(obj1);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 if (obj2) {
6101 {
6102 arg3 = &temp3;
6103 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6104 }
6105 }
6106 if (obj3) {
6107 {
6108 arg4 = &temp4;
6109 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6110 }
6111 }
6112 if (obj4) {
6113 {
6114 if (! PySequence_Check(obj4)) {
6115 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6116 SWIG_fail;
6117 }
6118 arg5 = new wxArrayString;
6119 temp5 = True;
6120 int i, len=PySequence_Length(obj4);
6121 for (i=0; i<len; i++) {
6122 PyObject* item = PySequence_GetItem(obj4, i);
6123 #if wxUSE_UNICODE
6124 PyObject* str = PyObject_Unicode(item);
6125 #else
6126 PyObject* str = PyObject_Str(item);
6127 #endif
6128 if (PyErr_Occurred()) SWIG_fail;
6129 arg5->Add(Py2wxString(str));
6130 Py_DECREF(item);
6131 Py_DECREF(str);
6132 }
6133 }
6134 }
6135 if (obj5) {
6136 arg6 = (long) SWIG_AsLong(obj5);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 if (obj6) {
6140 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1)
6142 SWIG_fail;
6143 if (arg7 == NULL) {
6144 PyErr_SetString(PyExc_TypeError,"null reference");
6145 SWIG_fail;
6146 }
6147 }
6148 if (obj7) {
6149 {
6150 arg8 = wxString_in_helper(obj7);
6151 if (arg8 == NULL) SWIG_fail;
6152 temp8 = True;
6153 }
6154 }
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6163 {
6164 if (temp5) delete arg5;
6165 }
6166 {
6167 if (temp8)
6168 delete arg8;
6169 }
6170 return resultobj;
6171 fail:
6172 {
6173 if (temp5) delete arg5;
6174 }
6175 {
6176 if (temp8)
6177 delete arg8;
6178 }
6179 return NULL;
6180 }
6181
6182
6183 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6184 PyObject *resultobj;
6185 wxCheckListBox *result;
6186 char *kwnames[] = {
6187 NULL
6188 };
6189
6190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 result = (wxCheckListBox *)new wxCheckListBox();
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj;
6207 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6208 wxWindow *arg2 = (wxWindow *) 0 ;
6209 int arg3 ;
6210 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6211 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6212 wxSize const &arg5_defvalue = wxDefaultSize ;
6213 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6214 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6215 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6216 long arg7 = (long) 0 ;
6217 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6218 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6219 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6220 wxString *arg9 = (wxString *) &arg9_defvalue ;
6221 bool result;
6222 wxPoint temp4 ;
6223 wxSize temp5 ;
6224 bool temp6 = False ;
6225 bool temp9 = False ;
6226 PyObject * obj0 = 0 ;
6227 PyObject * obj1 = 0 ;
6228 PyObject * obj2 = 0 ;
6229 PyObject * obj3 = 0 ;
6230 PyObject * obj4 = 0 ;
6231 PyObject * obj5 = 0 ;
6232 PyObject * obj6 = 0 ;
6233 PyObject * obj7 = 0 ;
6234 PyObject * obj8 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6244 arg3 = (int) SWIG_AsInt(obj2);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 if (obj3) {
6247 {
6248 arg4 = &temp4;
6249 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6250 }
6251 }
6252 if (obj4) {
6253 {
6254 arg5 = &temp5;
6255 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6256 }
6257 }
6258 if (obj5) {
6259 {
6260 if (! PySequence_Check(obj5)) {
6261 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6262 SWIG_fail;
6263 }
6264 arg6 = new wxArrayString;
6265 temp6 = True;
6266 int i, len=PySequence_Length(obj5);
6267 for (i=0; i<len; i++) {
6268 PyObject* item = PySequence_GetItem(obj5, i);
6269 #if wxUSE_UNICODE
6270 PyObject* str = PyObject_Unicode(item);
6271 #else
6272 PyObject* str = PyObject_Str(item);
6273 #endif
6274 if (PyErr_Occurred()) SWIG_fail;
6275 arg6->Add(Py2wxString(str));
6276 Py_DECREF(item);
6277 Py_DECREF(str);
6278 }
6279 }
6280 }
6281 if (obj6) {
6282 arg7 = (long) SWIG_AsLong(obj6);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 if (obj7) {
6286 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6287 SWIG_POINTER_EXCEPTION | 0)) == -1)
6288 SWIG_fail;
6289 if (arg8 == NULL) {
6290 PyErr_SetString(PyExc_TypeError,"null reference");
6291 SWIG_fail;
6292 }
6293 }
6294 if (obj8) {
6295 {
6296 arg9 = wxString_in_helper(obj8);
6297 if (arg9 == NULL) SWIG_fail;
6298 temp9 = True;
6299 }
6300 }
6301 {
6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
6303 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6304
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 {
6309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6310 }
6311 {
6312 if (temp6) delete arg6;
6313 }
6314 {
6315 if (temp9)
6316 delete arg9;
6317 }
6318 return resultobj;
6319 fail:
6320 {
6321 if (temp6) delete arg6;
6322 }
6323 {
6324 if (temp9)
6325 delete arg9;
6326 }
6327 return NULL;
6328 }
6329
6330
6331 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6332 PyObject *resultobj;
6333 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6334 int arg2 ;
6335 bool result;
6336 PyObject * obj0 = 0 ;
6337 PyObject * obj1 = 0 ;
6338 char *kwnames[] = {
6339 (char *) "self",(char *) "index", NULL
6340 };
6341
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6345 arg2 = (int) SWIG_AsInt(obj1);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 {
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 result = (bool)(arg1)->IsChecked(arg2);
6350
6351 wxPyEndAllowThreads(__tstate);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 }
6354 {
6355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6356 }
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6366 int arg2 ;
6367 int arg3 = (int) True ;
6368 PyObject * obj0 = 0 ;
6369 PyObject * obj1 = 0 ;
6370 PyObject * obj2 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "self",(char *) "index",(char *) "check", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6378 arg2 = (int) SWIG_AsInt(obj1);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 if (obj2) {
6381 arg3 = (int) SWIG_AsInt(obj2);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 (arg1)->Check(arg2,arg3);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 Py_INCREF(Py_None); resultobj = Py_None;
6392 return resultobj;
6393 fail:
6394 return NULL;
6395 }
6396
6397
6398 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6401 int result;
6402 PyObject * obj0 = 0 ;
6403 char *kwnames[] = {
6404 (char *) "self", NULL
6405 };
6406
6407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 result = (int)(arg1)->GetItemHeight();
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 resultobj = SWIG_FromInt((int)result);
6418 return resultobj;
6419 fail:
6420 return NULL;
6421 }
6422
6423
6424 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6425 PyObject *resultobj;
6426 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6427 wxPoint *arg2 = 0 ;
6428 int result;
6429 wxPoint temp2 ;
6430 PyObject * obj0 = 0 ;
6431 PyObject * obj1 = 0 ;
6432 char *kwnames[] = {
6433 (char *) "self",(char *) "pt", NULL
6434 };
6435
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6439 {
6440 arg2 = &temp2;
6441 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6442 }
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 resultobj = SWIG_FromInt((int)result);
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6460 int arg2 ;
6461 int arg3 ;
6462 int result;
6463 PyObject * obj0 = 0 ;
6464 PyObject * obj1 = 0 ;
6465 PyObject * obj2 = 0 ;
6466 char *kwnames[] = {
6467 (char *) "self",(char *) "x",(char *) "y", NULL
6468 };
6469
6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6473 arg2 = (int) SWIG_AsInt(obj1);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 arg3 = (int) SWIG_AsInt(obj2);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 {
6478 PyThreadState* __tstate = wxPyBeginAllowThreads();
6479 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6480
6481 wxPyEndAllowThreads(__tstate);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 }
6484 resultobj = SWIG_FromInt((int)result);
6485 return resultobj;
6486 fail:
6487 return NULL;
6488 }
6489
6490
6491 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6492 PyObject *obj;
6493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6494 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6495 Py_INCREF(obj);
6496 return Py_BuildValue((char *)"");
6497 }
6498 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6499 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6500 return 1;
6501 }
6502
6503
6504 static PyObject *_wrap_TextCtrlNameStr_get() {
6505 PyObject *pyobj;
6506
6507 {
6508 #if wxUSE_UNICODE
6509 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6510 #else
6511 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6512 #endif
6513 }
6514 return pyobj;
6515 }
6516
6517
6518 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6519 PyObject *resultobj;
6520 wxTextAttr *result;
6521
6522 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (wxTextAttr *)new wxTextAttr();
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6531 return resultobj;
6532 fail:
6533 return NULL;
6534 }
6535
6536
6537 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6538 PyObject *resultobj;
6539 wxColour *arg1 = 0 ;
6540 wxColour const &arg2_defvalue = wxNullColour ;
6541 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6542 wxFont const &arg3_defvalue = wxNullFont ;
6543 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6544 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6545 wxTextAttr *result;
6546 wxColour temp1 ;
6547 wxColour temp2 ;
6548 PyObject * obj0 = 0 ;
6549 PyObject * obj1 = 0 ;
6550 PyObject * obj2 = 0 ;
6551 PyObject * obj3 = 0 ;
6552
6553 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6554 {
6555 arg1 = &temp1;
6556 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6557 }
6558 if (obj1) {
6559 {
6560 arg2 = &temp2;
6561 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6562 }
6563 }
6564 if (obj2) {
6565 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6566 SWIG_POINTER_EXCEPTION | 0)) == -1)
6567 SWIG_fail;
6568 if (arg3 == NULL) {
6569 PyErr_SetString(PyExc_TypeError,"null reference");
6570 SWIG_fail;
6571 }
6572 }
6573 if (obj3) {
6574 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6592 int argc;
6593 PyObject *argv[5];
6594 int ii;
6595
6596 argc = PyObject_Length(args);
6597 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6598 argv[ii] = PyTuple_GetItem(args,ii);
6599 }
6600 if (argc == 0) {
6601 return _wrap_new_TextAttr__SWIG_0(self,args);
6602 }
6603 if ((argc >= 1) && (argc <= 4)) {
6604 int _v;
6605 {
6606 _v = wxColour_typecheck(argv[0]);
6607 }
6608 if (_v) {
6609 if (argc <= 1) {
6610 return _wrap_new_TextAttr__SWIG_1(self,args);
6611 }
6612 {
6613 _v = wxColour_typecheck(argv[1]);
6614 }
6615 if (_v) {
6616 if (argc <= 2) {
6617 return _wrap_new_TextAttr__SWIG_1(self,args);
6618 }
6619 {
6620 void *ptr;
6621 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6622 _v = 0;
6623 PyErr_Clear();
6624 } else {
6625 _v = 1;
6626 }
6627 }
6628 if (_v) {
6629 if (argc <= 3) {
6630 return _wrap_new_TextAttr__SWIG_1(self,args);
6631 }
6632 _v = SWIG_CheckInt(argv[3]);
6633 if (_v) {
6634 return _wrap_new_TextAttr__SWIG_1(self,args);
6635 }
6636 }
6637 }
6638 }
6639 }
6640
6641 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6642 return NULL;
6643 }
6644
6645
6646 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6647 PyObject *resultobj;
6648 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6649 PyObject * obj0 = 0 ;
6650 char *kwnames[] = {
6651 (char *) "self", NULL
6652 };
6653
6654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 delete arg1;
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 Py_INCREF(Py_None); resultobj = Py_None;
6665 return resultobj;
6666 fail:
6667 return NULL;
6668 }
6669
6670
6671 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6672 PyObject *resultobj;
6673 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6674 PyObject * obj0 = 0 ;
6675 char *kwnames[] = {
6676 (char *) "self", NULL
6677 };
6678
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6682 {
6683 PyThreadState* __tstate = wxPyBeginAllowThreads();
6684 (arg1)->Init();
6685
6686 wxPyEndAllowThreads(__tstate);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 }
6689 Py_INCREF(Py_None); resultobj = Py_None;
6690 return resultobj;
6691 fail:
6692 return NULL;
6693 }
6694
6695
6696 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6697 PyObject *resultobj;
6698 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6699 wxColour *arg2 = 0 ;
6700 wxColour temp2 ;
6701 PyObject * obj0 = 0 ;
6702 PyObject * obj1 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "self",(char *) "colText", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6710 {
6711 arg2 = &temp2;
6712 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6713 }
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 (arg1)->SetTextColour((wxColour const &)*arg2);
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 Py_INCREF(Py_None); resultobj = Py_None;
6722 return resultobj;
6723 fail:
6724 return NULL;
6725 }
6726
6727
6728 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6729 PyObject *resultobj;
6730 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6731 wxColour *arg2 = 0 ;
6732 wxColour temp2 ;
6733 PyObject * obj0 = 0 ;
6734 PyObject * obj1 = 0 ;
6735 char *kwnames[] = {
6736 (char *) "self",(char *) "colBack", NULL
6737 };
6738
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6742 {
6743 arg2 = &temp2;
6744 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6745 }
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 Py_INCREF(Py_None); resultobj = Py_None;
6754 return resultobj;
6755 fail:
6756 return NULL;
6757 }
6758
6759
6760 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6761 PyObject *resultobj;
6762 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6763 wxFont *arg2 = 0 ;
6764 long arg3 = (long) wxTEXT_ATTR_FONT ;
6765 PyObject * obj0 = 0 ;
6766 PyObject * obj1 = 0 ;
6767 PyObject * obj2 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self",(char *) "font",(char *) "flags", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6775 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6776 SWIG_POINTER_EXCEPTION | 0)) == -1)
6777 SWIG_fail;
6778 if (arg2 == NULL) {
6779 PyErr_SetString(PyExc_TypeError,"null reference");
6780 SWIG_fail;
6781 }
6782 if (obj2) {
6783 arg3 = (long) SWIG_AsLong(obj2);
6784 if (PyErr_Occurred()) SWIG_fail;
6785 }
6786 {
6787 PyThreadState* __tstate = wxPyBeginAllowThreads();
6788 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6789
6790 wxPyEndAllowThreads(__tstate);
6791 if (PyErr_Occurred()) SWIG_fail;
6792 }
6793 Py_INCREF(Py_None); resultobj = Py_None;
6794 return resultobj;
6795 fail:
6796 return NULL;
6797 }
6798
6799
6800 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6801 PyObject *resultobj;
6802 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6803 int arg2 ;
6804 PyObject * obj0 = 0 ;
6805 PyObject * obj1 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self",(char *) "alignment", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6813 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 Py_INCREF(Py_None); resultobj = Py_None;
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6832 wxArrayInt *arg2 = 0 ;
6833 bool temp2 = False ;
6834 PyObject * obj0 = 0 ;
6835 PyObject * obj1 = 0 ;
6836 char *kwnames[] = {
6837 (char *) "self",(char *) "tabs", NULL
6838 };
6839
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6843 {
6844 if (! PySequence_Check(obj1)) {
6845 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6846 SWIG_fail;
6847 }
6848 arg2 = new wxArrayInt;
6849 temp2 = True;
6850 int i, len=PySequence_Length(obj1);
6851 for (i=0; i<len; i++) {
6852 PyObject* item = PySequence_GetItem(obj1, i);
6853 PyObject* number = PyNumber_Int(item);
6854 arg2->Add(PyInt_AS_LONG(number));
6855 Py_DECREF(item);
6856 Py_DECREF(number);
6857 }
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 Py_INCREF(Py_None); resultobj = Py_None;
6867 {
6868 if (temp2) delete arg2;
6869 }
6870 return resultobj;
6871 fail:
6872 {
6873 if (temp2) delete arg2;
6874 }
6875 return NULL;
6876 }
6877
6878
6879 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj;
6881 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6882 int arg2 ;
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 char *kwnames[] = {
6886 (char *) "self",(char *) "indent", NULL
6887 };
6888
6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6892 arg2 = (int) SWIG_AsInt(obj1);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 {
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 (arg1)->SetLeftIndent(arg2);
6897
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 Py_INCREF(Py_None); resultobj = Py_None;
6902 return resultobj;
6903 fail:
6904 return NULL;
6905 }
6906
6907
6908 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6911 int arg2 ;
6912 PyObject * obj0 = 0 ;
6913 PyObject * obj1 = 0 ;
6914 char *kwnames[] = {
6915 (char *) "self",(char *) "indent", NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6921 arg2 = (int) SWIG_AsInt(obj1);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 {
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 (arg1)->SetRightIndent(arg2);
6926
6927 wxPyEndAllowThreads(__tstate);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
6930 Py_INCREF(Py_None); resultobj = Py_None;
6931 return resultobj;
6932 fail:
6933 return NULL;
6934 }
6935
6936
6937 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6938 PyObject *resultobj;
6939 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6940 long arg2 ;
6941 PyObject * obj0 = 0 ;
6942 PyObject * obj1 = 0 ;
6943 char *kwnames[] = {
6944 (char *) "self",(char *) "flags", NULL
6945 };
6946
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6950 arg2 = (long) SWIG_AsLong(obj1);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 {
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 (arg1)->SetFlags(arg2);
6955
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 Py_INCREF(Py_None); resultobj = Py_None;
6960 return resultobj;
6961 fail:
6962 return NULL;
6963 }
6964
6965
6966 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6967 PyObject *resultobj;
6968 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6969 bool result;
6970 PyObject * obj0 = 0 ;
6971 char *kwnames[] = {
6972 (char *) "self", NULL
6973 };
6974
6975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6978 {
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6981
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
6985 {
6986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6987 }
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6997 bool result;
6998 PyObject * obj0 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 {
7014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7015 }
7016 return resultobj;
7017 fail:
7018 return NULL;
7019 }
7020
7021
7022 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj;
7024 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7025 bool result;
7026 PyObject * obj0 = 0 ;
7027 char *kwnames[] = {
7028 (char *) "self", NULL
7029 };
7030
7031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 {
7042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7043 }
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj;
7052 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7053 bool result;
7054 PyObject * obj0 = 0 ;
7055 char *kwnames[] = {
7056 (char *) "self", NULL
7057 };
7058
7059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 {
7070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7071 }
7072 return resultobj;
7073 fail:
7074 return NULL;
7075 }
7076
7077
7078 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7081 bool result;
7082 PyObject * obj0 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "self", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 {
7098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7099 }
7100 return resultobj;
7101 fail:
7102 return NULL;
7103 }
7104
7105
7106 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7107 PyObject *resultobj;
7108 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7109 bool result;
7110 PyObject * obj0 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7121
7122 wxPyEndAllowThreads(__tstate);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 }
7125 {
7126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7127 }
7128 return resultobj;
7129 fail:
7130 return NULL;
7131 }
7132
7133
7134 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj;
7136 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7137 bool result;
7138 PyObject * obj0 = 0 ;
7139 char *kwnames[] = {
7140 (char *) "self", NULL
7141 };
7142
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 {
7154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7155 }
7156 return resultobj;
7157 fail:
7158 return NULL;
7159 }
7160
7161
7162 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7165 long arg2 ;
7166 bool result;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj1 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self",(char *) "flag", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7176 arg2 = (long) SWIG_AsLong(obj1);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 {
7186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7187 }
7188 return resultobj;
7189 fail:
7190 return NULL;
7191 }
7192
7193
7194 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj;
7196 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7197 wxColour *result;
7198 PyObject * obj0 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",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 {
7209 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7210 result = (wxColour *) &_result_ref;
7211 }
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7226 wxColour *result;
7227 PyObject * obj0 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 {
7238 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7239 result = (wxColour *) &_result_ref;
7240 }
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7246 return resultobj;
7247 fail:
7248 return NULL;
7249 }
7250
7251
7252 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7255 wxFont *result;
7256 PyObject * obj0 = 0 ;
7257 char *kwnames[] = {
7258 (char *) "self", NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 {
7267 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7268 result = (wxFont *) &_result_ref;
7269 }
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 {
7275 wxFont* resultptr = new wxFont(*result);
7276 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7277 }
7278 return resultobj;
7279 fail:
7280 return NULL;
7281 }
7282
7283
7284 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7285 PyObject *resultobj;
7286 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7287 int result;
7288 PyObject * obj0 = 0 ;
7289 char *kwnames[] = {
7290 (char *) "self", NULL
7291 };
7292
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 resultobj = SWIG_FromInt((int)result);
7304 return resultobj;
7305 fail:
7306 return NULL;
7307 }
7308
7309
7310 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7311 PyObject *resultobj;
7312 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7313 wxArrayInt *result;
7314 PyObject * obj0 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "self", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 {
7325 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7326 result = (wxArrayInt *) &_result_ref;
7327 }
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 {
7333 resultobj = PyList_New(0);
7334 size_t idx;
7335 for (idx = 0; idx < result->GetCount(); idx += 1) {
7336 PyObject* val = PyInt_FromLong( result->Item(idx) );
7337 PyList_Append(resultobj, val);
7338 Py_DECREF(val);
7339 }
7340 }
7341 return resultobj;
7342 fail:
7343 return NULL;
7344 }
7345
7346
7347 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7350 long result;
7351 PyObject * obj0 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 resultobj = SWIG_FromLong((long)result);
7367 return resultobj;
7368 fail:
7369 return NULL;
7370 }
7371
7372
7373 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7376 long result;
7377 PyObject * obj0 = 0 ;
7378 char *kwnames[] = {
7379 (char *) "self", NULL
7380 };
7381
7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7385 {
7386 PyThreadState* __tstate = wxPyBeginAllowThreads();
7387 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7388
7389 wxPyEndAllowThreads(__tstate);
7390 if (PyErr_Occurred()) SWIG_fail;
7391 }
7392 resultobj = SWIG_FromLong((long)result);
7393 return resultobj;
7394 fail:
7395 return NULL;
7396 }
7397
7398
7399 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7400 PyObject *resultobj;
7401 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7402 long result;
7403 PyObject * obj0 = 0 ;
7404 char *kwnames[] = {
7405 (char *) "self", NULL
7406 };
7407
7408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
7418 resultobj = SWIG_FromLong((long)result);
7419 return resultobj;
7420 fail:
7421 return NULL;
7422 }
7423
7424
7425 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7428 bool result;
7429 PyObject * obj0 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "self", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7437 {
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7440
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 {
7445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7446 }
7447 return resultobj;
7448 fail:
7449 return NULL;
7450 }
7451
7452
7453 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 wxTextAttr *arg1 = 0 ;
7456 wxTextAttr *arg2 = 0 ;
7457 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7458 wxTextAttr result;
7459 PyObject * obj0 = 0 ;
7460 PyObject * obj1 = 0 ;
7461 PyObject * obj2 = 0 ;
7462 char *kwnames[] = {
7463 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7464 };
7465
7466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7468 SWIG_POINTER_EXCEPTION | 0)) == -1)
7469 SWIG_fail;
7470 if (arg1 == NULL) {
7471 PyErr_SetString(PyExc_TypeError,"null reference");
7472 SWIG_fail;
7473 }
7474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7475 SWIG_POINTER_EXCEPTION | 0)) == -1)
7476 SWIG_fail;
7477 if (arg2 == NULL) {
7478 PyErr_SetString(PyExc_TypeError,"null reference");
7479 SWIG_fail;
7480 }
7481 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 {
7491 wxTextAttr * resultptr;
7492 resultptr = new wxTextAttr((wxTextAttr &) result);
7493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7494 }
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7502 PyObject *obj;
7503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7504 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7505 Py_INCREF(obj);
7506 return Py_BuildValue((char *)"");
7507 }
7508 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj;
7510 wxWindow *arg1 = (wxWindow *) 0 ;
7511 int arg2 ;
7512 wxString const &arg3_defvalue = wxPyEmptyString ;
7513 wxString *arg3 = (wxString *) &arg3_defvalue ;
7514 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7515 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7516 wxSize const &arg5_defvalue = wxDefaultSize ;
7517 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7518 long arg6 = (long) 0 ;
7519 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7520 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7521 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7522 wxString *arg8 = (wxString *) &arg8_defvalue ;
7523 wxTextCtrl *result;
7524 bool temp3 = False ;
7525 wxPoint temp4 ;
7526 wxSize temp5 ;
7527 bool temp8 = False ;
7528 PyObject * obj0 = 0 ;
7529 PyObject * obj1 = 0 ;
7530 PyObject * obj2 = 0 ;
7531 PyObject * obj3 = 0 ;
7532 PyObject * obj4 = 0 ;
7533 PyObject * obj5 = 0 ;
7534 PyObject * obj6 = 0 ;
7535 PyObject * obj7 = 0 ;
7536 char *kwnames[] = {
7537 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7538 };
7539
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7543 arg2 = (int) SWIG_AsInt(obj1);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 if (obj2) {
7546 {
7547 arg3 = wxString_in_helper(obj2);
7548 if (arg3 == NULL) SWIG_fail;
7549 temp3 = True;
7550 }
7551 }
7552 if (obj3) {
7553 {
7554 arg4 = &temp4;
7555 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7556 }
7557 }
7558 if (obj4) {
7559 {
7560 arg5 = &temp5;
7561 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7562 }
7563 }
7564 if (obj5) {
7565 arg6 = (long) SWIG_AsLong(obj5);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 if (obj6) {
7569 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7570 SWIG_POINTER_EXCEPTION | 0)) == -1)
7571 SWIG_fail;
7572 if (arg7 == NULL) {
7573 PyErr_SetString(PyExc_TypeError,"null reference");
7574 SWIG_fail;
7575 }
7576 }
7577 if (obj7) {
7578 {
7579 arg8 = wxString_in_helper(obj7);
7580 if (arg8 == NULL) SWIG_fail;
7581 temp8 = True;
7582 }
7583 }
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 {
7592 resultobj = wxPyMake_wxObject(result);
7593 }
7594 {
7595 if (temp3)
7596 delete arg3;
7597 }
7598 {
7599 if (temp8)
7600 delete arg8;
7601 }
7602 return resultobj;
7603 fail:
7604 {
7605 if (temp3)
7606 delete arg3;
7607 }
7608 {
7609 if (temp8)
7610 delete arg8;
7611 }
7612 return NULL;
7613 }
7614
7615
7616 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7617 PyObject *resultobj;
7618 wxTextCtrl *result;
7619 char *kwnames[] = {
7620 NULL
7621 };
7622
7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 result = (wxTextCtrl *)new wxTextCtrl();
7627
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 {
7632 resultobj = wxPyMake_wxObject(result);
7633 }
7634 return resultobj;
7635 fail:
7636 return NULL;
7637 }
7638
7639
7640 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj;
7642 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7643 wxWindow *arg2 = (wxWindow *) 0 ;
7644 int arg3 ;
7645 wxString const &arg4_defvalue = wxPyEmptyString ;
7646 wxString *arg4 = (wxString *) &arg4_defvalue ;
7647 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7648 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7649 wxSize const &arg6_defvalue = wxDefaultSize ;
7650 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7651 long arg7 = (long) 0 ;
7652 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7653 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7654 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7655 wxString *arg9 = (wxString *) &arg9_defvalue ;
7656 bool result;
7657 bool temp4 = False ;
7658 wxPoint temp5 ;
7659 wxSize temp6 ;
7660 bool temp9 = False ;
7661 PyObject * obj0 = 0 ;
7662 PyObject * obj1 = 0 ;
7663 PyObject * obj2 = 0 ;
7664 PyObject * obj3 = 0 ;
7665 PyObject * obj4 = 0 ;
7666 PyObject * obj5 = 0 ;
7667 PyObject * obj6 = 0 ;
7668 PyObject * obj7 = 0 ;
7669 PyObject * obj8 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7679 arg3 = (int) SWIG_AsInt(obj2);
7680 if (PyErr_Occurred()) SWIG_fail;
7681 if (obj3) {
7682 {
7683 arg4 = wxString_in_helper(obj3);
7684 if (arg4 == NULL) SWIG_fail;
7685 temp4 = True;
7686 }
7687 }
7688 if (obj4) {
7689 {
7690 arg5 = &temp5;
7691 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7692 }
7693 }
7694 if (obj5) {
7695 {
7696 arg6 = &temp6;
7697 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7698 }
7699 }
7700 if (obj6) {
7701 arg7 = (long) SWIG_AsLong(obj6);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 if (obj7) {
7705 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7706 SWIG_POINTER_EXCEPTION | 0)) == -1)
7707 SWIG_fail;
7708 if (arg8 == NULL) {
7709 PyErr_SetString(PyExc_TypeError,"null reference");
7710 SWIG_fail;
7711 }
7712 }
7713 if (obj8) {
7714 {
7715 arg9 = wxString_in_helper(obj8);
7716 if (arg9 == NULL) SWIG_fail;
7717 temp9 = True;
7718 }
7719 }
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 {
7728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7729 }
7730 {
7731 if (temp4)
7732 delete arg4;
7733 }
7734 {
7735 if (temp9)
7736 delete arg9;
7737 }
7738 return resultobj;
7739 fail:
7740 {
7741 if (temp4)
7742 delete arg4;
7743 }
7744 {
7745 if (temp9)
7746 delete arg9;
7747 }
7748 return NULL;
7749 }
7750
7751
7752 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7753 PyObject *resultobj;
7754 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7755 wxString result;
7756 PyObject * obj0 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "self", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 result = ((wxTextCtrl const *)arg1)->GetValue();
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) SWIG_fail;
7770 }
7771 {
7772 #if wxUSE_UNICODE
7773 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7774 #else
7775 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7776 #endif
7777 }
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7787 wxString *arg2 = 0 ;
7788 bool temp2 = False ;
7789 PyObject * obj0 = 0 ;
7790 PyObject * obj1 = 0 ;
7791 char *kwnames[] = {
7792 (char *) "self",(char *) "value", NULL
7793 };
7794
7795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7798 {
7799 arg2 = wxString_in_helper(obj1);
7800 if (arg2 == NULL) SWIG_fail;
7801 temp2 = True;
7802 }
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 (arg1)->SetValue((wxString const &)*arg2);
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 Py_INCREF(Py_None); resultobj = Py_None;
7811 {
7812 if (temp2)
7813 delete arg2;
7814 }
7815 return resultobj;
7816 fail:
7817 {
7818 if (temp2)
7819 delete arg2;
7820 }
7821 return NULL;
7822 }
7823
7824
7825 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7826 PyObject *resultobj;
7827 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7828 long arg2 ;
7829 long arg3 ;
7830 wxString result;
7831 PyObject * obj0 = 0 ;
7832 PyObject * obj1 = 0 ;
7833 PyObject * obj2 = 0 ;
7834 char *kwnames[] = {
7835 (char *) "self",(char *) "from",(char *) "to", NULL
7836 };
7837
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7841 arg2 = (long) SWIG_AsLong(obj1);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 arg3 = (long) SWIG_AsLong(obj2);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 {
7846 PyThreadState* __tstate = wxPyBeginAllowThreads();
7847 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7848
7849 wxPyEndAllowThreads(__tstate);
7850 if (PyErr_Occurred()) SWIG_fail;
7851 }
7852 {
7853 #if wxUSE_UNICODE
7854 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7855 #else
7856 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7857 #endif
7858 }
7859 return resultobj;
7860 fail:
7861 return NULL;
7862 }
7863
7864
7865 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj;
7867 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7868 long arg2 ;
7869 int result;
7870 PyObject * obj0 = 0 ;
7871 PyObject * obj1 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self",(char *) "lineNo", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7879 arg2 = (long) SWIG_AsLong(obj1);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 resultobj = SWIG_FromInt((int)result);
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj;
7897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7898 long arg2 ;
7899 wxString result;
7900 PyObject * obj0 = 0 ;
7901 PyObject * obj1 = 0 ;
7902 char *kwnames[] = {
7903 (char *) "self",(char *) "lineNo", NULL
7904 };
7905
7906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7909 arg2 = (long) SWIG_AsLong(obj1);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 {
7919 #if wxUSE_UNICODE
7920 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7921 #else
7922 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7923 #endif
7924 }
7925 return resultobj;
7926 fail:
7927 return NULL;
7928 }
7929
7930
7931 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7934 int result;
7935 PyObject * obj0 = 0 ;
7936 char *kwnames[] = {
7937 (char *) "self", NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7943 {
7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
7945 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7946
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 resultobj = SWIG_FromInt((int)result);
7951 return resultobj;
7952 fail:
7953 return NULL;
7954 }
7955
7956
7957 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7958 PyObject *resultobj;
7959 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7960 bool result;
7961 PyObject * obj0 = 0 ;
7962 char *kwnames[] = {
7963 (char *) "self", NULL
7964 };
7965
7966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 {
7977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7978 }
7979 return resultobj;
7980 fail:
7981 return NULL;
7982 }
7983
7984
7985 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7986 PyObject *resultobj;
7987 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7988 bool result;
7989 PyObject * obj0 = 0 ;
7990 char *kwnames[] = {
7991 (char *) "self", NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 {
8005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8006 }
8007 return resultobj;
8008 fail:
8009 return NULL;
8010 }
8011
8012
8013 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8016 bool result;
8017 PyObject * obj0 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 {
8033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8034 }
8035 return resultobj;
8036 fail:
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj;
8043 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8044 bool result;
8045 PyObject * obj0 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8053 {
8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
8055 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8056
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 {
8061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8062 }
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8072 long *arg2 = (long *) 0 ;
8073 long *arg3 = (long *) 0 ;
8074 long temp2 ;
8075 long temp3 ;
8076 PyObject * obj0 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "self", NULL
8079 };
8080
8081 arg2 = &temp2;
8082 arg3 = &temp3;
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 Py_INCREF(Py_None); resultobj = Py_None;
8094 {
8095 PyObject *o = PyInt_FromLong((long) (*arg2));
8096 resultobj = t_output_helper(resultobj,o);
8097 }
8098 {
8099 PyObject *o = PyInt_FromLong((long) (*arg3));
8100 resultobj = t_output_helper(resultobj,o);
8101 }
8102 return resultobj;
8103 fail:
8104 return NULL;
8105 }
8106
8107
8108 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj;
8110 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8111 wxString result;
8112 PyObject * obj0 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8123
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 {
8128 #if wxUSE_UNICODE
8129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8130 #else
8131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8132 #endif
8133 }
8134 return resultobj;
8135 fail:
8136 return NULL;
8137 }
8138
8139
8140 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8141 PyObject *resultobj;
8142 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8143 PyObject * obj0 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 (arg1)->Clear();
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
8158 Py_INCREF(Py_None); resultobj = Py_None;
8159 return resultobj;
8160 fail:
8161 return NULL;
8162 }
8163
8164
8165 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8166 PyObject *resultobj;
8167 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8168 long arg2 ;
8169 long arg3 ;
8170 wxString *arg4 = 0 ;
8171 bool temp4 = False ;
8172 PyObject * obj0 = 0 ;
8173 PyObject * obj1 = 0 ;
8174 PyObject * obj2 = 0 ;
8175 PyObject * obj3 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8183 arg2 = (long) SWIG_AsLong(obj1);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 arg3 = (long) SWIG_AsLong(obj2);
8186 if (PyErr_Occurred()) SWIG_fail;
8187 {
8188 arg4 = wxString_in_helper(obj3);
8189 if (arg4 == NULL) SWIG_fail;
8190 temp4 = True;
8191 }
8192 {
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8195
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 Py_INCREF(Py_None); resultobj = Py_None;
8200 {
8201 if (temp4)
8202 delete arg4;
8203 }
8204 return resultobj;
8205 fail:
8206 {
8207 if (temp4)
8208 delete arg4;
8209 }
8210 return NULL;
8211 }
8212
8213
8214 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8215 PyObject *resultobj;
8216 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8217 long arg2 ;
8218 long arg3 ;
8219 PyObject * obj0 = 0 ;
8220 PyObject * obj1 = 0 ;
8221 PyObject * obj2 = 0 ;
8222 char *kwnames[] = {
8223 (char *) "self",(char *) "from",(char *) "to", NULL
8224 };
8225
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8229 arg2 = (long) SWIG_AsLong(obj1);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 arg3 = (long) SWIG_AsLong(obj2);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 {
8234 PyThreadState* __tstate = wxPyBeginAllowThreads();
8235 (arg1)->Remove(arg2,arg3);
8236
8237 wxPyEndAllowThreads(__tstate);
8238 if (PyErr_Occurred()) SWIG_fail;
8239 }
8240 Py_INCREF(Py_None); resultobj = Py_None;
8241 return resultobj;
8242 fail:
8243 return NULL;
8244 }
8245
8246
8247 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8248 PyObject *resultobj;
8249 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8250 wxString *arg2 = 0 ;
8251 bool result;
8252 bool temp2 = False ;
8253 PyObject * obj0 = 0 ;
8254 PyObject * obj1 = 0 ;
8255 char *kwnames[] = {
8256 (char *) "self",(char *) "file", NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8262 {
8263 arg2 = wxString_in_helper(obj1);
8264 if (arg2 == NULL) SWIG_fail;
8265 temp2 = True;
8266 }
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8270
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 {
8275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8276 }
8277 {
8278 if (temp2)
8279 delete arg2;
8280 }
8281 return resultobj;
8282 fail:
8283 {
8284 if (temp2)
8285 delete arg2;
8286 }
8287 return NULL;
8288 }
8289
8290
8291 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8292 PyObject *resultobj;
8293 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8294 wxString const &arg2_defvalue = wxPyEmptyString ;
8295 wxString *arg2 = (wxString *) &arg2_defvalue ;
8296 bool result;
8297 bool temp2 = False ;
8298 PyObject * obj0 = 0 ;
8299 PyObject * obj1 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "self",(char *) "file", NULL
8302 };
8303
8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8307 if (obj1) {
8308 {
8309 arg2 = wxString_in_helper(obj1);
8310 if (arg2 == NULL) SWIG_fail;
8311 temp2 = True;
8312 }
8313 }
8314 {
8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
8316 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8317
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 {
8322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8323 }
8324 {
8325 if (temp2)
8326 delete arg2;
8327 }
8328 return resultobj;
8329 fail:
8330 {
8331 if (temp2)
8332 delete arg2;
8333 }
8334 return NULL;
8335 }
8336
8337
8338 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8339 PyObject *resultobj;
8340 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8341 PyObject * obj0 = 0 ;
8342 char *kwnames[] = {
8343 (char *) "self", NULL
8344 };
8345
8346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 (arg1)->MarkDirty();
8352
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 Py_INCREF(Py_None); resultobj = Py_None;
8357 return resultobj;
8358 fail:
8359 return NULL;
8360 }
8361
8362
8363 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8364 PyObject *resultobj;
8365 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8366 PyObject * obj0 = 0 ;
8367 char *kwnames[] = {
8368 (char *) "self", NULL
8369 };
8370
8371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8374 {
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 (arg1)->DiscardEdits();
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
8381 Py_INCREF(Py_None); resultobj = Py_None;
8382 return resultobj;
8383 fail:
8384 return NULL;
8385 }
8386
8387
8388 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8391 unsigned long arg2 ;
8392 PyObject * obj0 = 0 ;
8393 PyObject * obj1 = 0 ;
8394 char *kwnames[] = {
8395 (char *) "self",(char *) "len", NULL
8396 };
8397
8398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8401 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 (arg1)->SetMaxLength(arg2);
8406
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 Py_INCREF(Py_None); resultobj = Py_None;
8411 return resultobj;
8412 fail:
8413 return NULL;
8414 }
8415
8416
8417 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8420 wxString *arg2 = 0 ;
8421 bool temp2 = False ;
8422 PyObject * obj0 = 0 ;
8423 PyObject * obj1 = 0 ;
8424 char *kwnames[] = {
8425 (char *) "self",(char *) "text", NULL
8426 };
8427
8428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8431 {
8432 arg2 = wxString_in_helper(obj1);
8433 if (arg2 == NULL) SWIG_fail;
8434 temp2 = True;
8435 }
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 (arg1)->WriteText((wxString const &)*arg2);
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 Py_INCREF(Py_None); resultobj = Py_None;
8444 {
8445 if (temp2)
8446 delete arg2;
8447 }
8448 return resultobj;
8449 fail:
8450 {
8451 if (temp2)
8452 delete arg2;
8453 }
8454 return NULL;
8455 }
8456
8457
8458 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj;
8460 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8461 wxString *arg2 = 0 ;
8462 bool temp2 = False ;
8463 PyObject * obj0 = 0 ;
8464 PyObject * obj1 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self",(char *) "text", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8472 {
8473 arg2 = wxString_in_helper(obj1);
8474 if (arg2 == NULL) SWIG_fail;
8475 temp2 = True;
8476 }
8477 {
8478 PyThreadState* __tstate = wxPyBeginAllowThreads();
8479 (arg1)->AppendText((wxString const &)*arg2);
8480
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 Py_INCREF(Py_None); resultobj = Py_None;
8485 {
8486 if (temp2)
8487 delete arg2;
8488 }
8489 return resultobj;
8490 fail:
8491 {
8492 if (temp2)
8493 delete arg2;
8494 }
8495 return NULL;
8496 }
8497
8498
8499 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8500 PyObject *resultobj;
8501 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8502 wxKeyEvent *arg2 = 0 ;
8503 bool result;
8504 PyObject * obj0 = 0 ;
8505 PyObject * obj1 = 0 ;
8506 char *kwnames[] = {
8507 (char *) "self",(char *) "event", NULL
8508 };
8509
8510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8513 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8514 SWIG_POINTER_EXCEPTION | 0)) == -1)
8515 SWIG_fail;
8516 if (arg2 == NULL) {
8517 PyErr_SetString(PyExc_TypeError,"null reference");
8518 SWIG_fail;
8519 }
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 {
8528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8529 }
8530 return resultobj;
8531 fail:
8532 return NULL;
8533 }
8534
8535
8536 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8539 long arg2 ;
8540 long arg3 ;
8541 wxTextAttr *arg4 = 0 ;
8542 bool result;
8543 PyObject * obj0 = 0 ;
8544 PyObject * obj1 = 0 ;
8545 PyObject * obj2 = 0 ;
8546 PyObject * obj3 = 0 ;
8547 char *kwnames[] = {
8548 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8549 };
8550
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8554 arg2 = (long) SWIG_AsLong(obj1);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 arg3 = (long) SWIG_AsLong(obj2);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8559 SWIG_POINTER_EXCEPTION | 0)) == -1)
8560 SWIG_fail;
8561 if (arg4 == NULL) {
8562 PyErr_SetString(PyExc_TypeError,"null reference");
8563 SWIG_fail;
8564 }
8565 {
8566 PyThreadState* __tstate = wxPyBeginAllowThreads();
8567 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8568
8569 wxPyEndAllowThreads(__tstate);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 }
8572 {
8573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8574 }
8575 return resultobj;
8576 fail:
8577 return NULL;
8578 }
8579
8580
8581 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj;
8583 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8584 long arg2 ;
8585 wxTextAttr *arg3 = 0 ;
8586 bool result;
8587 PyObject * obj0 = 0 ;
8588 PyObject * obj1 = 0 ;
8589 PyObject * obj2 = 0 ;
8590 char *kwnames[] = {
8591 (char *) "self",(char *) "position",(char *) "style", NULL
8592 };
8593
8594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8597 arg2 = (long) SWIG_AsLong(obj1);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8600 SWIG_POINTER_EXCEPTION | 0)) == -1)
8601 SWIG_fail;
8602 if (arg3 == NULL) {
8603 PyErr_SetString(PyExc_TypeError,"null reference");
8604 SWIG_fail;
8605 }
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 {
8614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8615 }
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8623 PyObject *resultobj;
8624 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8625 wxTextAttr *arg2 = 0 ;
8626 bool result;
8627 PyObject * obj0 = 0 ;
8628 PyObject * obj1 = 0 ;
8629 char *kwnames[] = {
8630 (char *) "self",(char *) "style", NULL
8631 };
8632
8633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8637 SWIG_POINTER_EXCEPTION | 0)) == -1)
8638 SWIG_fail;
8639 if (arg2 == NULL) {
8640 PyErr_SetString(PyExc_TypeError,"null reference");
8641 SWIG_fail;
8642 }
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8646
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 {
8651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8652 }
8653 return resultobj;
8654 fail:
8655 return NULL;
8656 }
8657
8658
8659 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8662 wxTextAttr *result;
8663 PyObject * obj0 = 0 ;
8664 char *kwnames[] = {
8665 (char *) "self", NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 {
8674 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8675 result = (wxTextAttr *) &_result_ref;
8676 }
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
8681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8682 return resultobj;
8683 fail:
8684 return NULL;
8685 }
8686
8687
8688 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8689 PyObject *resultobj;
8690 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8691 long arg2 ;
8692 long arg3 ;
8693 long result;
8694 PyObject * obj0 = 0 ;
8695 PyObject * obj1 = 0 ;
8696 PyObject * obj2 = 0 ;
8697 char *kwnames[] = {
8698 (char *) "self",(char *) "x",(char *) "y", NULL
8699 };
8700
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8704 arg2 = (long) SWIG_AsLong(obj1);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 arg3 = (long) SWIG_AsLong(obj2);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 resultobj = SWIG_FromLong((long)result);
8716 return resultobj;
8717 fail:
8718 return NULL;
8719 }
8720
8721
8722 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8725 long arg2 ;
8726 long *arg3 = (long *) 0 ;
8727 long *arg4 = (long *) 0 ;
8728 long temp3 ;
8729 long temp4 ;
8730 PyObject * obj0 = 0 ;
8731 PyObject * obj1 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self",(char *) "pos", NULL
8734 };
8735
8736 arg3 = &temp3;
8737 arg4 = &temp4;
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8741 arg2 = (long) SWIG_AsLong(obj1);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 Py_INCREF(Py_None); resultobj = Py_None;
8751 {
8752 PyObject *o = PyInt_FromLong((long) (*arg3));
8753 resultobj = t_output_helper(resultobj,o);
8754 }
8755 {
8756 PyObject *o = PyInt_FromLong((long) (*arg4));
8757 resultobj = t_output_helper(resultobj,o);
8758 }
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj;
8767 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8768 long arg2 ;
8769 PyObject * obj0 = 0 ;
8770 PyObject * obj1 = 0 ;
8771 char *kwnames[] = {
8772 (char *) "self",(char *) "pos", NULL
8773 };
8774
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8778 arg2 = (long) SWIG_AsLong(obj1);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 (arg1)->ShowPosition(arg2);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 Py_INCREF(Py_None); resultobj = Py_None;
8788 return resultobj;
8789 fail:
8790 return NULL;
8791 }
8792
8793
8794 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8795 PyObject *resultobj;
8796 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8797 wxPoint *arg2 = 0 ;
8798 long *arg3 = (long *) 0 ;
8799 long *arg4 = (long *) 0 ;
8800 int result;
8801 wxPoint temp2 ;
8802 long temp3 ;
8803 long temp4 ;
8804 PyObject * obj0 = 0 ;
8805 PyObject * obj1 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self",(char *) "pt", NULL
8808 };
8809
8810 arg3 = &temp3;
8811 arg4 = &temp4;
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8815 {
8816 arg2 = &temp2;
8817 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8818 }
8819 {
8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
8821 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8822
8823 wxPyEndAllowThreads(__tstate);
8824 if (PyErr_Occurred()) SWIG_fail;
8825 }
8826 resultobj = SWIG_FromInt((int)result);
8827 {
8828 PyObject *o = PyInt_FromLong((long) (*arg3));
8829 resultobj = t_output_helper(resultobj,o);
8830 }
8831 {
8832 PyObject *o = PyInt_FromLong((long) (*arg4));
8833 resultobj = t_output_helper(resultobj,o);
8834 }
8835 return resultobj;
8836 fail:
8837 return NULL;
8838 }
8839
8840
8841 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8842 PyObject *resultobj;
8843 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8844 PyObject * obj0 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 (arg1)->Copy();
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 Py_INCREF(Py_None); resultobj = Py_None;
8860 return resultobj;
8861 fail:
8862 return NULL;
8863 }
8864
8865
8866 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8869 PyObject * obj0 = 0 ;
8870 char *kwnames[] = {
8871 (char *) "self", NULL
8872 };
8873
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8877 {
8878 PyThreadState* __tstate = wxPyBeginAllowThreads();
8879 (arg1)->Cut();
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 Py_INCREF(Py_None); resultobj = Py_None;
8885 return resultobj;
8886 fail:
8887 return NULL;
8888 }
8889
8890
8891 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8892 PyObject *resultobj;
8893 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8894 PyObject * obj0 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 (arg1)->Paste();
8905
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 Py_INCREF(Py_None); resultobj = Py_None;
8910 return resultobj;
8911 fail:
8912 return NULL;
8913 }
8914
8915
8916 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8919 bool result;
8920 PyObject * obj0 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "self", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 {
8936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8937 }
8938 return resultobj;
8939 fail:
8940 return NULL;
8941 }
8942
8943
8944 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj;
8946 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8947 bool result;
8948 PyObject * obj0 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8956 {
8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
8958 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8959
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 {
8964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8965 }
8966 return resultobj;
8967 fail:
8968 return NULL;
8969 }
8970
8971
8972 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8975 bool result;
8976 PyObject * obj0 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8987
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 {
8992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8993 }
8994 return resultobj;
8995 fail:
8996 return NULL;
8997 }
8998
8999
9000 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9003 PyObject * obj0 = 0 ;
9004 char *kwnames[] = {
9005 (char *) "self", NULL
9006 };
9007
9008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9011 {
9012 PyThreadState* __tstate = wxPyBeginAllowThreads();
9013 (arg1)->Undo();
9014
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 Py_INCREF(Py_None); resultobj = Py_None;
9019 return resultobj;
9020 fail:
9021 return NULL;
9022 }
9023
9024
9025 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9026 PyObject *resultobj;
9027 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9028 PyObject * obj0 = 0 ;
9029 char *kwnames[] = {
9030 (char *) "self", NULL
9031 };
9032
9033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 (arg1)->Redo();
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 Py_INCREF(Py_None); resultobj = Py_None;
9044 return resultobj;
9045 fail:
9046 return NULL;
9047 }
9048
9049
9050 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9051 PyObject *resultobj;
9052 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9053 bool result;
9054 PyObject * obj0 = 0 ;
9055 char *kwnames[] = {
9056 (char *) "self", NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9062 {
9063 PyThreadState* __tstate = wxPyBeginAllowThreads();
9064 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9065
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 {
9070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9071 }
9072 return resultobj;
9073 fail:
9074 return NULL;
9075 }
9076
9077
9078 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9079 PyObject *resultobj;
9080 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9081 bool result;
9082 PyObject * obj0 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9093
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 {
9098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9099 }
9100 return resultobj;
9101 fail:
9102 return NULL;
9103 }
9104
9105
9106 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9107 PyObject *resultobj;
9108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9109 long arg2 ;
9110 PyObject * obj0 = 0 ;
9111 PyObject * obj1 = 0 ;
9112 char *kwnames[] = {
9113 (char *) "self",(char *) "pos", NULL
9114 };
9115
9116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9119 arg2 = (long) SWIG_AsLong(obj1);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 (arg1)->SetInsertionPoint(arg2);
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 Py_INCREF(Py_None); resultobj = Py_None;
9129 return resultobj;
9130 fail:
9131 return NULL;
9132 }
9133
9134
9135 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9136 PyObject *resultobj;
9137 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9138 PyObject * obj0 = 0 ;
9139 char *kwnames[] = {
9140 (char *) "self", NULL
9141 };
9142
9143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 (arg1)->SetInsertionPointEnd();
9149
9150 wxPyEndAllowThreads(__tstate);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
9153 Py_INCREF(Py_None); resultobj = Py_None;
9154 return resultobj;
9155 fail:
9156 return NULL;
9157 }
9158
9159
9160 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj;
9162 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9163 long result;
9164 PyObject * obj0 = 0 ;
9165 char *kwnames[] = {
9166 (char *) "self", NULL
9167 };
9168
9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = SWIG_FromLong((long)result);
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9189 long result;
9190 PyObject * obj0 = 0 ;
9191 char *kwnames[] = {
9192 (char *) "self", NULL
9193 };
9194
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9201
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 resultobj = SWIG_FromLong((long)result);
9206 return resultobj;
9207 fail:
9208 return NULL;
9209 }
9210
9211
9212 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj;
9214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9215 long arg2 ;
9216 long arg3 ;
9217 PyObject * obj0 = 0 ;
9218 PyObject * obj1 = 0 ;
9219 PyObject * obj2 = 0 ;
9220 char *kwnames[] = {
9221 (char *) "self",(char *) "from",(char *) "to", NULL
9222 };
9223
9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9227 arg2 = (long) SWIG_AsLong(obj1);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 arg3 = (long) SWIG_AsLong(obj2);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 (arg1)->SetSelection(arg2,arg3);
9234
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 Py_INCREF(Py_None); resultobj = Py_None;
9239 return resultobj;
9240 fail:
9241 return NULL;
9242 }
9243
9244
9245 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject *resultobj;
9247 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9248 PyObject * obj0 = 0 ;
9249 char *kwnames[] = {
9250 (char *) "self", NULL
9251 };
9252
9253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 (arg1)->SelectAll();
9259
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 Py_INCREF(Py_None); resultobj = Py_None;
9264 return resultobj;
9265 fail:
9266 return NULL;
9267 }
9268
9269
9270 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9273 bool arg2 ;
9274 PyObject * obj0 = 0 ;
9275 PyObject * obj1 = 0 ;
9276 char *kwnames[] = {
9277 (char *) "self",(char *) "editable", NULL
9278 };
9279
9280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9283 arg2 = (bool) SWIG_AsBool(obj1);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 {
9286 PyThreadState* __tstate = wxPyBeginAllowThreads();
9287 (arg1)->SetEditable(arg2);
9288
9289 wxPyEndAllowThreads(__tstate);
9290 if (PyErr_Occurred()) SWIG_fail;
9291 }
9292 Py_INCREF(Py_None); resultobj = Py_None;
9293 return resultobj;
9294 fail:
9295 return NULL;
9296 }
9297
9298
9299 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9300 PyObject *resultobj;
9301 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9302 wxString *arg2 = 0 ;
9303 bool temp2 = False ;
9304 PyObject * obj0 = 0 ;
9305 PyObject * obj1 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self",(char *) "text", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9313 {
9314 arg2 = wxString_in_helper(obj1);
9315 if (arg2 == NULL) SWIG_fail;
9316 temp2 = True;
9317 }
9318 {
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9321
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 Py_INCREF(Py_None); resultobj = Py_None;
9326 {
9327 if (temp2)
9328 delete arg2;
9329 }
9330 return resultobj;
9331 fail:
9332 {
9333 if (temp2)
9334 delete arg2;
9335 }
9336 return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9343 long arg2 ;
9344 long arg3 ;
9345 wxString result;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 PyObject * obj2 = 0 ;
9349 char *kwnames[] = {
9350 (char *) "self",(char *) "from",(char *) "to", NULL
9351 };
9352
9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9356 arg2 = (long) SWIG_AsLong(obj1);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 arg3 = (long) SWIG_AsLong(obj2);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 {
9368 #if wxUSE_UNICODE
9369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9370 #else
9371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9372 #endif
9373 }
9374 return resultobj;
9375 fail:
9376 return NULL;
9377 }
9378
9379
9380 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9381 PyObject *obj;
9382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9383 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9384 Py_INCREF(obj);
9385 return Py_BuildValue((char *)"");
9386 }
9387 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 int arg1 ;
9390 wxMouseEvent *arg2 = 0 ;
9391 long arg3 ;
9392 long arg4 ;
9393 wxTextUrlEvent *result;
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 PyObject * obj2 = 0 ;
9397 PyObject * obj3 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9403 arg1 = (int) SWIG_AsInt(obj0);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9406 SWIG_POINTER_EXCEPTION | 0)) == -1)
9407 SWIG_fail;
9408 if (arg2 == NULL) {
9409 PyErr_SetString(PyExc_TypeError,"null reference");
9410 SWIG_fail;
9411 }
9412 arg3 = (long) SWIG_AsLong(obj2);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 arg4 = (long) SWIG_AsLong(obj3);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 {
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9419
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9424 return resultobj;
9425 fail:
9426 return NULL;
9427 }
9428
9429
9430 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9431 PyObject *resultobj;
9432 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9433 wxMouseEvent *result;
9434 PyObject * obj0 = 0 ;
9435 char *kwnames[] = {
9436 (char *) "self", NULL
9437 };
9438
9439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9442 {
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 {
9445 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9446 result = (wxMouseEvent *) &_result_ref;
9447 }
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9453 return resultobj;
9454 fail:
9455 return NULL;
9456 }
9457
9458
9459 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9460 PyObject *resultobj;
9461 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9462 long result;
9463 PyObject * obj0 = 0 ;
9464 char *kwnames[] = {
9465 (char *) "self", NULL
9466 };
9467
9468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = SWIG_FromLong((long)result);
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj;
9487 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9488 long result;
9489 PyObject * obj0 = 0 ;
9490 char *kwnames[] = {
9491 (char *) "self", NULL
9492 };
9493
9494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 resultobj = SWIG_FromLong((long)result);
9505 return resultobj;
9506 fail:
9507 return NULL;
9508 }
9509
9510
9511 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9512 PyObject *obj;
9513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9514 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9515 Py_INCREF(obj);
9516 return Py_BuildValue((char *)"");
9517 }
9518 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9519 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9520 return 1;
9521 }
9522
9523
9524 static PyObject *_wrap_ScrollBarNameStr_get() {
9525 PyObject *pyobj;
9526
9527 {
9528 #if wxUSE_UNICODE
9529 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9530 #else
9531 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9532 #endif
9533 }
9534 return pyobj;
9535 }
9536
9537
9538 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj;
9540 wxWindow *arg1 = (wxWindow *) 0 ;
9541 int arg2 = (int) -1 ;
9542 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9543 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9544 wxSize const &arg4_defvalue = wxDefaultSize ;
9545 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9546 long arg5 = (long) wxSB_HORIZONTAL ;
9547 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9548 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9549 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9550 wxString *arg7 = (wxString *) &arg7_defvalue ;
9551 wxScrollBar *result;
9552 wxPoint temp3 ;
9553 wxSize temp4 ;
9554 bool temp7 = False ;
9555 PyObject * obj0 = 0 ;
9556 PyObject * obj1 = 0 ;
9557 PyObject * obj2 = 0 ;
9558 PyObject * obj3 = 0 ;
9559 PyObject * obj4 = 0 ;
9560 PyObject * obj5 = 0 ;
9561 PyObject * obj6 = 0 ;
9562 char *kwnames[] = {
9563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9564 };
9565
9566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9569 if (obj1) {
9570 arg2 = (int) SWIG_AsInt(obj1);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 if (obj2) {
9574 {
9575 arg3 = &temp3;
9576 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9577 }
9578 }
9579 if (obj3) {
9580 {
9581 arg4 = &temp4;
9582 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9583 }
9584 }
9585 if (obj4) {
9586 arg5 = (long) SWIG_AsLong(obj4);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 if (obj5) {
9590 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9591 SWIG_POINTER_EXCEPTION | 0)) == -1)
9592 SWIG_fail;
9593 if (arg6 == NULL) {
9594 PyErr_SetString(PyExc_TypeError,"null reference");
9595 SWIG_fail;
9596 }
9597 }
9598 if (obj6) {
9599 {
9600 arg7 = wxString_in_helper(obj6);
9601 if (arg7 == NULL) SWIG_fail;
9602 temp7 = True;
9603 }
9604 }
9605 {
9606 PyThreadState* __tstate = wxPyBeginAllowThreads();
9607 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9608
9609 wxPyEndAllowThreads(__tstate);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 }
9612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9613 {
9614 if (temp7)
9615 delete arg7;
9616 }
9617 return resultobj;
9618 fail:
9619 {
9620 if (temp7)
9621 delete arg7;
9622 }
9623 return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxScrollBar *result;
9630 char *kwnames[] = {
9631 NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 result = (wxScrollBar *)new wxScrollBar();
9638
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj;
9651 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9652 wxWindow *arg2 = (wxWindow *) 0 ;
9653 int arg3 = (int) -1 ;
9654 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9655 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9656 wxSize const &arg5_defvalue = wxDefaultSize ;
9657 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9658 long arg6 = (long) wxSB_HORIZONTAL ;
9659 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9660 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9661 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9662 wxString *arg8 = (wxString *) &arg8_defvalue ;
9663 bool result;
9664 wxPoint temp4 ;
9665 wxSize temp5 ;
9666 bool temp8 = False ;
9667 PyObject * obj0 = 0 ;
9668 PyObject * obj1 = 0 ;
9669 PyObject * obj2 = 0 ;
9670 PyObject * obj3 = 0 ;
9671 PyObject * obj4 = 0 ;
9672 PyObject * obj5 = 0 ;
9673 PyObject * obj6 = 0 ;
9674 PyObject * obj7 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9684 if (obj2) {
9685 arg3 = (int) SWIG_AsInt(obj2);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 if (obj3) {
9689 {
9690 arg4 = &temp4;
9691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9692 }
9693 }
9694 if (obj4) {
9695 {
9696 arg5 = &temp5;
9697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9698 }
9699 }
9700 if (obj5) {
9701 arg6 = (long) SWIG_AsLong(obj5);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 if (obj6) {
9705 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9706 SWIG_POINTER_EXCEPTION | 0)) == -1)
9707 SWIG_fail;
9708 if (arg7 == NULL) {
9709 PyErr_SetString(PyExc_TypeError,"null reference");
9710 SWIG_fail;
9711 }
9712 }
9713 if (obj7) {
9714 {
9715 arg8 = wxString_in_helper(obj7);
9716 if (arg8 == NULL) SWIG_fail;
9717 temp8 = True;
9718 }
9719 }
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 {
9728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9729 }
9730 {
9731 if (temp8)
9732 delete arg8;
9733 }
9734 return resultobj;
9735 fail:
9736 {
9737 if (temp8)
9738 delete arg8;
9739 }
9740 return NULL;
9741 }
9742
9743
9744 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9747 int result;
9748 PyObject * obj0 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 resultobj = SWIG_FromInt((int)result);
9764 return resultobj;
9765 fail:
9766 return NULL;
9767 }
9768
9769
9770 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj;
9772 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9773 int result;
9774 PyObject * obj0 = 0 ;
9775 char *kwnames[] = {
9776 (char *) "self", NULL
9777 };
9778
9779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 resultobj = SWIG_FromInt((int)result);
9790 return resultobj;
9791 fail:
9792 return NULL;
9793 }
9794
9795
9796 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9797 PyObject *resultobj;
9798 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9799 int result;
9800 PyObject * obj0 = 0 ;
9801 char *kwnames[] = {
9802 (char *) "self", NULL
9803 };
9804
9805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 resultobj = SWIG_FromInt((int)result);
9816 return resultobj;
9817 fail:
9818 return NULL;
9819 }
9820
9821
9822 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9825 int result;
9826 PyObject * obj0 = 0 ;
9827 char *kwnames[] = {
9828 (char *) "self", NULL
9829 };
9830
9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 result = (int)((wxScrollBar const *)arg1)->GetRange();
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 resultobj = SWIG_FromInt((int)result);
9842 return resultobj;
9843 fail:
9844 return NULL;
9845 }
9846
9847
9848 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9849 PyObject *resultobj;
9850 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9851 bool result;
9852 PyObject * obj0 = 0 ;
9853 char *kwnames[] = {
9854 (char *) "self", NULL
9855 };
9856
9857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
9867 {
9868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9869 }
9870 return resultobj;
9871 fail:
9872 return NULL;
9873 }
9874
9875
9876 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9877 PyObject *resultobj;
9878 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9879 int arg2 ;
9880 PyObject * obj0 = 0 ;
9881 PyObject * obj1 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self",(char *) "viewStart", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9889 arg2 = (int) SWIG_AsInt(obj1);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 {
9892 PyThreadState* __tstate = wxPyBeginAllowThreads();
9893 (arg1)->SetThumbPosition(arg2);
9894
9895 wxPyEndAllowThreads(__tstate);
9896 if (PyErr_Occurred()) SWIG_fail;
9897 }
9898 Py_INCREF(Py_None); resultobj = Py_None;
9899 return resultobj;
9900 fail:
9901 return NULL;
9902 }
9903
9904
9905 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9906 PyObject *resultobj;
9907 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9908 int arg2 ;
9909 int arg3 ;
9910 int arg4 ;
9911 int arg5 ;
9912 bool arg6 = (bool) True ;
9913 PyObject * obj0 = 0 ;
9914 PyObject * obj1 = 0 ;
9915 PyObject * obj2 = 0 ;
9916 PyObject * obj3 = 0 ;
9917 PyObject * obj4 = 0 ;
9918 PyObject * obj5 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9926 arg2 = (int) SWIG_AsInt(obj1);
9927 if (PyErr_Occurred()) SWIG_fail;
9928 arg3 = (int) SWIG_AsInt(obj2);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 arg4 = (int) SWIG_AsInt(obj3);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 arg5 = (int) SWIG_AsInt(obj4);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 if (obj5) {
9935 arg6 = (bool) SWIG_AsBool(obj5);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9941
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 Py_INCREF(Py_None); resultobj = Py_None;
9946 return resultobj;
9947 fail:
9948 return NULL;
9949 }
9950
9951
9952 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9953 PyObject *obj;
9954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9955 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9956 Py_INCREF(obj);
9957 return Py_BuildValue((char *)"");
9958 }
9959 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
9960 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9961 return 1;
9962 }
9963
9964
9965 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9966 PyObject *pyobj;
9967
9968 {
9969 #if wxUSE_UNICODE
9970 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9971 #else
9972 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9973 #endif
9974 }
9975 return pyobj;
9976 }
9977
9978
9979 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
9980 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9981 return 1;
9982 }
9983
9984
9985 static PyObject *_wrap_SpinCtrlNameStr_get() {
9986 PyObject *pyobj;
9987
9988 {
9989 #if wxUSE_UNICODE
9990 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9991 #else
9992 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9993 #endif
9994 }
9995 return pyobj;
9996 }
9997
9998
9999 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10000 PyObject *resultobj;
10001 wxWindow *arg1 = (wxWindow *) 0 ;
10002 int arg2 = (int) -1 ;
10003 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10004 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10005 wxSize const &arg4_defvalue = wxDefaultSize ;
10006 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10007 long arg5 = (long) wxSP_HORIZONTAL ;
10008 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10009 wxString *arg6 = (wxString *) &arg6_defvalue ;
10010 wxSpinButton *result;
10011 wxPoint temp3 ;
10012 wxSize temp4 ;
10013 bool temp6 = False ;
10014 PyObject * obj0 = 0 ;
10015 PyObject * obj1 = 0 ;
10016 PyObject * obj2 = 0 ;
10017 PyObject * obj3 = 0 ;
10018 PyObject * obj4 = 0 ;
10019 PyObject * obj5 = 0 ;
10020 char *kwnames[] = {
10021 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10027 if (obj1) {
10028 arg2 = (int) SWIG_AsInt(obj1);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
10031 if (obj2) {
10032 {
10033 arg3 = &temp3;
10034 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10035 }
10036 }
10037 if (obj3) {
10038 {
10039 arg4 = &temp4;
10040 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10041 }
10042 }
10043 if (obj4) {
10044 arg5 = (long) SWIG_AsLong(obj4);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 if (obj5) {
10048 {
10049 arg6 = wxString_in_helper(obj5);
10050 if (arg6 == NULL) SWIG_fail;
10051 temp6 = True;
10052 }
10053 }
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10062 {
10063 if (temp6)
10064 delete arg6;
10065 }
10066 return resultobj;
10067 fail:
10068 {
10069 if (temp6)
10070 delete arg6;
10071 }
10072 return NULL;
10073 }
10074
10075
10076 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj;
10078 wxSpinButton *result;
10079 char *kwnames[] = {
10080 NULL
10081 };
10082
10083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 result = (wxSpinButton *)new wxSpinButton();
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj;
10100 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10101 wxWindow *arg2 = (wxWindow *) 0 ;
10102 int arg3 = (int) -1 ;
10103 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10104 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10105 wxSize const &arg5_defvalue = wxDefaultSize ;
10106 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10107 long arg6 = (long) wxSP_HORIZONTAL ;
10108 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10109 wxString *arg7 = (wxString *) &arg7_defvalue ;
10110 bool result;
10111 wxPoint temp4 ;
10112 wxSize temp5 ;
10113 bool temp7 = False ;
10114 PyObject * obj0 = 0 ;
10115 PyObject * obj1 = 0 ;
10116 PyObject * obj2 = 0 ;
10117 PyObject * obj3 = 0 ;
10118 PyObject * obj4 = 0 ;
10119 PyObject * obj5 = 0 ;
10120 PyObject * obj6 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10130 if (obj2) {
10131 arg3 = (int) SWIG_AsInt(obj2);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 if (obj3) {
10135 {
10136 arg4 = &temp4;
10137 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10138 }
10139 }
10140 if (obj4) {
10141 {
10142 arg5 = &temp5;
10143 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10144 }
10145 }
10146 if (obj5) {
10147 arg6 = (long) SWIG_AsLong(obj5);
10148 if (PyErr_Occurred()) SWIG_fail;
10149 }
10150 if (obj6) {
10151 {
10152 arg7 = wxString_in_helper(obj6);
10153 if (arg7 == NULL) SWIG_fail;
10154 temp7 = True;
10155 }
10156 }
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10160
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 {
10165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10166 }
10167 {
10168 if (temp7)
10169 delete arg7;
10170 }
10171 return resultobj;
10172 fail:
10173 {
10174 if (temp7)
10175 delete arg7;
10176 }
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj;
10183 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10184 int result;
10185 PyObject * obj0 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self", NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (int)((wxSpinButton const *)arg1)->GetValue();
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 resultobj = SWIG_FromInt((int)result);
10201 return resultobj;
10202 fail:
10203 return NULL;
10204 }
10205
10206
10207 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj;
10209 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10210 int result;
10211 PyObject * obj0 = 0 ;
10212 char *kwnames[] = {
10213 (char *) "self", NULL
10214 };
10215
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (int)((wxSpinButton const *)arg1)->GetMin();
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 resultobj = SWIG_FromInt((int)result);
10227 return resultobj;
10228 fail:
10229 return NULL;
10230 }
10231
10232
10233 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj;
10235 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10236 int result;
10237 PyObject * obj0 = 0 ;
10238 char *kwnames[] = {
10239 (char *) "self", NULL
10240 };
10241
10242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 result = (int)((wxSpinButton const *)arg1)->GetMax();
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
10252 resultobj = SWIG_FromInt((int)result);
10253 return resultobj;
10254 fail:
10255 return NULL;
10256 }
10257
10258
10259 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10260 PyObject *resultobj;
10261 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10262 int arg2 ;
10263 PyObject * obj0 = 0 ;
10264 PyObject * obj1 = 0 ;
10265 char *kwnames[] = {
10266 (char *) "self",(char *) "val", NULL
10267 };
10268
10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10272 arg2 = (int) SWIG_AsInt(obj1);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 (arg1)->SetValue(arg2);
10277
10278 wxPyEndAllowThreads(__tstate);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 Py_INCREF(Py_None); resultobj = Py_None;
10282 return resultobj;
10283 fail:
10284 return NULL;
10285 }
10286
10287
10288 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10289 PyObject *resultobj;
10290 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10291 int arg2 ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 char *kwnames[] = {
10295 (char *) "self",(char *) "minVal", NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10301 arg2 = (int) SWIG_AsInt(obj1);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 (arg1)->SetMin(arg2);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 Py_INCREF(Py_None); resultobj = Py_None;
10311 return resultobj;
10312 fail:
10313 return NULL;
10314 }
10315
10316
10317 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject *resultobj;
10319 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10320 int arg2 ;
10321 PyObject * obj0 = 0 ;
10322 PyObject * obj1 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self",(char *) "maxVal", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10330 arg2 = (int) SWIG_AsInt(obj1);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 (arg1)->SetMax(arg2);
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
10339 Py_INCREF(Py_None); resultobj = Py_None;
10340 return resultobj;
10341 fail:
10342 return NULL;
10343 }
10344
10345
10346 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10347 PyObject *resultobj;
10348 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10349 int arg2 ;
10350 int arg3 ;
10351 PyObject * obj0 = 0 ;
10352 PyObject * obj1 = 0 ;
10353 PyObject * obj2 = 0 ;
10354 char *kwnames[] = {
10355 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10356 };
10357
10358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10361 arg2 = (int) SWIG_AsInt(obj1);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 arg3 = (int) SWIG_AsInt(obj2);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->SetRange(arg2,arg3);
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 Py_INCREF(Py_None); resultobj = Py_None;
10373 return resultobj;
10374 fail:
10375 return NULL;
10376 }
10377
10378
10379 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj;
10381 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10382 bool result;
10383 PyObject * obj0 = 0 ;
10384 char *kwnames[] = {
10385 (char *) "self", NULL
10386 };
10387
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10394
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 {
10399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10400 }
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10408 PyObject *obj;
10409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10410 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10411 Py_INCREF(obj);
10412 return Py_BuildValue((char *)"");
10413 }
10414 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxWindow *arg1 = (wxWindow *) 0 ;
10417 int arg2 = (int) -1 ;
10418 wxString const &arg3_defvalue = wxPyEmptyString ;
10419 wxString *arg3 = (wxString *) &arg3_defvalue ;
10420 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10421 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10422 wxSize const &arg5_defvalue = wxDefaultSize ;
10423 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10424 long arg6 = (long) wxSP_ARROW_KEYS ;
10425 int arg7 = (int) 0 ;
10426 int arg8 = (int) 100 ;
10427 int arg9 = (int) 0 ;
10428 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10429 wxString *arg10 = (wxString *) &arg10_defvalue ;
10430 wxSpinCtrl *result;
10431 bool temp3 = False ;
10432 wxPoint temp4 ;
10433 wxSize temp5 ;
10434 bool temp10 = False ;
10435 PyObject * obj0 = 0 ;
10436 PyObject * obj1 = 0 ;
10437 PyObject * obj2 = 0 ;
10438 PyObject * obj3 = 0 ;
10439 PyObject * obj4 = 0 ;
10440 PyObject * obj5 = 0 ;
10441 PyObject * obj6 = 0 ;
10442 PyObject * obj7 = 0 ;
10443 PyObject * obj8 = 0 ;
10444 PyObject * obj9 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10447 };
10448
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10452 if (obj1) {
10453 arg2 = (int) SWIG_AsInt(obj1);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 if (obj2) {
10457 {
10458 arg3 = wxString_in_helper(obj2);
10459 if (arg3 == NULL) SWIG_fail;
10460 temp3 = True;
10461 }
10462 }
10463 if (obj3) {
10464 {
10465 arg4 = &temp4;
10466 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10467 }
10468 }
10469 if (obj4) {
10470 {
10471 arg5 = &temp5;
10472 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10473 }
10474 }
10475 if (obj5) {
10476 arg6 = (long) SWIG_AsLong(obj5);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 if (obj6) {
10480 arg7 = (int) SWIG_AsInt(obj6);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 }
10483 if (obj7) {
10484 arg8 = (int) SWIG_AsInt(obj7);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 if (obj8) {
10488 arg9 = (int) SWIG_AsInt(obj8);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 }
10491 if (obj9) {
10492 {
10493 arg10 = wxString_in_helper(obj9);
10494 if (arg10 == NULL) SWIG_fail;
10495 temp10 = True;
10496 }
10497 }
10498 {
10499 PyThreadState* __tstate = wxPyBeginAllowThreads();
10500 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10501
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10506 {
10507 if (temp3)
10508 delete arg3;
10509 }
10510 {
10511 if (temp10)
10512 delete arg10;
10513 }
10514 return resultobj;
10515 fail:
10516 {
10517 if (temp3)
10518 delete arg3;
10519 }
10520 {
10521 if (temp10)
10522 delete arg10;
10523 }
10524 return NULL;
10525 }
10526
10527
10528 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxSpinCtrl *result;
10531 char *kwnames[] = {
10532 NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 result = (wxSpinCtrl *)new wxSpinCtrl();
10539
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj;
10552 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10553 wxWindow *arg2 = (wxWindow *) 0 ;
10554 int arg3 = (int) -1 ;
10555 wxString const &arg4_defvalue = wxPyEmptyString ;
10556 wxString *arg4 = (wxString *) &arg4_defvalue ;
10557 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10558 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10559 wxSize const &arg6_defvalue = wxDefaultSize ;
10560 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10561 long arg7 = (long) wxSP_ARROW_KEYS ;
10562 int arg8 = (int) 0 ;
10563 int arg9 = (int) 100 ;
10564 int arg10 = (int) 0 ;
10565 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10566 wxString *arg11 = (wxString *) &arg11_defvalue ;
10567 bool result;
10568 bool temp4 = False ;
10569 wxPoint temp5 ;
10570 wxSize temp6 ;
10571 bool temp11 = False ;
10572 PyObject * obj0 = 0 ;
10573 PyObject * obj1 = 0 ;
10574 PyObject * obj2 = 0 ;
10575 PyObject * obj3 = 0 ;
10576 PyObject * obj4 = 0 ;
10577 PyObject * obj5 = 0 ;
10578 PyObject * obj6 = 0 ;
10579 PyObject * obj7 = 0 ;
10580 PyObject * obj8 = 0 ;
10581 PyObject * obj9 = 0 ;
10582 PyObject * obj10 = 0 ;
10583 char *kwnames[] = {
10584 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10585 };
10586
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10592 if (obj2) {
10593 arg3 = (int) SWIG_AsInt(obj2);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 if (obj3) {
10597 {
10598 arg4 = wxString_in_helper(obj3);
10599 if (arg4 == NULL) SWIG_fail;
10600 temp4 = True;
10601 }
10602 }
10603 if (obj4) {
10604 {
10605 arg5 = &temp5;
10606 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10607 }
10608 }
10609 if (obj5) {
10610 {
10611 arg6 = &temp6;
10612 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10613 }
10614 }
10615 if (obj6) {
10616 arg7 = (long) SWIG_AsLong(obj6);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 if (obj7) {
10620 arg8 = (int) SWIG_AsInt(obj7);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 if (obj8) {
10624 arg9 = (int) SWIG_AsInt(obj8);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 if (obj9) {
10628 arg10 = (int) SWIG_AsInt(obj9);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 if (obj10) {
10632 {
10633 arg11 = wxString_in_helper(obj10);
10634 if (arg11 == NULL) SWIG_fail;
10635 temp11 = True;
10636 }
10637 }
10638 {
10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
10640 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10641
10642 wxPyEndAllowThreads(__tstate);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 {
10646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10647 }
10648 {
10649 if (temp4)
10650 delete arg4;
10651 }
10652 {
10653 if (temp11)
10654 delete arg11;
10655 }
10656 return resultobj;
10657 fail:
10658 {
10659 if (temp4)
10660 delete arg4;
10661 }
10662 {
10663 if (temp11)
10664 delete arg11;
10665 }
10666 return NULL;
10667 }
10668
10669
10670 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10673 int result;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 resultobj = SWIG_FromInt((int)result);
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10699 int arg2 ;
10700 PyObject * obj0 = 0 ;
10701 PyObject * obj1 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self",(char *) "value", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10709 arg2 = (int) SWIG_AsInt(obj1);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 (arg1)->SetValue(arg2);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 Py_INCREF(Py_None); resultobj = Py_None;
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10728 wxString *arg2 = 0 ;
10729 bool temp2 = False ;
10730 PyObject * obj0 = 0 ;
10731 PyObject * obj1 = 0 ;
10732 char *kwnames[] = {
10733 (char *) "self",(char *) "text", NULL
10734 };
10735
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10739 {
10740 arg2 = wxString_in_helper(obj1);
10741 if (arg2 == NULL) SWIG_fail;
10742 temp2 = True;
10743 }
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 (arg1)->SetValue((wxString const &)*arg2);
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 Py_INCREF(Py_None); resultobj = Py_None;
10752 {
10753 if (temp2)
10754 delete arg2;
10755 }
10756 return resultobj;
10757 fail:
10758 {
10759 if (temp2)
10760 delete arg2;
10761 }
10762 return NULL;
10763 }
10764
10765
10766 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10767 PyObject *resultobj;
10768 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10769 int arg2 ;
10770 int arg3 ;
10771 PyObject * obj0 = 0 ;
10772 PyObject * obj1 = 0 ;
10773 PyObject * obj2 = 0 ;
10774 char *kwnames[] = {
10775 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10776 };
10777
10778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10781 arg2 = (int) SWIG_AsInt(obj1);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 arg3 = (int) SWIG_AsInt(obj2);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 (arg1)->SetRange(arg2,arg3);
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 Py_INCREF(Py_None); resultobj = Py_None;
10793 return resultobj;
10794 fail:
10795 return NULL;
10796 }
10797
10798
10799 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10802 int result;
10803 PyObject * obj0 = 0 ;
10804 char *kwnames[] = {
10805 (char *) "self", NULL
10806 };
10807
10808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 resultobj = SWIG_FromInt((int)result);
10819 return resultobj;
10820 fail:
10821 return NULL;
10822 }
10823
10824
10825 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10826 PyObject *resultobj;
10827 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10828 int result;
10829 PyObject * obj0 = 0 ;
10830 char *kwnames[] = {
10831 (char *) "self", NULL
10832 };
10833
10834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10837 {
10838 PyThreadState* __tstate = wxPyBeginAllowThreads();
10839 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10840
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 resultobj = SWIG_FromInt((int)result);
10845 return resultobj;
10846 fail:
10847 return NULL;
10848 }
10849
10850
10851 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10852 PyObject *resultobj;
10853 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10854 long arg2 ;
10855 long arg3 ;
10856 PyObject * obj0 = 0 ;
10857 PyObject * obj1 = 0 ;
10858 PyObject * obj2 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "self",(char *) "from",(char *) "to", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10866 arg2 = (long) SWIG_AsLong(obj1);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 arg3 = (long) SWIG_AsLong(obj2);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 (arg1)->SetSelection(arg2,arg3);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 Py_INCREF(Py_None); resultobj = Py_None;
10878 return resultobj;
10879 fail:
10880 return NULL;
10881 }
10882
10883
10884 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10885 PyObject *obj;
10886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10887 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10888 Py_INCREF(obj);
10889 return Py_BuildValue((char *)"");
10890 }
10891 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10892 PyObject *resultobj;
10893 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10894 int arg2 = (int) 0 ;
10895 wxSpinEvent *result;
10896 PyObject * obj0 = 0 ;
10897 PyObject * obj1 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "commandType",(char *) "winid", NULL
10900 };
10901
10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10903 if (obj0) {
10904 arg1 = (wxEventType) SWIG_AsInt(obj0);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 if (obj1) {
10908 arg2 = (int) SWIG_AsInt(obj1);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10919 return resultobj;
10920 fail:
10921 return NULL;
10922 }
10923
10924
10925 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj;
10927 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10928 int result;
10929 PyObject * obj0 = 0 ;
10930 char *kwnames[] = {
10931 (char *) "self", NULL
10932 };
10933
10934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10937 {
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10940
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 resultobj = SWIG_FromInt((int)result);
10945 return resultobj;
10946 fail:
10947 return NULL;
10948 }
10949
10950
10951 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10954 int arg2 ;
10955 PyObject * obj0 = 0 ;
10956 PyObject * obj1 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self",(char *) "pos", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10964 arg2 = (int) SWIG_AsInt(obj1);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 (arg1)->SetPosition(arg2);
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 Py_INCREF(Py_None); resultobj = Py_None;
10974 return resultobj;
10975 fail:
10976 return NULL;
10977 }
10978
10979
10980 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10981 PyObject *obj;
10982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10983 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10984 Py_INCREF(obj);
10985 return Py_BuildValue((char *)"");
10986 }
10987 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
10988 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10989 return 1;
10990 }
10991
10992
10993 static PyObject *_wrap_RadioBoxNameStr_get() {
10994 PyObject *pyobj;
10995
10996 {
10997 #if wxUSE_UNICODE
10998 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10999 #else
11000 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11001 #endif
11002 }
11003 return pyobj;
11004 }
11005
11006
11007 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11008 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11009 return 1;
11010 }
11011
11012
11013 static PyObject *_wrap_RadioButtonNameStr_get() {
11014 PyObject *pyobj;
11015
11016 {
11017 #if wxUSE_UNICODE
11018 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11019 #else
11020 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11021 #endif
11022 }
11023 return pyobj;
11024 }
11025
11026
11027 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11028 PyObject *resultobj;
11029 wxWindow *arg1 = (wxWindow *) 0 ;
11030 int arg2 ;
11031 wxString *arg3 = 0 ;
11032 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11033 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11034 wxSize const &arg5_defvalue = wxDefaultSize ;
11035 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11036 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11037 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11038 int arg7 = (int) 0 ;
11039 long arg8 = (long) wxRA_HORIZONTAL ;
11040 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11041 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11042 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11043 wxString *arg10 = (wxString *) &arg10_defvalue ;
11044 wxRadioBox *result;
11045 bool temp3 = False ;
11046 wxPoint temp4 ;
11047 wxSize temp5 ;
11048 bool temp6 = False ;
11049 bool temp10 = False ;
11050 PyObject * obj0 = 0 ;
11051 PyObject * obj1 = 0 ;
11052 PyObject * obj2 = 0 ;
11053 PyObject * obj3 = 0 ;
11054 PyObject * obj4 = 0 ;
11055 PyObject * obj5 = 0 ;
11056 PyObject * obj6 = 0 ;
11057 PyObject * obj7 = 0 ;
11058 PyObject * obj8 = 0 ;
11059 PyObject * obj9 = 0 ;
11060 char *kwnames[] = {
11061 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11062 };
11063
11064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11067 arg2 = (int) SWIG_AsInt(obj1);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 {
11070 arg3 = wxString_in_helper(obj2);
11071 if (arg3 == NULL) SWIG_fail;
11072 temp3 = True;
11073 }
11074 if (obj3) {
11075 {
11076 arg4 = &temp4;
11077 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11078 }
11079 }
11080 if (obj4) {
11081 {
11082 arg5 = &temp5;
11083 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11084 }
11085 }
11086 if (obj5) {
11087 {
11088 if (! PySequence_Check(obj5)) {
11089 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11090 SWIG_fail;
11091 }
11092 arg6 = new wxArrayString;
11093 temp6 = True;
11094 int i, len=PySequence_Length(obj5);
11095 for (i=0; i<len; i++) {
11096 PyObject* item = PySequence_GetItem(obj5, i);
11097 #if wxUSE_UNICODE
11098 PyObject* str = PyObject_Unicode(item);
11099 #else
11100 PyObject* str = PyObject_Str(item);
11101 #endif
11102 if (PyErr_Occurred()) SWIG_fail;
11103 arg6->Add(Py2wxString(str));
11104 Py_DECREF(item);
11105 Py_DECREF(str);
11106 }
11107 }
11108 }
11109 if (obj6) {
11110 arg7 = (int) SWIG_AsInt(obj6);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 if (obj7) {
11114 arg8 = (long) SWIG_AsLong(obj7);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 if (obj8) {
11118 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11119 SWIG_POINTER_EXCEPTION | 0)) == -1)
11120 SWIG_fail;
11121 if (arg9 == NULL) {
11122 PyErr_SetString(PyExc_TypeError,"null reference");
11123 SWIG_fail;
11124 }
11125 }
11126 if (obj9) {
11127 {
11128 arg10 = wxString_in_helper(obj9);
11129 if (arg10 == NULL) SWIG_fail;
11130 temp10 = True;
11131 }
11132 }
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 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);
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11141 {
11142 if (temp3)
11143 delete arg3;
11144 }
11145 {
11146 if (temp6) delete arg6;
11147 }
11148 {
11149 if (temp10)
11150 delete arg10;
11151 }
11152 return resultobj;
11153 fail:
11154 {
11155 if (temp3)
11156 delete arg3;
11157 }
11158 {
11159 if (temp6) delete arg6;
11160 }
11161 {
11162 if (temp10)
11163 delete arg10;
11164 }
11165 return NULL;
11166 }
11167
11168
11169 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj;
11171 wxRadioBox *result;
11172 char *kwnames[] = {
11173 NULL
11174 };
11175
11176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 result = (wxRadioBox *)new wxRadioBox();
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11194 wxWindow *arg2 = (wxWindow *) 0 ;
11195 int arg3 ;
11196 wxString *arg4 = 0 ;
11197 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11198 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11199 wxSize const &arg6_defvalue = wxDefaultSize ;
11200 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11201 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11202 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11203 int arg8 = (int) 0 ;
11204 long arg9 = (long) wxRA_HORIZONTAL ;
11205 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11206 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11207 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11208 wxString *arg11 = (wxString *) &arg11_defvalue ;
11209 bool result;
11210 bool temp4 = False ;
11211 wxPoint temp5 ;
11212 wxSize temp6 ;
11213 bool temp7 = False ;
11214 bool temp11 = False ;
11215 PyObject * obj0 = 0 ;
11216 PyObject * obj1 = 0 ;
11217 PyObject * obj2 = 0 ;
11218 PyObject * obj3 = 0 ;
11219 PyObject * obj4 = 0 ;
11220 PyObject * obj5 = 0 ;
11221 PyObject * obj6 = 0 ;
11222 PyObject * obj7 = 0 ;
11223 PyObject * obj8 = 0 ;
11224 PyObject * obj9 = 0 ;
11225 PyObject * obj10 = 0 ;
11226 char *kwnames[] = {
11227 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11228 };
11229
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11235 arg3 = (int) SWIG_AsInt(obj2);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 {
11238 arg4 = wxString_in_helper(obj3);
11239 if (arg4 == NULL) SWIG_fail;
11240 temp4 = True;
11241 }
11242 if (obj4) {
11243 {
11244 arg5 = &temp5;
11245 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11246 }
11247 }
11248 if (obj5) {
11249 {
11250 arg6 = &temp6;
11251 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11252 }
11253 }
11254 if (obj6) {
11255 {
11256 if (! PySequence_Check(obj6)) {
11257 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11258 SWIG_fail;
11259 }
11260 arg7 = new wxArrayString;
11261 temp7 = True;
11262 int i, len=PySequence_Length(obj6);
11263 for (i=0; i<len; i++) {
11264 PyObject* item = PySequence_GetItem(obj6, i);
11265 #if wxUSE_UNICODE
11266 PyObject* str = PyObject_Unicode(item);
11267 #else
11268 PyObject* str = PyObject_Str(item);
11269 #endif
11270 if (PyErr_Occurred()) SWIG_fail;
11271 arg7->Add(Py2wxString(str));
11272 Py_DECREF(item);
11273 Py_DECREF(str);
11274 }
11275 }
11276 }
11277 if (obj7) {
11278 arg8 = (int) SWIG_AsInt(obj7);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 if (obj8) {
11282 arg9 = (long) SWIG_AsLong(obj8);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 if (obj9) {
11286 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11287 SWIG_POINTER_EXCEPTION | 0)) == -1)
11288 SWIG_fail;
11289 if (arg10 == NULL) {
11290 PyErr_SetString(PyExc_TypeError,"null reference");
11291 SWIG_fail;
11292 }
11293 }
11294 if (obj10) {
11295 {
11296 arg11 = wxString_in_helper(obj10);
11297 if (arg11 == NULL) SWIG_fail;
11298 temp11 = True;
11299 }
11300 }
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 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);
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 {
11309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11310 }
11311 {
11312 if (temp4)
11313 delete arg4;
11314 }
11315 {
11316 if (temp7) delete arg7;
11317 }
11318 {
11319 if (temp11)
11320 delete arg11;
11321 }
11322 return resultobj;
11323 fail:
11324 {
11325 if (temp4)
11326 delete arg4;
11327 }
11328 {
11329 if (temp7) delete arg7;
11330 }
11331 {
11332 if (temp11)
11333 delete arg11;
11334 }
11335 return NULL;
11336 }
11337
11338
11339 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11340 PyObject *resultobj;
11341 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11342 int arg2 ;
11343 PyObject * obj0 = 0 ;
11344 PyObject * obj1 = 0 ;
11345 char *kwnames[] = {
11346 (char *) "self",(char *) "n", NULL
11347 };
11348
11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11352 arg2 = (int) SWIG_AsInt(obj1);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 {
11355 PyThreadState* __tstate = wxPyBeginAllowThreads();
11356 (arg1)->SetSelection(arg2);
11357
11358 wxPyEndAllowThreads(__tstate);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 Py_INCREF(Py_None); resultobj = Py_None;
11362 return resultobj;
11363 fail:
11364 return NULL;
11365 }
11366
11367
11368 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11369 PyObject *resultobj;
11370 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11371 int result;
11372 PyObject * obj0 = 0 ;
11373 char *kwnames[] = {
11374 (char *) "self", NULL
11375 };
11376
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11383
11384 wxPyEndAllowThreads(__tstate);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 resultobj = SWIG_FromInt((int)result);
11388 return resultobj;
11389 fail:
11390 return NULL;
11391 }
11392
11393
11394 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11395 PyObject *resultobj;
11396 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11397 wxString result;
11398 PyObject * obj0 = 0 ;
11399 char *kwnames[] = {
11400 (char *) "self", NULL
11401 };
11402
11403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11409
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 {
11414 #if wxUSE_UNICODE
11415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11416 #else
11417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11418 #endif
11419 }
11420 return resultobj;
11421 fail:
11422 return NULL;
11423 }
11424
11425
11426 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj;
11428 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11429 wxString *arg2 = 0 ;
11430 bool result;
11431 bool temp2 = False ;
11432 PyObject * obj0 = 0 ;
11433 PyObject * obj1 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self",(char *) "s", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11441 {
11442 arg2 = wxString_in_helper(obj1);
11443 if (arg2 == NULL) SWIG_fail;
11444 temp2 = True;
11445 }
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 {
11454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11455 }
11456 {
11457 if (temp2)
11458 delete arg2;
11459 }
11460 return resultobj;
11461 fail:
11462 {
11463 if (temp2)
11464 delete arg2;
11465 }
11466 return NULL;
11467 }
11468
11469
11470 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11471 PyObject *resultobj;
11472 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11473 int result;
11474 PyObject * obj0 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11482 {
11483 PyThreadState* __tstate = wxPyBeginAllowThreads();
11484 result = (int)((wxRadioBox const *)arg1)->GetCount();
11485
11486 wxPyEndAllowThreads(__tstate);
11487 if (PyErr_Occurred()) SWIG_fail;
11488 }
11489 resultobj = SWIG_FromInt((int)result);
11490 return resultobj;
11491 fail:
11492 return NULL;
11493 }
11494
11495
11496 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11497 PyObject *resultobj;
11498 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11499 wxString *arg2 = 0 ;
11500 int result;
11501 bool temp2 = False ;
11502 PyObject * obj0 = 0 ;
11503 PyObject * obj1 = 0 ;
11504 char *kwnames[] = {
11505 (char *) "self",(char *) "s", NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11511 {
11512 arg2 = wxString_in_helper(obj1);
11513 if (arg2 == NULL) SWIG_fail;
11514 temp2 = True;
11515 }
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 resultobj = SWIG_FromInt((int)result);
11524 {
11525 if (temp2)
11526 delete arg2;
11527 }
11528 return resultobj;
11529 fail:
11530 {
11531 if (temp2)
11532 delete arg2;
11533 }
11534 return NULL;
11535 }
11536
11537
11538 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11539 PyObject *resultobj;
11540 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11541 int arg2 ;
11542 wxString result;
11543 PyObject * obj0 = 0 ;
11544 PyObject * obj1 = 0 ;
11545 char *kwnames[] = {
11546 (char *) "self",(char *) "n", NULL
11547 };
11548
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11552 arg2 = (int) SWIG_AsInt(obj1);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11557
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 {
11562 #if wxUSE_UNICODE
11563 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11564 #else
11565 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11566 #endif
11567 }
11568 return resultobj;
11569 fail:
11570 return NULL;
11571 }
11572
11573
11574 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11575 PyObject *resultobj;
11576 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11577 int arg2 ;
11578 wxString *arg3 = 0 ;
11579 bool temp3 = False ;
11580 PyObject * obj0 = 0 ;
11581 PyObject * obj1 = 0 ;
11582 PyObject * obj2 = 0 ;
11583 char *kwnames[] = {
11584 (char *) "self",(char *) "n",(char *) "label", NULL
11585 };
11586
11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11590 arg2 = (int) SWIG_AsInt(obj1);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 {
11593 arg3 = wxString_in_helper(obj2);
11594 if (arg3 == NULL) SWIG_fail;
11595 temp3 = True;
11596 }
11597 {
11598 PyThreadState* __tstate = wxPyBeginAllowThreads();
11599 (arg1)->SetString(arg2,(wxString const &)*arg3);
11600
11601 wxPyEndAllowThreads(__tstate);
11602 if (PyErr_Occurred()) SWIG_fail;
11603 }
11604 Py_INCREF(Py_None); resultobj = Py_None;
11605 {
11606 if (temp3)
11607 delete arg3;
11608 }
11609 return resultobj;
11610 fail:
11611 {
11612 if (temp3)
11613 delete arg3;
11614 }
11615 return NULL;
11616 }
11617
11618
11619 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11620 PyObject *resultobj;
11621 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11622 int arg2 ;
11623 bool arg3 = (bool) True ;
11624 PyObject * obj0 = 0 ;
11625 PyObject * obj1 = 0 ;
11626 PyObject * obj2 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self",(char *) "n",(char *) "enable", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11634 arg2 = (int) SWIG_AsInt(obj1);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 if (obj2) {
11637 arg3 = (bool) SWIG_AsBool(obj2);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 (arg1)->Enable(arg2,arg3);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 Py_INCREF(Py_None); resultobj = Py_None;
11648 return resultobj;
11649 fail:
11650 return NULL;
11651 }
11652
11653
11654 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj;
11656 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11657 int arg2 ;
11658 bool arg3 = (bool) True ;
11659 PyObject * obj0 = 0 ;
11660 PyObject * obj1 = 0 ;
11661 PyObject * obj2 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self",(char *) "n",(char *) "show", NULL
11664 };
11665
11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11669 arg2 = (int) SWIG_AsInt(obj1);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 if (obj2) {
11672 arg3 = (bool) SWIG_AsBool(obj2);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 (arg1)->Show(arg2,arg3);
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 Py_INCREF(Py_None); resultobj = Py_None;
11683 return resultobj;
11684 fail:
11685 return NULL;
11686 }
11687
11688
11689 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11690 PyObject *resultobj;
11691 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11692 int result;
11693 PyObject * obj0 = 0 ;
11694 char *kwnames[] = {
11695 (char *) "self", NULL
11696 };
11697
11698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 resultobj = SWIG_FromInt((int)result);
11709 return resultobj;
11710 fail:
11711 return NULL;
11712 }
11713
11714
11715 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj;
11717 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11718 int result;
11719 PyObject * obj0 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "self", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11727 {
11728 PyThreadState* __tstate = wxPyBeginAllowThreads();
11729 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
11730
11731 wxPyEndAllowThreads(__tstate);
11732 if (PyErr_Occurred()) SWIG_fail;
11733 }
11734 resultobj = SWIG_FromInt((int)result);
11735 return resultobj;
11736 fail:
11737 return NULL;
11738 }
11739
11740
11741 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11742 PyObject *resultobj;
11743 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11744 int arg2 ;
11745 int arg3 ;
11746 long arg4 ;
11747 int result;
11748 PyObject * obj0 = 0 ;
11749 PyObject * obj1 = 0 ;
11750 PyObject * obj2 = 0 ;
11751 PyObject * obj3 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11759 arg2 = (int) SWIG_AsInt(obj1);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 arg3 = (wxDirection) SWIG_AsInt(obj2);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 arg4 = (long) SWIG_AsLong(obj3);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
11768
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 resultobj = SWIG_FromInt((int)result);
11773 return resultobj;
11774 fail:
11775 return NULL;
11776 }
11777
11778
11779 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11780 PyObject *obj;
11781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11782 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11783 Py_INCREF(obj);
11784 return Py_BuildValue((char *)"");
11785 }
11786 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11787 PyObject *resultobj;
11788 wxWindow *arg1 = (wxWindow *) 0 ;
11789 int arg2 ;
11790 wxString *arg3 = 0 ;
11791 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11792 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11793 wxSize const &arg5_defvalue = wxDefaultSize ;
11794 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11795 long arg6 = (long) 0 ;
11796 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11797 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11798 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11799 wxString *arg8 = (wxString *) &arg8_defvalue ;
11800 wxRadioButton *result;
11801 bool temp3 = False ;
11802 wxPoint temp4 ;
11803 wxSize temp5 ;
11804 bool temp8 = False ;
11805 PyObject * obj0 = 0 ;
11806 PyObject * obj1 = 0 ;
11807 PyObject * obj2 = 0 ;
11808 PyObject * obj3 = 0 ;
11809 PyObject * obj4 = 0 ;
11810 PyObject * obj5 = 0 ;
11811 PyObject * obj6 = 0 ;
11812 PyObject * obj7 = 0 ;
11813 char *kwnames[] = {
11814 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11815 };
11816
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11820 arg2 = (int) SWIG_AsInt(obj1);
11821 if (PyErr_Occurred()) SWIG_fail;
11822 {
11823 arg3 = wxString_in_helper(obj2);
11824 if (arg3 == NULL) SWIG_fail;
11825 temp3 = True;
11826 }
11827 if (obj3) {
11828 {
11829 arg4 = &temp4;
11830 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11831 }
11832 }
11833 if (obj4) {
11834 {
11835 arg5 = &temp5;
11836 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11837 }
11838 }
11839 if (obj5) {
11840 arg6 = (long) SWIG_AsLong(obj5);
11841 if (PyErr_Occurred()) SWIG_fail;
11842 }
11843 if (obj6) {
11844 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11845 SWIG_POINTER_EXCEPTION | 0)) == -1)
11846 SWIG_fail;
11847 if (arg7 == NULL) {
11848 PyErr_SetString(PyExc_TypeError,"null reference");
11849 SWIG_fail;
11850 }
11851 }
11852 if (obj7) {
11853 {
11854 arg8 = wxString_in_helper(obj7);
11855 if (arg8 == NULL) SWIG_fail;
11856 temp8 = True;
11857 }
11858 }
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11867 {
11868 if (temp3)
11869 delete arg3;
11870 }
11871 {
11872 if (temp8)
11873 delete arg8;
11874 }
11875 return resultobj;
11876 fail:
11877 {
11878 if (temp3)
11879 delete arg3;
11880 }
11881 {
11882 if (temp8)
11883 delete arg8;
11884 }
11885 return NULL;
11886 }
11887
11888
11889 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj;
11891 wxRadioButton *result;
11892 char *kwnames[] = {
11893 NULL
11894 };
11895
11896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11897 {
11898 PyThreadState* __tstate = wxPyBeginAllowThreads();
11899 result = (wxRadioButton *)new wxRadioButton();
11900
11901 wxPyEndAllowThreads(__tstate);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 }
11904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11905 return resultobj;
11906 fail:
11907 return NULL;
11908 }
11909
11910
11911 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11912 PyObject *resultobj;
11913 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11914 wxWindow *arg2 = (wxWindow *) 0 ;
11915 int arg3 ;
11916 wxString *arg4 = 0 ;
11917 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11918 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11919 wxSize const &arg6_defvalue = wxDefaultSize ;
11920 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11921 long arg7 = (long) 0 ;
11922 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11923 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11924 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11925 wxString *arg9 = (wxString *) &arg9_defvalue ;
11926 bool result;
11927 bool temp4 = False ;
11928 wxPoint temp5 ;
11929 wxSize temp6 ;
11930 bool temp9 = False ;
11931 PyObject * obj0 = 0 ;
11932 PyObject * obj1 = 0 ;
11933 PyObject * obj2 = 0 ;
11934 PyObject * obj3 = 0 ;
11935 PyObject * obj4 = 0 ;
11936 PyObject * obj5 = 0 ;
11937 PyObject * obj6 = 0 ;
11938 PyObject * obj7 = 0 ;
11939 PyObject * obj8 = 0 ;
11940 char *kwnames[] = {
11941 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11942 };
11943
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11949 arg3 = (int) SWIG_AsInt(obj2);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 {
11952 arg4 = wxString_in_helper(obj3);
11953 if (arg4 == NULL) SWIG_fail;
11954 temp4 = True;
11955 }
11956 if (obj4) {
11957 {
11958 arg5 = &temp5;
11959 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11960 }
11961 }
11962 if (obj5) {
11963 {
11964 arg6 = &temp6;
11965 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11966 }
11967 }
11968 if (obj6) {
11969 arg7 = (long) SWIG_AsLong(obj6);
11970 if (PyErr_Occurred()) SWIG_fail;
11971 }
11972 if (obj7) {
11973 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11974 SWIG_POINTER_EXCEPTION | 0)) == -1)
11975 SWIG_fail;
11976 if (arg8 == NULL) {
11977 PyErr_SetString(PyExc_TypeError,"null reference");
11978 SWIG_fail;
11979 }
11980 }
11981 if (obj8) {
11982 {
11983 arg9 = wxString_in_helper(obj8);
11984 if (arg9 == NULL) SWIG_fail;
11985 temp9 = True;
11986 }
11987 }
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11991
11992 wxPyEndAllowThreads(__tstate);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
11995 {
11996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11997 }
11998 {
11999 if (temp4)
12000 delete arg4;
12001 }
12002 {
12003 if (temp9)
12004 delete arg9;
12005 }
12006 return resultobj;
12007 fail:
12008 {
12009 if (temp4)
12010 delete arg4;
12011 }
12012 {
12013 if (temp9)
12014 delete arg9;
12015 }
12016 return NULL;
12017 }
12018
12019
12020 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12021 PyObject *resultobj;
12022 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12023 bool result;
12024 PyObject * obj0 = 0 ;
12025 char *kwnames[] = {
12026 (char *) "self", NULL
12027 };
12028
12029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12032 {
12033 PyThreadState* __tstate = wxPyBeginAllowThreads();
12034 result = (bool)(arg1)->GetValue();
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 {
12040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12041 }
12042 return resultobj;
12043 fail:
12044 return NULL;
12045 }
12046
12047
12048 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12051 bool arg2 ;
12052 PyObject * obj0 = 0 ;
12053 PyObject * obj1 = 0 ;
12054 char *kwnames[] = {
12055 (char *) "self",(char *) "value", NULL
12056 };
12057
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12061 arg2 = (bool) SWIG_AsBool(obj1);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 {
12064 PyThreadState* __tstate = wxPyBeginAllowThreads();
12065 (arg1)->SetValue(arg2);
12066
12067 wxPyEndAllowThreads(__tstate);
12068 if (PyErr_Occurred()) SWIG_fail;
12069 }
12070 Py_INCREF(Py_None); resultobj = Py_None;
12071 return resultobj;
12072 fail:
12073 return NULL;
12074 }
12075
12076
12077 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12078 PyObject *obj;
12079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12080 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12081 Py_INCREF(obj);
12082 return Py_BuildValue((char *)"");
12083 }
12084 static int _wrap_SliderNameStr_set(PyObject *_val) {
12085 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12086 return 1;
12087 }
12088
12089
12090 static PyObject *_wrap_SliderNameStr_get() {
12091 PyObject *pyobj;
12092
12093 {
12094 #if wxUSE_UNICODE
12095 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12096 #else
12097 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12098 #endif
12099 }
12100 return pyobj;
12101 }
12102
12103
12104 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12105 PyObject *resultobj;
12106 wxWindow *arg1 = (wxWindow *) 0 ;
12107 int arg2 ;
12108 int arg3 ;
12109 int arg4 ;
12110 int arg5 ;
12111 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12112 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12113 wxSize const &arg7_defvalue = wxDefaultSize ;
12114 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12115 long arg8 = (long) wxSL_HORIZONTAL ;
12116 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12117 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12118 wxString const &arg10_defvalue = wxPySliderNameStr ;
12119 wxString *arg10 = (wxString *) &arg10_defvalue ;
12120 wxSlider *result;
12121 wxPoint temp6 ;
12122 wxSize temp7 ;
12123 bool temp10 = False ;
12124 PyObject * obj0 = 0 ;
12125 PyObject * obj1 = 0 ;
12126 PyObject * obj2 = 0 ;
12127 PyObject * obj3 = 0 ;
12128 PyObject * obj4 = 0 ;
12129 PyObject * obj5 = 0 ;
12130 PyObject * obj6 = 0 ;
12131 PyObject * obj7 = 0 ;
12132 PyObject * obj8 = 0 ;
12133 PyObject * obj9 = 0 ;
12134 char *kwnames[] = {
12135 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12136 };
12137
12138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12141 arg2 = (int) SWIG_AsInt(obj1);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 arg3 = (int) SWIG_AsInt(obj2);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 arg4 = (int) SWIG_AsInt(obj3);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 arg5 = (int) SWIG_AsInt(obj4);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 if (obj5) {
12150 {
12151 arg6 = &temp6;
12152 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12153 }
12154 }
12155 if (obj6) {
12156 {
12157 arg7 = &temp7;
12158 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12159 }
12160 }
12161 if (obj7) {
12162 arg8 = (long) SWIG_AsLong(obj7);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 if (obj8) {
12166 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12167 SWIG_POINTER_EXCEPTION | 0)) == -1)
12168 SWIG_fail;
12169 if (arg9 == NULL) {
12170 PyErr_SetString(PyExc_TypeError,"null reference");
12171 SWIG_fail;
12172 }
12173 }
12174 if (obj9) {
12175 {
12176 arg10 = wxString_in_helper(obj9);
12177 if (arg10 == NULL) SWIG_fail;
12178 temp10 = True;
12179 }
12180 }
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12184
12185 wxPyEndAllowThreads(__tstate);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12189 {
12190 if (temp10)
12191 delete arg10;
12192 }
12193 return resultobj;
12194 fail:
12195 {
12196 if (temp10)
12197 delete arg10;
12198 }
12199 return NULL;
12200 }
12201
12202
12203 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj;
12205 wxSlider *result;
12206 char *kwnames[] = {
12207 NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12211 {
12212 PyThreadState* __tstate = wxPyBeginAllowThreads();
12213 result = (wxSlider *)new wxSlider();
12214
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12219 return resultobj;
12220 fail:
12221 return NULL;
12222 }
12223
12224
12225 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12226 PyObject *resultobj;
12227 wxSlider *arg1 = (wxSlider *) 0 ;
12228 wxWindow *arg2 = (wxWindow *) 0 ;
12229 int arg3 ;
12230 int arg4 ;
12231 int arg5 ;
12232 int arg6 ;
12233 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12234 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12235 wxSize const &arg8_defvalue = wxDefaultSize ;
12236 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12237 long arg9 = (long) wxSL_HORIZONTAL ;
12238 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12239 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12240 wxString const &arg11_defvalue = wxPySliderNameStr ;
12241 wxString *arg11 = (wxString *) &arg11_defvalue ;
12242 bool result;
12243 wxPoint temp7 ;
12244 wxSize temp8 ;
12245 bool temp11 = False ;
12246 PyObject * obj0 = 0 ;
12247 PyObject * obj1 = 0 ;
12248 PyObject * obj2 = 0 ;
12249 PyObject * obj3 = 0 ;
12250 PyObject * obj4 = 0 ;
12251 PyObject * obj5 = 0 ;
12252 PyObject * obj6 = 0 ;
12253 PyObject * obj7 = 0 ;
12254 PyObject * obj8 = 0 ;
12255 PyObject * obj9 = 0 ;
12256 PyObject * obj10 = 0 ;
12257 char *kwnames[] = {
12258 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12259 };
12260
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12266 arg3 = (int) SWIG_AsInt(obj2);
12267 if (PyErr_Occurred()) SWIG_fail;
12268 arg4 = (int) SWIG_AsInt(obj3);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 arg5 = (int) SWIG_AsInt(obj4);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 arg6 = (int) SWIG_AsInt(obj5);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 if (obj6) {
12275 {
12276 arg7 = &temp7;
12277 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12278 }
12279 }
12280 if (obj7) {
12281 {
12282 arg8 = &temp8;
12283 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12284 }
12285 }
12286 if (obj8) {
12287 arg9 = (long) SWIG_AsLong(obj8);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 if (obj9) {
12291 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12292 SWIG_POINTER_EXCEPTION | 0)) == -1)
12293 SWIG_fail;
12294 if (arg10 == NULL) {
12295 PyErr_SetString(PyExc_TypeError,"null reference");
12296 SWIG_fail;
12297 }
12298 }
12299 if (obj10) {
12300 {
12301 arg11 = wxString_in_helper(obj10);
12302 if (arg11 == NULL) SWIG_fail;
12303 temp11 = True;
12304 }
12305 }
12306 {
12307 PyThreadState* __tstate = wxPyBeginAllowThreads();
12308 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12309
12310 wxPyEndAllowThreads(__tstate);
12311 if (PyErr_Occurred()) SWIG_fail;
12312 }
12313 {
12314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12315 }
12316 {
12317 if (temp11)
12318 delete arg11;
12319 }
12320 return resultobj;
12321 fail:
12322 {
12323 if (temp11)
12324 delete arg11;
12325 }
12326 return NULL;
12327 }
12328
12329
12330 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxSlider *arg1 = (wxSlider *) 0 ;
12333 int result;
12334 PyObject * obj0 = 0 ;
12335 char *kwnames[] = {
12336 (char *) "self", NULL
12337 };
12338
12339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 result = (int)((wxSlider const *)arg1)->GetValue();
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 resultobj = SWIG_FromInt((int)result);
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj;
12358 wxSlider *arg1 = (wxSlider *) 0 ;
12359 int arg2 ;
12360 PyObject * obj0 = 0 ;
12361 PyObject * obj1 = 0 ;
12362 char *kwnames[] = {
12363 (char *) "self",(char *) "value", NULL
12364 };
12365
12366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12369 arg2 = (int) SWIG_AsInt(obj1);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 {
12372 PyThreadState* __tstate = wxPyBeginAllowThreads();
12373 (arg1)->SetValue(arg2);
12374
12375 wxPyEndAllowThreads(__tstate);
12376 if (PyErr_Occurred()) SWIG_fail;
12377 }
12378 Py_INCREF(Py_None); resultobj = Py_None;
12379 return resultobj;
12380 fail:
12381 return NULL;
12382 }
12383
12384
12385 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12386 PyObject *resultobj;
12387 wxSlider *arg1 = (wxSlider *) 0 ;
12388 int arg2 ;
12389 int arg3 ;
12390 PyObject * obj0 = 0 ;
12391 PyObject * obj1 = 0 ;
12392 PyObject * obj2 = 0 ;
12393 char *kwnames[] = {
12394 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12395 };
12396
12397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12400 arg2 = (int) SWIG_AsInt(obj1);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 arg3 = (int) SWIG_AsInt(obj2);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 {
12405 PyThreadState* __tstate = wxPyBeginAllowThreads();
12406 (arg1)->SetRange(arg2,arg3);
12407
12408 wxPyEndAllowThreads(__tstate);
12409 if (PyErr_Occurred()) SWIG_fail;
12410 }
12411 Py_INCREF(Py_None); resultobj = Py_None;
12412 return resultobj;
12413 fail:
12414 return NULL;
12415 }
12416
12417
12418 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12419 PyObject *resultobj;
12420 wxSlider *arg1 = (wxSlider *) 0 ;
12421 int result;
12422 PyObject * obj0 = 0 ;
12423 char *kwnames[] = {
12424 (char *) "self", NULL
12425 };
12426
12427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12430 {
12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
12432 result = (int)((wxSlider const *)arg1)->GetMin();
12433
12434 wxPyEndAllowThreads(__tstate);
12435 if (PyErr_Occurred()) SWIG_fail;
12436 }
12437 resultobj = SWIG_FromInt((int)result);
12438 return resultobj;
12439 fail:
12440 return NULL;
12441 }
12442
12443
12444 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12445 PyObject *resultobj;
12446 wxSlider *arg1 = (wxSlider *) 0 ;
12447 int result;
12448 PyObject * obj0 = 0 ;
12449 char *kwnames[] = {
12450 (char *) "self", NULL
12451 };
12452
12453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12456 {
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 result = (int)((wxSlider const *)arg1)->GetMax();
12459
12460 wxPyEndAllowThreads(__tstate);
12461 if (PyErr_Occurred()) SWIG_fail;
12462 }
12463 resultobj = SWIG_FromInt((int)result);
12464 return resultobj;
12465 fail:
12466 return NULL;
12467 }
12468
12469
12470 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12471 PyObject *resultobj;
12472 wxSlider *arg1 = (wxSlider *) 0 ;
12473 int arg2 ;
12474 PyObject * obj0 = 0 ;
12475 PyObject * obj1 = 0 ;
12476 char *kwnames[] = {
12477 (char *) "self",(char *) "minValue", NULL
12478 };
12479
12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12483 arg2 = (int) SWIG_AsInt(obj1);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 (arg1)->SetMin(arg2);
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 Py_INCREF(Py_None); resultobj = Py_None;
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj;
12501 wxSlider *arg1 = (wxSlider *) 0 ;
12502 int arg2 ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self",(char *) "maxValue", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12512 arg2 = (int) SWIG_AsInt(obj1);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 {
12515 PyThreadState* __tstate = wxPyBeginAllowThreads();
12516 (arg1)->SetMax(arg2);
12517
12518 wxPyEndAllowThreads(__tstate);
12519 if (PyErr_Occurred()) SWIG_fail;
12520 }
12521 Py_INCREF(Py_None); resultobj = Py_None;
12522 return resultobj;
12523 fail:
12524 return NULL;
12525 }
12526
12527
12528 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12529 PyObject *resultobj;
12530 wxSlider *arg1 = (wxSlider *) 0 ;
12531 int arg2 ;
12532 PyObject * obj0 = 0 ;
12533 PyObject * obj1 = 0 ;
12534 char *kwnames[] = {
12535 (char *) "self",(char *) "lineSize", NULL
12536 };
12537
12538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12541 arg2 = (int) SWIG_AsInt(obj1);
12542 if (PyErr_Occurred()) SWIG_fail;
12543 {
12544 PyThreadState* __tstate = wxPyBeginAllowThreads();
12545 (arg1)->SetLineSize(arg2);
12546
12547 wxPyEndAllowThreads(__tstate);
12548 if (PyErr_Occurred()) SWIG_fail;
12549 }
12550 Py_INCREF(Py_None); resultobj = Py_None;
12551 return resultobj;
12552 fail:
12553 return NULL;
12554 }
12555
12556
12557 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12558 PyObject *resultobj;
12559 wxSlider *arg1 = (wxSlider *) 0 ;
12560 int arg2 ;
12561 PyObject * obj0 = 0 ;
12562 PyObject * obj1 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "self",(char *) "pageSize", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12570 arg2 = (int) SWIG_AsInt(obj1);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 {
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 (arg1)->SetPageSize(arg2);
12575
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
12579 Py_INCREF(Py_None); resultobj = Py_None;
12580 return resultobj;
12581 fail:
12582 return NULL;
12583 }
12584
12585
12586 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12587 PyObject *resultobj;
12588 wxSlider *arg1 = (wxSlider *) 0 ;
12589 int result;
12590 PyObject * obj0 = 0 ;
12591 char *kwnames[] = {
12592 (char *) "self", NULL
12593 };
12594
12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 result = (int)((wxSlider const *)arg1)->GetLineSize();
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 resultobj = SWIG_FromInt((int)result);
12606 return resultobj;
12607 fail:
12608 return NULL;
12609 }
12610
12611
12612 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12613 PyObject *resultobj;
12614 wxSlider *arg1 = (wxSlider *) 0 ;
12615 int result;
12616 PyObject * obj0 = 0 ;
12617 char *kwnames[] = {
12618 (char *) "self", NULL
12619 };
12620
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 result = (int)((wxSlider const *)arg1)->GetPageSize();
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 resultobj = SWIG_FromInt((int)result);
12632 return resultobj;
12633 fail:
12634 return NULL;
12635 }
12636
12637
12638 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12639 PyObject *resultobj;
12640 wxSlider *arg1 = (wxSlider *) 0 ;
12641 int arg2 ;
12642 PyObject * obj0 = 0 ;
12643 PyObject * obj1 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self",(char *) "lenPixels", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12651 arg2 = (int) SWIG_AsInt(obj1);
12652 if (PyErr_Occurred()) SWIG_fail;
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 (arg1)->SetThumbLength(arg2);
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 Py_INCREF(Py_None); resultobj = Py_None;
12661 return resultobj;
12662 fail:
12663 return NULL;
12664 }
12665
12666
12667 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12668 PyObject *resultobj;
12669 wxSlider *arg1 = (wxSlider *) 0 ;
12670 int result;
12671 PyObject * obj0 = 0 ;
12672 char *kwnames[] = {
12673 (char *) "self", NULL
12674 };
12675
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 resultobj = SWIG_FromInt((int)result);
12687 return resultobj;
12688 fail:
12689 return NULL;
12690 }
12691
12692
12693 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxSlider *arg1 = (wxSlider *) 0 ;
12696 int arg2 ;
12697 int arg3 = (int) 1 ;
12698 PyObject * obj0 = 0 ;
12699 PyObject * obj1 = 0 ;
12700 PyObject * obj2 = 0 ;
12701 char *kwnames[] = {
12702 (char *) "self",(char *) "n",(char *) "pos", NULL
12703 };
12704
12705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12708 arg2 = (int) SWIG_AsInt(obj1);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 if (obj2) {
12711 arg3 = (int) SWIG_AsInt(obj2);
12712 if (PyErr_Occurred()) SWIG_fail;
12713 }
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 (arg1)->SetTickFreq(arg2,arg3);
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 Py_INCREF(Py_None); resultobj = Py_None;
12722 return resultobj;
12723 fail:
12724 return NULL;
12725 }
12726
12727
12728 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12729 PyObject *resultobj;
12730 wxSlider *arg1 = (wxSlider *) 0 ;
12731 int result;
12732 PyObject * obj0 = 0 ;
12733 char *kwnames[] = {
12734 (char *) "self", NULL
12735 };
12736
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12743
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
12747 resultobj = SWIG_FromInt((int)result);
12748 return resultobj;
12749 fail:
12750 return NULL;
12751 }
12752
12753
12754 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12755 PyObject *resultobj;
12756 wxSlider *arg1 = (wxSlider *) 0 ;
12757 PyObject * obj0 = 0 ;
12758 char *kwnames[] = {
12759 (char *) "self", NULL
12760 };
12761
12762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 (arg1)->ClearTicks();
12768
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 Py_INCREF(Py_None); resultobj = Py_None;
12773 return resultobj;
12774 fail:
12775 return NULL;
12776 }
12777
12778
12779 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj;
12781 wxSlider *arg1 = (wxSlider *) 0 ;
12782 int arg2 ;
12783 PyObject * obj0 = 0 ;
12784 PyObject * obj1 = 0 ;
12785 char *kwnames[] = {
12786 (char *) "self",(char *) "tickPos", NULL
12787 };
12788
12789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12792 arg2 = (int) SWIG_AsInt(obj1);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 {
12795 PyThreadState* __tstate = wxPyBeginAllowThreads();
12796 (arg1)->SetTick(arg2);
12797
12798 wxPyEndAllowThreads(__tstate);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 Py_INCREF(Py_None); resultobj = Py_None;
12802 return resultobj;
12803 fail:
12804 return NULL;
12805 }
12806
12807
12808 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12809 PyObject *resultobj;
12810 wxSlider *arg1 = (wxSlider *) 0 ;
12811 PyObject * obj0 = 0 ;
12812 char *kwnames[] = {
12813 (char *) "self", NULL
12814 };
12815
12816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 (arg1)->ClearSel();
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 }
12826 Py_INCREF(Py_None); resultobj = Py_None;
12827 return resultobj;
12828 fail:
12829 return NULL;
12830 }
12831
12832
12833 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12834 PyObject *resultobj;
12835 wxSlider *arg1 = (wxSlider *) 0 ;
12836 int result;
12837 PyObject * obj0 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 resultobj = SWIG_FromInt((int)result);
12853 return resultobj;
12854 fail:
12855 return NULL;
12856 }
12857
12858
12859 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12860 PyObject *resultobj;
12861 wxSlider *arg1 = (wxSlider *) 0 ;
12862 int result;
12863 PyObject * obj0 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12871 {
12872 PyThreadState* __tstate = wxPyBeginAllowThreads();
12873 result = (int)((wxSlider const *)arg1)->GetSelStart();
12874
12875 wxPyEndAllowThreads(__tstate);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 }
12878 resultobj = SWIG_FromInt((int)result);
12879 return resultobj;
12880 fail:
12881 return NULL;
12882 }
12883
12884
12885 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj;
12887 wxSlider *arg1 = (wxSlider *) 0 ;
12888 int arg2 ;
12889 int arg3 ;
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
12892 PyObject * obj2 = 0 ;
12893 char *kwnames[] = {
12894 (char *) "self",(char *) "min",(char *) "max", NULL
12895 };
12896
12897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12900 arg2 = (int) SWIG_AsInt(obj1);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 arg3 = (int) SWIG_AsInt(obj2);
12903 if (PyErr_Occurred()) SWIG_fail;
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 (arg1)->SetSelection(arg2,arg3);
12907
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 Py_INCREF(Py_None); resultobj = Py_None;
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12919 PyObject *obj;
12920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12921 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12922 Py_INCREF(obj);
12923 return Py_BuildValue((char *)"");
12924 }
12925 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12926 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12927 return 1;
12928 }
12929
12930
12931 static PyObject *_wrap_ToggleButtonNameStr_get() {
12932 PyObject *pyobj;
12933
12934 {
12935 #if wxUSE_UNICODE
12936 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12937 #else
12938 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12939 #endif
12940 }
12941 return pyobj;
12942 }
12943
12944
12945 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12946 PyObject *resultobj;
12947 wxWindow *arg1 = (wxWindow *) 0 ;
12948 int arg2 ;
12949 wxString *arg3 = 0 ;
12950 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12951 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12952 wxSize const &arg5_defvalue = wxDefaultSize ;
12953 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12954 long arg6 = (long) 0 ;
12955 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12956 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12957 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12958 wxString *arg8 = (wxString *) &arg8_defvalue ;
12959 wxToggleButton *result;
12960 bool temp3 = False ;
12961 wxPoint temp4 ;
12962 wxSize temp5 ;
12963 bool temp8 = False ;
12964 PyObject * obj0 = 0 ;
12965 PyObject * obj1 = 0 ;
12966 PyObject * obj2 = 0 ;
12967 PyObject * obj3 = 0 ;
12968 PyObject * obj4 = 0 ;
12969 PyObject * obj5 = 0 ;
12970 PyObject * obj6 = 0 ;
12971 PyObject * obj7 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12979 arg2 = (int) SWIG_AsInt(obj1);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 {
12982 arg3 = wxString_in_helper(obj2);
12983 if (arg3 == NULL) SWIG_fail;
12984 temp3 = True;
12985 }
12986 if (obj3) {
12987 {
12988 arg4 = &temp4;
12989 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12990 }
12991 }
12992 if (obj4) {
12993 {
12994 arg5 = &temp5;
12995 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12996 }
12997 }
12998 if (obj5) {
12999 arg6 = (long) SWIG_AsLong(obj5);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 if (obj6) {
13003 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13004 SWIG_POINTER_EXCEPTION | 0)) == -1)
13005 SWIG_fail;
13006 if (arg7 == NULL) {
13007 PyErr_SetString(PyExc_TypeError,"null reference");
13008 SWIG_fail;
13009 }
13010 }
13011 if (obj7) {
13012 {
13013 arg8 = wxString_in_helper(obj7);
13014 if (arg8 == NULL) SWIG_fail;
13015 temp8 = True;
13016 }
13017 }
13018 {
13019 PyThreadState* __tstate = wxPyBeginAllowThreads();
13020 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13021
13022 wxPyEndAllowThreads(__tstate);
13023 if (PyErr_Occurred()) SWIG_fail;
13024 }
13025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13026 {
13027 if (temp3)
13028 delete arg3;
13029 }
13030 {
13031 if (temp8)
13032 delete arg8;
13033 }
13034 return resultobj;
13035 fail:
13036 {
13037 if (temp3)
13038 delete arg3;
13039 }
13040 {
13041 if (temp8)
13042 delete arg8;
13043 }
13044 return NULL;
13045 }
13046
13047
13048 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxToggleButton *result;
13051 char *kwnames[] = {
13052 NULL
13053 };
13054
13055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13056 {
13057 PyThreadState* __tstate = wxPyBeginAllowThreads();
13058 result = (wxToggleButton *)new wxToggleButton();
13059
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
13063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13064 return resultobj;
13065 fail:
13066 return NULL;
13067 }
13068
13069
13070 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13071 PyObject *resultobj;
13072 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13073 wxWindow *arg2 = (wxWindow *) 0 ;
13074 int arg3 ;
13075 wxString *arg4 = 0 ;
13076 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13077 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13078 wxSize const &arg6_defvalue = wxDefaultSize ;
13079 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13080 long arg7 = (long) 0 ;
13081 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13082 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13083 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13084 wxString *arg9 = (wxString *) &arg9_defvalue ;
13085 bool result;
13086 bool temp4 = False ;
13087 wxPoint temp5 ;
13088 wxSize temp6 ;
13089 bool temp9 = False ;
13090 PyObject * obj0 = 0 ;
13091 PyObject * obj1 = 0 ;
13092 PyObject * obj2 = 0 ;
13093 PyObject * obj3 = 0 ;
13094 PyObject * obj4 = 0 ;
13095 PyObject * obj5 = 0 ;
13096 PyObject * obj6 = 0 ;
13097 PyObject * obj7 = 0 ;
13098 PyObject * obj8 = 0 ;
13099 char *kwnames[] = {
13100 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13101 };
13102
13103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13108 arg3 = (int) SWIG_AsInt(obj2);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 {
13111 arg4 = wxString_in_helper(obj3);
13112 if (arg4 == NULL) SWIG_fail;
13113 temp4 = True;
13114 }
13115 if (obj4) {
13116 {
13117 arg5 = &temp5;
13118 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13119 }
13120 }
13121 if (obj5) {
13122 {
13123 arg6 = &temp6;
13124 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13125 }
13126 }
13127 if (obj6) {
13128 arg7 = (long) SWIG_AsLong(obj6);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 if (obj7) {
13132 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13133 SWIG_POINTER_EXCEPTION | 0)) == -1)
13134 SWIG_fail;
13135 if (arg8 == NULL) {
13136 PyErr_SetString(PyExc_TypeError,"null reference");
13137 SWIG_fail;
13138 }
13139 }
13140 if (obj8) {
13141 {
13142 arg9 = wxString_in_helper(obj8);
13143 if (arg9 == NULL) SWIG_fail;
13144 temp9 = True;
13145 }
13146 }
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13150
13151 wxPyEndAllowThreads(__tstate);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 {
13155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13156 }
13157 {
13158 if (temp4)
13159 delete arg4;
13160 }
13161 {
13162 if (temp9)
13163 delete arg9;
13164 }
13165 return resultobj;
13166 fail:
13167 {
13168 if (temp4)
13169 delete arg4;
13170 }
13171 {
13172 if (temp9)
13173 delete arg9;
13174 }
13175 return NULL;
13176 }
13177
13178
13179 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj;
13181 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13182 bool arg2 ;
13183 PyObject * obj0 = 0 ;
13184 PyObject * obj1 = 0 ;
13185 char *kwnames[] = {
13186 (char *) "self",(char *) "value", NULL
13187 };
13188
13189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13192 arg2 = (bool) SWIG_AsBool(obj1);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 (arg1)->SetValue(arg2);
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 Py_INCREF(Py_None); resultobj = Py_None;
13202 return resultobj;
13203 fail:
13204 return NULL;
13205 }
13206
13207
13208 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13209 PyObject *resultobj;
13210 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13211 bool result;
13212 PyObject * obj0 = 0 ;
13213 char *kwnames[] = {
13214 (char *) "self", NULL
13215 };
13216
13217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
13218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13220 {
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13223
13224 wxPyEndAllowThreads(__tstate);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 }
13227 {
13228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13229 }
13230 return resultobj;
13231 fail:
13232 return NULL;
13233 }
13234
13235
13236 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj;
13238 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13239 wxString *arg2 = 0 ;
13240 bool temp2 = False ;
13241 PyObject * obj0 = 0 ;
13242 PyObject * obj1 = 0 ;
13243 char *kwnames[] = {
13244 (char *) "self",(char *) "label", NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13250 {
13251 arg2 = wxString_in_helper(obj1);
13252 if (arg2 == NULL) SWIG_fail;
13253 temp2 = True;
13254 }
13255 {
13256 PyThreadState* __tstate = wxPyBeginAllowThreads();
13257 (arg1)->SetLabel((wxString const &)*arg2);
13258
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 Py_INCREF(Py_None); resultobj = Py_None;
13263 {
13264 if (temp2)
13265 delete arg2;
13266 }
13267 return resultobj;
13268 fail:
13269 {
13270 if (temp2)
13271 delete arg2;
13272 }
13273 return NULL;
13274 }
13275
13276
13277 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13278 PyObject *obj;
13279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13280 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13281 Py_INCREF(obj);
13282 return Py_BuildValue((char *)"");
13283 }
13284 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13285 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13286 return 1;
13287 }
13288
13289
13290 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13291 PyObject *pyobj;
13292
13293 {
13294 #if wxUSE_UNICODE
13295 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13296 #else
13297 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13298 #endif
13299 }
13300 return pyobj;
13301 }
13302
13303
13304 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13305 PyObject *resultobj;
13306 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13307 size_t result;
13308 PyObject * obj0 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13319
13320 wxPyEndAllowThreads(__tstate);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
13323 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
13324 return resultobj;
13325 fail:
13326 return NULL;
13327 }
13328
13329
13330 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13333 size_t arg2 ;
13334 wxWindow *result;
13335 PyObject * obj0 = 0 ;
13336 PyObject * obj1 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "self",(char *) "n", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13344 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 {
13347 PyThreadState* __tstate = wxPyBeginAllowThreads();
13348 result = (wxWindow *)(arg1)->GetPage(arg2);
13349
13350 wxPyEndAllowThreads(__tstate);
13351 if (PyErr_Occurred()) SWIG_fail;
13352 }
13353 {
13354 resultobj = wxPyMake_wxObject(result);
13355 }
13356 return resultobj;
13357 fail:
13358 return NULL;
13359 }
13360
13361
13362 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13363 PyObject *resultobj;
13364 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13365 int result;
13366 PyObject * obj0 = 0 ;
13367 char *kwnames[] = {
13368 (char *) "self", NULL
13369 };
13370
13371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13374 {
13375 PyThreadState* __tstate = wxPyBeginAllowThreads();
13376 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13377
13378 wxPyEndAllowThreads(__tstate);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
13381 resultobj = SWIG_FromInt((int)result);
13382 return resultobj;
13383 fail:
13384 return NULL;
13385 }
13386
13387
13388 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13389 PyObject *resultobj;
13390 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13391 size_t arg2 ;
13392 wxString *arg3 = 0 ;
13393 bool result;
13394 bool temp3 = False ;
13395 PyObject * obj0 = 0 ;
13396 PyObject * obj1 = 0 ;
13397 PyObject * obj2 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "self",(char *) "n",(char *) "strText", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13405 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 {
13408 arg3 = wxString_in_helper(obj2);
13409 if (arg3 == NULL) SWIG_fail;
13410 temp3 = True;
13411 }
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 {
13420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13421 }
13422 {
13423 if (temp3)
13424 delete arg3;
13425 }
13426 return resultobj;
13427 fail:
13428 {
13429 if (temp3)
13430 delete arg3;
13431 }
13432 return NULL;
13433 }
13434
13435
13436 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13437 PyObject *resultobj;
13438 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13439 size_t arg2 ;
13440 wxString result;
13441 PyObject * obj0 = 0 ;
13442 PyObject * obj1 = 0 ;
13443 char *kwnames[] = {
13444 (char *) "self",(char *) "n", NULL
13445 };
13446
13447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13450 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 {
13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
13454 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13455
13456 wxPyEndAllowThreads(__tstate);
13457 if (PyErr_Occurred()) SWIG_fail;
13458 }
13459 {
13460 #if wxUSE_UNICODE
13461 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13462 #else
13463 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13464 #endif
13465 }
13466 return resultobj;
13467 fail:
13468 return NULL;
13469 }
13470
13471
13472 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13473 PyObject *resultobj;
13474 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13475 wxImageList *arg2 = (wxImageList *) 0 ;
13476 PyObject * obj0 = 0 ;
13477 PyObject * obj1 = 0 ;
13478 char *kwnames[] = {
13479 (char *) "self",(char *) "imageList", NULL
13480 };
13481
13482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
13489 (arg1)->SetImageList(arg2);
13490
13491 wxPyEndAllowThreads(__tstate);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 }
13494 Py_INCREF(Py_None); resultobj = Py_None;
13495 return resultobj;
13496 fail:
13497 return NULL;
13498 }
13499
13500
13501 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13502 PyObject *resultobj;
13503 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13504 wxImageList *arg2 = (wxImageList *) 0 ;
13505 PyObject * obj0 = 0 ;
13506 PyObject * obj1 = 0 ;
13507 char *kwnames[] = {
13508 (char *) "self",(char *) "imageList", NULL
13509 };
13510
13511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13515 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 (arg1)->AssignImageList(arg2);
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 Py_INCREF(Py_None); resultobj = Py_None;
13524 return resultobj;
13525 fail:
13526 return NULL;
13527 }
13528
13529
13530 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj;
13532 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13533 wxImageList *result;
13534 PyObject * obj0 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13545
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
13549 {
13550 resultobj = wxPyMake_wxObject(result);
13551 }
13552 return resultobj;
13553 fail:
13554 return NULL;
13555 }
13556
13557
13558 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13559 PyObject *resultobj;
13560 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13561 size_t arg2 ;
13562 int result;
13563 PyObject * obj0 = 0 ;
13564 PyObject * obj1 = 0 ;
13565 char *kwnames[] = {
13566 (char *) "self",(char *) "n", NULL
13567 };
13568
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13572 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 resultobj = SWIG_FromInt((int)result);
13582 return resultobj;
13583 fail:
13584 return NULL;
13585 }
13586
13587
13588 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13589 PyObject *resultobj;
13590 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13591 size_t arg2 ;
13592 int arg3 ;
13593 bool result;
13594 PyObject * obj0 = 0 ;
13595 PyObject * obj1 = 0 ;
13596 PyObject * obj2 = 0 ;
13597 char *kwnames[] = {
13598 (char *) "self",(char *) "n",(char *) "imageId", NULL
13599 };
13600
13601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13604 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13605 if (PyErr_Occurred()) SWIG_fail;
13606 arg3 = (int) SWIG_AsInt(obj2);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 {
13616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13617 }
13618 return resultobj;
13619 fail:
13620 return NULL;
13621 }
13622
13623
13624 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13625 PyObject *resultobj;
13626 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13627 wxSize *arg2 = 0 ;
13628 wxSize temp2 ;
13629 PyObject * obj0 = 0 ;
13630 PyObject * obj1 = 0 ;
13631 char *kwnames[] = {
13632 (char *) "self",(char *) "size", NULL
13633 };
13634
13635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13638 {
13639 arg2 = &temp2;
13640 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13641 }
13642 {
13643 PyThreadState* __tstate = wxPyBeginAllowThreads();
13644 (arg1)->SetPageSize((wxSize const &)*arg2);
13645
13646 wxPyEndAllowThreads(__tstate);
13647 if (PyErr_Occurred()) SWIG_fail;
13648 }
13649 Py_INCREF(Py_None); resultobj = Py_None;
13650 return resultobj;
13651 fail:
13652 return NULL;
13653 }
13654
13655
13656 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13657 PyObject *resultobj;
13658 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13659 wxSize *arg2 = 0 ;
13660 wxSize result;
13661 wxSize temp2 ;
13662 PyObject * obj0 = 0 ;
13663 PyObject * obj1 = 0 ;
13664 char *kwnames[] = {
13665 (char *) "self",(char *) "sizePage", NULL
13666 };
13667
13668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13671 {
13672 arg2 = &temp2;
13673 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13674 }
13675 {
13676 PyThreadState* __tstate = wxPyBeginAllowThreads();
13677 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13678
13679 wxPyEndAllowThreads(__tstate);
13680 if (PyErr_Occurred()) SWIG_fail;
13681 }
13682 {
13683 wxSize * resultptr;
13684 resultptr = new wxSize((wxSize &) result);
13685 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13686 }
13687 return resultobj;
13688 fail:
13689 return NULL;
13690 }
13691
13692
13693 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13694 PyObject *resultobj;
13695 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13696 size_t arg2 ;
13697 bool result;
13698 PyObject * obj0 = 0 ;
13699 PyObject * obj1 = 0 ;
13700 char *kwnames[] = {
13701 (char *) "self",(char *) "n", NULL
13702 };
13703
13704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13707 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 result = (bool)(arg1)->DeletePage(arg2);
13712
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 {
13717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13718 }
13719 return resultobj;
13720 fail:
13721 return NULL;
13722 }
13723
13724
13725 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13726 PyObject *resultobj;
13727 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13728 size_t arg2 ;
13729 bool result;
13730 PyObject * obj0 = 0 ;
13731 PyObject * obj1 = 0 ;
13732 char *kwnames[] = {
13733 (char *) "self",(char *) "n", NULL
13734 };
13735
13736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13739 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13740 if (PyErr_Occurred()) SWIG_fail;
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 result = (bool)(arg1)->RemovePage(arg2);
13744
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 {
13749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13750 }
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13760 bool result;
13761 PyObject * obj0 = 0 ;
13762 char *kwnames[] = {
13763 (char *) "self", NULL
13764 };
13765
13766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13769 {
13770 PyThreadState* __tstate = wxPyBeginAllowThreads();
13771 result = (bool)(arg1)->DeleteAllPages();
13772
13773 wxPyEndAllowThreads(__tstate);
13774 if (PyErr_Occurred()) SWIG_fail;
13775 }
13776 {
13777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13778 }
13779 return resultobj;
13780 fail:
13781 return NULL;
13782 }
13783
13784
13785 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13786 PyObject *resultobj;
13787 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13788 wxWindow *arg2 = (wxWindow *) 0 ;
13789 wxString *arg3 = 0 ;
13790 bool arg4 = (bool) False ;
13791 int arg5 = (int) -1 ;
13792 bool result;
13793 bool temp3 = False ;
13794 PyObject * obj0 = 0 ;
13795 PyObject * obj1 = 0 ;
13796 PyObject * obj2 = 0 ;
13797 PyObject * obj3 = 0 ;
13798 PyObject * obj4 = 0 ;
13799 char *kwnames[] = {
13800 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13801 };
13802
13803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13808 {
13809 arg3 = wxString_in_helper(obj2);
13810 if (arg3 == NULL) SWIG_fail;
13811 temp3 = True;
13812 }
13813 if (obj3) {
13814 arg4 = (bool) SWIG_AsBool(obj3);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 if (obj4) {
13818 arg5 = (int) SWIG_AsInt(obj4);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13824
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 {
13829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13830 }
13831 {
13832 if (temp3)
13833 delete arg3;
13834 }
13835 return resultobj;
13836 fail:
13837 {
13838 if (temp3)
13839 delete arg3;
13840 }
13841 return NULL;
13842 }
13843
13844
13845 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13846 PyObject *resultobj;
13847 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13848 size_t arg2 ;
13849 wxWindow *arg3 = (wxWindow *) 0 ;
13850 wxString *arg4 = 0 ;
13851 bool arg5 = (bool) False ;
13852 int arg6 = (int) -1 ;
13853 bool result;
13854 bool temp4 = False ;
13855 PyObject * obj0 = 0 ;
13856 PyObject * obj1 = 0 ;
13857 PyObject * obj2 = 0 ;
13858 PyObject * obj3 = 0 ;
13859 PyObject * obj4 = 0 ;
13860 PyObject * obj5 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13868 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13872 {
13873 arg4 = wxString_in_helper(obj3);
13874 if (arg4 == NULL) SWIG_fail;
13875 temp4 = True;
13876 }
13877 if (obj4) {
13878 arg5 = (bool) SWIG_AsBool(obj4);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 }
13881 if (obj5) {
13882 arg6 = (int) SWIG_AsInt(obj5);
13883 if (PyErr_Occurred()) SWIG_fail;
13884 }
13885 {
13886 PyThreadState* __tstate = wxPyBeginAllowThreads();
13887 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13888
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
13892 {
13893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13894 }
13895 {
13896 if (temp4)
13897 delete arg4;
13898 }
13899 return resultobj;
13900 fail:
13901 {
13902 if (temp4)
13903 delete arg4;
13904 }
13905 return NULL;
13906 }
13907
13908
13909 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj;
13911 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13912 size_t arg2 ;
13913 int result;
13914 PyObject * obj0 = 0 ;
13915 PyObject * obj1 = 0 ;
13916 char *kwnames[] = {
13917 (char *) "self",(char *) "n", NULL
13918 };
13919
13920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13923 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 result = (int)(arg1)->SetSelection(arg2);
13928
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 resultobj = SWIG_FromInt((int)result);
13933 return resultobj;
13934 fail:
13935 return NULL;
13936 }
13937
13938
13939 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13940 PyObject *resultobj;
13941 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13942 bool arg2 = (bool) True ;
13943 PyObject * obj0 = 0 ;
13944 PyObject * obj1 = 0 ;
13945 char *kwnames[] = {
13946 (char *) "self",(char *) "forward", NULL
13947 };
13948
13949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13952 if (obj1) {
13953 arg2 = (bool) SWIG_AsBool(obj1);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 {
13957 PyThreadState* __tstate = wxPyBeginAllowThreads();
13958 (arg1)->AdvanceSelection(arg2);
13959
13960 wxPyEndAllowThreads(__tstate);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 }
13963 Py_INCREF(Py_None); resultobj = Py_None;
13964 return resultobj;
13965 fail:
13966 return NULL;
13967 }
13968
13969
13970 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13971 PyObject *obj;
13972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13973 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13974 Py_INCREF(obj);
13975 return Py_BuildValue((char *)"");
13976 }
13977 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13978 PyObject *resultobj;
13979 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13980 int arg2 = (int) 0 ;
13981 int arg3 = (int) -1 ;
13982 int arg4 = (int) -1 ;
13983 wxBookCtrlEvent *result;
13984 PyObject * obj0 = 0 ;
13985 PyObject * obj1 = 0 ;
13986 PyObject * obj2 = 0 ;
13987 PyObject * obj3 = 0 ;
13988 char *kwnames[] = {
13989 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13990 };
13991
13992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13993 if (obj0) {
13994 arg1 = (wxEventType) SWIG_AsInt(obj0);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 if (obj1) {
13998 arg2 = (int) SWIG_AsInt(obj1);
13999 if (PyErr_Occurred()) SWIG_fail;
14000 }
14001 if (obj2) {
14002 arg3 = (int) SWIG_AsInt(obj2);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 if (obj3) {
14006 arg4 = (int) SWIG_AsInt(obj3);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 {
14010 PyThreadState* __tstate = wxPyBeginAllowThreads();
14011 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14012
14013 wxPyEndAllowThreads(__tstate);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
14016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14017 return resultobj;
14018 fail:
14019 return NULL;
14020 }
14021
14022
14023 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14024 PyObject *resultobj;
14025 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14026 int result;
14027 PyObject * obj0 = 0 ;
14028 char *kwnames[] = {
14029 (char *) "self", NULL
14030 };
14031
14032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14035 {
14036 PyThreadState* __tstate = wxPyBeginAllowThreads();
14037 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14038
14039 wxPyEndAllowThreads(__tstate);
14040 if (PyErr_Occurred()) SWIG_fail;
14041 }
14042 resultobj = SWIG_FromInt((int)result);
14043 return resultobj;
14044 fail:
14045 return NULL;
14046 }
14047
14048
14049 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14050 PyObject *resultobj;
14051 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14052 int arg2 ;
14053 PyObject * obj0 = 0 ;
14054 PyObject * obj1 = 0 ;
14055 char *kwnames[] = {
14056 (char *) "self",(char *) "nSel", NULL
14057 };
14058
14059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14062 arg2 = (int) SWIG_AsInt(obj1);
14063 if (PyErr_Occurred()) SWIG_fail;
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 (arg1)->SetSelection(arg2);
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 Py_INCREF(Py_None); resultobj = Py_None;
14072 return resultobj;
14073 fail:
14074 return NULL;
14075 }
14076
14077
14078 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14079 PyObject *resultobj;
14080 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14081 int result;
14082 PyObject * obj0 = 0 ;
14083 char *kwnames[] = {
14084 (char *) "self", NULL
14085 };
14086
14087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14090 {
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
14092 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14093
14094 wxPyEndAllowThreads(__tstate);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
14097 resultobj = SWIG_FromInt((int)result);
14098 return resultobj;
14099 fail:
14100 return NULL;
14101 }
14102
14103
14104 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14105 PyObject *resultobj;
14106 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14107 int arg2 ;
14108 PyObject * obj0 = 0 ;
14109 PyObject * obj1 = 0 ;
14110 char *kwnames[] = {
14111 (char *) "self",(char *) "nOldSel", NULL
14112 };
14113
14114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14117 arg2 = (int) SWIG_AsInt(obj1);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 (arg1)->SetOldSelection(arg2);
14122
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 Py_INCREF(Py_None); resultobj = Py_None;
14127 return resultobj;
14128 fail:
14129 return NULL;
14130 }
14131
14132
14133 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14134 PyObject *obj;
14135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14136 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14137 Py_INCREF(obj);
14138 return Py_BuildValue((char *)"");
14139 }
14140 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14141 PyObject *resultobj;
14142 wxWindow *arg1 = (wxWindow *) 0 ;
14143 int arg2 = (int) -1 ;
14144 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14145 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14146 wxSize const &arg4_defvalue = wxDefaultSize ;
14147 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14148 long arg5 = (long) 0 ;
14149 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14150 wxString *arg6 = (wxString *) &arg6_defvalue ;
14151 wxNotebook *result;
14152 wxPoint temp3 ;
14153 wxSize temp4 ;
14154 bool temp6 = False ;
14155 PyObject * obj0 = 0 ;
14156 PyObject * obj1 = 0 ;
14157 PyObject * obj2 = 0 ;
14158 PyObject * obj3 = 0 ;
14159 PyObject * obj4 = 0 ;
14160 PyObject * obj5 = 0 ;
14161 char *kwnames[] = {
14162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14168 if (obj1) {
14169 arg2 = (int) SWIG_AsInt(obj1);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
14172 if (obj2) {
14173 {
14174 arg3 = &temp3;
14175 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14176 }
14177 }
14178 if (obj3) {
14179 {
14180 arg4 = &temp4;
14181 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14182 }
14183 }
14184 if (obj4) {
14185 arg5 = (long) SWIG_AsLong(obj4);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 if (obj5) {
14189 {
14190 arg6 = wxString_in_helper(obj5);
14191 if (arg6 == NULL) SWIG_fail;
14192 temp6 = True;
14193 }
14194 }
14195 {
14196 PyThreadState* __tstate = wxPyBeginAllowThreads();
14197 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14198
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 {
14203 resultobj = wxPyMake_wxObject(result);
14204 }
14205 {
14206 if (temp6)
14207 delete arg6;
14208 }
14209 return resultobj;
14210 fail:
14211 {
14212 if (temp6)
14213 delete arg6;
14214 }
14215 return NULL;
14216 }
14217
14218
14219 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxNotebook *result;
14222 char *kwnames[] = {
14223 NULL
14224 };
14225
14226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14227 {
14228 PyThreadState* __tstate = wxPyBeginAllowThreads();
14229 result = (wxNotebook *)new wxNotebook();
14230
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 {
14235 resultobj = wxPyMake_wxObject(result);
14236 }
14237 return resultobj;
14238 fail:
14239 return NULL;
14240 }
14241
14242
14243 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14244 PyObject *resultobj;
14245 wxNotebook *arg1 = (wxNotebook *) 0 ;
14246 wxWindow *arg2 = (wxWindow *) 0 ;
14247 int arg3 ;
14248 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14249 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14250 wxSize const &arg5_defvalue = wxDefaultSize ;
14251 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14252 long arg6 = (long) 0 ;
14253 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14254 wxString *arg7 = (wxString *) &arg7_defvalue ;
14255 bool result;
14256 wxPoint temp4 ;
14257 wxSize temp5 ;
14258 bool temp7 = False ;
14259 PyObject * obj0 = 0 ;
14260 PyObject * obj1 = 0 ;
14261 PyObject * obj2 = 0 ;
14262 PyObject * obj3 = 0 ;
14263 PyObject * obj4 = 0 ;
14264 PyObject * obj5 = 0 ;
14265 PyObject * obj6 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14275 arg3 = (int) SWIG_AsInt(obj2);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 if (obj3) {
14278 {
14279 arg4 = &temp4;
14280 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14281 }
14282 }
14283 if (obj4) {
14284 {
14285 arg5 = &temp5;
14286 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14287 }
14288 }
14289 if (obj5) {
14290 arg6 = (long) SWIG_AsLong(obj5);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 if (obj6) {
14294 {
14295 arg7 = wxString_in_helper(obj6);
14296 if (arg7 == NULL) SWIG_fail;
14297 temp7 = True;
14298 }
14299 }
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 {
14308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14309 }
14310 {
14311 if (temp7)
14312 delete arg7;
14313 }
14314 return resultobj;
14315 fail:
14316 {
14317 if (temp7)
14318 delete arg7;
14319 }
14320 return NULL;
14321 }
14322
14323
14324 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14325 PyObject *resultobj;
14326 wxNotebook *arg1 = (wxNotebook *) 0 ;
14327 int result;
14328 PyObject * obj0 = 0 ;
14329 char *kwnames[] = {
14330 (char *) "self", NULL
14331 };
14332
14333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14339
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 resultobj = SWIG_FromInt((int)result);
14344 return resultobj;
14345 fail:
14346 return NULL;
14347 }
14348
14349
14350 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14351 PyObject *resultobj;
14352 wxNotebook *arg1 = (wxNotebook *) 0 ;
14353 wxSize *arg2 = 0 ;
14354 wxSize temp2 ;
14355 PyObject * obj0 = 0 ;
14356 PyObject * obj1 = 0 ;
14357 char *kwnames[] = {
14358 (char *) "self",(char *) "padding", NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14364 {
14365 arg2 = &temp2;
14366 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14367 }
14368 {
14369 PyThreadState* __tstate = wxPyBeginAllowThreads();
14370 (arg1)->SetPadding((wxSize const &)*arg2);
14371
14372 wxPyEndAllowThreads(__tstate);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 }
14375 Py_INCREF(Py_None); resultobj = Py_None;
14376 return resultobj;
14377 fail:
14378 return NULL;
14379 }
14380
14381
14382 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14383 PyObject *resultobj;
14384 wxNotebook *arg1 = (wxNotebook *) 0 ;
14385 wxSize *arg2 = 0 ;
14386 wxSize temp2 ;
14387 PyObject * obj0 = 0 ;
14388 PyObject * obj1 = 0 ;
14389 char *kwnames[] = {
14390 (char *) "self",(char *) "sz", NULL
14391 };
14392
14393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14396 {
14397 arg2 = &temp2;
14398 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14399 }
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 (arg1)->SetTabSize((wxSize const &)*arg2);
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 Py_INCREF(Py_None); resultobj = Py_None;
14408 return resultobj;
14409 fail:
14410 return NULL;
14411 }
14412
14413
14414 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj;
14416 wxNotebook *arg1 = (wxNotebook *) 0 ;
14417 wxPoint *arg2 = 0 ;
14418 long *arg3 = (long *) 0 ;
14419 int result;
14420 wxPoint temp2 ;
14421 long temp3 ;
14422 PyObject * obj0 = 0 ;
14423 PyObject * obj1 = 0 ;
14424 char *kwnames[] = {
14425 (char *) "self",(char *) "pt", NULL
14426 };
14427
14428 arg3 = &temp3;
14429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14432 {
14433 arg2 = &temp2;
14434 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14435 }
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 resultobj = SWIG_FromInt((int)result);
14444 {
14445 PyObject *o = PyInt_FromLong((long) (*arg3));
14446 resultobj = t_output_helper(resultobj,o);
14447 }
14448 return resultobj;
14449 fail:
14450 return NULL;
14451 }
14452
14453
14454 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14455 PyObject *resultobj;
14456 wxNotebook *arg1 = (wxNotebook *) 0 ;
14457 wxSize *arg2 = 0 ;
14458 wxSize result;
14459 wxSize temp2 ;
14460 PyObject * obj0 = 0 ;
14461 PyObject * obj1 = 0 ;
14462 char *kwnames[] = {
14463 (char *) "self",(char *) "sizePage", NULL
14464 };
14465
14466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14469 {
14470 arg2 = &temp2;
14471 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14472 }
14473 {
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14476
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 {
14481 wxSize * resultptr;
14482 resultptr = new wxSize((wxSize &) result);
14483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14484 }
14485 return resultobj;
14486 fail:
14487 return NULL;
14488 }
14489
14490
14491 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14492 PyObject *obj;
14493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14494 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14495 Py_INCREF(obj);
14496 return Py_BuildValue((char *)"");
14497 }
14498 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14501 int arg2 = (int) 0 ;
14502 int arg3 = (int) -1 ;
14503 int arg4 = (int) -1 ;
14504 wxNotebookEvent *result;
14505 PyObject * obj0 = 0 ;
14506 PyObject * obj1 = 0 ;
14507 PyObject * obj2 = 0 ;
14508 PyObject * obj3 = 0 ;
14509 char *kwnames[] = {
14510 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14511 };
14512
14513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14514 if (obj0) {
14515 arg1 = (wxEventType) SWIG_AsInt(obj0);
14516 if (PyErr_Occurred()) SWIG_fail;
14517 }
14518 if (obj1) {
14519 arg2 = (int) SWIG_AsInt(obj1);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 if (obj2) {
14523 arg3 = (int) SWIG_AsInt(obj2);
14524 if (PyErr_Occurred()) SWIG_fail;
14525 }
14526 if (obj3) {
14527 arg4 = (int) SWIG_AsInt(obj3);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 {
14531 PyThreadState* __tstate = wxPyBeginAllowThreads();
14532 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14533
14534 wxPyEndAllowThreads(__tstate);
14535 if (PyErr_Occurred()) SWIG_fail;
14536 }
14537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14538 return resultobj;
14539 fail:
14540 return NULL;
14541 }
14542
14543
14544 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14545 PyObject *obj;
14546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14547 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14548 Py_INCREF(obj);
14549 return Py_BuildValue((char *)"");
14550 }
14551 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14552 PyObject *resultobj;
14553 wxWindow *arg1 = (wxWindow *) 0 ;
14554 int arg2 = (int) -1 ;
14555 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14556 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14557 wxSize const &arg4_defvalue = wxDefaultSize ;
14558 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14559 long arg5 = (long) 0 ;
14560 wxString const &arg6_defvalue = wxPyEmptyString ;
14561 wxString *arg6 = (wxString *) &arg6_defvalue ;
14562 wxListbook *result;
14563 wxPoint temp3 ;
14564 wxSize temp4 ;
14565 bool temp6 = False ;
14566 PyObject * obj0 = 0 ;
14567 PyObject * obj1 = 0 ;
14568 PyObject * obj2 = 0 ;
14569 PyObject * obj3 = 0 ;
14570 PyObject * obj4 = 0 ;
14571 PyObject * obj5 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14579 if (obj1) {
14580 arg2 = (int) SWIG_AsInt(obj1);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 if (obj2) {
14584 {
14585 arg3 = &temp3;
14586 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14587 }
14588 }
14589 if (obj3) {
14590 {
14591 arg4 = &temp4;
14592 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14593 }
14594 }
14595 if (obj4) {
14596 arg5 = (long) SWIG_AsLong(obj4);
14597 if (PyErr_Occurred()) SWIG_fail;
14598 }
14599 if (obj5) {
14600 {
14601 arg6 = wxString_in_helper(obj5);
14602 if (arg6 == NULL) SWIG_fail;
14603 temp6 = True;
14604 }
14605 }
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14614 {
14615 if (temp6)
14616 delete arg6;
14617 }
14618 return resultobj;
14619 fail:
14620 {
14621 if (temp6)
14622 delete arg6;
14623 }
14624 return NULL;
14625 }
14626
14627
14628 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj;
14630 wxListbook *result;
14631 char *kwnames[] = {
14632 NULL
14633 };
14634
14635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14636 {
14637 PyThreadState* __tstate = wxPyBeginAllowThreads();
14638 result = (wxListbook *)new wxListbook();
14639
14640 wxPyEndAllowThreads(__tstate);
14641 if (PyErr_Occurred()) SWIG_fail;
14642 }
14643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14644 return resultobj;
14645 fail:
14646 return NULL;
14647 }
14648
14649
14650 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14651 PyObject *resultobj;
14652 wxListbook *arg1 = (wxListbook *) 0 ;
14653 wxWindow *arg2 = (wxWindow *) 0 ;
14654 int arg3 ;
14655 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14656 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14657 wxSize const &arg5_defvalue = wxDefaultSize ;
14658 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14659 long arg6 = (long) 0 ;
14660 wxString const &arg7_defvalue = wxPyEmptyString ;
14661 wxString *arg7 = (wxString *) &arg7_defvalue ;
14662 bool result;
14663 wxPoint temp4 ;
14664 wxSize temp5 ;
14665 bool temp7 = False ;
14666 PyObject * obj0 = 0 ;
14667 PyObject * obj1 = 0 ;
14668 PyObject * obj2 = 0 ;
14669 PyObject * obj3 = 0 ;
14670 PyObject * obj4 = 0 ;
14671 PyObject * obj5 = 0 ;
14672 PyObject * obj6 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14680 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14682 arg3 = (int) SWIG_AsInt(obj2);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 if (obj3) {
14685 {
14686 arg4 = &temp4;
14687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14688 }
14689 }
14690 if (obj4) {
14691 {
14692 arg5 = &temp5;
14693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14694 }
14695 }
14696 if (obj5) {
14697 arg6 = (long) SWIG_AsLong(obj5);
14698 if (PyErr_Occurred()) SWIG_fail;
14699 }
14700 if (obj6) {
14701 {
14702 arg7 = wxString_in_helper(obj6);
14703 if (arg7 == NULL) SWIG_fail;
14704 temp7 = True;
14705 }
14706 }
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 {
14715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14716 }
14717 {
14718 if (temp7)
14719 delete arg7;
14720 }
14721 return resultobj;
14722 fail:
14723 {
14724 if (temp7)
14725 delete arg7;
14726 }
14727 return NULL;
14728 }
14729
14730
14731 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14732 PyObject *resultobj;
14733 wxListbook *arg1 = (wxListbook *) 0 ;
14734 bool result;
14735 PyObject * obj0 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14743 {
14744 PyThreadState* __tstate = wxPyBeginAllowThreads();
14745 result = (bool)((wxListbook const *)arg1)->IsVertical();
14746
14747 wxPyEndAllowThreads(__tstate);
14748 if (PyErr_Occurred()) SWIG_fail;
14749 }
14750 {
14751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14752 }
14753 return resultobj;
14754 fail:
14755 return NULL;
14756 }
14757
14758
14759 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14760 PyObject *obj;
14761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14762 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14763 Py_INCREF(obj);
14764 return Py_BuildValue((char *)"");
14765 }
14766 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14767 PyObject *resultobj;
14768 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14769 int arg2 = (int) 0 ;
14770 int arg3 = (int) -1 ;
14771 int arg4 = (int) -1 ;
14772 wxListbookEvent *result;
14773 PyObject * obj0 = 0 ;
14774 PyObject * obj1 = 0 ;
14775 PyObject * obj2 = 0 ;
14776 PyObject * obj3 = 0 ;
14777 char *kwnames[] = {
14778 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14779 };
14780
14781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14782 if (obj0) {
14783 arg1 = (wxEventType) SWIG_AsInt(obj0);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 if (obj1) {
14787 arg2 = (int) SWIG_AsInt(obj1);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 }
14790 if (obj2) {
14791 arg3 = (int) SWIG_AsInt(obj2);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 if (obj3) {
14795 arg4 = (int) SWIG_AsInt(obj3);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14801
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14806 return resultobj;
14807 fail:
14808 return NULL;
14809 }
14810
14811
14812 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14813 PyObject *obj;
14814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14815 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14816 Py_INCREF(obj);
14817 return Py_BuildValue((char *)"");
14818 }
14819 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14820 PyObject *resultobj;
14821 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14822 wxBookCtrlSizer *result;
14823 PyObject * obj0 = 0 ;
14824 char *kwnames[] = {
14825 (char *) "nb", NULL
14826 };
14827
14828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14831 {
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14834
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
14838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14839 return resultobj;
14840 fail:
14841 return NULL;
14842 }
14843
14844
14845 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14846 PyObject *resultobj;
14847 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14848 PyObject * obj0 = 0 ;
14849 char *kwnames[] = {
14850 (char *) "self", NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14856 {
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 (arg1)->RecalcSizes();
14859
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
14863 Py_INCREF(Py_None); resultobj = Py_None;
14864 return resultobj;
14865 fail:
14866 return NULL;
14867 }
14868
14869
14870 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj;
14872 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14873 wxSize result;
14874 PyObject * obj0 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "self", NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14882 {
14883 PyThreadState* __tstate = wxPyBeginAllowThreads();
14884 result = (arg1)->CalcMin();
14885
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 {
14890 wxSize * resultptr;
14891 resultptr = new wxSize((wxSize &) result);
14892 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14893 }
14894 return resultobj;
14895 fail:
14896 return NULL;
14897 }
14898
14899
14900 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14901 PyObject *resultobj;
14902 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14903 wxBookCtrl *result;
14904 PyObject * obj0 = 0 ;
14905 char *kwnames[] = {
14906 (char *) "self", NULL
14907 };
14908
14909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14912 {
14913 PyThreadState* __tstate = wxPyBeginAllowThreads();
14914 result = (wxBookCtrl *)(arg1)->GetControl();
14915
14916 wxPyEndAllowThreads(__tstate);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 }
14919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14920 return resultobj;
14921 fail:
14922 return NULL;
14923 }
14924
14925
14926 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14927 PyObject *obj;
14928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14929 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14930 Py_INCREF(obj);
14931 return Py_BuildValue((char *)"");
14932 }
14933 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxNotebook *arg1 = (wxNotebook *) 0 ;
14936 wxNotebookSizer *result;
14937 PyObject * obj0 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "nb", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
14953 return resultobj;
14954 fail:
14955 return NULL;
14956 }
14957
14958
14959 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 (arg1)->RecalcSizes();
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 Py_INCREF(Py_None); resultobj = Py_None;
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14987 wxSize result;
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 result = (arg1)->CalcMin();
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 {
15004 wxSize * resultptr;
15005 resultptr = new wxSize((wxSize &) result);
15006 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15007 }
15008 return resultobj;
15009 fail:
15010 return NULL;
15011 }
15012
15013
15014 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15015 PyObject *resultobj;
15016 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15017 wxNotebook *result;
15018 PyObject * obj0 = 0 ;
15019 char *kwnames[] = {
15020 (char *) "self", NULL
15021 };
15022
15023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 result = (wxNotebook *)(arg1)->GetNotebook();
15029
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 {
15034 resultobj = wxPyMake_wxObject(result);
15035 }
15036 return resultobj;
15037 fail:
15038 return NULL;
15039 }
15040
15041
15042 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15043 PyObject *obj;
15044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15045 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15046 Py_INCREF(obj);
15047 return Py_BuildValue((char *)"");
15048 }
15049 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15050 PyObject *resultobj;
15051 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15052 int result;
15053 PyObject * obj0 = 0 ;
15054 char *kwnames[] = {
15055 (char *) "self", NULL
15056 };
15057
15058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 result = (int)(arg1)->GetId();
15064
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 resultobj = SWIG_FromInt((int)result);
15069 return resultobj;
15070 fail:
15071 return NULL;
15072 }
15073
15074
15075 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj;
15077 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15078 wxControl *result;
15079 PyObject * obj0 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "self", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15087 {
15088 PyThreadState* __tstate = wxPyBeginAllowThreads();
15089 result = (wxControl *)(arg1)->GetControl();
15090
15091 wxPyEndAllowThreads(__tstate);
15092 if (PyErr_Occurred()) SWIG_fail;
15093 }
15094 {
15095 resultobj = wxPyMake_wxObject(result);
15096 }
15097 return resultobj;
15098 fail:
15099 return NULL;
15100 }
15101
15102
15103 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj;
15105 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15106 wxToolBarBase *result;
15107 PyObject * obj0 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "self", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 result = (wxToolBarBase *)(arg1)->GetToolBar();
15118
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 {
15123 resultobj = wxPyMake_wxObject(result);
15124 }
15125 return resultobj;
15126 fail:
15127 return NULL;
15128 }
15129
15130
15131 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15132 PyObject *resultobj;
15133 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15134 int result;
15135 PyObject * obj0 = 0 ;
15136 char *kwnames[] = {
15137 (char *) "self", NULL
15138 };
15139
15140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15143 {
15144 PyThreadState* __tstate = wxPyBeginAllowThreads();
15145 result = (int)(arg1)->IsButton();
15146
15147 wxPyEndAllowThreads(__tstate);
15148 if (PyErr_Occurred()) SWIG_fail;
15149 }
15150 resultobj = SWIG_FromInt((int)result);
15151 return resultobj;
15152 fail:
15153 return NULL;
15154 }
15155
15156
15157 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj;
15159 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15160 int result;
15161 PyObject * obj0 = 0 ;
15162 char *kwnames[] = {
15163 (char *) "self", NULL
15164 };
15165
15166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 result = (int)(arg1)->IsControl();
15172
15173 wxPyEndAllowThreads(__tstate);
15174 if (PyErr_Occurred()) SWIG_fail;
15175 }
15176 resultobj = SWIG_FromInt((int)result);
15177 return resultobj;
15178 fail:
15179 return NULL;
15180 }
15181
15182
15183 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15184 PyObject *resultobj;
15185 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15186 int result;
15187 PyObject * obj0 = 0 ;
15188 char *kwnames[] = {
15189 (char *) "self", NULL
15190 };
15191
15192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 result = (int)(arg1)->IsSeparator();
15198
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15202 resultobj = SWIG_FromInt((int)result);
15203 return resultobj;
15204 fail:
15205 return NULL;
15206 }
15207
15208
15209 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15210 PyObject *resultobj;
15211 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15212 int result;
15213 PyObject * obj0 = 0 ;
15214 char *kwnames[] = {
15215 (char *) "self", NULL
15216 };
15217
15218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15221 {
15222 PyThreadState* __tstate = wxPyBeginAllowThreads();
15223 result = (int)(arg1)->GetStyle();
15224
15225 wxPyEndAllowThreads(__tstate);
15226 if (PyErr_Occurred()) SWIG_fail;
15227 }
15228 resultobj = SWIG_FromInt((int)result);
15229 return resultobj;
15230 fail:
15231 return NULL;
15232 }
15233
15234
15235 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15236 PyObject *resultobj;
15237 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15238 int result;
15239 PyObject * obj0 = 0 ;
15240 char *kwnames[] = {
15241 (char *) "self", NULL
15242 };
15243
15244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15247 {
15248 PyThreadState* __tstate = wxPyBeginAllowThreads();
15249 result = (int)(arg1)->GetKind();
15250
15251 wxPyEndAllowThreads(__tstate);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
15254 resultobj = SWIG_FromInt((int)result);
15255 return resultobj;
15256 fail:
15257 return NULL;
15258 }
15259
15260
15261 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15262 PyObject *resultobj;
15263 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15264 bool result;
15265 PyObject * obj0 = 0 ;
15266 char *kwnames[] = {
15267 (char *) "self", NULL
15268 };
15269
15270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 result = (bool)(arg1)->IsEnabled();
15276
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 {
15281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15282 }
15283 return resultobj;
15284 fail:
15285 return NULL;
15286 }
15287
15288
15289 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj;
15291 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15292 bool result;
15293 PyObject * obj0 = 0 ;
15294 char *kwnames[] = {
15295 (char *) "self", NULL
15296 };
15297
15298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15301 {
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 result = (bool)(arg1)->IsToggled();
15304
15305 wxPyEndAllowThreads(__tstate);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 }
15308 {
15309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15310 }
15311 return resultobj;
15312 fail:
15313 return NULL;
15314 }
15315
15316
15317 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15318 PyObject *resultobj;
15319 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15320 bool result;
15321 PyObject * obj0 = 0 ;
15322 char *kwnames[] = {
15323 (char *) "self", NULL
15324 };
15325
15326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 result = (bool)(arg1)->CanBeToggled();
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 {
15337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15338 }
15339 return resultobj;
15340 fail:
15341 return NULL;
15342 }
15343
15344
15345 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15346 PyObject *resultobj;
15347 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15348 wxBitmap *result;
15349 PyObject * obj0 = 0 ;
15350 char *kwnames[] = {
15351 (char *) "self", NULL
15352 };
15353
15354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 {
15360 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15361 result = (wxBitmap *) &_result_ref;
15362 }
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 {
15368 wxBitmap* resultptr = new wxBitmap(*result);
15369 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15370 }
15371 return resultobj;
15372 fail:
15373 return NULL;
15374 }
15375
15376
15377 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15378 PyObject *resultobj;
15379 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15380 wxBitmap *result;
15381 PyObject * obj0 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15389 {
15390 PyThreadState* __tstate = wxPyBeginAllowThreads();
15391 {
15392 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15393 result = (wxBitmap *) &_result_ref;
15394 }
15395
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 {
15400 wxBitmap* resultptr = new wxBitmap(*result);
15401 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15402 }
15403 return resultobj;
15404 fail:
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15412 wxBitmap result;
15413 PyObject * obj0 = 0 ;
15414 char *kwnames[] = {
15415 (char *) "self", NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15421 {
15422 PyThreadState* __tstate = wxPyBeginAllowThreads();
15423 result = (arg1)->GetBitmap();
15424
15425 wxPyEndAllowThreads(__tstate);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 {
15429 wxBitmap * resultptr;
15430 resultptr = new wxBitmap((wxBitmap &) result);
15431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15432 }
15433 return resultobj;
15434 fail:
15435 return NULL;
15436 }
15437
15438
15439 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15440 PyObject *resultobj;
15441 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15442 wxString result;
15443 PyObject * obj0 = 0 ;
15444 char *kwnames[] = {
15445 (char *) "self", NULL
15446 };
15447
15448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 result = (arg1)->GetLabel();
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 {
15459 #if wxUSE_UNICODE
15460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15461 #else
15462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15463 #endif
15464 }
15465 return resultobj;
15466 fail:
15467 return NULL;
15468 }
15469
15470
15471 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15472 PyObject *resultobj;
15473 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15474 wxString result;
15475 PyObject * obj0 = 0 ;
15476 char *kwnames[] = {
15477 (char *) "self", NULL
15478 };
15479
15480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15483 {
15484 PyThreadState* __tstate = wxPyBeginAllowThreads();
15485 result = (arg1)->GetShortHelp();
15486
15487 wxPyEndAllowThreads(__tstate);
15488 if (PyErr_Occurred()) SWIG_fail;
15489 }
15490 {
15491 #if wxUSE_UNICODE
15492 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15493 #else
15494 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15495 #endif
15496 }
15497 return resultobj;
15498 fail:
15499 return NULL;
15500 }
15501
15502
15503 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15504 PyObject *resultobj;
15505 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15506 wxString result;
15507 PyObject * obj0 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 result = (arg1)->GetLongHelp();
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 {
15523 #if wxUSE_UNICODE
15524 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15525 #else
15526 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15527 #endif
15528 }
15529 return resultobj;
15530 fail:
15531 return NULL;
15532 }
15533
15534
15535 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj;
15537 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15538 bool arg2 ;
15539 bool result;
15540 PyObject * obj0 = 0 ;
15541 PyObject * obj1 = 0 ;
15542 char *kwnames[] = {
15543 (char *) "self",(char *) "enable", NULL
15544 };
15545
15546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15549 arg2 = (bool) SWIG_AsBool(obj1);
15550 if (PyErr_Occurred()) SWIG_fail;
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 result = (bool)(arg1)->Enable(arg2);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 {
15559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15560 }
15561 return resultobj;
15562 fail:
15563 return NULL;
15564 }
15565
15566
15567 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15568 PyObject *resultobj;
15569 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15570 PyObject * obj0 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "self", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15578 {
15579 PyThreadState* __tstate = wxPyBeginAllowThreads();
15580 (arg1)->Toggle();
15581
15582 wxPyEndAllowThreads(__tstate);
15583 if (PyErr_Occurred()) SWIG_fail;
15584 }
15585 Py_INCREF(Py_None); resultobj = Py_None;
15586 return resultobj;
15587 fail:
15588 return NULL;
15589 }
15590
15591
15592 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15595 bool arg2 ;
15596 bool result;
15597 PyObject * obj0 = 0 ;
15598 PyObject * obj1 = 0 ;
15599 char *kwnames[] = {
15600 (char *) "self",(char *) "toggle", NULL
15601 };
15602
15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15606 arg2 = (bool) SWIG_AsBool(obj1);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 result = (bool)(arg1)->SetToggle(arg2);
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 {
15616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15617 }
15618 return resultobj;
15619 fail:
15620 return NULL;
15621 }
15622
15623
15624 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15625 PyObject *resultobj;
15626 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15627 wxString *arg2 = 0 ;
15628 bool result;
15629 bool temp2 = False ;
15630 PyObject * obj0 = 0 ;
15631 PyObject * obj1 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "self",(char *) "help", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15639 {
15640 arg2 = wxString_in_helper(obj1);
15641 if (arg2 == NULL) SWIG_fail;
15642 temp2 = True;
15643 }
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15647
15648 wxPyEndAllowThreads(__tstate);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 }
15651 {
15652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15653 }
15654 {
15655 if (temp2)
15656 delete arg2;
15657 }
15658 return resultobj;
15659 fail:
15660 {
15661 if (temp2)
15662 delete arg2;
15663 }
15664 return NULL;
15665 }
15666
15667
15668 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15669 PyObject *resultobj;
15670 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15671 wxString *arg2 = 0 ;
15672 bool result;
15673 bool temp2 = False ;
15674 PyObject * obj0 = 0 ;
15675 PyObject * obj1 = 0 ;
15676 char *kwnames[] = {
15677 (char *) "self",(char *) "help", NULL
15678 };
15679
15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15683 {
15684 arg2 = wxString_in_helper(obj1);
15685 if (arg2 == NULL) SWIG_fail;
15686 temp2 = True;
15687 }
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15691
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 {
15696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15697 }
15698 {
15699 if (temp2)
15700 delete arg2;
15701 }
15702 return resultobj;
15703 fail:
15704 {
15705 if (temp2)
15706 delete arg2;
15707 }
15708 return NULL;
15709 }
15710
15711
15712 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj;
15714 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15715 wxBitmap *arg2 = 0 ;
15716 PyObject * obj0 = 0 ;
15717 PyObject * obj1 = 0 ;
15718 char *kwnames[] = {
15719 (char *) "self",(char *) "bmp", NULL
15720 };
15721
15722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15726 SWIG_POINTER_EXCEPTION | 0)) == -1)
15727 SWIG_fail;
15728 if (arg2 == NULL) {
15729 PyErr_SetString(PyExc_TypeError,"null reference");
15730 SWIG_fail;
15731 }
15732 {
15733 PyThreadState* __tstate = wxPyBeginAllowThreads();
15734 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15735
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 Py_INCREF(Py_None); resultobj = Py_None;
15740 return resultobj;
15741 fail:
15742 return NULL;
15743 }
15744
15745
15746 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15747 PyObject *resultobj;
15748 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15749 wxBitmap *arg2 = 0 ;
15750 PyObject * obj0 = 0 ;
15751 PyObject * obj1 = 0 ;
15752 char *kwnames[] = {
15753 (char *) "self",(char *) "bmp", NULL
15754 };
15755
15756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1)
15761 SWIG_fail;
15762 if (arg2 == NULL) {
15763 PyErr_SetString(PyExc_TypeError,"null reference");
15764 SWIG_fail;
15765 }
15766 {
15767 PyThreadState* __tstate = wxPyBeginAllowThreads();
15768 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15769
15770 wxPyEndAllowThreads(__tstate);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 }
15773 Py_INCREF(Py_None); resultobj = Py_None;
15774 return resultobj;
15775 fail:
15776 return NULL;
15777 }
15778
15779
15780 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15781 PyObject *resultobj;
15782 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15783 wxString *arg2 = 0 ;
15784 bool temp2 = False ;
15785 PyObject * obj0 = 0 ;
15786 PyObject * obj1 = 0 ;
15787 char *kwnames[] = {
15788 (char *) "self",(char *) "label", NULL
15789 };
15790
15791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15794 {
15795 arg2 = wxString_in_helper(obj1);
15796 if (arg2 == NULL) SWIG_fail;
15797 temp2 = True;
15798 }
15799 {
15800 PyThreadState* __tstate = wxPyBeginAllowThreads();
15801 (arg1)->SetLabel((wxString const &)*arg2);
15802
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 Py_INCREF(Py_None); resultobj = Py_None;
15807 {
15808 if (temp2)
15809 delete arg2;
15810 }
15811 return resultobj;
15812 fail:
15813 {
15814 if (temp2)
15815 delete arg2;
15816 }
15817 return NULL;
15818 }
15819
15820
15821 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
15823 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15824 PyObject * obj0 = 0 ;
15825 char *kwnames[] = {
15826 (char *) "self", NULL
15827 };
15828
15829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15832 {
15833 PyThreadState* __tstate = wxPyBeginAllowThreads();
15834 (arg1)->Detach();
15835
15836 wxPyEndAllowThreads(__tstate);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 Py_INCREF(Py_None); resultobj = Py_None;
15840 return resultobj;
15841 fail:
15842 return NULL;
15843 }
15844
15845
15846 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15847 PyObject *resultobj;
15848 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15849 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15850 PyObject * obj0 = 0 ;
15851 PyObject * obj1 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self",(char *) "tbar", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15861 {
15862 PyThreadState* __tstate = wxPyBeginAllowThreads();
15863 (arg1)->Attach(arg2);
15864
15865 wxPyEndAllowThreads(__tstate);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 }
15868 Py_INCREF(Py_None); resultobj = Py_None;
15869 return resultobj;
15870 fail:
15871 return NULL;
15872 }
15873
15874
15875 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15876 PyObject *resultobj;
15877 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15878 PyObject *result;
15879 PyObject * obj0 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 resultobj = result;
15895 return resultobj;
15896 fail:
15897 return NULL;
15898 }
15899
15900
15901 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15904 PyObject *arg2 = (PyObject *) 0 ;
15905 PyObject * obj0 = 0 ;
15906 PyObject * obj1 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self",(char *) "clientData", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15914 arg2 = obj1;
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 wxToolBarToolBase_SetClientData(arg1,arg2);
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 Py_INCREF(Py_None); resultobj = Py_None;
15923 return resultobj;
15924 fail:
15925 return NULL;
15926 }
15927
15928
15929 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15930 PyObject *obj;
15931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15932 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15933 Py_INCREF(obj);
15934 return Py_BuildValue((char *)"");
15935 }
15936 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15937 PyObject *resultobj;
15938 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15939 int arg2 ;
15940 wxString *arg3 = 0 ;
15941 wxBitmap *arg4 = 0 ;
15942 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15943 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15944 int arg6 = (int) wxITEM_NORMAL ;
15945 wxString const &arg7_defvalue = wxPyEmptyString ;
15946 wxString *arg7 = (wxString *) &arg7_defvalue ;
15947 wxString const &arg8_defvalue = wxPyEmptyString ;
15948 wxString *arg8 = (wxString *) &arg8_defvalue ;
15949 PyObject *arg9 = (PyObject *) NULL ;
15950 wxToolBarToolBase *result;
15951 bool temp3 = False ;
15952 bool temp7 = False ;
15953 bool temp8 = False ;
15954 PyObject * obj0 = 0 ;
15955 PyObject * obj1 = 0 ;
15956 PyObject * obj2 = 0 ;
15957 PyObject * obj3 = 0 ;
15958 PyObject * obj4 = 0 ;
15959 PyObject * obj5 = 0 ;
15960 PyObject * obj6 = 0 ;
15961 PyObject * obj7 = 0 ;
15962 PyObject * obj8 = 0 ;
15963 char *kwnames[] = {
15964 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15965 };
15966
15967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15970 arg2 = (int) SWIG_AsInt(obj1);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 {
15973 arg3 = wxString_in_helper(obj2);
15974 if (arg3 == NULL) SWIG_fail;
15975 temp3 = True;
15976 }
15977 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15978 SWIG_POINTER_EXCEPTION | 0)) == -1)
15979 SWIG_fail;
15980 if (arg4 == NULL) {
15981 PyErr_SetString(PyExc_TypeError,"null reference");
15982 SWIG_fail;
15983 }
15984 if (obj4) {
15985 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15986 SWIG_POINTER_EXCEPTION | 0)) == -1)
15987 SWIG_fail;
15988 if (arg5 == NULL) {
15989 PyErr_SetString(PyExc_TypeError,"null reference");
15990 SWIG_fail;
15991 }
15992 }
15993 if (obj5) {
15994 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 }
15997 if (obj6) {
15998 {
15999 arg7 = wxString_in_helper(obj6);
16000 if (arg7 == NULL) SWIG_fail;
16001 temp7 = True;
16002 }
16003 }
16004 if (obj7) {
16005 {
16006 arg8 = wxString_in_helper(obj7);
16007 if (arg8 == NULL) SWIG_fail;
16008 temp8 = True;
16009 }
16010 }
16011 if (obj8) {
16012 arg9 = obj8;
16013 }
16014 {
16015 PyThreadState* __tstate = wxPyBeginAllowThreads();
16016 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16017
16018 wxPyEndAllowThreads(__tstate);
16019 if (PyErr_Occurred()) SWIG_fail;
16020 }
16021 {
16022 resultobj = wxPyMake_wxObject(result);
16023 }
16024 {
16025 if (temp3)
16026 delete arg3;
16027 }
16028 {
16029 if (temp7)
16030 delete arg7;
16031 }
16032 {
16033 if (temp8)
16034 delete arg8;
16035 }
16036 return resultobj;
16037 fail:
16038 {
16039 if (temp3)
16040 delete arg3;
16041 }
16042 {
16043 if (temp7)
16044 delete arg7;
16045 }
16046 {
16047 if (temp8)
16048 delete arg8;
16049 }
16050 return NULL;
16051 }
16052
16053
16054 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj;
16056 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16057 size_t arg2 ;
16058 int arg3 ;
16059 wxString *arg4 = 0 ;
16060 wxBitmap *arg5 = 0 ;
16061 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16062 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16063 int arg7 = (int) wxITEM_NORMAL ;
16064 wxString const &arg8_defvalue = wxPyEmptyString ;
16065 wxString *arg8 = (wxString *) &arg8_defvalue ;
16066 wxString const &arg9_defvalue = wxPyEmptyString ;
16067 wxString *arg9 = (wxString *) &arg9_defvalue ;
16068 PyObject *arg10 = (PyObject *) NULL ;
16069 wxToolBarToolBase *result;
16070 bool temp4 = False ;
16071 bool temp8 = False ;
16072 bool temp9 = False ;
16073 PyObject * obj0 = 0 ;
16074 PyObject * obj1 = 0 ;
16075 PyObject * obj2 = 0 ;
16076 PyObject * obj3 = 0 ;
16077 PyObject * obj4 = 0 ;
16078 PyObject * obj5 = 0 ;
16079 PyObject * obj6 = 0 ;
16080 PyObject * obj7 = 0 ;
16081 PyObject * obj8 = 0 ;
16082 PyObject * obj9 = 0 ;
16083 char *kwnames[] = {
16084 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16085 };
16086
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
16088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16090 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 arg3 = (int) SWIG_AsInt(obj2);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 {
16095 arg4 = wxString_in_helper(obj3);
16096 if (arg4 == NULL) SWIG_fail;
16097 temp4 = True;
16098 }
16099 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16100 SWIG_POINTER_EXCEPTION | 0)) == -1)
16101 SWIG_fail;
16102 if (arg5 == NULL) {
16103 PyErr_SetString(PyExc_TypeError,"null reference");
16104 SWIG_fail;
16105 }
16106 if (obj5) {
16107 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16108 SWIG_POINTER_EXCEPTION | 0)) == -1)
16109 SWIG_fail;
16110 if (arg6 == NULL) {
16111 PyErr_SetString(PyExc_TypeError,"null reference");
16112 SWIG_fail;
16113 }
16114 }
16115 if (obj6) {
16116 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 if (obj7) {
16120 {
16121 arg8 = wxString_in_helper(obj7);
16122 if (arg8 == NULL) SWIG_fail;
16123 temp8 = True;
16124 }
16125 }
16126 if (obj8) {
16127 {
16128 arg9 = wxString_in_helper(obj8);
16129 if (arg9 == NULL) SWIG_fail;
16130 temp9 = True;
16131 }
16132 }
16133 if (obj9) {
16134 arg10 = obj9;
16135 }
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 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);
16139
16140 wxPyEndAllowThreads(__tstate);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 }
16143 {
16144 resultobj = wxPyMake_wxObject(result);
16145 }
16146 {
16147 if (temp4)
16148 delete arg4;
16149 }
16150 {
16151 if (temp8)
16152 delete arg8;
16153 }
16154 {
16155 if (temp9)
16156 delete arg9;
16157 }
16158 return resultobj;
16159 fail:
16160 {
16161 if (temp4)
16162 delete arg4;
16163 }
16164 {
16165 if (temp8)
16166 delete arg8;
16167 }
16168 {
16169 if (temp9)
16170 delete arg9;
16171 }
16172 return NULL;
16173 }
16174
16175
16176 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16177 PyObject *resultobj;
16178 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16179 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16180 wxToolBarToolBase *result;
16181 PyObject * obj0 = 0 ;
16182 PyObject * obj1 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "self",(char *) "tool", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
16188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16192 {
16193 PyThreadState* __tstate = wxPyBeginAllowThreads();
16194 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16195
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 {
16200 resultobj = wxPyMake_wxObject(result);
16201 }
16202 return resultobj;
16203 fail:
16204 return NULL;
16205 }
16206
16207
16208 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16209 PyObject *resultobj;
16210 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16211 size_t arg2 ;
16212 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
16213 wxToolBarToolBase *result;
16214 PyObject * obj0 = 0 ;
16215 PyObject * obj1 = 0 ;
16216 PyObject * obj2 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "pos",(char *) "tool", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
16222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16224 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
16231
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 {
16236 resultobj = wxPyMake_wxObject(result);
16237 }
16238 return resultobj;
16239 fail:
16240 return NULL;
16241 }
16242
16243
16244 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16245 PyObject *resultobj;
16246 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16247 wxControl *arg2 = (wxControl *) 0 ;
16248 wxToolBarToolBase *result;
16249 PyObject * obj0 = 0 ;
16250 PyObject * obj1 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "self",(char *) "control", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
16256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16258 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 {
16268 resultobj = wxPyMake_wxObject(result);
16269 }
16270 return resultobj;
16271 fail:
16272 return NULL;
16273 }
16274
16275
16276 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj;
16278 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16279 size_t arg2 ;
16280 wxControl *arg3 = (wxControl *) 0 ;
16281 wxToolBarToolBase *result;
16282 PyObject * obj0 = 0 ;
16283 PyObject * obj1 = 0 ;
16284 PyObject * obj2 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self",(char *) "pos",(char *) "control", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
16290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16292 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16296 {
16297 PyThreadState* __tstate = wxPyBeginAllowThreads();
16298 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16299
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 {
16304 resultobj = wxPyMake_wxObject(result);
16305 }
16306 return resultobj;
16307 fail:
16308 return NULL;
16309 }
16310
16311
16312 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16313 PyObject *resultobj;
16314 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16315 int arg2 ;
16316 wxControl *result;
16317 PyObject * obj0 = 0 ;
16318 PyObject * obj1 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self",(char *) "id", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16326 arg2 = (int) SWIG_AsInt(obj1);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 result = (wxControl *)(arg1)->FindControl(arg2);
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 {
16336 resultobj = wxPyMake_wxObject(result);
16337 }
16338 return resultobj;
16339 fail:
16340 return NULL;
16341 }
16342
16343
16344 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16347 wxToolBarToolBase *result;
16348 PyObject * obj0 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16356 {
16357 PyThreadState* __tstate = wxPyBeginAllowThreads();
16358 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 {
16364 resultobj = wxPyMake_wxObject(result);
16365 }
16366 return resultobj;
16367 fail:
16368 return NULL;
16369 }
16370
16371
16372 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16373 PyObject *resultobj;
16374 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16375 size_t arg2 ;
16376 wxToolBarToolBase *result;
16377 PyObject * obj0 = 0 ;
16378 PyObject * obj1 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "self",(char *) "pos", NULL
16381 };
16382
16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16386 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16387 if (PyErr_Occurred()) SWIG_fail;
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16391
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 {
16396 resultobj = wxPyMake_wxObject(result);
16397 }
16398 return resultobj;
16399 fail:
16400 return NULL;
16401 }
16402
16403
16404 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16405 PyObject *resultobj;
16406 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16407 int arg2 ;
16408 wxToolBarToolBase *result;
16409 PyObject * obj0 = 0 ;
16410 PyObject * obj1 = 0 ;
16411 char *kwnames[] = {
16412 (char *) "self",(char *) "id", NULL
16413 };
16414
16415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16418 arg2 = (int) SWIG_AsInt(obj1);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 {
16421 PyThreadState* __tstate = wxPyBeginAllowThreads();
16422 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 {
16428 resultobj = wxPyMake_wxObject(result);
16429 }
16430 return resultobj;
16431 fail:
16432 return NULL;
16433 }
16434
16435
16436 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16439 size_t arg2 ;
16440 bool result;
16441 PyObject * obj0 = 0 ;
16442 PyObject * obj1 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self",(char *) "pos", NULL
16445 };
16446
16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16450 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 {
16453 PyThreadState* __tstate = wxPyBeginAllowThreads();
16454 result = (bool)(arg1)->DeleteToolByPos(arg2);
16455
16456 wxPyEndAllowThreads(__tstate);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
16459 {
16460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16461 }
16462 return resultobj;
16463 fail:
16464 return NULL;
16465 }
16466
16467
16468 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj;
16470 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16471 int arg2 ;
16472 bool result;
16473 PyObject * obj0 = 0 ;
16474 PyObject * obj1 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self",(char *) "id", NULL
16477 };
16478
16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16482 arg2 = (int) SWIG_AsInt(obj1);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 result = (bool)(arg1)->DeleteTool(arg2);
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 {
16492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16493 }
16494 return resultobj;
16495 fail:
16496 return NULL;
16497 }
16498
16499
16500 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16501 PyObject *resultobj;
16502 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16503 PyObject * obj0 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 (arg1)->ClearTools();
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 Py_INCREF(Py_None); resultobj = Py_None;
16519 return resultobj;
16520 fail:
16521 return NULL;
16522 }
16523
16524
16525 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj;
16527 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16528 bool result;
16529 PyObject * obj0 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 result = (bool)(arg1)->Realize();
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 {
16545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16546 }
16547 return resultobj;
16548 fail:
16549 return NULL;
16550 }
16551
16552
16553 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16556 int arg2 ;
16557 bool arg3 ;
16558 PyObject * obj0 = 0 ;
16559 PyObject * obj1 = 0 ;
16560 PyObject * obj2 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self",(char *) "id",(char *) "enable", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = (bool) SWIG_AsBool(obj2);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 (arg1)->EnableTool(arg2,arg3);
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 Py_INCREF(Py_None); resultobj = Py_None;
16580 return resultobj;
16581 fail:
16582 return NULL;
16583 }
16584
16585
16586 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16587 PyObject *resultobj;
16588 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16589 int arg2 ;
16590 bool arg3 ;
16591 PyObject * obj0 = 0 ;
16592 PyObject * obj1 = 0 ;
16593 PyObject * obj2 = 0 ;
16594 char *kwnames[] = {
16595 (char *) "self",(char *) "id",(char *) "toggle", NULL
16596 };
16597
16598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16601 arg2 = (int) SWIG_AsInt(obj1);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 arg3 = (bool) SWIG_AsBool(obj2);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 {
16606 PyThreadState* __tstate = wxPyBeginAllowThreads();
16607 (arg1)->ToggleTool(arg2,arg3);
16608
16609 wxPyEndAllowThreads(__tstate);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 }
16612 Py_INCREF(Py_None); resultobj = Py_None;
16613 return resultobj;
16614 fail:
16615 return NULL;
16616 }
16617
16618
16619 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16620 PyObject *resultobj;
16621 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16622 int arg2 ;
16623 bool arg3 ;
16624 PyObject * obj0 = 0 ;
16625 PyObject * obj1 = 0 ;
16626 PyObject * obj2 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "self",(char *) "id",(char *) "toggle", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16634 arg2 = (int) SWIG_AsInt(obj1);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 arg3 = (bool) SWIG_AsBool(obj2);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 {
16639 PyThreadState* __tstate = wxPyBeginAllowThreads();
16640 (arg1)->SetToggle(arg2,arg3);
16641
16642 wxPyEndAllowThreads(__tstate);
16643 if (PyErr_Occurred()) SWIG_fail;
16644 }
16645 Py_INCREF(Py_None); resultobj = Py_None;
16646 return resultobj;
16647 fail:
16648 return NULL;
16649 }
16650
16651
16652 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16653 PyObject *resultobj;
16654 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16655 int arg2 ;
16656 PyObject *result;
16657 PyObject * obj0 = 0 ;
16658 PyObject * obj1 = 0 ;
16659 char *kwnames[] = {
16660 (char *) "self",(char *) "id", NULL
16661 };
16662
16663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16666 arg2 = (int) SWIG_AsInt(obj1);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 resultobj = result;
16676 return resultobj;
16677 fail:
16678 return NULL;
16679 }
16680
16681
16682 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj;
16684 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16685 int arg2 ;
16686 PyObject *arg3 = (PyObject *) 0 ;
16687 PyObject * obj0 = 0 ;
16688 PyObject * obj1 = 0 ;
16689 PyObject * obj2 = 0 ;
16690 char *kwnames[] = {
16691 (char *) "self",(char *) "id",(char *) "clientData", NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16697 arg2 = (int) SWIG_AsInt(obj1);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 arg3 = obj2;
16700 {
16701 PyThreadState* __tstate = wxPyBeginAllowThreads();
16702 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16703
16704 wxPyEndAllowThreads(__tstate);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 }
16707 Py_INCREF(Py_None); resultobj = Py_None;
16708 return resultobj;
16709 fail:
16710 return NULL;
16711 }
16712
16713
16714 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16715 PyObject *resultobj;
16716 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16717 int arg2 ;
16718 int result;
16719 PyObject * obj0 = 0 ;
16720 PyObject * obj1 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "self",(char *) "id", NULL
16723 };
16724
16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16728 arg2 = (int) SWIG_AsInt(obj1);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 {
16731 PyThreadState* __tstate = wxPyBeginAllowThreads();
16732 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16733
16734 wxPyEndAllowThreads(__tstate);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 resultobj = SWIG_FromInt((int)result);
16738 return resultobj;
16739 fail:
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16747 int arg2 ;
16748 bool result;
16749 PyObject * obj0 = 0 ;
16750 PyObject * obj1 = 0 ;
16751 char *kwnames[] = {
16752 (char *) "self",(char *) "id", NULL
16753 };
16754
16755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16758 arg2 = (int) SWIG_AsInt(obj1);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 result = (bool)(arg1)->GetToolState(arg2);
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 {
16768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16769 }
16770 return resultobj;
16771 fail:
16772 return NULL;
16773 }
16774
16775
16776 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16777 PyObject *resultobj;
16778 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16779 int arg2 ;
16780 bool result;
16781 PyObject * obj0 = 0 ;
16782 PyObject * obj1 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self",(char *) "id", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16790 arg2 = (int) SWIG_AsInt(obj1);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 result = (bool)(arg1)->GetToolEnabled(arg2);
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 {
16800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16801 }
16802 return resultobj;
16803 fail:
16804 return NULL;
16805 }
16806
16807
16808 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16809 PyObject *resultobj;
16810 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16811 int arg2 ;
16812 wxString *arg3 = 0 ;
16813 bool temp3 = False ;
16814 PyObject * obj0 = 0 ;
16815 PyObject * obj1 = 0 ;
16816 PyObject * obj2 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self",(char *) "id",(char *) "helpString", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16824 arg2 = (int) SWIG_AsInt(obj1);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 {
16827 arg3 = wxString_in_helper(obj2);
16828 if (arg3 == NULL) SWIG_fail;
16829 temp3 = True;
16830 }
16831 {
16832 PyThreadState* __tstate = wxPyBeginAllowThreads();
16833 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16834
16835 wxPyEndAllowThreads(__tstate);
16836 if (PyErr_Occurred()) SWIG_fail;
16837 }
16838 Py_INCREF(Py_None); resultobj = Py_None;
16839 {
16840 if (temp3)
16841 delete arg3;
16842 }
16843 return resultobj;
16844 fail:
16845 {
16846 if (temp3)
16847 delete arg3;
16848 }
16849 return NULL;
16850 }
16851
16852
16853 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16854 PyObject *resultobj;
16855 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16856 int arg2 ;
16857 wxString result;
16858 PyObject * obj0 = 0 ;
16859 PyObject * obj1 = 0 ;
16860 char *kwnames[] = {
16861 (char *) "self",(char *) "id", NULL
16862 };
16863
16864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16867 arg2 = (int) SWIG_AsInt(obj1);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 {
16870 PyThreadState* __tstate = wxPyBeginAllowThreads();
16871 result = (arg1)->GetToolShortHelp(arg2);
16872
16873 wxPyEndAllowThreads(__tstate);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 {
16877 #if wxUSE_UNICODE
16878 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16879 #else
16880 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16881 #endif
16882 }
16883 return resultobj;
16884 fail:
16885 return NULL;
16886 }
16887
16888
16889 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16890 PyObject *resultobj;
16891 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16892 int arg2 ;
16893 wxString *arg3 = 0 ;
16894 bool temp3 = False ;
16895 PyObject * obj0 = 0 ;
16896 PyObject * obj1 = 0 ;
16897 PyObject * obj2 = 0 ;
16898 char *kwnames[] = {
16899 (char *) "self",(char *) "id",(char *) "helpString", NULL
16900 };
16901
16902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16905 arg2 = (int) SWIG_AsInt(obj1);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 {
16908 arg3 = wxString_in_helper(obj2);
16909 if (arg3 == NULL) SWIG_fail;
16910 temp3 = True;
16911 }
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 Py_INCREF(Py_None); resultobj = Py_None;
16920 {
16921 if (temp3)
16922 delete arg3;
16923 }
16924 return resultobj;
16925 fail:
16926 {
16927 if (temp3)
16928 delete arg3;
16929 }
16930 return NULL;
16931 }
16932
16933
16934 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16935 PyObject *resultobj;
16936 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16937 int arg2 ;
16938 wxString result;
16939 PyObject * obj0 = 0 ;
16940 PyObject * obj1 = 0 ;
16941 char *kwnames[] = {
16942 (char *) "self",(char *) "id", NULL
16943 };
16944
16945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16948 arg2 = (int) SWIG_AsInt(obj1);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 {
16951 PyThreadState* __tstate = wxPyBeginAllowThreads();
16952 result = (arg1)->GetToolLongHelp(arg2);
16953
16954 wxPyEndAllowThreads(__tstate);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 }
16957 {
16958 #if wxUSE_UNICODE
16959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16960 #else
16961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16962 #endif
16963 }
16964 return resultobj;
16965 fail:
16966 return NULL;
16967 }
16968
16969
16970 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16971 PyObject *resultobj;
16972 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16973 int arg2 ;
16974 int arg3 ;
16975 PyObject * obj0 = 0 ;
16976 PyObject * obj1 = 0 ;
16977 PyObject * obj2 = 0 ;
16978 char *kwnames[] = {
16979 (char *) "self",(char *) "x",(char *) "y", NULL
16980 };
16981
16982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16985 arg2 = (int) SWIG_AsInt(obj1);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 arg3 = (int) SWIG_AsInt(obj2);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
16991 (arg1)->SetMargins(arg2,arg3);
16992
16993 wxPyEndAllowThreads(__tstate);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 Py_INCREF(Py_None); resultobj = Py_None;
16997 return resultobj;
16998 fail:
16999 return NULL;
17000 }
17001
17002
17003 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17004 PyObject *resultobj;
17005 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17006 wxSize *arg2 = 0 ;
17007 wxSize temp2 ;
17008 PyObject * obj0 = 0 ;
17009 PyObject * obj1 = 0 ;
17010 char *kwnames[] = {
17011 (char *) "self",(char *) "size", NULL
17012 };
17013
17014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17017 {
17018 arg2 = &temp2;
17019 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17020 }
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 (arg1)->SetMargins((wxSize const &)*arg2);
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 Py_INCREF(Py_None); resultobj = Py_None;
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17038 int arg2 ;
17039 PyObject * obj0 = 0 ;
17040 PyObject * obj1 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self",(char *) "packing", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
17046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17048 arg2 = (int) SWIG_AsInt(obj1);
17049 if (PyErr_Occurred()) SWIG_fail;
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 (arg1)->SetToolPacking(arg2);
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 Py_INCREF(Py_None); resultobj = Py_None;
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17067 int arg2 ;
17068 PyObject * obj0 = 0 ;
17069 PyObject * obj1 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self",(char *) "separation", NULL
17072 };
17073
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
17075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17077 arg2 = (int) SWIG_AsInt(obj1);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 (arg1)->SetToolSeparation(arg2);
17082
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
17086 Py_INCREF(Py_None); resultobj = Py_None;
17087 return resultobj;
17088 fail:
17089 return NULL;
17090 }
17091
17092
17093 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj;
17095 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17096 wxSize result;
17097 PyObject * obj0 = 0 ;
17098 char *kwnames[] = {
17099 (char *) "self", NULL
17100 };
17101
17102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
17103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17105 {
17106 PyThreadState* __tstate = wxPyBeginAllowThreads();
17107 result = (arg1)->GetToolMargins();
17108
17109 wxPyEndAllowThreads(__tstate);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 {
17113 wxSize * resultptr;
17114 resultptr = new wxSize((wxSize &) result);
17115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17116 }
17117 return resultobj;
17118 fail:
17119 return NULL;
17120 }
17121
17122
17123 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17124 PyObject *resultobj;
17125 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17126 wxSize result;
17127 PyObject * obj0 = 0 ;
17128 char *kwnames[] = {
17129 (char *) "self", NULL
17130 };
17131
17132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
17133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17135 {
17136 PyThreadState* __tstate = wxPyBeginAllowThreads();
17137 result = (arg1)->GetMargins();
17138
17139 wxPyEndAllowThreads(__tstate);
17140 if (PyErr_Occurred()) SWIG_fail;
17141 }
17142 {
17143 wxSize * resultptr;
17144 resultptr = new wxSize((wxSize &) result);
17145 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17146 }
17147 return resultobj;
17148 fail:
17149 return NULL;
17150 }
17151
17152
17153 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17154 PyObject *resultobj;
17155 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17156 int result;
17157 PyObject * obj0 = 0 ;
17158 char *kwnames[] = {
17159 (char *) "self", NULL
17160 };
17161
17162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
17163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 result = (int)(arg1)->GetToolPacking();
17168
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 resultobj = SWIG_FromInt((int)result);
17173 return resultobj;
17174 fail:
17175 return NULL;
17176 }
17177
17178
17179 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17180 PyObject *resultobj;
17181 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17182 int result;
17183 PyObject * obj0 = 0 ;
17184 char *kwnames[] = {
17185 (char *) "self", NULL
17186 };
17187
17188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
17189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 result = (int)(arg1)->GetToolSeparation();
17194
17195 wxPyEndAllowThreads(__tstate);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 }
17198 resultobj = SWIG_FromInt((int)result);
17199 return resultobj;
17200 fail:
17201 return NULL;
17202 }
17203
17204
17205 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17206 PyObject *resultobj;
17207 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17208 int arg2 ;
17209 PyObject * obj0 = 0 ;
17210 PyObject * obj1 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self",(char *) "nRows", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
17216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17218 arg2 = (int) SWIG_AsInt(obj1);
17219 if (PyErr_Occurred()) SWIG_fail;
17220 {
17221 PyThreadState* __tstate = wxPyBeginAllowThreads();
17222 (arg1)->SetRows(arg2);
17223
17224 wxPyEndAllowThreads(__tstate);
17225 if (PyErr_Occurred()) SWIG_fail;
17226 }
17227 Py_INCREF(Py_None); resultobj = Py_None;
17228 return resultobj;
17229 fail:
17230 return NULL;
17231 }
17232
17233
17234 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17235 PyObject *resultobj;
17236 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17237 int arg2 ;
17238 int arg3 ;
17239 PyObject * obj0 = 0 ;
17240 PyObject * obj1 = 0 ;
17241 PyObject * obj2 = 0 ;
17242 char *kwnames[] = {
17243 (char *) "self",(char *) "rows",(char *) "cols", NULL
17244 };
17245
17246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
17247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17249 arg2 = (int) SWIG_AsInt(obj1);
17250 if (PyErr_Occurred()) SWIG_fail;
17251 arg3 = (int) SWIG_AsInt(obj2);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 (arg1)->SetMaxRowsCols(arg2,arg3);
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 Py_INCREF(Py_None); resultobj = Py_None;
17261 return resultobj;
17262 fail:
17263 return NULL;
17264 }
17265
17266
17267 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj;
17269 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17270 int result;
17271 PyObject * obj0 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
17277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 result = (int)(arg1)->GetMaxRows();
17282
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 resultobj = SWIG_FromInt((int)result);
17287 return resultobj;
17288 fail:
17289 return NULL;
17290 }
17291
17292
17293 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17294 PyObject *resultobj;
17295 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17296 int result;
17297 PyObject * obj0 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self", NULL
17300 };
17301
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 result = (int)(arg1)->GetMaxCols();
17308
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 resultobj = SWIG_FromInt((int)result);
17313 return resultobj;
17314 fail:
17315 return NULL;
17316 }
17317
17318
17319 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17320 PyObject *resultobj;
17321 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17322 wxSize *arg2 = 0 ;
17323 wxSize temp2 ;
17324 PyObject * obj0 = 0 ;
17325 PyObject * obj1 = 0 ;
17326 char *kwnames[] = {
17327 (char *) "self",(char *) "size", NULL
17328 };
17329
17330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17333 {
17334 arg2 = &temp2;
17335 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17336 }
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17340
17341 wxPyEndAllowThreads(__tstate);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 Py_INCREF(Py_None); resultobj = Py_None;
17345 return resultobj;
17346 fail:
17347 return NULL;
17348 }
17349
17350
17351 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17352 PyObject *resultobj;
17353 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17354 wxSize result;
17355 PyObject * obj0 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 result = (arg1)->GetToolBitmapSize();
17366
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 {
17371 wxSize * resultptr;
17372 resultptr = new wxSize((wxSize &) result);
17373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17374 }
17375 return resultobj;
17376 fail:
17377 return NULL;
17378 }
17379
17380
17381 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17382 PyObject *resultobj;
17383 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17384 wxSize result;
17385 PyObject * obj0 = 0 ;
17386 char *kwnames[] = {
17387 (char *) "self", NULL
17388 };
17389
17390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17393 {
17394 PyThreadState* __tstate = wxPyBeginAllowThreads();
17395 result = (arg1)->GetToolSize();
17396
17397 wxPyEndAllowThreads(__tstate);
17398 if (PyErr_Occurred()) SWIG_fail;
17399 }
17400 {
17401 wxSize * resultptr;
17402 resultptr = new wxSize((wxSize &) result);
17403 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17404 }
17405 return resultobj;
17406 fail:
17407 return NULL;
17408 }
17409
17410
17411 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17412 PyObject *resultobj;
17413 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17414 int arg2 ;
17415 int arg3 ;
17416 wxToolBarToolBase *result;
17417 PyObject * obj0 = 0 ;
17418 PyObject * obj1 = 0 ;
17419 PyObject * obj2 = 0 ;
17420 char *kwnames[] = {
17421 (char *) "self",(char *) "x",(char *) "y", NULL
17422 };
17423
17424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17427 arg2 = (int) SWIG_AsInt(obj1);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 arg3 = (int) SWIG_AsInt(obj2);
17430 if (PyErr_Occurred()) SWIG_fail;
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 resultobj = wxPyMake_wxObject(result);
17440 }
17441 return resultobj;
17442 fail:
17443 return NULL;
17444 }
17445
17446
17447 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj;
17449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17450 int arg2 ;
17451 wxToolBarToolBase *result;
17452 PyObject * obj0 = 0 ;
17453 PyObject * obj1 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self",(char *) "toolid", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17461 arg2 = (int) SWIG_AsInt(obj1);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 {
17464 PyThreadState* __tstate = wxPyBeginAllowThreads();
17465 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17466
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 {
17471 resultobj = wxPyMake_wxObject(result);
17472 }
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17482 bool result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 result = (bool)(arg1)->IsVertical();
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
17498 {
17499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17500 }
17501 return resultobj;
17502 fail:
17503 return NULL;
17504 }
17505
17506
17507 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17508 PyObject *obj;
17509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17510 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17511 Py_INCREF(obj);
17512 return Py_BuildValue((char *)"");
17513 }
17514 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxWindow *arg1 = (wxWindow *) 0 ;
17517 int arg2 ;
17518 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17519 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17520 wxSize const &arg4_defvalue = wxDefaultSize ;
17521 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17522 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17523 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17524 wxString *arg6 = (wxString *) &arg6_defvalue ;
17525 wxToolBar *result;
17526 wxPoint temp3 ;
17527 wxSize temp4 ;
17528 bool temp6 = False ;
17529 PyObject * obj0 = 0 ;
17530 PyObject * obj1 = 0 ;
17531 PyObject * obj2 = 0 ;
17532 PyObject * obj3 = 0 ;
17533 PyObject * obj4 = 0 ;
17534 PyObject * obj5 = 0 ;
17535 char *kwnames[] = {
17536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17537 };
17538
17539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17542 arg2 = (int) SWIG_AsInt(obj1);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 if (obj2) {
17545 {
17546 arg3 = &temp3;
17547 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17548 }
17549 }
17550 if (obj3) {
17551 {
17552 arg4 = &temp4;
17553 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17554 }
17555 }
17556 if (obj4) {
17557 arg5 = (long) SWIG_AsLong(obj4);
17558 if (PyErr_Occurred()) SWIG_fail;
17559 }
17560 if (obj5) {
17561 {
17562 arg6 = wxString_in_helper(obj5);
17563 if (arg6 == NULL) SWIG_fail;
17564 temp6 = True;
17565 }
17566 }
17567 {
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17570
17571 wxPyEndAllowThreads(__tstate);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
17574 {
17575 resultobj = wxPyMake_wxObject(result);
17576 }
17577 {
17578 if (temp6)
17579 delete arg6;
17580 }
17581 return resultobj;
17582 fail:
17583 {
17584 if (temp6)
17585 delete arg6;
17586 }
17587 return NULL;
17588 }
17589
17590
17591 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17592 PyObject *resultobj;
17593 wxToolBar *result;
17594 char *kwnames[] = {
17595 NULL
17596 };
17597
17598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 result = (wxToolBar *)new wxToolBar();
17602
17603 wxPyEndAllowThreads(__tstate);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 }
17606 {
17607 resultobj = wxPyMake_wxObject(result);
17608 }
17609 return resultobj;
17610 fail:
17611 return NULL;
17612 }
17613
17614
17615 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17616 PyObject *resultobj;
17617 wxToolBar *arg1 = (wxToolBar *) 0 ;
17618 wxWindow *arg2 = (wxWindow *) 0 ;
17619 int arg3 ;
17620 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17621 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17622 wxSize const &arg5_defvalue = wxDefaultSize ;
17623 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17624 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17625 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17626 wxString *arg7 = (wxString *) &arg7_defvalue ;
17627 bool result;
17628 wxPoint temp4 ;
17629 wxSize temp5 ;
17630 bool temp7 = False ;
17631 PyObject * obj0 = 0 ;
17632 PyObject * obj1 = 0 ;
17633 PyObject * obj2 = 0 ;
17634 PyObject * obj3 = 0 ;
17635 PyObject * obj4 = 0 ;
17636 PyObject * obj5 = 0 ;
17637 PyObject * obj6 = 0 ;
17638 char *kwnames[] = {
17639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17640 };
17641
17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17647 arg3 = (int) SWIG_AsInt(obj2);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 if (obj3) {
17650 {
17651 arg4 = &temp4;
17652 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17653 }
17654 }
17655 if (obj4) {
17656 {
17657 arg5 = &temp5;
17658 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17659 }
17660 }
17661 if (obj5) {
17662 arg6 = (long) SWIG_AsLong(obj5);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 }
17665 if (obj6) {
17666 {
17667 arg7 = wxString_in_helper(obj6);
17668 if (arg7 == NULL) SWIG_fail;
17669 temp7 = True;
17670 }
17671 }
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17675
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 {
17680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17681 }
17682 {
17683 if (temp7)
17684 delete arg7;
17685 }
17686 return resultobj;
17687 fail:
17688 {
17689 if (temp7)
17690 delete arg7;
17691 }
17692 return NULL;
17693 }
17694
17695
17696 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17697 PyObject *resultobj;
17698 wxToolBar *arg1 = (wxToolBar *) 0 ;
17699 int arg2 ;
17700 int arg3 ;
17701 wxToolBarToolBase *result;
17702 PyObject * obj0 = 0 ;
17703 PyObject * obj1 = 0 ;
17704 PyObject * obj2 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self",(char *) "x",(char *) "y", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17712 arg2 = (int) SWIG_AsInt(obj1);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 arg3 = (int) SWIG_AsInt(obj2);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
17718 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17719
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 {
17724 resultobj = wxPyMake_wxObject(result);
17725 }
17726 return resultobj;
17727 fail:
17728 return NULL;
17729 }
17730
17731
17732 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17733 PyObject *obj;
17734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17735 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17736 Py_INCREF(obj);
17737 return Py_BuildValue((char *)"");
17738 }
17739 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17740 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17741 return 1;
17742 }
17743
17744
17745 static PyObject *_wrap_ListCtrlNameStr_get() {
17746 PyObject *pyobj;
17747
17748 {
17749 #if wxUSE_UNICODE
17750 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17751 #else
17752 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17753 #endif
17754 }
17755 return pyobj;
17756 }
17757
17758
17759 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17760 PyObject *resultobj;
17761 wxColour const &arg1_defvalue = wxNullColour ;
17762 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17763 wxColour const &arg2_defvalue = wxNullColour ;
17764 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17765 wxFont const &arg3_defvalue = wxNullFont ;
17766 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17767 wxListItemAttr *result;
17768 wxColour temp1 ;
17769 wxColour temp2 ;
17770 PyObject * obj0 = 0 ;
17771 PyObject * obj1 = 0 ;
17772 PyObject * obj2 = 0 ;
17773 char *kwnames[] = {
17774 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17775 };
17776
17777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17778 if (obj0) {
17779 {
17780 arg1 = &temp1;
17781 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17782 }
17783 }
17784 if (obj1) {
17785 {
17786 arg2 = &temp2;
17787 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17788 }
17789 }
17790 if (obj2) {
17791 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17792 SWIG_POINTER_EXCEPTION | 0)) == -1)
17793 SWIG_fail;
17794 if (arg3 == NULL) {
17795 PyErr_SetString(PyExc_TypeError,"null reference");
17796 SWIG_fail;
17797 }
17798 }
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17807 return resultobj;
17808 fail:
17809 return NULL;
17810 }
17811
17812
17813 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17814 PyObject *resultobj;
17815 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17816 wxColour *arg2 = 0 ;
17817 wxColour temp2 ;
17818 PyObject * obj0 = 0 ;
17819 PyObject * obj1 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "self",(char *) "colText", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17827 {
17828 arg2 = &temp2;
17829 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17830 }
17831 {
17832 PyThreadState* __tstate = wxPyBeginAllowThreads();
17833 (arg1)->SetTextColour((wxColour const &)*arg2);
17834
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 Py_INCREF(Py_None); resultobj = Py_None;
17839 return resultobj;
17840 fail:
17841 return NULL;
17842 }
17843
17844
17845 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17846 PyObject *resultobj;
17847 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17848 wxColour *arg2 = 0 ;
17849 wxColour temp2 ;
17850 PyObject * obj0 = 0 ;
17851 PyObject * obj1 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self",(char *) "colBack", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17859 {
17860 arg2 = &temp2;
17861 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17862 }
17863 {
17864 PyThreadState* __tstate = wxPyBeginAllowThreads();
17865 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17866
17867 wxPyEndAllowThreads(__tstate);
17868 if (PyErr_Occurred()) SWIG_fail;
17869 }
17870 Py_INCREF(Py_None); resultobj = Py_None;
17871 return resultobj;
17872 fail:
17873 return NULL;
17874 }
17875
17876
17877 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17878 PyObject *resultobj;
17879 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17880 wxFont *arg2 = 0 ;
17881 PyObject * obj0 = 0 ;
17882 PyObject * obj1 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self",(char *) "font", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17891 SWIG_POINTER_EXCEPTION | 0)) == -1)
17892 SWIG_fail;
17893 if (arg2 == NULL) {
17894 PyErr_SetString(PyExc_TypeError,"null reference");
17895 SWIG_fail;
17896 }
17897 {
17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
17899 (arg1)->SetFont((wxFont const &)*arg2);
17900
17901 wxPyEndAllowThreads(__tstate);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 Py_INCREF(Py_None); resultobj = Py_None;
17905 return resultobj;
17906 fail:
17907 return NULL;
17908 }
17909
17910
17911 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17912 PyObject *resultobj;
17913 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17914 bool result;
17915 PyObject * obj0 = 0 ;
17916 char *kwnames[] = {
17917 (char *) "self", NULL
17918 };
17919
17920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 result = (bool)(arg1)->HasTextColour();
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 {
17931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17932 }
17933 return resultobj;
17934 fail:
17935 return NULL;
17936 }
17937
17938
17939 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17940 PyObject *resultobj;
17941 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17942 bool result;
17943 PyObject * obj0 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 result = (bool)(arg1)->HasBackgroundColour();
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 {
17959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17960 }
17961 return resultobj;
17962 fail:
17963 return NULL;
17964 }
17965
17966
17967 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17968 PyObject *resultobj;
17969 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17970 bool result;
17971 PyObject * obj0 = 0 ;
17972 char *kwnames[] = {
17973 (char *) "self", NULL
17974 };
17975
17976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17979 {
17980 PyThreadState* __tstate = wxPyBeginAllowThreads();
17981 result = (bool)(arg1)->HasFont();
17982
17983 wxPyEndAllowThreads(__tstate);
17984 if (PyErr_Occurred()) SWIG_fail;
17985 }
17986 {
17987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17988 }
17989 return resultobj;
17990 fail:
17991 return NULL;
17992 }
17993
17994
17995 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17998 wxColour result;
17999 PyObject * obj0 = 0 ;
18000 char *kwnames[] = {
18001 (char *) "self", NULL
18002 };
18003
18004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
18005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 result = (arg1)->GetTextColour();
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 {
18015 wxColour * resultptr;
18016 resultptr = new wxColour((wxColour &) result);
18017 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18018 }
18019 return resultobj;
18020 fail:
18021 return NULL;
18022 }
18023
18024
18025 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18026 PyObject *resultobj;
18027 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18028 wxColour result;
18029 PyObject * obj0 = 0 ;
18030 char *kwnames[] = {
18031 (char *) "self", NULL
18032 };
18033
18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
18035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 result = (arg1)->GetBackgroundColour();
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 {
18045 wxColour * resultptr;
18046 resultptr = new wxColour((wxColour &) result);
18047 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18048 }
18049 return resultobj;
18050 fail:
18051 return NULL;
18052 }
18053
18054
18055 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18056 PyObject *resultobj;
18057 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18058 wxFont result;
18059 PyObject * obj0 = 0 ;
18060 char *kwnames[] = {
18061 (char *) "self", NULL
18062 };
18063
18064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
18065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18067 {
18068 PyThreadState* __tstate = wxPyBeginAllowThreads();
18069 result = (arg1)->GetFont();
18070
18071 wxPyEndAllowThreads(__tstate);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 }
18074 {
18075 wxFont * resultptr;
18076 resultptr = new wxFont((wxFont &) result);
18077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18078 }
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18086 PyObject *resultobj;
18087 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18088 PyObject * obj0 = 0 ;
18089 char *kwnames[] = {
18090 (char *) "self", NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
18094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 wxListItemAttr_Destroy(arg1);
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 Py_INCREF(Py_None); resultobj = Py_None;
18104 return resultobj;
18105 fail:
18106 return NULL;
18107 }
18108
18109
18110 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18111 PyObject *obj;
18112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18113 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18114 Py_INCREF(obj);
18115 return Py_BuildValue((char *)"");
18116 }
18117 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18118 PyObject *resultobj;
18119 wxListItem *result;
18120 char *kwnames[] = {
18121 NULL
18122 };
18123
18124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18125 {
18126 PyThreadState* __tstate = wxPyBeginAllowThreads();
18127 result = (wxListItem *)new wxListItem();
18128
18129 wxPyEndAllowThreads(__tstate);
18130 if (PyErr_Occurred()) SWIG_fail;
18131 }
18132 {
18133 resultobj = wxPyMake_wxObject(result);
18134 }
18135 return resultobj;
18136 fail:
18137 return NULL;
18138 }
18139
18140
18141 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxListItem *arg1 = (wxListItem *) 0 ;
18144 PyObject * obj0 = 0 ;
18145 char *kwnames[] = {
18146 (char *) "self", NULL
18147 };
18148
18149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
18150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 delete arg1;
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 Py_INCREF(Py_None); resultobj = Py_None;
18160 return resultobj;
18161 fail:
18162 return NULL;
18163 }
18164
18165
18166 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxListItem *arg1 = (wxListItem *) 0 ;
18169 PyObject * obj0 = 0 ;
18170 char *kwnames[] = {
18171 (char *) "self", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
18175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 (arg1)->Clear();
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 Py_INCREF(Py_None); resultobj = Py_None;
18185 return resultobj;
18186 fail:
18187 return NULL;
18188 }
18189
18190
18191 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj;
18193 wxListItem *arg1 = (wxListItem *) 0 ;
18194 PyObject * obj0 = 0 ;
18195 char *kwnames[] = {
18196 (char *) "self", NULL
18197 };
18198
18199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
18200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 (arg1)->ClearAttributes();
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 Py_INCREF(Py_None); resultobj = Py_None;
18210 return resultobj;
18211 fail:
18212 return NULL;
18213 }
18214
18215
18216 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18217 PyObject *resultobj;
18218 wxListItem *arg1 = (wxListItem *) 0 ;
18219 long arg2 ;
18220 PyObject * obj0 = 0 ;
18221 PyObject * obj1 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self",(char *) "mask", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
18227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18229 arg2 = (long) SWIG_AsLong(obj1);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 (arg1)->SetMask(arg2);
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 Py_INCREF(Py_None); resultobj = Py_None;
18239 return resultobj;
18240 fail:
18241 return NULL;
18242 }
18243
18244
18245 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 wxListItem *arg1 = (wxListItem *) 0 ;
18248 long arg2 ;
18249 PyObject * obj0 = 0 ;
18250 PyObject * obj1 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self",(char *) "id", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
18256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18258 arg2 = (long) SWIG_AsLong(obj1);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 {
18261 PyThreadState* __tstate = wxPyBeginAllowThreads();
18262 (arg1)->SetId(arg2);
18263
18264 wxPyEndAllowThreads(__tstate);
18265 if (PyErr_Occurred()) SWIG_fail;
18266 }
18267 Py_INCREF(Py_None); resultobj = Py_None;
18268 return resultobj;
18269 fail:
18270 return NULL;
18271 }
18272
18273
18274 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18275 PyObject *resultobj;
18276 wxListItem *arg1 = (wxListItem *) 0 ;
18277 int arg2 ;
18278 PyObject * obj0 = 0 ;
18279 PyObject * obj1 = 0 ;
18280 char *kwnames[] = {
18281 (char *) "self",(char *) "col", NULL
18282 };
18283
18284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
18285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18287 arg2 = (int) SWIG_AsInt(obj1);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 {
18290 PyThreadState* __tstate = wxPyBeginAllowThreads();
18291 (arg1)->SetColumn(arg2);
18292
18293 wxPyEndAllowThreads(__tstate);
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
18296 Py_INCREF(Py_None); resultobj = Py_None;
18297 return resultobj;
18298 fail:
18299 return NULL;
18300 }
18301
18302
18303 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18304 PyObject *resultobj;
18305 wxListItem *arg1 = (wxListItem *) 0 ;
18306 long arg2 ;
18307 PyObject * obj0 = 0 ;
18308 PyObject * obj1 = 0 ;
18309 char *kwnames[] = {
18310 (char *) "self",(char *) "state", NULL
18311 };
18312
18313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18316 arg2 = (long) SWIG_AsLong(obj1);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 {
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 (arg1)->SetState(arg2);
18321
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 Py_INCREF(Py_None); resultobj = Py_None;
18326 return resultobj;
18327 fail:
18328 return NULL;
18329 }
18330
18331
18332 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj;
18334 wxListItem *arg1 = (wxListItem *) 0 ;
18335 long arg2 ;
18336 PyObject * obj0 = 0 ;
18337 PyObject * obj1 = 0 ;
18338 char *kwnames[] = {
18339 (char *) "self",(char *) "stateMask", NULL
18340 };
18341
18342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18345 arg2 = (long) SWIG_AsLong(obj1);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 {
18348 PyThreadState* __tstate = wxPyBeginAllowThreads();
18349 (arg1)->SetStateMask(arg2);
18350
18351 wxPyEndAllowThreads(__tstate);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 }
18354 Py_INCREF(Py_None); resultobj = Py_None;
18355 return resultobj;
18356 fail:
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxListItem *arg1 = (wxListItem *) 0 ;
18364 wxString *arg2 = 0 ;
18365 bool temp2 = False ;
18366 PyObject * obj0 = 0 ;
18367 PyObject * obj1 = 0 ;
18368 char *kwnames[] = {
18369 (char *) "self",(char *) "text", NULL
18370 };
18371
18372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18375 {
18376 arg2 = wxString_in_helper(obj1);
18377 if (arg2 == NULL) SWIG_fail;
18378 temp2 = True;
18379 }
18380 {
18381 PyThreadState* __tstate = wxPyBeginAllowThreads();
18382 (arg1)->SetText((wxString const &)*arg2);
18383
18384 wxPyEndAllowThreads(__tstate);
18385 if (PyErr_Occurred()) SWIG_fail;
18386 }
18387 Py_INCREF(Py_None); resultobj = Py_None;
18388 {
18389 if (temp2)
18390 delete arg2;
18391 }
18392 return resultobj;
18393 fail:
18394 {
18395 if (temp2)
18396 delete arg2;
18397 }
18398 return NULL;
18399 }
18400
18401
18402 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18403 PyObject *resultobj;
18404 wxListItem *arg1 = (wxListItem *) 0 ;
18405 int arg2 ;
18406 PyObject * obj0 = 0 ;
18407 PyObject * obj1 = 0 ;
18408 char *kwnames[] = {
18409 (char *) "self",(char *) "image", NULL
18410 };
18411
18412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18415 arg2 = (int) SWIG_AsInt(obj1);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 {
18418 PyThreadState* __tstate = wxPyBeginAllowThreads();
18419 (arg1)->SetImage(arg2);
18420
18421 wxPyEndAllowThreads(__tstate);
18422 if (PyErr_Occurred()) SWIG_fail;
18423 }
18424 Py_INCREF(Py_None); resultobj = Py_None;
18425 return resultobj;
18426 fail:
18427 return NULL;
18428 }
18429
18430
18431 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18432 PyObject *resultobj;
18433 wxListItem *arg1 = (wxListItem *) 0 ;
18434 long arg2 ;
18435 PyObject * obj0 = 0 ;
18436 PyObject * obj1 = 0 ;
18437 char *kwnames[] = {
18438 (char *) "self",(char *) "data", NULL
18439 };
18440
18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18444 arg2 = (long) SWIG_AsLong(obj1);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 (arg1)->SetData(arg2);
18449
18450 wxPyEndAllowThreads(__tstate);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 Py_INCREF(Py_None); resultobj = Py_None;
18454 return resultobj;
18455 fail:
18456 return NULL;
18457 }
18458
18459
18460 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18461 PyObject *resultobj;
18462 wxListItem *arg1 = (wxListItem *) 0 ;
18463 int arg2 ;
18464 PyObject * obj0 = 0 ;
18465 PyObject * obj1 = 0 ;
18466 char *kwnames[] = {
18467 (char *) "self",(char *) "width", NULL
18468 };
18469
18470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18473 arg2 = (int) SWIG_AsInt(obj1);
18474 if (PyErr_Occurred()) SWIG_fail;
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 (arg1)->SetWidth(arg2);
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 Py_INCREF(Py_None); resultobj = Py_None;
18483 return resultobj;
18484 fail:
18485 return NULL;
18486 }
18487
18488
18489 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18490 PyObject *resultobj;
18491 wxListItem *arg1 = (wxListItem *) 0 ;
18492 int arg2 ;
18493 PyObject * obj0 = 0 ;
18494 PyObject * obj1 = 0 ;
18495 char *kwnames[] = {
18496 (char *) "self",(char *) "align", NULL
18497 };
18498
18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18502 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 (arg1)->SetAlign((wxListColumnFormat )arg2);
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 Py_INCREF(Py_None); resultobj = Py_None;
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxListItem *arg1 = (wxListItem *) 0 ;
18521 wxColour *arg2 = 0 ;
18522 wxColour temp2 ;
18523 PyObject * obj0 = 0 ;
18524 PyObject * obj1 = 0 ;
18525 char *kwnames[] = {
18526 (char *) "self",(char *) "colText", NULL
18527 };
18528
18529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18532 {
18533 arg2 = &temp2;
18534 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18535 }
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 (arg1)->SetTextColour((wxColour const &)*arg2);
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 Py_INCREF(Py_None); resultobj = Py_None;
18544 return resultobj;
18545 fail:
18546 return NULL;
18547 }
18548
18549
18550 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18551 PyObject *resultobj;
18552 wxListItem *arg1 = (wxListItem *) 0 ;
18553 wxColour *arg2 = 0 ;
18554 wxColour temp2 ;
18555 PyObject * obj0 = 0 ;
18556 PyObject * obj1 = 0 ;
18557 char *kwnames[] = {
18558 (char *) "self",(char *) "colBack", NULL
18559 };
18560
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18564 {
18565 arg2 = &temp2;
18566 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18567 }
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 Py_INCREF(Py_None); resultobj = Py_None;
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxListItem *arg1 = (wxListItem *) 0 ;
18585 wxFont *arg2 = 0 ;
18586 PyObject * obj0 = 0 ;
18587 PyObject * obj1 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "self",(char *) "font", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18596 SWIG_POINTER_EXCEPTION | 0)) == -1)
18597 SWIG_fail;
18598 if (arg2 == NULL) {
18599 PyErr_SetString(PyExc_TypeError,"null reference");
18600 SWIG_fail;
18601 }
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 (arg1)->SetFont((wxFont const &)*arg2);
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 Py_INCREF(Py_None); resultobj = Py_None;
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxListItem *arg1 = (wxListItem *) 0 ;
18619 long result;
18620 PyObject * obj0 = 0 ;
18621 char *kwnames[] = {
18622 (char *) "self", NULL
18623 };
18624
18625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18628 {
18629 PyThreadState* __tstate = wxPyBeginAllowThreads();
18630 result = (long)(arg1)->GetMask();
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 resultobj = SWIG_FromLong((long)result);
18636 return resultobj;
18637 fail:
18638 return NULL;
18639 }
18640
18641
18642 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18643 PyObject *resultobj;
18644 wxListItem *arg1 = (wxListItem *) 0 ;
18645 long result;
18646 PyObject * obj0 = 0 ;
18647 char *kwnames[] = {
18648 (char *) "self", NULL
18649 };
18650
18651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 result = (long)(arg1)->GetId();
18657
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 resultobj = SWIG_FromLong((long)result);
18662 return resultobj;
18663 fail:
18664 return NULL;
18665 }
18666
18667
18668 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj;
18670 wxListItem *arg1 = (wxListItem *) 0 ;
18671 int result;
18672 PyObject * obj0 = 0 ;
18673 char *kwnames[] = {
18674 (char *) "self", NULL
18675 };
18676
18677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 result = (int)(arg1)->GetColumn();
18683
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 resultobj = SWIG_FromInt((int)result);
18688 return resultobj;
18689 fail:
18690 return NULL;
18691 }
18692
18693
18694 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxListItem *arg1 = (wxListItem *) 0 ;
18697 long result;
18698 PyObject * obj0 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (long)(arg1)->GetState();
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 resultobj = SWIG_FromLong((long)result);
18714 return resultobj;
18715 fail:
18716 return NULL;
18717 }
18718
18719
18720 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18721 PyObject *resultobj;
18722 wxListItem *arg1 = (wxListItem *) 0 ;
18723 wxString *result;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 {
18735 wxString const &_result_ref = (arg1)->GetText();
18736 result = (wxString *) &_result_ref;
18737 }
18738
18739 wxPyEndAllowThreads(__tstate);
18740 if (PyErr_Occurred()) SWIG_fail;
18741 }
18742 {
18743 #if wxUSE_UNICODE
18744 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18745 #else
18746 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18747 #endif
18748 }
18749 return resultobj;
18750 fail:
18751 return NULL;
18752 }
18753
18754
18755 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18756 PyObject *resultobj;
18757 wxListItem *arg1 = (wxListItem *) 0 ;
18758 int result;
18759 PyObject * obj0 = 0 ;
18760 char *kwnames[] = {
18761 (char *) "self", NULL
18762 };
18763
18764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18767 {
18768 PyThreadState* __tstate = wxPyBeginAllowThreads();
18769 result = (int)(arg1)->GetImage();
18770
18771 wxPyEndAllowThreads(__tstate);
18772 if (PyErr_Occurred()) SWIG_fail;
18773 }
18774 resultobj = SWIG_FromInt((int)result);
18775 return resultobj;
18776 fail:
18777 return NULL;
18778 }
18779
18780
18781 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18782 PyObject *resultobj;
18783 wxListItem *arg1 = (wxListItem *) 0 ;
18784 long result;
18785 PyObject * obj0 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "self", NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 result = (long)(arg1)->GetData();
18796
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 resultobj = SWIG_FromLong((long)result);
18801 return resultobj;
18802 fail:
18803 return NULL;
18804 }
18805
18806
18807 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18808 PyObject *resultobj;
18809 wxListItem *arg1 = (wxListItem *) 0 ;
18810 int result;
18811 PyObject * obj0 = 0 ;
18812 char *kwnames[] = {
18813 (char *) "self", NULL
18814 };
18815
18816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 result = (int)(arg1)->GetWidth();
18822
18823 wxPyEndAllowThreads(__tstate);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 resultobj = SWIG_FromInt((int)result);
18827 return resultobj;
18828 fail:
18829 return NULL;
18830 }
18831
18832
18833 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18834 PyObject *resultobj;
18835 wxListItem *arg1 = (wxListItem *) 0 ;
18836 int result;
18837 PyObject * obj0 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "self", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18845 {
18846 PyThreadState* __tstate = wxPyBeginAllowThreads();
18847 result = (int)(arg1)->GetAlign();
18848
18849 wxPyEndAllowThreads(__tstate);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 resultobj = SWIG_FromInt((int)result);
18853 return resultobj;
18854 fail:
18855 return NULL;
18856 }
18857
18858
18859 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18860 PyObject *resultobj;
18861 wxListItem *arg1 = (wxListItem *) 0 ;
18862 wxListItemAttr *result;
18863 PyObject * obj0 = 0 ;
18864 char *kwnames[] = {
18865 (char *) "self", NULL
18866 };
18867
18868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18871 {
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 result = (wxListItemAttr *)(arg1)->GetAttributes();
18874
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18879 return resultobj;
18880 fail:
18881 return NULL;
18882 }
18883
18884
18885 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxListItem *arg1 = (wxListItem *) 0 ;
18888 bool result;
18889 PyObject * obj0 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 result = (bool)(arg1)->HasAttributes();
18900
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 {
18905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18906 }
18907 return resultobj;
18908 fail:
18909 return NULL;
18910 }
18911
18912
18913 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj;
18915 wxListItem *arg1 = (wxListItem *) 0 ;
18916 wxColour result;
18917 PyObject * obj0 = 0 ;
18918 char *kwnames[] = {
18919 (char *) "self", NULL
18920 };
18921
18922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18925 {
18926 PyThreadState* __tstate = wxPyBeginAllowThreads();
18927 result = ((wxListItem const *)arg1)->GetTextColour();
18928
18929 wxPyEndAllowThreads(__tstate);
18930 if (PyErr_Occurred()) SWIG_fail;
18931 }
18932 {
18933 wxColour * resultptr;
18934 resultptr = new wxColour((wxColour &) result);
18935 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18936 }
18937 return resultobj;
18938 fail:
18939 return NULL;
18940 }
18941
18942
18943 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj;
18945 wxListItem *arg1 = (wxListItem *) 0 ;
18946 wxColour result;
18947 PyObject * obj0 = 0 ;
18948 char *kwnames[] = {
18949 (char *) "self", NULL
18950 };
18951
18952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 {
18963 wxColour * resultptr;
18964 resultptr = new wxColour((wxColour &) result);
18965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18966 }
18967 return resultobj;
18968 fail:
18969 return NULL;
18970 }
18971
18972
18973 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxListItem *arg1 = (wxListItem *) 0 ;
18976 wxFont result;
18977 PyObject * obj0 = 0 ;
18978 char *kwnames[] = {
18979 (char *) "self", NULL
18980 };
18981
18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18985 {
18986 PyThreadState* __tstate = wxPyBeginAllowThreads();
18987 result = ((wxListItem const *)arg1)->GetFont();
18988
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 {
18993 wxFont * resultptr;
18994 resultptr = new wxFont((wxFont &) result);
18995 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18996 }
18997 return resultobj;
18998 fail:
18999 return NULL;
19000 }
19001
19002
19003 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19004 PyObject *resultobj;
19005 wxListItem *arg1 = (wxListItem *) 0 ;
19006 long arg2 ;
19007 PyObject * obj0 = 0 ;
19008 PyObject * obj1 = 0 ;
19009 char *kwnames[] = {
19010 (char *) "self",(char *) "m_mask", NULL
19011 };
19012
19013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
19014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19016 arg2 = (long) SWIG_AsLong(obj1);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 if (arg1) (arg1)->m_mask = arg2;
19019
19020 Py_INCREF(Py_None); resultobj = Py_None;
19021 return resultobj;
19022 fail:
19023 return NULL;
19024 }
19025
19026
19027 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19028 PyObject *resultobj;
19029 wxListItem *arg1 = (wxListItem *) 0 ;
19030 long result;
19031 PyObject * obj0 = 0 ;
19032 char *kwnames[] = {
19033 (char *) "self", NULL
19034 };
19035
19036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
19037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19039 result = (long) ((arg1)->m_mask);
19040
19041 resultobj = SWIG_FromLong((long)result);
19042 return resultobj;
19043 fail:
19044 return NULL;
19045 }
19046
19047
19048 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj;
19050 wxListItem *arg1 = (wxListItem *) 0 ;
19051 long arg2 ;
19052 PyObject * obj0 = 0 ;
19053 PyObject * obj1 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self",(char *) "m_itemId", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19061 arg2 = (long) SWIG_AsLong(obj1);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 if (arg1) (arg1)->m_itemId = arg2;
19064
19065 Py_INCREF(Py_None); resultobj = Py_None;
19066 return resultobj;
19067 fail:
19068 return NULL;
19069 }
19070
19071
19072 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxListItem *arg1 = (wxListItem *) 0 ;
19075 long result;
19076 PyObject * obj0 = 0 ;
19077 char *kwnames[] = {
19078 (char *) "self", NULL
19079 };
19080
19081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
19082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19084 result = (long) ((arg1)->m_itemId);
19085
19086 resultobj = SWIG_FromLong((long)result);
19087 return resultobj;
19088 fail:
19089 return NULL;
19090 }
19091
19092
19093 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19094 PyObject *resultobj;
19095 wxListItem *arg1 = (wxListItem *) 0 ;
19096 int arg2 ;
19097 PyObject * obj0 = 0 ;
19098 PyObject * obj1 = 0 ;
19099 char *kwnames[] = {
19100 (char *) "self",(char *) "m_col", NULL
19101 };
19102
19103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19106 arg2 = (int) SWIG_AsInt(obj1);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 if (arg1) (arg1)->m_col = arg2;
19109
19110 Py_INCREF(Py_None); resultobj = Py_None;
19111 return resultobj;
19112 fail:
19113 return NULL;
19114 }
19115
19116
19117 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj;
19119 wxListItem *arg1 = (wxListItem *) 0 ;
19120 int result;
19121 PyObject * obj0 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "self", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
19127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19129 result = (int) ((arg1)->m_col);
19130
19131 resultobj = SWIG_FromInt((int)result);
19132 return resultobj;
19133 fail:
19134 return NULL;
19135 }
19136
19137
19138 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj;
19140 wxListItem *arg1 = (wxListItem *) 0 ;
19141 long arg2 ;
19142 PyObject * obj0 = 0 ;
19143 PyObject * obj1 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "self",(char *) "m_state", NULL
19146 };
19147
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
19149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19151 arg2 = (long) SWIG_AsLong(obj1);
19152 if (PyErr_Occurred()) SWIG_fail;
19153 if (arg1) (arg1)->m_state = arg2;
19154
19155 Py_INCREF(Py_None); resultobj = Py_None;
19156 return resultobj;
19157 fail:
19158 return NULL;
19159 }
19160
19161
19162 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19163 PyObject *resultobj;
19164 wxListItem *arg1 = (wxListItem *) 0 ;
19165 long result;
19166 PyObject * obj0 = 0 ;
19167 char *kwnames[] = {
19168 (char *) "self", NULL
19169 };
19170
19171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
19172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19174 result = (long) ((arg1)->m_state);
19175
19176 resultobj = SWIG_FromLong((long)result);
19177 return resultobj;
19178 fail:
19179 return NULL;
19180 }
19181
19182
19183 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj;
19185 wxListItem *arg1 = (wxListItem *) 0 ;
19186 long arg2 ;
19187 PyObject * obj0 = 0 ;
19188 PyObject * obj1 = 0 ;
19189 char *kwnames[] = {
19190 (char *) "self",(char *) "m_stateMask", NULL
19191 };
19192
19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
19194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19196 arg2 = (long) SWIG_AsLong(obj1);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 if (arg1) (arg1)->m_stateMask = arg2;
19199
19200 Py_INCREF(Py_None); resultobj = Py_None;
19201 return resultobj;
19202 fail:
19203 return NULL;
19204 }
19205
19206
19207 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxListItem *arg1 = (wxListItem *) 0 ;
19210 long result;
19211 PyObject * obj0 = 0 ;
19212 char *kwnames[] = {
19213 (char *) "self", NULL
19214 };
19215
19216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
19217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19219 result = (long) ((arg1)->m_stateMask);
19220
19221 resultobj = SWIG_FromLong((long)result);
19222 return resultobj;
19223 fail:
19224 return NULL;
19225 }
19226
19227
19228 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19229 PyObject *resultobj;
19230 wxListItem *arg1 = (wxListItem *) 0 ;
19231 wxString *arg2 = (wxString *) 0 ;
19232 bool temp2 = False ;
19233 PyObject * obj0 = 0 ;
19234 PyObject * obj1 = 0 ;
19235 char *kwnames[] = {
19236 (char *) "self",(char *) "m_text", NULL
19237 };
19238
19239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
19240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19242 {
19243 arg2 = wxString_in_helper(obj1);
19244 if (arg2 == NULL) SWIG_fail;
19245 temp2 = True;
19246 }
19247 if (arg1) (arg1)->m_text = *arg2;
19248
19249 Py_INCREF(Py_None); resultobj = Py_None;
19250 {
19251 if (temp2)
19252 delete arg2;
19253 }
19254 return resultobj;
19255 fail:
19256 {
19257 if (temp2)
19258 delete arg2;
19259 }
19260 return NULL;
19261 }
19262
19263
19264 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj;
19266 wxListItem *arg1 = (wxListItem *) 0 ;
19267 wxString *result;
19268 PyObject * obj0 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
19274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19276 result = (wxString *)& ((arg1)->m_text);
19277
19278 {
19279 #if wxUSE_UNICODE
19280 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19281 #else
19282 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19283 #endif
19284 }
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj;
19293 wxListItem *arg1 = (wxListItem *) 0 ;
19294 int arg2 ;
19295 PyObject * obj0 = 0 ;
19296 PyObject * obj1 = 0 ;
19297 char *kwnames[] = {
19298 (char *) "self",(char *) "m_image", NULL
19299 };
19300
19301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19304 arg2 = (int) SWIG_AsInt(obj1);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 if (arg1) (arg1)->m_image = arg2;
19307
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxListItem *arg1 = (wxListItem *) 0 ;
19318 int result;
19319 PyObject * obj0 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19327 result = (int) ((arg1)->m_image);
19328
19329 resultobj = SWIG_FromInt((int)result);
19330 return resultobj;
19331 fail:
19332 return NULL;
19333 }
19334
19335
19336 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj;
19338 wxListItem *arg1 = (wxListItem *) 0 ;
19339 long arg2 ;
19340 PyObject * obj0 = 0 ;
19341 PyObject * obj1 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "m_data", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19349 arg2 = (long) SWIG_AsLong(obj1);
19350 if (PyErr_Occurred()) SWIG_fail;
19351 if (arg1) (arg1)->m_data = arg2;
19352
19353 Py_INCREF(Py_None); resultobj = Py_None;
19354 return resultobj;
19355 fail:
19356 return NULL;
19357 }
19358
19359
19360 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxListItem *arg1 = (wxListItem *) 0 ;
19363 long result;
19364 PyObject * obj0 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19372 result = (long) ((arg1)->m_data);
19373
19374 resultobj = SWIG_FromLong((long)result);
19375 return resultobj;
19376 fail:
19377 return NULL;
19378 }
19379
19380
19381 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19382 PyObject *resultobj;
19383 wxListItem *arg1 = (wxListItem *) 0 ;
19384 int arg2 ;
19385 PyObject * obj0 = 0 ;
19386 PyObject * obj1 = 0 ;
19387 char *kwnames[] = {
19388 (char *) "self",(char *) "m_format", NULL
19389 };
19390
19391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19394 arg2 = (int) SWIG_AsInt(obj1);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 if (arg1) (arg1)->m_format = arg2;
19397
19398 Py_INCREF(Py_None); resultobj = Py_None;
19399 return resultobj;
19400 fail:
19401 return NULL;
19402 }
19403
19404
19405 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj;
19407 wxListItem *arg1 = (wxListItem *) 0 ;
19408 int result;
19409 PyObject * obj0 = 0 ;
19410 char *kwnames[] = {
19411 (char *) "self", NULL
19412 };
19413
19414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19417 result = (int) ((arg1)->m_format);
19418
19419 resultobj = SWIG_FromInt((int)result);
19420 return resultobj;
19421 fail:
19422 return NULL;
19423 }
19424
19425
19426 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19427 PyObject *resultobj;
19428 wxListItem *arg1 = (wxListItem *) 0 ;
19429 int arg2 ;
19430 PyObject * obj0 = 0 ;
19431 PyObject * obj1 = 0 ;
19432 char *kwnames[] = {
19433 (char *) "self",(char *) "m_width", NULL
19434 };
19435
19436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19439 arg2 = (int) SWIG_AsInt(obj1);
19440 if (PyErr_Occurred()) SWIG_fail;
19441 if (arg1) (arg1)->m_width = arg2;
19442
19443 Py_INCREF(Py_None); resultobj = Py_None;
19444 return resultobj;
19445 fail:
19446 return NULL;
19447 }
19448
19449
19450 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19451 PyObject *resultobj;
19452 wxListItem *arg1 = (wxListItem *) 0 ;
19453 int result;
19454 PyObject * obj0 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "self", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19462 result = (int) ((arg1)->m_width);
19463
19464 resultobj = SWIG_FromInt((int)result);
19465 return resultobj;
19466 fail:
19467 return NULL;
19468 }
19469
19470
19471 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19472 PyObject *obj;
19473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19474 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19475 Py_INCREF(obj);
19476 return Py_BuildValue((char *)"");
19477 }
19478 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19479 PyObject *resultobj;
19480 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19481 int arg2 = (int) 0 ;
19482 wxListEvent *result;
19483 PyObject * obj0 = 0 ;
19484 PyObject * obj1 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "commandType",(char *) "id", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19490 if (obj0) {
19491 arg1 = (wxEventType) SWIG_AsInt(obj0);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 if (obj1) {
19495 arg2 = (int) SWIG_AsInt(obj1);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
19498 {
19499 PyThreadState* __tstate = wxPyBeginAllowThreads();
19500 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19501
19502 wxPyEndAllowThreads(__tstate);
19503 if (PyErr_Occurred()) SWIG_fail;
19504 }
19505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19506 return resultobj;
19507 fail:
19508 return NULL;
19509 }
19510
19511
19512 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19513 PyObject *resultobj;
19514 wxListEvent *arg1 = (wxListEvent *) 0 ;
19515 int arg2 ;
19516 PyObject * obj0 = 0 ;
19517 PyObject * obj1 = 0 ;
19518 char *kwnames[] = {
19519 (char *) "self",(char *) "m_code", NULL
19520 };
19521
19522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19525 arg2 = (int) SWIG_AsInt(obj1);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 if (arg1) (arg1)->m_code = arg2;
19528
19529 Py_INCREF(Py_None); resultobj = Py_None;
19530 return resultobj;
19531 fail:
19532 return NULL;
19533 }
19534
19535
19536 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19537 PyObject *resultobj;
19538 wxListEvent *arg1 = (wxListEvent *) 0 ;
19539 int result;
19540 PyObject * obj0 = 0 ;
19541 char *kwnames[] = {
19542 (char *) "self", NULL
19543 };
19544
19545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19548 result = (int) ((arg1)->m_code);
19549
19550 resultobj = SWIG_FromInt((int)result);
19551 return resultobj;
19552 fail:
19553 return NULL;
19554 }
19555
19556
19557 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19558 PyObject *resultobj;
19559 wxListEvent *arg1 = (wxListEvent *) 0 ;
19560 long arg2 ;
19561 PyObject * obj0 = 0 ;
19562 PyObject * obj1 = 0 ;
19563 char *kwnames[] = {
19564 (char *) "self",(char *) "m_oldItemIndex", NULL
19565 };
19566
19567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19570 arg2 = (long) SWIG_AsLong(obj1);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 if (arg1) (arg1)->m_oldItemIndex = arg2;
19573
19574 Py_INCREF(Py_None); resultobj = Py_None;
19575 return resultobj;
19576 fail:
19577 return NULL;
19578 }
19579
19580
19581 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19582 PyObject *resultobj;
19583 wxListEvent *arg1 = (wxListEvent *) 0 ;
19584 long result;
19585 PyObject * obj0 = 0 ;
19586 char *kwnames[] = {
19587 (char *) "self", NULL
19588 };
19589
19590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19593 result = (long) ((arg1)->m_oldItemIndex);
19594
19595 resultobj = SWIG_FromLong((long)result);
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxListEvent *arg1 = (wxListEvent *) 0 ;
19605 long arg2 ;
19606 PyObject * obj0 = 0 ;
19607 PyObject * obj1 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self",(char *) "m_itemIndex", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19615 arg2 = (long) SWIG_AsLong(obj1);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 if (arg1) (arg1)->m_itemIndex = arg2;
19618
19619 Py_INCREF(Py_None); resultobj = Py_None;
19620 return resultobj;
19621 fail:
19622 return NULL;
19623 }
19624
19625
19626 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19627 PyObject *resultobj;
19628 wxListEvent *arg1 = (wxListEvent *) 0 ;
19629 long result;
19630 PyObject * obj0 = 0 ;
19631 char *kwnames[] = {
19632 (char *) "self", NULL
19633 };
19634
19635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19638 result = (long) ((arg1)->m_itemIndex);
19639
19640 resultobj = SWIG_FromLong((long)result);
19641 return resultobj;
19642 fail:
19643 return NULL;
19644 }
19645
19646
19647 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19648 PyObject *resultobj;
19649 wxListEvent *arg1 = (wxListEvent *) 0 ;
19650 int arg2 ;
19651 PyObject * obj0 = 0 ;
19652 PyObject * obj1 = 0 ;
19653 char *kwnames[] = {
19654 (char *) "self",(char *) "m_col", NULL
19655 };
19656
19657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19660 arg2 = (int) SWIG_AsInt(obj1);
19661 if (PyErr_Occurred()) SWIG_fail;
19662 if (arg1) (arg1)->m_col = arg2;
19663
19664 Py_INCREF(Py_None); resultobj = Py_None;
19665 return resultobj;
19666 fail:
19667 return NULL;
19668 }
19669
19670
19671 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19672 PyObject *resultobj;
19673 wxListEvent *arg1 = (wxListEvent *) 0 ;
19674 int result;
19675 PyObject * obj0 = 0 ;
19676 char *kwnames[] = {
19677 (char *) "self", NULL
19678 };
19679
19680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19683 result = (int) ((arg1)->m_col);
19684
19685 resultobj = SWIG_FromInt((int)result);
19686 return resultobj;
19687 fail:
19688 return NULL;
19689 }
19690
19691
19692 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19693 PyObject *resultobj;
19694 wxListEvent *arg1 = (wxListEvent *) 0 ;
19695 wxPoint *arg2 = (wxPoint *) 0 ;
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj1 = 0 ;
19698 char *kwnames[] = {
19699 (char *) "self",(char *) "m_pointDrag", NULL
19700 };
19701
19702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19707 if (arg1) (arg1)->m_pointDrag = *arg2;
19708
19709 Py_INCREF(Py_None); resultobj = Py_None;
19710 return resultobj;
19711 fail:
19712 return NULL;
19713 }
19714
19715
19716 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19717 PyObject *resultobj;
19718 wxListEvent *arg1 = (wxListEvent *) 0 ;
19719 wxPoint *result;
19720 PyObject * obj0 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19728 result = (wxPoint *)& ((arg1)->m_pointDrag);
19729
19730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19731 return resultobj;
19732 fail:
19733 return NULL;
19734 }
19735
19736
19737 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19738 PyObject *resultobj;
19739 wxListEvent *arg1 = (wxListEvent *) 0 ;
19740 wxListItem *result;
19741 PyObject * obj0 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "self", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19749 result = (wxListItem *)& ((arg1)->m_item);
19750
19751 {
19752 resultobj = wxPyMake_wxObject(result);
19753 }
19754 return resultobj;
19755 fail:
19756 return NULL;
19757 }
19758
19759
19760 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19761 PyObject *resultobj;
19762 wxListEvent *arg1 = (wxListEvent *) 0 ;
19763 int result;
19764 PyObject * obj0 = 0 ;
19765 char *kwnames[] = {
19766 (char *) "self", NULL
19767 };
19768
19769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19772 {
19773 PyThreadState* __tstate = wxPyBeginAllowThreads();
19774 result = (int)(arg1)->GetKeyCode();
19775
19776 wxPyEndAllowThreads(__tstate);
19777 if (PyErr_Occurred()) SWIG_fail;
19778 }
19779 resultobj = SWIG_FromInt((int)result);
19780 return resultobj;
19781 fail:
19782 return NULL;
19783 }
19784
19785
19786 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19787 PyObject *resultobj;
19788 wxListEvent *arg1 = (wxListEvent *) 0 ;
19789 long result;
19790 PyObject * obj0 = 0 ;
19791 char *kwnames[] = {
19792 (char *) "self", NULL
19793 };
19794
19795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19798 {
19799 PyThreadState* __tstate = wxPyBeginAllowThreads();
19800 result = (long)(arg1)->GetIndex();
19801
19802 wxPyEndAllowThreads(__tstate);
19803 if (PyErr_Occurred()) SWIG_fail;
19804 }
19805 resultobj = SWIG_FromLong((long)result);
19806 return resultobj;
19807 fail:
19808 return NULL;
19809 }
19810
19811
19812 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19813 PyObject *resultobj;
19814 wxListEvent *arg1 = (wxListEvent *) 0 ;
19815 int result;
19816 PyObject * obj0 = 0 ;
19817 char *kwnames[] = {
19818 (char *) "self", NULL
19819 };
19820
19821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19824 {
19825 PyThreadState* __tstate = wxPyBeginAllowThreads();
19826 result = (int)(arg1)->GetColumn();
19827
19828 wxPyEndAllowThreads(__tstate);
19829 if (PyErr_Occurred()) SWIG_fail;
19830 }
19831 resultobj = SWIG_FromInt((int)result);
19832 return resultobj;
19833 fail:
19834 return NULL;
19835 }
19836
19837
19838 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19839 PyObject *resultobj;
19840 wxListEvent *arg1 = (wxListEvent *) 0 ;
19841 wxPoint result;
19842 PyObject * obj0 = 0 ;
19843 char *kwnames[] = {
19844 (char *) "self", NULL
19845 };
19846
19847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 result = (arg1)->GetPoint();
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 {
19858 wxPoint * resultptr;
19859 resultptr = new wxPoint((wxPoint &) result);
19860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19861 }
19862 return resultobj;
19863 fail:
19864 return NULL;
19865 }
19866
19867
19868 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19869 PyObject *resultobj;
19870 wxListEvent *arg1 = (wxListEvent *) 0 ;
19871 wxString *result;
19872 PyObject * obj0 = 0 ;
19873 char *kwnames[] = {
19874 (char *) "self", NULL
19875 };
19876
19877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19880 {
19881 PyThreadState* __tstate = wxPyBeginAllowThreads();
19882 {
19883 wxString const &_result_ref = (arg1)->GetLabel();
19884 result = (wxString *) &_result_ref;
19885 }
19886
19887 wxPyEndAllowThreads(__tstate);
19888 if (PyErr_Occurred()) SWIG_fail;
19889 }
19890 {
19891 #if wxUSE_UNICODE
19892 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19893 #else
19894 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19895 #endif
19896 }
19897 return resultobj;
19898 fail:
19899 return NULL;
19900 }
19901
19902
19903 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19904 PyObject *resultobj;
19905 wxListEvent *arg1 = (wxListEvent *) 0 ;
19906 wxString *result;
19907 PyObject * obj0 = 0 ;
19908 char *kwnames[] = {
19909 (char *) "self", NULL
19910 };
19911
19912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 {
19918 wxString const &_result_ref = (arg1)->GetText();
19919 result = (wxString *) &_result_ref;
19920 }
19921
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 {
19926 #if wxUSE_UNICODE
19927 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19928 #else
19929 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19930 #endif
19931 }
19932 return resultobj;
19933 fail:
19934 return NULL;
19935 }
19936
19937
19938 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19939 PyObject *resultobj;
19940 wxListEvent *arg1 = (wxListEvent *) 0 ;
19941 int result;
19942 PyObject * obj0 = 0 ;
19943 char *kwnames[] = {
19944 (char *) "self", NULL
19945 };
19946
19947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 result = (int)(arg1)->GetImage();
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 resultobj = SWIG_FromInt((int)result);
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxListEvent *arg1 = (wxListEvent *) 0 ;
19967 long result;
19968 PyObject * obj0 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 result = (long)(arg1)->GetData();
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 resultobj = SWIG_FromLong((long)result);
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxListEvent *arg1 = (wxListEvent *) 0 ;
19993 long result;
19994 PyObject * obj0 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20002 {
20003 PyThreadState* __tstate = wxPyBeginAllowThreads();
20004 result = (long)(arg1)->GetMask();
20005
20006 wxPyEndAllowThreads(__tstate);
20007 if (PyErr_Occurred()) SWIG_fail;
20008 }
20009 resultobj = SWIG_FromLong((long)result);
20010 return resultobj;
20011 fail:
20012 return NULL;
20013 }
20014
20015
20016 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20017 PyObject *resultobj;
20018 wxListEvent *arg1 = (wxListEvent *) 0 ;
20019 wxListItem *result;
20020 PyObject * obj0 = 0 ;
20021 char *kwnames[] = {
20022 (char *) "self", NULL
20023 };
20024
20025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
20026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20028 {
20029 PyThreadState* __tstate = wxPyBeginAllowThreads();
20030 {
20031 wxListItem const &_result_ref = (arg1)->GetItem();
20032 result = (wxListItem *) &_result_ref;
20033 }
20034
20035 wxPyEndAllowThreads(__tstate);
20036 if (PyErr_Occurred()) SWIG_fail;
20037 }
20038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
20039 return resultobj;
20040 fail:
20041 return NULL;
20042 }
20043
20044
20045 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20046 PyObject *resultobj;
20047 wxListEvent *arg1 = (wxListEvent *) 0 ;
20048 long result;
20049 PyObject * obj0 = 0 ;
20050 char *kwnames[] = {
20051 (char *) "self", NULL
20052 };
20053
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
20055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 result = (long)(arg1)->GetCacheFrom();
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 resultobj = SWIG_FromLong((long)result);
20065 return resultobj;
20066 fail:
20067 return NULL;
20068 }
20069
20070
20071 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20072 PyObject *resultobj;
20073 wxListEvent *arg1 = (wxListEvent *) 0 ;
20074 long result;
20075 PyObject * obj0 = 0 ;
20076 char *kwnames[] = {
20077 (char *) "self", NULL
20078 };
20079
20080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
20081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 result = (long)(arg1)->GetCacheTo();
20086
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 resultobj = SWIG_FromLong((long)result);
20091 return resultobj;
20092 fail:
20093 return NULL;
20094 }
20095
20096
20097 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20098 PyObject *resultobj;
20099 wxListEvent *arg1 = (wxListEvent *) 0 ;
20100 bool result;
20101 PyObject * obj0 = 0 ;
20102 char *kwnames[] = {
20103 (char *) "self", NULL
20104 };
20105
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 {
20117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20118 }
20119 return resultobj;
20120 fail:
20121 return NULL;
20122 }
20123
20124
20125 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20126 PyObject *resultobj;
20127 wxListEvent *arg1 = (wxListEvent *) 0 ;
20128 bool arg2 ;
20129 PyObject * obj0 = 0 ;
20130 PyObject * obj1 = 0 ;
20131 char *kwnames[] = {
20132 (char *) "self",(char *) "editCancelled", NULL
20133 };
20134
20135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20138 arg2 = (bool) SWIG_AsBool(obj1);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 (arg1)->SetEditCanceled(arg2);
20143
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
20147 Py_INCREF(Py_None); resultobj = Py_None;
20148 return resultobj;
20149 fail:
20150 return NULL;
20151 }
20152
20153
20154 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
20155 PyObject *obj;
20156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20157 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
20158 Py_INCREF(obj);
20159 return Py_BuildValue((char *)"");
20160 }
20161 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj;
20163 wxWindow *arg1 = (wxWindow *) 0 ;
20164 int arg2 = (int) -1 ;
20165 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20166 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20167 wxSize const &arg4_defvalue = wxDefaultSize ;
20168 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20169 long arg5 = (long) wxLC_ICON ;
20170 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20171 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20172 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20173 wxString *arg7 = (wxString *) &arg7_defvalue ;
20174 wxPyListCtrl *result;
20175 wxPoint temp3 ;
20176 wxSize temp4 ;
20177 bool temp7 = False ;
20178 PyObject * obj0 = 0 ;
20179 PyObject * obj1 = 0 ;
20180 PyObject * obj2 = 0 ;
20181 PyObject * obj3 = 0 ;
20182 PyObject * obj4 = 0 ;
20183 PyObject * obj5 = 0 ;
20184 PyObject * obj6 = 0 ;
20185 char *kwnames[] = {
20186 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20187 };
20188
20189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20192 if (obj1) {
20193 arg2 = (int) SWIG_AsInt(obj1);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 if (obj2) {
20197 {
20198 arg3 = &temp3;
20199 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20200 }
20201 }
20202 if (obj3) {
20203 {
20204 arg4 = &temp4;
20205 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20206 }
20207 }
20208 if (obj4) {
20209 arg5 = (long) SWIG_AsLong(obj4);
20210 if (PyErr_Occurred()) SWIG_fail;
20211 }
20212 if (obj5) {
20213 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
20214 SWIG_POINTER_EXCEPTION | 0)) == -1)
20215 SWIG_fail;
20216 if (arg6 == NULL) {
20217 PyErr_SetString(PyExc_TypeError,"null reference");
20218 SWIG_fail;
20219 }
20220 }
20221 if (obj6) {
20222 {
20223 arg7 = wxString_in_helper(obj6);
20224 if (arg7 == NULL) SWIG_fail;
20225 temp7 = True;
20226 }
20227 }
20228 {
20229 PyThreadState* __tstate = wxPyBeginAllowThreads();
20230 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20231
20232 wxPyEndAllowThreads(__tstate);
20233 if (PyErr_Occurred()) SWIG_fail;
20234 }
20235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20236 {
20237 if (temp7)
20238 delete arg7;
20239 }
20240 return resultobj;
20241 fail:
20242 {
20243 if (temp7)
20244 delete arg7;
20245 }
20246 return NULL;
20247 }
20248
20249
20250 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20251 PyObject *resultobj;
20252 wxPyListCtrl *result;
20253 char *kwnames[] = {
20254 NULL
20255 };
20256
20257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 result = (wxPyListCtrl *)new wxPyListCtrl();
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20266 return resultobj;
20267 fail:
20268 return NULL;
20269 }
20270
20271
20272 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20273 PyObject *resultobj;
20274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20275 wxWindow *arg2 = (wxWindow *) 0 ;
20276 int arg3 = (int) -1 ;
20277 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20278 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20279 wxSize const &arg5_defvalue = wxDefaultSize ;
20280 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20281 long arg6 = (long) wxLC_ICON ;
20282 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20283 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20284 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20285 wxString *arg8 = (wxString *) &arg8_defvalue ;
20286 bool result;
20287 wxPoint temp4 ;
20288 wxSize temp5 ;
20289 bool temp8 = False ;
20290 PyObject * obj0 = 0 ;
20291 PyObject * obj1 = 0 ;
20292 PyObject * obj2 = 0 ;
20293 PyObject * obj3 = 0 ;
20294 PyObject * obj4 = 0 ;
20295 PyObject * obj5 = 0 ;
20296 PyObject * obj6 = 0 ;
20297 PyObject * obj7 = 0 ;
20298 char *kwnames[] = {
20299 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20300 };
20301
20302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20307 if (obj2) {
20308 arg3 = (int) SWIG_AsInt(obj2);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 if (obj3) {
20312 {
20313 arg4 = &temp4;
20314 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20315 }
20316 }
20317 if (obj4) {
20318 {
20319 arg5 = &temp5;
20320 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20321 }
20322 }
20323 if (obj5) {
20324 arg6 = (long) SWIG_AsLong(obj5);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 if (obj6) {
20328 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20329 SWIG_POINTER_EXCEPTION | 0)) == -1)
20330 SWIG_fail;
20331 if (arg7 == NULL) {
20332 PyErr_SetString(PyExc_TypeError,"null reference");
20333 SWIG_fail;
20334 }
20335 }
20336 if (obj7) {
20337 {
20338 arg8 = wxString_in_helper(obj7);
20339 if (arg8 == NULL) SWIG_fail;
20340 temp8 = True;
20341 }
20342 }
20343 {
20344 PyThreadState* __tstate = wxPyBeginAllowThreads();
20345 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20346
20347 wxPyEndAllowThreads(__tstate);
20348 if (PyErr_Occurred()) SWIG_fail;
20349 }
20350 {
20351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20352 }
20353 {
20354 if (temp8)
20355 delete arg8;
20356 }
20357 return resultobj;
20358 fail:
20359 {
20360 if (temp8)
20361 delete arg8;
20362 }
20363 return NULL;
20364 }
20365
20366
20367 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj;
20369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20370 PyObject *arg2 = (PyObject *) 0 ;
20371 PyObject *arg3 = (PyObject *) 0 ;
20372 PyObject * obj0 = 0 ;
20373 PyObject * obj1 = 0 ;
20374 PyObject * obj2 = 0 ;
20375 char *kwnames[] = {
20376 (char *) "self",(char *) "self",(char *) "_class", NULL
20377 };
20378
20379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20382 arg2 = obj1;
20383 arg3 = obj2;
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 (arg1)->_setCallbackInfo(arg2,arg3);
20387
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 Py_INCREF(Py_None); resultobj = Py_None;
20392 return resultobj;
20393 fail:
20394 return NULL;
20395 }
20396
20397
20398 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20399 PyObject *resultobj;
20400 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20401 wxColour *arg2 = 0 ;
20402 bool result;
20403 wxColour temp2 ;
20404 PyObject * obj0 = 0 ;
20405 PyObject * obj1 = 0 ;
20406 char *kwnames[] = {
20407 (char *) "self",(char *) "col", NULL
20408 };
20409
20410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20413 {
20414 arg2 = &temp2;
20415 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20416 }
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20420
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 {
20425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20426 }
20427 return resultobj;
20428 fail:
20429 return NULL;
20430 }
20431
20432
20433 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20434 PyObject *resultobj;
20435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20436 wxColour *arg2 = 0 ;
20437 bool result;
20438 wxColour temp2 ;
20439 PyObject * obj0 = 0 ;
20440 PyObject * obj1 = 0 ;
20441 char *kwnames[] = {
20442 (char *) "self",(char *) "col", NULL
20443 };
20444
20445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20448 {
20449 arg2 = &temp2;
20450 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20451 }
20452 {
20453 PyThreadState* __tstate = wxPyBeginAllowThreads();
20454 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20455
20456 wxPyEndAllowThreads(__tstate);
20457 if (PyErr_Occurred()) SWIG_fail;
20458 }
20459 {
20460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20461 }
20462 return resultobj;
20463 fail:
20464 return NULL;
20465 }
20466
20467
20468 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20469 PyObject *resultobj;
20470 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20471 int arg2 ;
20472 wxListItem *result;
20473 PyObject * obj0 = 0 ;
20474 PyObject * obj1 = 0 ;
20475 char *kwnames[] = {
20476 (char *) "self",(char *) "col", NULL
20477 };
20478
20479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20482 arg2 = (int) SWIG_AsInt(obj1);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 {
20492 resultobj = wxPyMake_wxObject(result);
20493 }
20494 return resultobj;
20495 fail:
20496 return NULL;
20497 }
20498
20499
20500 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20501 PyObject *resultobj;
20502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20503 int arg2 ;
20504 wxListItem *arg3 = 0 ;
20505 bool result;
20506 PyObject * obj0 = 0 ;
20507 PyObject * obj1 = 0 ;
20508 PyObject * obj2 = 0 ;
20509 char *kwnames[] = {
20510 (char *) "self",(char *) "col",(char *) "item", NULL
20511 };
20512
20513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20516 arg2 = (int) SWIG_AsInt(obj1);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20519 SWIG_POINTER_EXCEPTION | 0)) == -1)
20520 SWIG_fail;
20521 if (arg3 == NULL) {
20522 PyErr_SetString(PyExc_TypeError,"null reference");
20523 SWIG_fail;
20524 }
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
20532 {
20533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20534 }
20535 return resultobj;
20536 fail:
20537 return NULL;
20538 }
20539
20540
20541 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20542 PyObject *resultobj;
20543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20544 int arg2 ;
20545 int result;
20546 PyObject * obj0 = 0 ;
20547 PyObject * obj1 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "self",(char *) "col", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20555 arg2 = (int) SWIG_AsInt(obj1);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 resultobj = SWIG_FromInt((int)result);
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20574 int arg2 ;
20575 int arg3 ;
20576 bool result;
20577 PyObject * obj0 = 0 ;
20578 PyObject * obj1 = 0 ;
20579 PyObject * obj2 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self",(char *) "col",(char *) "width", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20587 arg2 = (int) SWIG_AsInt(obj1);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 arg3 = (int) SWIG_AsInt(obj2);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 {
20599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20600 }
20601 return resultobj;
20602 fail:
20603 return NULL;
20604 }
20605
20606
20607 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20608 PyObject *resultobj;
20609 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20610 int result;
20611 PyObject * obj0 = 0 ;
20612 char *kwnames[] = {
20613 (char *) "self", NULL
20614 };
20615
20616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20622
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
20626 resultobj = SWIG_FromInt((int)result);
20627 return resultobj;
20628 fail:
20629 return NULL;
20630 }
20631
20632
20633 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20634 PyObject *resultobj;
20635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20636 wxRect result;
20637 PyObject * obj0 = 0 ;
20638 char *kwnames[] = {
20639 (char *) "self", NULL
20640 };
20641
20642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20645 {
20646 PyThreadState* __tstate = wxPyBeginAllowThreads();
20647 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20648
20649 wxPyEndAllowThreads(__tstate);
20650 if (PyErr_Occurred()) SWIG_fail;
20651 }
20652 {
20653 wxRect * resultptr;
20654 resultptr = new wxRect((wxRect &) result);
20655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20656 }
20657 return resultobj;
20658 fail:
20659 return NULL;
20660 }
20661
20662
20663 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj;
20665 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20666 long arg2 ;
20667 int arg3 = (int) 0 ;
20668 wxListItem *result;
20669 PyObject * obj0 = 0 ;
20670 PyObject * obj1 = 0 ;
20671 PyObject * obj2 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self",(char *) "itemId",(char *) "col", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20679 arg2 = (long) SWIG_AsLong(obj1);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 if (obj2) {
20682 arg3 = (int) SWIG_AsInt(obj2);
20683 if (PyErr_Occurred()) SWIG_fail;
20684 }
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 {
20693 resultobj = wxPyMake_wxObject(result);
20694 }
20695 return resultobj;
20696 fail:
20697 return NULL;
20698 }
20699
20700
20701 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20702 PyObject *resultobj;
20703 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20704 wxListItem *arg2 = 0 ;
20705 bool result;
20706 PyObject * obj0 = 0 ;
20707 PyObject * obj1 = 0 ;
20708 char *kwnames[] = {
20709 (char *) "self",(char *) "info", NULL
20710 };
20711
20712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20716 SWIG_POINTER_EXCEPTION | 0)) == -1)
20717 SWIG_fail;
20718 if (arg2 == NULL) {
20719 PyErr_SetString(PyExc_TypeError,"null reference");
20720 SWIG_fail;
20721 }
20722 {
20723 PyThreadState* __tstate = wxPyBeginAllowThreads();
20724 result = (bool)(arg1)->SetItem(*arg2);
20725
20726 wxPyEndAllowThreads(__tstate);
20727 if (PyErr_Occurred()) SWIG_fail;
20728 }
20729 {
20730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20731 }
20732 return resultobj;
20733 fail:
20734 return NULL;
20735 }
20736
20737
20738 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj;
20740 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20741 long arg2 ;
20742 int arg3 ;
20743 wxString *arg4 = 0 ;
20744 int arg5 = (int) -1 ;
20745 long result;
20746 bool temp4 = False ;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749 PyObject * obj2 = 0 ;
20750 PyObject * obj3 = 0 ;
20751 PyObject * obj4 = 0 ;
20752 char *kwnames[] = {
20753 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20759 arg2 = (long) SWIG_AsLong(obj1);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 arg3 = (int) SWIG_AsInt(obj2);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 {
20764 arg4 = wxString_in_helper(obj3);
20765 if (arg4 == NULL) SWIG_fail;
20766 temp4 = True;
20767 }
20768 if (obj4) {
20769 arg5 = (int) SWIG_AsInt(obj4);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 resultobj = SWIG_FromLong((long)result);
20780 {
20781 if (temp4)
20782 delete arg4;
20783 }
20784 return resultobj;
20785 fail:
20786 {
20787 if (temp4)
20788 delete arg4;
20789 }
20790 return NULL;
20791 }
20792
20793
20794 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20795 PyObject *resultobj;
20796 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20797 long arg2 ;
20798 long arg3 ;
20799 int result;
20800 PyObject * obj0 = 0 ;
20801 PyObject * obj1 = 0 ;
20802 PyObject * obj2 = 0 ;
20803 char *kwnames[] = {
20804 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20805 };
20806
20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20810 arg2 = (long) SWIG_AsLong(obj1);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 arg3 = (long) SWIG_AsLong(obj2);
20813 if (PyErr_Occurred()) SWIG_fail;
20814 {
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20817
20818 wxPyEndAllowThreads(__tstate);
20819 if (PyErr_Occurred()) SWIG_fail;
20820 }
20821 resultobj = SWIG_FromInt((int)result);
20822 return resultobj;
20823 fail:
20824 return NULL;
20825 }
20826
20827
20828 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20831 long arg2 ;
20832 long arg3 ;
20833 long arg4 ;
20834 bool result;
20835 PyObject * obj0 = 0 ;
20836 PyObject * obj1 = 0 ;
20837 PyObject * obj2 = 0 ;
20838 PyObject * obj3 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20846 arg2 = (long) SWIG_AsLong(obj1);
20847 if (PyErr_Occurred()) SWIG_fail;
20848 arg3 = (long) SWIG_AsLong(obj2);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 arg4 = (long) SWIG_AsLong(obj3);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 {
20860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20861 }
20862 return resultobj;
20863 fail:
20864 return NULL;
20865 }
20866
20867
20868 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20871 long arg2 ;
20872 int arg3 ;
20873 int arg4 ;
20874 bool result;
20875 PyObject * obj0 = 0 ;
20876 PyObject * obj1 = 0 ;
20877 PyObject * obj2 = 0 ;
20878 PyObject * obj3 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20886 arg2 = (long) SWIG_AsLong(obj1);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 arg3 = (int) SWIG_AsInt(obj2);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 arg4 = (int) SWIG_AsInt(obj3);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 {
20900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20901 }
20902 return resultobj;
20903 fail:
20904 return NULL;
20905 }
20906
20907
20908 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20909 PyObject *resultobj;
20910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20911 long arg2 ;
20912 wxString result;
20913 PyObject * obj0 = 0 ;
20914 PyObject * obj1 = 0 ;
20915 char *kwnames[] = {
20916 (char *) "self",(char *) "item", NULL
20917 };
20918
20919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20922 arg2 = (long) SWIG_AsLong(obj1);
20923 if (PyErr_Occurred()) SWIG_fail;
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 {
20932 #if wxUSE_UNICODE
20933 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20934 #else
20935 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20936 #endif
20937 }
20938 return resultobj;
20939 fail:
20940 return NULL;
20941 }
20942
20943
20944 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20945 PyObject *resultobj;
20946 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20947 long arg2 ;
20948 wxString *arg3 = 0 ;
20949 bool temp3 = False ;
20950 PyObject * obj0 = 0 ;
20951 PyObject * obj1 = 0 ;
20952 PyObject * obj2 = 0 ;
20953 char *kwnames[] = {
20954 (char *) "self",(char *) "item",(char *) "str", NULL
20955 };
20956
20957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20960 arg2 = (long) SWIG_AsLong(obj1);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 {
20963 arg3 = wxString_in_helper(obj2);
20964 if (arg3 == NULL) SWIG_fail;
20965 temp3 = True;
20966 }
20967 {
20968 PyThreadState* __tstate = wxPyBeginAllowThreads();
20969 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20970
20971 wxPyEndAllowThreads(__tstate);
20972 if (PyErr_Occurred()) SWIG_fail;
20973 }
20974 Py_INCREF(Py_None); resultobj = Py_None;
20975 {
20976 if (temp3)
20977 delete arg3;
20978 }
20979 return resultobj;
20980 fail:
20981 {
20982 if (temp3)
20983 delete arg3;
20984 }
20985 return NULL;
20986 }
20987
20988
20989 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20990 PyObject *resultobj;
20991 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20992 long arg2 ;
20993 long result;
20994 PyObject * obj0 = 0 ;
20995 PyObject * obj1 = 0 ;
20996 char *kwnames[] = {
20997 (char *) "self",(char *) "item", NULL
20998 };
20999
21000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21003 arg2 = (long) SWIG_AsLong(obj1);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21008
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
21012 resultobj = SWIG_FromLong((long)result);
21013 return resultobj;
21014 fail:
21015 return NULL;
21016 }
21017
21018
21019 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21020 PyObject *resultobj;
21021 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21022 long arg2 ;
21023 long arg3 ;
21024 bool result;
21025 PyObject * obj0 = 0 ;
21026 PyObject * obj1 = 0 ;
21027 PyObject * obj2 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self",(char *) "item",(char *) "data", NULL
21030 };
21031
21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21035 arg2 = (long) SWIG_AsLong(obj1);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 arg3 = (long) SWIG_AsLong(obj2);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 result = (bool)(arg1)->SetItemData(arg2,arg3);
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 {
21047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21048 }
21049 return resultobj;
21050 fail:
21051 return NULL;
21052 }
21053
21054
21055 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj;
21057 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21058 long arg2 ;
21059 wxPoint result;
21060 PyObject * obj0 = 0 ;
21061 PyObject * obj1 = 0 ;
21062 char *kwnames[] = {
21063 (char *) "self",(char *) "item", NULL
21064 };
21065
21066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
21067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21069 arg2 = (long) SWIG_AsLong(obj1);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 {
21072 PyThreadState* __tstate = wxPyBeginAllowThreads();
21073 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21074
21075 wxPyEndAllowThreads(__tstate);
21076 if (PyErr_Occurred()) SWIG_fail;
21077 }
21078 {
21079 wxPoint * resultptr;
21080 resultptr = new wxPoint((wxPoint &) result);
21081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21082 }
21083 return resultobj;
21084 fail:
21085 return NULL;
21086 }
21087
21088
21089 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21092 long arg2 ;
21093 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21094 wxRect result;
21095 PyObject * obj0 = 0 ;
21096 PyObject * obj1 = 0 ;
21097 PyObject * obj2 = 0 ;
21098 char *kwnames[] = {
21099 (char *) "self",(char *) "item",(char *) "code", NULL
21100 };
21101
21102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
21103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21105 arg2 = (long) SWIG_AsLong(obj1);
21106 if (PyErr_Occurred()) SWIG_fail;
21107 if (obj2) {
21108 arg3 = (int) SWIG_AsInt(obj2);
21109 if (PyErr_Occurred()) SWIG_fail;
21110 }
21111 {
21112 PyThreadState* __tstate = wxPyBeginAllowThreads();
21113 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21114
21115 wxPyEndAllowThreads(__tstate);
21116 if (PyErr_Occurred()) SWIG_fail;
21117 }
21118 {
21119 wxRect * resultptr;
21120 resultptr = new wxRect((wxRect &) result);
21121 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21122 }
21123 return resultobj;
21124 fail:
21125 return NULL;
21126 }
21127
21128
21129 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21130 PyObject *resultobj;
21131 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21132 long arg2 ;
21133 wxPoint *arg3 = 0 ;
21134 bool result;
21135 wxPoint temp3 ;
21136 PyObject * obj0 = 0 ;
21137 PyObject * obj1 = 0 ;
21138 PyObject * obj2 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self",(char *) "item",(char *) "pos", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21146 arg2 = (long) SWIG_AsLong(obj1);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 {
21149 arg3 = &temp3;
21150 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21151 }
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
21155
21156 wxPyEndAllowThreads(__tstate);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 {
21160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21161 }
21162 return resultobj;
21163 fail:
21164 return NULL;
21165 }
21166
21167
21168 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21169 PyObject *resultobj;
21170 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21171 int result;
21172 PyObject * obj0 = 0 ;
21173 char *kwnames[] = {
21174 (char *) "self", NULL
21175 };
21176
21177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
21178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
21183
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 resultobj = SWIG_FromInt((int)result);
21188 return resultobj;
21189 fail:
21190 return NULL;
21191 }
21192
21193
21194 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21195 PyObject *resultobj;
21196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21197 int result;
21198 PyObject * obj0 = 0 ;
21199 char *kwnames[] = {
21200 (char *) "self", NULL
21201 };
21202
21203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
21204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21206 {
21207 PyThreadState* __tstate = wxPyBeginAllowThreads();
21208 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
21209
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 resultobj = SWIG_FromInt((int)result);
21214 return resultobj;
21215 fail:
21216 return NULL;
21217 }
21218
21219
21220 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21223 wxSize result;
21224 PyObject * obj0 = 0 ;
21225 char *kwnames[] = {
21226 (char *) "self", NULL
21227 };
21228
21229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
21230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
21235
21236 wxPyEndAllowThreads(__tstate);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 }
21239 {
21240 wxSize * resultptr;
21241 resultptr = new wxSize((wxSize &) result);
21242 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21243 }
21244 return resultobj;
21245 fail:
21246 return NULL;
21247 }
21248
21249
21250 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21251 PyObject *resultobj;
21252 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21253 int arg2 ;
21254 bool arg3 = (bool) False ;
21255 PyObject * obj0 = 0 ;
21256 PyObject * obj1 = 0 ;
21257 PyObject * obj2 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21265 arg2 = (int) SWIG_AsInt(obj1);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 if (obj2) {
21268 arg3 = (bool) SWIG_AsBool(obj2);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 {
21272 PyThreadState* __tstate = wxPyBeginAllowThreads();
21273 (arg1)->SetItemSpacing(arg2,arg3);
21274
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 Py_INCREF(Py_None); resultobj = Py_None;
21279 return resultobj;
21280 fail:
21281 return NULL;
21282 }
21283
21284
21285 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21286 PyObject *resultobj;
21287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21288 int result;
21289 PyObject * obj0 = 0 ;
21290 char *kwnames[] = {
21291 (char *) "self", NULL
21292 };
21293
21294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
21295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 resultobj = SWIG_FromInt((int)result);
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21314 wxColour result;
21315 PyObject * obj0 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 {
21331 wxColour * resultptr;
21332 resultptr = new wxColour((wxColour &) result);
21333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21334 }
21335 return resultobj;
21336 fail:
21337 return NULL;
21338 }
21339
21340
21341 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21342 PyObject *resultobj;
21343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21344 wxColour *arg2 = 0 ;
21345 wxColour temp2 ;
21346 PyObject * obj0 = 0 ;
21347 PyObject * obj1 = 0 ;
21348 char *kwnames[] = {
21349 (char *) "self",(char *) "col", NULL
21350 };
21351
21352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21355 {
21356 arg2 = &temp2;
21357 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21358 }
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 (arg1)->SetTextColour((wxColour const &)*arg2);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 Py_INCREF(Py_None); resultobj = Py_None;
21367 return resultobj;
21368 fail:
21369 return NULL;
21370 }
21371
21372
21373 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21376 long result;
21377 PyObject * obj0 = 0 ;
21378 char *kwnames[] = {
21379 (char *) "self", NULL
21380 };
21381
21382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21385 {
21386 PyThreadState* __tstate = wxPyBeginAllowThreads();
21387 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21388
21389 wxPyEndAllowThreads(__tstate);
21390 if (PyErr_Occurred()) SWIG_fail;
21391 }
21392 resultobj = SWIG_FromLong((long)result);
21393 return resultobj;
21394 fail:
21395 return NULL;
21396 }
21397
21398
21399 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj;
21401 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21402 long arg2 ;
21403 bool arg3 = (bool) True ;
21404 PyObject * obj0 = 0 ;
21405 PyObject * obj1 = 0 ;
21406 PyObject * obj2 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "style",(char *) "add", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21414 arg2 = (long) SWIG_AsLong(obj1);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 if (obj2) {
21417 arg3 = (bool) SWIG_AsBool(obj2);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 }
21420 {
21421 PyThreadState* __tstate = wxPyBeginAllowThreads();
21422 (arg1)->SetSingleStyle(arg2,arg3);
21423
21424 wxPyEndAllowThreads(__tstate);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 Py_INCREF(Py_None); resultobj = Py_None;
21428 return resultobj;
21429 fail:
21430 return NULL;
21431 }
21432
21433
21434 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21435 PyObject *resultobj;
21436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21437 long arg2 ;
21438 PyObject * obj0 = 0 ;
21439 PyObject * obj1 = 0 ;
21440 char *kwnames[] = {
21441 (char *) "self",(char *) "style", NULL
21442 };
21443
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21447 arg2 = (long) SWIG_AsLong(obj1);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 {
21450 PyThreadState* __tstate = wxPyBeginAllowThreads();
21451 (arg1)->SetWindowStyleFlag(arg2);
21452
21453 wxPyEndAllowThreads(__tstate);
21454 if (PyErr_Occurred()) SWIG_fail;
21455 }
21456 Py_INCREF(Py_None); resultobj = Py_None;
21457 return resultobj;
21458 fail:
21459 return NULL;
21460 }
21461
21462
21463 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21464 PyObject *resultobj;
21465 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21466 long arg2 ;
21467 int arg3 = (int) wxLIST_NEXT_ALL ;
21468 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21469 long result;
21470 PyObject * obj0 = 0 ;
21471 PyObject * obj1 = 0 ;
21472 PyObject * obj2 = 0 ;
21473 PyObject * obj3 = 0 ;
21474 char *kwnames[] = {
21475 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21476 };
21477
21478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21481 arg2 = (long) SWIG_AsLong(obj1);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 if (obj2) {
21484 arg3 = (int) SWIG_AsInt(obj2);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 if (obj3) {
21488 arg4 = (int) SWIG_AsInt(obj3);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 }
21491 {
21492 PyThreadState* __tstate = wxPyBeginAllowThreads();
21493 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21494
21495 wxPyEndAllowThreads(__tstate);
21496 if (PyErr_Occurred()) SWIG_fail;
21497 }
21498 resultobj = SWIG_FromLong((long)result);
21499 return resultobj;
21500 fail:
21501 return NULL;
21502 }
21503
21504
21505 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21506 PyObject *resultobj;
21507 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21508 int arg2 ;
21509 wxImageList *result;
21510 PyObject * obj0 = 0 ;
21511 PyObject * obj1 = 0 ;
21512 char *kwnames[] = {
21513 (char *) "self",(char *) "which", NULL
21514 };
21515
21516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21519 arg2 = (int) SWIG_AsInt(obj1);
21520 if (PyErr_Occurred()) SWIG_fail;
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 {
21529 resultobj = wxPyMake_wxObject(result);
21530 }
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21540 wxImageList *arg2 = (wxImageList *) 0 ;
21541 int arg3 ;
21542 PyObject * obj0 = 0 ;
21543 PyObject * obj1 = 0 ;
21544 PyObject * obj2 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self",(char *) "imageList",(char *) "which", NULL
21547 };
21548
21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21554 arg3 = (int) SWIG_AsInt(obj2);
21555 if (PyErr_Occurred()) SWIG_fail;
21556 {
21557 PyThreadState* __tstate = wxPyBeginAllowThreads();
21558 (arg1)->SetImageList(arg2,arg3);
21559
21560 wxPyEndAllowThreads(__tstate);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 }
21563 Py_INCREF(Py_None); resultobj = Py_None;
21564 return resultobj;
21565 fail:
21566 return NULL;
21567 }
21568
21569
21570 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21571 PyObject *resultobj;
21572 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21573 wxImageList *arg2 = (wxImageList *) 0 ;
21574 int arg3 ;
21575 PyObject * obj0 = 0 ;
21576 PyObject * obj1 = 0 ;
21577 PyObject * obj2 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self",(char *) "imageList",(char *) "which", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21586 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21587 arg3 = (int) SWIG_AsInt(obj2);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 (arg1)->AssignImageList(arg2,arg3);
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 Py_INCREF(Py_None); resultobj = Py_None;
21597 return resultobj;
21598 fail:
21599 return NULL;
21600 }
21601
21602
21603 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
21604 PyObject *resultobj;
21605 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21606 bool result;
21607 PyObject * obj0 = 0 ;
21608 char *kwnames[] = {
21609 (char *) "self", NULL
21610 };
21611
21612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21615 {
21616 PyThreadState* __tstate = wxPyBeginAllowThreads();
21617 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21618
21619 wxPyEndAllowThreads(__tstate);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 }
21622 {
21623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21624 }
21625 return resultobj;
21626 fail:
21627 return NULL;
21628 }
21629
21630
21631 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21632 PyObject *resultobj;
21633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21634 bool result;
21635 PyObject * obj0 = 0 ;
21636 char *kwnames[] = {
21637 (char *) "self", NULL
21638 };
21639
21640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21643 {
21644 PyThreadState* __tstate = wxPyBeginAllowThreads();
21645 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21646
21647 wxPyEndAllowThreads(__tstate);
21648 if (PyErr_Occurred()) SWIG_fail;
21649 }
21650 {
21651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21652 }
21653 return resultobj;
21654 fail:
21655 return NULL;
21656 }
21657
21658
21659 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21660 PyObject *resultobj;
21661 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21662 long arg2 ;
21663 PyObject * obj0 = 0 ;
21664 PyObject * obj1 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self",(char *) "item", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21672 arg2 = (long) SWIG_AsLong(obj1);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 {
21675 PyThreadState* __tstate = wxPyBeginAllowThreads();
21676 (arg1)->RefreshItem(arg2);
21677
21678 wxPyEndAllowThreads(__tstate);
21679 if (PyErr_Occurred()) SWIG_fail;
21680 }
21681 Py_INCREF(Py_None); resultobj = Py_None;
21682 return resultobj;
21683 fail:
21684 return NULL;
21685 }
21686
21687
21688 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21689 PyObject *resultobj;
21690 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21691 long arg2 ;
21692 long arg3 ;
21693 PyObject * obj0 = 0 ;
21694 PyObject * obj1 = 0 ;
21695 PyObject * obj2 = 0 ;
21696 char *kwnames[] = {
21697 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21698 };
21699
21700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21703 arg2 = (long) SWIG_AsLong(obj1);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 arg3 = (long) SWIG_AsLong(obj2);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 {
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 (arg1)->RefreshItems(arg2,arg3);
21710
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 Py_INCREF(Py_None); resultobj = Py_None;
21715 return resultobj;
21716 fail:
21717 return NULL;
21718 }
21719
21720
21721 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21722 PyObject *resultobj;
21723 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21724 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21725 bool result;
21726 PyObject * obj0 = 0 ;
21727 PyObject * obj1 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self",(char *) "flag", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21735 if (obj1) {
21736 arg2 = (int) SWIG_AsInt(obj1);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 result = (bool)(arg1)->Arrange(arg2);
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 {
21747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21748 }
21749 return resultobj;
21750 fail:
21751 return NULL;
21752 }
21753
21754
21755 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21756 PyObject *resultobj;
21757 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21758 long arg2 ;
21759 bool result;
21760 PyObject * obj0 = 0 ;
21761 PyObject * obj1 = 0 ;
21762 char *kwnames[] = {
21763 (char *) "self",(char *) "item", NULL
21764 };
21765
21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21769 arg2 = (long) SWIG_AsLong(obj1);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 {
21772 PyThreadState* __tstate = wxPyBeginAllowThreads();
21773 result = (bool)(arg1)->DeleteItem(arg2);
21774
21775 wxPyEndAllowThreads(__tstate);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 }
21778 {
21779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21780 }
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21788 PyObject *resultobj;
21789 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21790 bool result;
21791 PyObject * obj0 = 0 ;
21792 char *kwnames[] = {
21793 (char *) "self", NULL
21794 };
21795
21796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21799 {
21800 PyThreadState* __tstate = wxPyBeginAllowThreads();
21801 result = (bool)(arg1)->DeleteAllItems();
21802
21803 wxPyEndAllowThreads(__tstate);
21804 if (PyErr_Occurred()) SWIG_fail;
21805 }
21806 {
21807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21808 }
21809 return resultobj;
21810 fail:
21811 return NULL;
21812 }
21813
21814
21815 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21816 PyObject *resultobj;
21817 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21818 int arg2 ;
21819 bool result;
21820 PyObject * obj0 = 0 ;
21821 PyObject * obj1 = 0 ;
21822 char *kwnames[] = {
21823 (char *) "self",(char *) "col", NULL
21824 };
21825
21826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21829 arg2 = (int) SWIG_AsInt(obj1);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 result = (bool)(arg1)->DeleteColumn(arg2);
21834
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 {
21839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21840 }
21841 return resultobj;
21842 fail:
21843 return NULL;
21844 }
21845
21846
21847 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21850 bool result;
21851 PyObject * obj0 = 0 ;
21852 char *kwnames[] = {
21853 (char *) "self", NULL
21854 };
21855
21856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 result = (bool)(arg1)->DeleteAllColumns();
21862
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 {
21867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21868 }
21869 return resultobj;
21870 fail:
21871 return NULL;
21872 }
21873
21874
21875 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21876 PyObject *resultobj;
21877 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21878 PyObject * obj0 = 0 ;
21879 char *kwnames[] = {
21880 (char *) "self", NULL
21881 };
21882
21883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21886 {
21887 PyThreadState* __tstate = wxPyBeginAllowThreads();
21888 (arg1)->ClearAll();
21889
21890 wxPyEndAllowThreads(__tstate);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 }
21893 Py_INCREF(Py_None); resultobj = Py_None;
21894 return resultobj;
21895 fail:
21896 return NULL;
21897 }
21898
21899
21900 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21901 PyObject *resultobj;
21902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21903 long arg2 ;
21904 PyObject * obj0 = 0 ;
21905 PyObject * obj1 = 0 ;
21906 char *kwnames[] = {
21907 (char *) "self",(char *) "item", NULL
21908 };
21909
21910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21913 arg2 = (long) SWIG_AsLong(obj1);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 {
21916 PyThreadState* __tstate = wxPyBeginAllowThreads();
21917 (arg1)->EditLabel(arg2);
21918
21919 wxPyEndAllowThreads(__tstate);
21920 if (PyErr_Occurred()) SWIG_fail;
21921 }
21922 Py_INCREF(Py_None); resultobj = Py_None;
21923 return resultobj;
21924 fail:
21925 return NULL;
21926 }
21927
21928
21929 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21930 PyObject *resultobj;
21931 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21932 long arg2 ;
21933 bool result;
21934 PyObject * obj0 = 0 ;
21935 PyObject * obj1 = 0 ;
21936 char *kwnames[] = {
21937 (char *) "self",(char *) "item", NULL
21938 };
21939
21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21943 arg2 = (long) SWIG_AsLong(obj1);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 {
21946 PyThreadState* __tstate = wxPyBeginAllowThreads();
21947 result = (bool)(arg1)->EnsureVisible(arg2);
21948
21949 wxPyEndAllowThreads(__tstate);
21950 if (PyErr_Occurred()) SWIG_fail;
21951 }
21952 {
21953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21954 }
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21964 long arg2 ;
21965 wxString *arg3 = 0 ;
21966 bool arg4 = (bool) False ;
21967 long result;
21968 bool temp3 = False ;
21969 PyObject * obj0 = 0 ;
21970 PyObject * obj1 = 0 ;
21971 PyObject * obj2 = 0 ;
21972 PyObject * obj3 = 0 ;
21973 char *kwnames[] = {
21974 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21975 };
21976
21977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21980 arg2 = (long) SWIG_AsLong(obj1);
21981 if (PyErr_Occurred()) SWIG_fail;
21982 {
21983 arg3 = wxString_in_helper(obj2);
21984 if (arg3 == NULL) SWIG_fail;
21985 temp3 = True;
21986 }
21987 if (obj3) {
21988 arg4 = (bool) SWIG_AsBool(obj3);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21994
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 resultobj = SWIG_FromLong((long)result);
21999 {
22000 if (temp3)
22001 delete arg3;
22002 }
22003 return resultobj;
22004 fail:
22005 {
22006 if (temp3)
22007 delete arg3;
22008 }
22009 return NULL;
22010 }
22011
22012
22013 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22014 PyObject *resultobj;
22015 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22016 long arg2 ;
22017 long arg3 ;
22018 long result;
22019 PyObject * obj0 = 0 ;
22020 PyObject * obj1 = 0 ;
22021 PyObject * obj2 = 0 ;
22022 char *kwnames[] = {
22023 (char *) "self",(char *) "start",(char *) "data", NULL
22024 };
22025
22026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22029 arg2 = (long) SWIG_AsLong(obj1);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 arg3 = (long) SWIG_AsLong(obj2);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 result = (long)(arg1)->FindItem(arg2,arg3);
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 resultobj = SWIG_FromLong((long)result);
22041 return resultobj;
22042 fail:
22043 return NULL;
22044 }
22045
22046
22047 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22048 PyObject *resultobj;
22049 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22050 long arg2 ;
22051 wxPoint *arg3 = 0 ;
22052 int arg4 ;
22053 long result;
22054 wxPoint temp3 ;
22055 PyObject * obj0 = 0 ;
22056 PyObject * obj1 = 0 ;
22057 PyObject * obj2 = 0 ;
22058 PyObject * obj3 = 0 ;
22059 char *kwnames[] = {
22060 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22061 };
22062
22063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22066 arg2 = (long) SWIG_AsLong(obj1);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 {
22069 arg3 = &temp3;
22070 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22071 }
22072 arg4 = (int) SWIG_AsInt(obj3);
22073 if (PyErr_Occurred()) SWIG_fail;
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22077
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
22081 resultobj = SWIG_FromLong((long)result);
22082 return resultobj;
22083 fail:
22084 return NULL;
22085 }
22086
22087
22088 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22089 PyObject *resultobj;
22090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22091 wxPoint *arg2 = 0 ;
22092 int *arg3 = 0 ;
22093 long result;
22094 wxPoint temp2 ;
22095 int temp3 ;
22096 PyObject * obj0 = 0 ;
22097 PyObject * obj1 = 0 ;
22098 char *kwnames[] = {
22099 (char *) "self",(char *) "point", NULL
22100 };
22101
22102 arg3 = &temp3;
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22106 {
22107 arg2 = &temp2;
22108 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22109 }
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22113
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 resultobj = SWIG_FromLong((long)result);
22118 {
22119 PyObject *o = PyInt_FromLong((long) (*arg3));
22120 resultobj = t_output_helper(resultobj,o);
22121 }
22122 return resultobj;
22123 fail:
22124 return NULL;
22125 }
22126
22127
22128 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22129 PyObject *resultobj;
22130 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22131 wxListItem *arg2 = 0 ;
22132 long result;
22133 PyObject * obj0 = 0 ;
22134 PyObject * obj1 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "self",(char *) "info", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
22140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22143 SWIG_POINTER_EXCEPTION | 0)) == -1)
22144 SWIG_fail;
22145 if (arg2 == NULL) {
22146 PyErr_SetString(PyExc_TypeError,"null reference");
22147 SWIG_fail;
22148 }
22149 {
22150 PyThreadState* __tstate = wxPyBeginAllowThreads();
22151 result = (long)(arg1)->InsertItem(*arg2);
22152
22153 wxPyEndAllowThreads(__tstate);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
22156 resultobj = SWIG_FromLong((long)result);
22157 return resultobj;
22158 fail:
22159 return NULL;
22160 }
22161
22162
22163 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22164 PyObject *resultobj;
22165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22166 long arg2 ;
22167 wxString *arg3 = 0 ;
22168 long result;
22169 bool temp3 = False ;
22170 PyObject * obj0 = 0 ;
22171 PyObject * obj1 = 0 ;
22172 PyObject * obj2 = 0 ;
22173 char *kwnames[] = {
22174 (char *) "self",(char *) "index",(char *) "label", NULL
22175 };
22176
22177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22180 arg2 = (long) SWIG_AsLong(obj1);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 {
22183 arg3 = wxString_in_helper(obj2);
22184 if (arg3 == NULL) SWIG_fail;
22185 temp3 = True;
22186 }
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 resultobj = SWIG_FromLong((long)result);
22195 {
22196 if (temp3)
22197 delete arg3;
22198 }
22199 return resultobj;
22200 fail:
22201 {
22202 if (temp3)
22203 delete arg3;
22204 }
22205 return NULL;
22206 }
22207
22208
22209 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22210 PyObject *resultobj;
22211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22212 long arg2 ;
22213 int arg3 ;
22214 long result;
22215 PyObject * obj0 = 0 ;
22216 PyObject * obj1 = 0 ;
22217 PyObject * obj2 = 0 ;
22218 char *kwnames[] = {
22219 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22220 };
22221
22222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22225 arg2 = (long) SWIG_AsLong(obj1);
22226 if (PyErr_Occurred()) SWIG_fail;
22227 arg3 = (int) SWIG_AsInt(obj2);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 {
22230 PyThreadState* __tstate = wxPyBeginAllowThreads();
22231 result = (long)(arg1)->InsertItem(arg2,arg3);
22232
22233 wxPyEndAllowThreads(__tstate);
22234 if (PyErr_Occurred()) SWIG_fail;
22235 }
22236 resultobj = SWIG_FromLong((long)result);
22237 return resultobj;
22238 fail:
22239 return NULL;
22240 }
22241
22242
22243 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22244 PyObject *resultobj;
22245 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22246 long arg2 ;
22247 wxString *arg3 = 0 ;
22248 int arg4 ;
22249 long result;
22250 bool temp3 = False ;
22251 PyObject * obj0 = 0 ;
22252 PyObject * obj1 = 0 ;
22253 PyObject * obj2 = 0 ;
22254 PyObject * obj3 = 0 ;
22255 char *kwnames[] = {
22256 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22257 };
22258
22259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22262 arg2 = (long) SWIG_AsLong(obj1);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 {
22265 arg3 = wxString_in_helper(obj2);
22266 if (arg3 == NULL) SWIG_fail;
22267 temp3 = True;
22268 }
22269 arg4 = (int) SWIG_AsInt(obj3);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
22278 resultobj = SWIG_FromLong((long)result);
22279 {
22280 if (temp3)
22281 delete arg3;
22282 }
22283 return resultobj;
22284 fail:
22285 {
22286 if (temp3)
22287 delete arg3;
22288 }
22289 return NULL;
22290 }
22291
22292
22293 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22294 PyObject *resultobj;
22295 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22296 long arg2 ;
22297 wxListItem *arg3 = 0 ;
22298 long result;
22299 PyObject * obj0 = 0 ;
22300 PyObject * obj1 = 0 ;
22301 PyObject * obj2 = 0 ;
22302 char *kwnames[] = {
22303 (char *) "self",(char *) "col",(char *) "info", NULL
22304 };
22305
22306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22309 arg2 = (long) SWIG_AsLong(obj1);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22312 SWIG_POINTER_EXCEPTION | 0)) == -1)
22313 SWIG_fail;
22314 if (arg3 == NULL) {
22315 PyErr_SetString(PyExc_TypeError,"null reference");
22316 SWIG_fail;
22317 }
22318 {
22319 PyThreadState* __tstate = wxPyBeginAllowThreads();
22320 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22321
22322 wxPyEndAllowThreads(__tstate);
22323 if (PyErr_Occurred()) SWIG_fail;
22324 }
22325 resultobj = SWIG_FromLong((long)result);
22326 return resultobj;
22327 fail:
22328 return NULL;
22329 }
22330
22331
22332 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22333 PyObject *resultobj;
22334 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22335 long arg2 ;
22336 wxString *arg3 = 0 ;
22337 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22338 int arg5 = (int) -1 ;
22339 long result;
22340 bool temp3 = False ;
22341 PyObject * obj0 = 0 ;
22342 PyObject * obj1 = 0 ;
22343 PyObject * obj2 = 0 ;
22344 PyObject * obj3 = 0 ;
22345 PyObject * obj4 = 0 ;
22346 char *kwnames[] = {
22347 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22348 };
22349
22350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22353 arg2 = (long) SWIG_AsLong(obj1);
22354 if (PyErr_Occurred()) SWIG_fail;
22355 {
22356 arg3 = wxString_in_helper(obj2);
22357 if (arg3 == NULL) SWIG_fail;
22358 temp3 = True;
22359 }
22360 if (obj3) {
22361 arg4 = (int) SWIG_AsInt(obj3);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 }
22364 if (obj4) {
22365 arg5 = (int) SWIG_AsInt(obj4);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 }
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22371
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 resultobj = SWIG_FromLong((long)result);
22376 {
22377 if (temp3)
22378 delete arg3;
22379 }
22380 return resultobj;
22381 fail:
22382 {
22383 if (temp3)
22384 delete arg3;
22385 }
22386 return NULL;
22387 }
22388
22389
22390 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22391 PyObject *resultobj;
22392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22393 long arg2 ;
22394 PyObject * obj0 = 0 ;
22395 PyObject * obj1 = 0 ;
22396 char *kwnames[] = {
22397 (char *) "self",(char *) "count", NULL
22398 };
22399
22400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22403 arg2 = (long) SWIG_AsLong(obj1);
22404 if (PyErr_Occurred()) SWIG_fail;
22405 {
22406 PyThreadState* __tstate = wxPyBeginAllowThreads();
22407 (arg1)->SetItemCount(arg2);
22408
22409 wxPyEndAllowThreads(__tstate);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 Py_INCREF(Py_None); resultobj = Py_None;
22413 return resultobj;
22414 fail:
22415 return NULL;
22416 }
22417
22418
22419 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22420 PyObject *resultobj;
22421 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22422 int arg2 ;
22423 int arg3 ;
22424 bool result;
22425 PyObject * obj0 = 0 ;
22426 PyObject * obj1 = 0 ;
22427 PyObject * obj2 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self",(char *) "dx",(char *) "dy", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22435 arg2 = (int) SWIG_AsInt(obj1);
22436 if (PyErr_Occurred()) SWIG_fail;
22437 arg3 = (int) SWIG_AsInt(obj2);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 {
22440 PyThreadState* __tstate = wxPyBeginAllowThreads();
22441 result = (bool)(arg1)->ScrollList(arg2,arg3);
22442
22443 wxPyEndAllowThreads(__tstate);
22444 if (PyErr_Occurred()) SWIG_fail;
22445 }
22446 {
22447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22448 }
22449 return resultobj;
22450 fail:
22451 return NULL;
22452 }
22453
22454
22455 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22456 PyObject *resultobj;
22457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22458 long arg2 ;
22459 wxColour *arg3 = 0 ;
22460 wxColour temp3 ;
22461 PyObject * obj0 = 0 ;
22462 PyObject * obj1 = 0 ;
22463 PyObject * obj2 = 0 ;
22464 char *kwnames[] = {
22465 (char *) "self",(char *) "item",(char *) "col", NULL
22466 };
22467
22468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22471 arg2 = (long) SWIG_AsLong(obj1);
22472 if (PyErr_Occurred()) SWIG_fail;
22473 {
22474 arg3 = &temp3;
22475 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22476 }
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22480
22481 wxPyEndAllowThreads(__tstate);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
22484 Py_INCREF(Py_None); resultobj = Py_None;
22485 return resultobj;
22486 fail:
22487 return NULL;
22488 }
22489
22490
22491 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22492 PyObject *resultobj;
22493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22494 long arg2 ;
22495 wxColour result;
22496 PyObject * obj0 = 0 ;
22497 PyObject * obj1 = 0 ;
22498 char *kwnames[] = {
22499 (char *) "self",(char *) "item", NULL
22500 };
22501
22502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22505 arg2 = (long) SWIG_AsLong(obj1);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 {
22515 wxColour * resultptr;
22516 resultptr = new wxColour((wxColour &) result);
22517 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22518 }
22519 return resultobj;
22520 fail:
22521 return NULL;
22522 }
22523
22524
22525 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22526 PyObject *resultobj;
22527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22528 long arg2 ;
22529 wxColour *arg3 = 0 ;
22530 wxColour temp3 ;
22531 PyObject * obj0 = 0 ;
22532 PyObject * obj1 = 0 ;
22533 PyObject * obj2 = 0 ;
22534 char *kwnames[] = {
22535 (char *) "self",(char *) "item",(char *) "col", NULL
22536 };
22537
22538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22541 arg2 = (long) SWIG_AsLong(obj1);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 {
22544 arg3 = &temp3;
22545 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22546 }
22547 {
22548 PyThreadState* __tstate = wxPyBeginAllowThreads();
22549 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22550
22551 wxPyEndAllowThreads(__tstate);
22552 if (PyErr_Occurred()) SWIG_fail;
22553 }
22554 Py_INCREF(Py_None); resultobj = Py_None;
22555 return resultobj;
22556 fail:
22557 return NULL;
22558 }
22559
22560
22561 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22562 PyObject *resultobj;
22563 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22564 long arg2 ;
22565 wxColour result;
22566 PyObject * obj0 = 0 ;
22567 PyObject * obj1 = 0 ;
22568 char *kwnames[] = {
22569 (char *) "self",(char *) "item", NULL
22570 };
22571
22572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22575 arg2 = (long) SWIG_AsLong(obj1);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 {
22578 PyThreadState* __tstate = wxPyBeginAllowThreads();
22579 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22580
22581 wxPyEndAllowThreads(__tstate);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 }
22584 {
22585 wxColour * resultptr;
22586 resultptr = new wxColour((wxColour &) result);
22587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22588 }
22589 return resultobj;
22590 fail:
22591 return NULL;
22592 }
22593
22594
22595 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22596 PyObject *resultobj;
22597 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22598 PyObject *arg2 = (PyObject *) 0 ;
22599 bool result;
22600 PyObject * obj0 = 0 ;
22601 PyObject * obj1 = 0 ;
22602 char *kwnames[] = {
22603 (char *) "self",(char *) "func", NULL
22604 };
22605
22606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22609 arg2 = obj1;
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 {
22618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22619 }
22620 return resultobj;
22621 fail:
22622 return NULL;
22623 }
22624
22625
22626 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22627 PyObject *resultobj;
22628 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22629 wxWindow *result;
22630 PyObject * obj0 = 0 ;
22631 char *kwnames[] = {
22632 (char *) "self", NULL
22633 };
22634
22635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22638 {
22639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22640 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22641
22642 wxPyEndAllowThreads(__tstate);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 }
22645 {
22646 resultobj = wxPyMake_wxObject(result);
22647 }
22648 return resultobj;
22649 fail:
22650 return NULL;
22651 }
22652
22653
22654 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
22655 PyObject *resultobj;
22656 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
22657 wxVisualAttributes result;
22658 PyObject * obj0 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "variant", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22664 if (obj0) {
22665 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
22666 if (PyErr_Occurred()) SWIG_fail;
22667 }
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 {
22676 wxVisualAttributes * resultptr;
22677 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
22678 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22679 }
22680 return resultobj;
22681 fail:
22682 return NULL;
22683 }
22684
22685
22686 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22687 PyObject *obj;
22688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22689 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22690 Py_INCREF(obj);
22691 return Py_BuildValue((char *)"");
22692 }
22693 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22694 PyObject *resultobj;
22695 wxWindow *arg1 = (wxWindow *) 0 ;
22696 int arg2 = (int) -1 ;
22697 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22698 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22699 wxSize const &arg4_defvalue = wxDefaultSize ;
22700 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22701 long arg5 = (long) wxLC_REPORT ;
22702 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22703 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22704 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22705 wxString *arg7 = (wxString *) &arg7_defvalue ;
22706 wxListView *result;
22707 wxPoint temp3 ;
22708 wxSize temp4 ;
22709 bool temp7 = False ;
22710 PyObject * obj0 = 0 ;
22711 PyObject * obj1 = 0 ;
22712 PyObject * obj2 = 0 ;
22713 PyObject * obj3 = 0 ;
22714 PyObject * obj4 = 0 ;
22715 PyObject * obj5 = 0 ;
22716 PyObject * obj6 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22724 if (obj1) {
22725 arg2 = (int) SWIG_AsInt(obj1);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 if (obj2) {
22729 {
22730 arg3 = &temp3;
22731 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22732 }
22733 }
22734 if (obj3) {
22735 {
22736 arg4 = &temp4;
22737 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22738 }
22739 }
22740 if (obj4) {
22741 arg5 = (long) SWIG_AsLong(obj4);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 if (obj5) {
22745 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22746 SWIG_POINTER_EXCEPTION | 0)) == -1)
22747 SWIG_fail;
22748 if (arg6 == NULL) {
22749 PyErr_SetString(PyExc_TypeError,"null reference");
22750 SWIG_fail;
22751 }
22752 }
22753 if (obj6) {
22754 {
22755 arg7 = wxString_in_helper(obj6);
22756 if (arg7 == NULL) SWIG_fail;
22757 temp7 = True;
22758 }
22759 }
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22763
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22768 {
22769 if (temp7)
22770 delete arg7;
22771 }
22772 return resultobj;
22773 fail:
22774 {
22775 if (temp7)
22776 delete arg7;
22777 }
22778 return NULL;
22779 }
22780
22781
22782 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22783 PyObject *resultobj;
22784 wxListView *result;
22785 char *kwnames[] = {
22786 NULL
22787 };
22788
22789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22790 {
22791 PyThreadState* __tstate = wxPyBeginAllowThreads();
22792 result = (wxListView *)new wxListView();
22793
22794 wxPyEndAllowThreads(__tstate);
22795 if (PyErr_Occurred()) SWIG_fail;
22796 }
22797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22798 return resultobj;
22799 fail:
22800 return NULL;
22801 }
22802
22803
22804 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22805 PyObject *resultobj;
22806 wxListView *arg1 = (wxListView *) 0 ;
22807 wxWindow *arg2 = (wxWindow *) 0 ;
22808 int arg3 = (int) -1 ;
22809 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22810 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22811 wxSize const &arg5_defvalue = wxDefaultSize ;
22812 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22813 long arg6 = (long) wxLC_REPORT ;
22814 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22815 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22816 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22817 wxString *arg8 = (wxString *) &arg8_defvalue ;
22818 bool result;
22819 wxPoint temp4 ;
22820 wxSize temp5 ;
22821 bool temp8 = False ;
22822 PyObject * obj0 = 0 ;
22823 PyObject * obj1 = 0 ;
22824 PyObject * obj2 = 0 ;
22825 PyObject * obj3 = 0 ;
22826 PyObject * obj4 = 0 ;
22827 PyObject * obj5 = 0 ;
22828 PyObject * obj6 = 0 ;
22829 PyObject * obj7 = 0 ;
22830 char *kwnames[] = {
22831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22832 };
22833
22834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22839 if (obj2) {
22840 arg3 = (int) SWIG_AsInt(obj2);
22841 if (PyErr_Occurred()) SWIG_fail;
22842 }
22843 if (obj3) {
22844 {
22845 arg4 = &temp4;
22846 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22847 }
22848 }
22849 if (obj4) {
22850 {
22851 arg5 = &temp5;
22852 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22853 }
22854 }
22855 if (obj5) {
22856 arg6 = (long) SWIG_AsLong(obj5);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 if (obj6) {
22860 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22861 SWIG_POINTER_EXCEPTION | 0)) == -1)
22862 SWIG_fail;
22863 if (arg7 == NULL) {
22864 PyErr_SetString(PyExc_TypeError,"null reference");
22865 SWIG_fail;
22866 }
22867 }
22868 if (obj7) {
22869 {
22870 arg8 = wxString_in_helper(obj7);
22871 if (arg8 == NULL) SWIG_fail;
22872 temp8 = True;
22873 }
22874 }
22875 {
22876 PyThreadState* __tstate = wxPyBeginAllowThreads();
22877 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22878
22879 wxPyEndAllowThreads(__tstate);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 }
22882 {
22883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22884 }
22885 {
22886 if (temp8)
22887 delete arg8;
22888 }
22889 return resultobj;
22890 fail:
22891 {
22892 if (temp8)
22893 delete arg8;
22894 }
22895 return NULL;
22896 }
22897
22898
22899 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22900 PyObject *resultobj;
22901 wxListView *arg1 = (wxListView *) 0 ;
22902 long arg2 ;
22903 bool arg3 = (bool) True ;
22904 PyObject * obj0 = 0 ;
22905 PyObject * obj1 = 0 ;
22906 PyObject * obj2 = 0 ;
22907 char *kwnames[] = {
22908 (char *) "self",(char *) "n",(char *) "on", NULL
22909 };
22910
22911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22914 arg2 = (long) SWIG_AsLong(obj1);
22915 if (PyErr_Occurred()) SWIG_fail;
22916 if (obj2) {
22917 arg3 = (bool) SWIG_AsBool(obj2);
22918 if (PyErr_Occurred()) SWIG_fail;
22919 }
22920 {
22921 PyThreadState* __tstate = wxPyBeginAllowThreads();
22922 (arg1)->Select(arg2,arg3);
22923
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 Py_INCREF(Py_None); resultobj = Py_None;
22928 return resultobj;
22929 fail:
22930 return NULL;
22931 }
22932
22933
22934 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22935 PyObject *resultobj;
22936 wxListView *arg1 = (wxListView *) 0 ;
22937 long arg2 ;
22938 PyObject * obj0 = 0 ;
22939 PyObject * obj1 = 0 ;
22940 char *kwnames[] = {
22941 (char *) "self",(char *) "index", NULL
22942 };
22943
22944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22947 arg2 = (long) SWIG_AsLong(obj1);
22948 if (PyErr_Occurred()) SWIG_fail;
22949 {
22950 PyThreadState* __tstate = wxPyBeginAllowThreads();
22951 (arg1)->Focus(arg2);
22952
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
22956 Py_INCREF(Py_None); resultobj = Py_None;
22957 return resultobj;
22958 fail:
22959 return NULL;
22960 }
22961
22962
22963 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22964 PyObject *resultobj;
22965 wxListView *arg1 = (wxListView *) 0 ;
22966 long result;
22967 PyObject * obj0 = 0 ;
22968 char *kwnames[] = {
22969 (char *) "self", NULL
22970 };
22971
22972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22975 {
22976 PyThreadState* __tstate = wxPyBeginAllowThreads();
22977 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22978
22979 wxPyEndAllowThreads(__tstate);
22980 if (PyErr_Occurred()) SWIG_fail;
22981 }
22982 resultobj = SWIG_FromLong((long)result);
22983 return resultobj;
22984 fail:
22985 return NULL;
22986 }
22987
22988
22989 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22990 PyObject *resultobj;
22991 wxListView *arg1 = (wxListView *) 0 ;
22992 long arg2 ;
22993 long result;
22994 PyObject * obj0 = 0 ;
22995 PyObject * obj1 = 0 ;
22996 char *kwnames[] = {
22997 (char *) "self",(char *) "item", NULL
22998 };
22999
23000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
23001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23003 arg2 = (long) SWIG_AsLong(obj1);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 {
23006 PyThreadState* __tstate = wxPyBeginAllowThreads();
23007 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23008
23009 wxPyEndAllowThreads(__tstate);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 }
23012 resultobj = SWIG_FromLong((long)result);
23013 return resultobj;
23014 fail:
23015 return NULL;
23016 }
23017
23018
23019 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23020 PyObject *resultobj;
23021 wxListView *arg1 = (wxListView *) 0 ;
23022 long result;
23023 PyObject * obj0 = 0 ;
23024 char *kwnames[] = {
23025 (char *) "self", NULL
23026 };
23027
23028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
23029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23031 {
23032 PyThreadState* __tstate = wxPyBeginAllowThreads();
23033 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23034
23035 wxPyEndAllowThreads(__tstate);
23036 if (PyErr_Occurred()) SWIG_fail;
23037 }
23038 resultobj = SWIG_FromLong((long)result);
23039 return resultobj;
23040 fail:
23041 return NULL;
23042 }
23043
23044
23045 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23046 PyObject *resultobj;
23047 wxListView *arg1 = (wxListView *) 0 ;
23048 long arg2 ;
23049 bool result;
23050 PyObject * obj0 = 0 ;
23051 PyObject * obj1 = 0 ;
23052 char *kwnames[] = {
23053 (char *) "self",(char *) "index", NULL
23054 };
23055
23056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
23057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23059 arg2 = (long) SWIG_AsLong(obj1);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 {
23062 PyThreadState* __tstate = wxPyBeginAllowThreads();
23063 result = (bool)(arg1)->IsSelected(arg2);
23064
23065 wxPyEndAllowThreads(__tstate);
23066 if (PyErr_Occurred()) SWIG_fail;
23067 }
23068 {
23069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23070 }
23071 return resultobj;
23072 fail:
23073 return NULL;
23074 }
23075
23076
23077 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23078 PyObject *resultobj;
23079 wxListView *arg1 = (wxListView *) 0 ;
23080 int arg2 ;
23081 int arg3 ;
23082 PyObject * obj0 = 0 ;
23083 PyObject * obj1 = 0 ;
23084 PyObject * obj2 = 0 ;
23085 char *kwnames[] = {
23086 (char *) "self",(char *) "col",(char *) "image", NULL
23087 };
23088
23089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23092 arg2 = (int) SWIG_AsInt(obj1);
23093 if (PyErr_Occurred()) SWIG_fail;
23094 arg3 = (int) SWIG_AsInt(obj2);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 (arg1)->SetColumnImage(arg2,arg3);
23099
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 Py_INCREF(Py_None); resultobj = Py_None;
23104 return resultobj;
23105 fail:
23106 return NULL;
23107 }
23108
23109
23110 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj;
23112 wxListView *arg1 = (wxListView *) 0 ;
23113 int arg2 ;
23114 PyObject * obj0 = 0 ;
23115 PyObject * obj1 = 0 ;
23116 char *kwnames[] = {
23117 (char *) "self",(char *) "col", NULL
23118 };
23119
23120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
23121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23123 arg2 = (int) SWIG_AsInt(obj1);
23124 if (PyErr_Occurred()) SWIG_fail;
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 (arg1)->ClearColumnImage(arg2);
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 Py_INCREF(Py_None); resultobj = Py_None;
23133 return resultobj;
23134 fail:
23135 return NULL;
23136 }
23137
23138
23139 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
23140 PyObject *obj;
23141 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23142 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
23143 Py_INCREF(obj);
23144 return Py_BuildValue((char *)"");
23145 }
23146 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
23147 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
23148 return 1;
23149 }
23150
23151
23152 static PyObject *_wrap_TreeCtrlNameStr_get() {
23153 PyObject *pyobj;
23154
23155 {
23156 #if wxUSE_UNICODE
23157 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23158 #else
23159 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23160 #endif
23161 }
23162 return pyobj;
23163 }
23164
23165
23166 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23167 PyObject *resultobj;
23168 wxTreeItemId *result;
23169 char *kwnames[] = {
23170 NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
23174 {
23175 PyThreadState* __tstate = wxPyBeginAllowThreads();
23176 result = (wxTreeItemId *)new wxTreeItemId();
23177
23178 wxPyEndAllowThreads(__tstate);
23179 if (PyErr_Occurred()) SWIG_fail;
23180 }
23181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
23182 return resultobj;
23183 fail:
23184 return NULL;
23185 }
23186
23187
23188 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23189 PyObject *resultobj;
23190 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23191 PyObject * obj0 = 0 ;
23192 char *kwnames[] = {
23193 (char *) "self", NULL
23194 };
23195
23196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
23197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23199 {
23200 PyThreadState* __tstate = wxPyBeginAllowThreads();
23201 delete arg1;
23202
23203 wxPyEndAllowThreads(__tstate);
23204 if (PyErr_Occurred()) SWIG_fail;
23205 }
23206 Py_INCREF(Py_None); resultobj = Py_None;
23207 return resultobj;
23208 fail:
23209 return NULL;
23210 }
23211
23212
23213 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23214 PyObject *resultobj;
23215 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23216 bool result;
23217 PyObject * obj0 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
23223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23225 {
23226 PyThreadState* __tstate = wxPyBeginAllowThreads();
23227 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
23228
23229 wxPyEndAllowThreads(__tstate);
23230 if (PyErr_Occurred()) SWIG_fail;
23231 }
23232 {
23233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23234 }
23235 return resultobj;
23236 fail:
23237 return NULL;
23238 }
23239
23240
23241 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23242 PyObject *resultobj;
23243 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23244 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23245 bool result;
23246 PyObject * obj0 = 0 ;
23247 PyObject * obj1 = 0 ;
23248 char *kwnames[] = {
23249 (char *) "self",(char *) "other", NULL
23250 };
23251
23252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
23253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23257 {
23258 PyThreadState* __tstate = wxPyBeginAllowThreads();
23259 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
23260
23261 wxPyEndAllowThreads(__tstate);
23262 if (PyErr_Occurred()) SWIG_fail;
23263 }
23264 {
23265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23266 }
23267 return resultobj;
23268 fail:
23269 return NULL;
23270 }
23271
23272
23273 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23274 PyObject *resultobj;
23275 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23276 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23277 bool result;
23278 PyObject * obj0 = 0 ;
23279 PyObject * obj1 = 0 ;
23280 char *kwnames[] = {
23281 (char *) "self",(char *) "other", NULL
23282 };
23283
23284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
23285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23289 {
23290 PyThreadState* __tstate = wxPyBeginAllowThreads();
23291 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
23292
23293 wxPyEndAllowThreads(__tstate);
23294 if (PyErr_Occurred()) SWIG_fail;
23295 }
23296 {
23297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23298 }
23299 return resultobj;
23300 fail:
23301 return NULL;
23302 }
23303
23304
23305 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
23306 PyObject *resultobj;
23307 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23308 void *arg2 = (void *) 0 ;
23309 PyObject * obj0 = 0 ;
23310 PyObject * obj1 = 0 ;
23311 char *kwnames[] = {
23312 (char *) "self",(char *) "m_pItem", NULL
23313 };
23314
23315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
23316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23318 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23319 if (arg1) (arg1)->m_pItem = arg2;
23320
23321 Py_INCREF(Py_None); resultobj = Py_None;
23322 return resultobj;
23323 fail:
23324 return NULL;
23325 }
23326
23327
23328 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23329 PyObject *resultobj;
23330 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23331 void *result;
23332 PyObject * obj0 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "self", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23340 result = (void *) ((arg1)->m_pItem);
23341
23342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
23343 return resultobj;
23344 fail:
23345 return NULL;
23346 }
23347
23348
23349 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23350 PyObject *obj;
23351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23352 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23353 Py_INCREF(obj);
23354 return Py_BuildValue((char *)"");
23355 }
23356 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23357 PyObject *resultobj;
23358 PyObject *arg1 = (PyObject *) NULL ;
23359 wxPyTreeItemData *result;
23360 PyObject * obj0 = 0 ;
23361 char *kwnames[] = {
23362 (char *) "obj", NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23366 if (obj0) {
23367 arg1 = obj0;
23368 }
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23372
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
23377 return resultobj;
23378 fail:
23379 return NULL;
23380 }
23381
23382
23383 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23384 PyObject *resultobj;
23385 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23386 PyObject *result;
23387 PyObject * obj0 = 0 ;
23388 char *kwnames[] = {
23389 (char *) "self", NULL
23390 };
23391
23392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23395 {
23396 PyThreadState* __tstate = wxPyBeginAllowThreads();
23397 result = (PyObject *)(arg1)->GetData();
23398
23399 wxPyEndAllowThreads(__tstate);
23400 if (PyErr_Occurred()) SWIG_fail;
23401 }
23402 resultobj = result;
23403 return resultobj;
23404 fail:
23405 return NULL;
23406 }
23407
23408
23409 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23410 PyObject *resultobj;
23411 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23412 PyObject *arg2 = (PyObject *) 0 ;
23413 PyObject * obj0 = 0 ;
23414 PyObject * obj1 = 0 ;
23415 char *kwnames[] = {
23416 (char *) "self",(char *) "obj", NULL
23417 };
23418
23419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23422 arg2 = obj1;
23423 {
23424 PyThreadState* __tstate = wxPyBeginAllowThreads();
23425 (arg1)->SetData(arg2);
23426
23427 wxPyEndAllowThreads(__tstate);
23428 if (PyErr_Occurred()) SWIG_fail;
23429 }
23430 Py_INCREF(Py_None); resultobj = Py_None;
23431 return resultobj;
23432 fail:
23433 return NULL;
23434 }
23435
23436
23437 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23438 PyObject *resultobj;
23439 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23440 wxTreeItemId *result;
23441 PyObject * obj0 = 0 ;
23442 char *kwnames[] = {
23443 (char *) "self", NULL
23444 };
23445
23446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 {
23452 wxTreeItemId const &_result_ref = (arg1)->GetId();
23453 result = (wxTreeItemId *) &_result_ref;
23454 }
23455
23456 wxPyEndAllowThreads(__tstate);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
23459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
23460 return resultobj;
23461 fail:
23462 return NULL;
23463 }
23464
23465
23466 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23467 PyObject *resultobj;
23468 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23469 wxTreeItemId *arg2 = 0 ;
23470 PyObject * obj0 = 0 ;
23471 PyObject * obj1 = 0 ;
23472 char *kwnames[] = {
23473 (char *) "self",(char *) "id", NULL
23474 };
23475
23476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23480 SWIG_POINTER_EXCEPTION | 0)) == -1)
23481 SWIG_fail;
23482 if (arg2 == NULL) {
23483 PyErr_SetString(PyExc_TypeError,"null reference");
23484 SWIG_fail;
23485 }
23486 {
23487 PyThreadState* __tstate = wxPyBeginAllowThreads();
23488 (arg1)->SetId((wxTreeItemId const &)*arg2);
23489
23490 wxPyEndAllowThreads(__tstate);
23491 if (PyErr_Occurred()) SWIG_fail;
23492 }
23493 Py_INCREF(Py_None); resultobj = Py_None;
23494 return resultobj;
23495 fail:
23496 return NULL;
23497 }
23498
23499
23500 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23501 PyObject *resultobj;
23502 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23503 PyObject * obj0 = 0 ;
23504 char *kwnames[] = {
23505 (char *) "self", NULL
23506 };
23507
23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 wxPyTreeItemData_Destroy(arg1);
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 Py_INCREF(Py_None); resultobj = Py_None;
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23526 PyObject *obj;
23527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23528 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23529 Py_INCREF(obj);
23530 return Py_BuildValue((char *)"");
23531 }
23532 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23533 PyObject *resultobj;
23534 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23535 int arg2 = (int) 0 ;
23536 wxTreeEvent *result;
23537 PyObject * obj0 = 0 ;
23538 PyObject * obj1 = 0 ;
23539 char *kwnames[] = {
23540 (char *) "commandType",(char *) "id", NULL
23541 };
23542
23543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23544 if (obj0) {
23545 arg1 = (wxEventType) SWIG_AsInt(obj0);
23546 if (PyErr_Occurred()) SWIG_fail;
23547 }
23548 if (obj1) {
23549 arg2 = (int) SWIG_AsInt(obj1);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23555
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23560 return resultobj;
23561 fail:
23562 return NULL;
23563 }
23564
23565
23566 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23567 PyObject *resultobj;
23568 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23569 wxTreeItemId result;
23570 PyObject * obj0 = 0 ;
23571 char *kwnames[] = {
23572 (char *) "self", NULL
23573 };
23574
23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 result = ((wxTreeEvent const *)arg1)->GetItem();
23581
23582 wxPyEndAllowThreads(__tstate);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
23585 {
23586 wxTreeItemId * resultptr;
23587 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23589 }
23590 return resultobj;
23591 fail:
23592 return NULL;
23593 }
23594
23595
23596 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23597 PyObject *resultobj;
23598 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23599 wxTreeItemId *arg2 = 0 ;
23600 PyObject * obj0 = 0 ;
23601 PyObject * obj1 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "self",(char *) "item", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23610 SWIG_POINTER_EXCEPTION | 0)) == -1)
23611 SWIG_fail;
23612 if (arg2 == NULL) {
23613 PyErr_SetString(PyExc_TypeError,"null reference");
23614 SWIG_fail;
23615 }
23616 {
23617 PyThreadState* __tstate = wxPyBeginAllowThreads();
23618 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23619
23620 wxPyEndAllowThreads(__tstate);
23621 if (PyErr_Occurred()) SWIG_fail;
23622 }
23623 Py_INCREF(Py_None); resultobj = Py_None;
23624 return resultobj;
23625 fail:
23626 return NULL;
23627 }
23628
23629
23630 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23631 PyObject *resultobj;
23632 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23633 wxTreeItemId result;
23634 PyObject * obj0 = 0 ;
23635 char *kwnames[] = {
23636 (char *) "self", NULL
23637 };
23638
23639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23642 {
23643 PyThreadState* __tstate = wxPyBeginAllowThreads();
23644 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23645
23646 wxPyEndAllowThreads(__tstate);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
23649 {
23650 wxTreeItemId * resultptr;
23651 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23652 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23653 }
23654 return resultobj;
23655 fail:
23656 return NULL;
23657 }
23658
23659
23660 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23661 PyObject *resultobj;
23662 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23663 wxTreeItemId *arg2 = 0 ;
23664 PyObject * obj0 = 0 ;
23665 PyObject * obj1 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self",(char *) "item", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23674 SWIG_POINTER_EXCEPTION | 0)) == -1)
23675 SWIG_fail;
23676 if (arg2 == NULL) {
23677 PyErr_SetString(PyExc_TypeError,"null reference");
23678 SWIG_fail;
23679 }
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23683
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 Py_INCREF(Py_None); resultobj = Py_None;
23688 return resultobj;
23689 fail:
23690 return NULL;
23691 }
23692
23693
23694 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23695 PyObject *resultobj;
23696 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23697 wxPoint result;
23698 PyObject * obj0 = 0 ;
23699 char *kwnames[] = {
23700 (char *) "self", NULL
23701 };
23702
23703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 result = ((wxTreeEvent const *)arg1)->GetPoint();
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 {
23714 wxPoint * resultptr;
23715 resultptr = new wxPoint((wxPoint &) result);
23716 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23717 }
23718 return resultobj;
23719 fail:
23720 return NULL;
23721 }
23722
23723
23724 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23725 PyObject *resultobj;
23726 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23727 wxPoint *arg2 = 0 ;
23728 wxPoint temp2 ;
23729 PyObject * obj0 = 0 ;
23730 PyObject * obj1 = 0 ;
23731 char *kwnames[] = {
23732 (char *) "self",(char *) "pt", NULL
23733 };
23734
23735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23738 {
23739 arg2 = &temp2;
23740 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23741 }
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 (arg1)->SetPoint((wxPoint const &)*arg2);
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 Py_INCREF(Py_None); resultobj = Py_None;
23750 return resultobj;
23751 fail:
23752 return NULL;
23753 }
23754
23755
23756 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj;
23758 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23759 wxKeyEvent *result;
23760 PyObject * obj0 = 0 ;
23761 char *kwnames[] = {
23762 (char *) "self", NULL
23763 };
23764
23765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 {
23771 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23772 result = (wxKeyEvent *) &_result_ref;
23773 }
23774
23775 wxPyEndAllowThreads(__tstate);
23776 if (PyErr_Occurred()) SWIG_fail;
23777 }
23778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23779 return resultobj;
23780 fail:
23781 return NULL;
23782 }
23783
23784
23785 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23786 PyObject *resultobj;
23787 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23788 int result;
23789 PyObject * obj0 = 0 ;
23790 char *kwnames[] = {
23791 (char *) "self", NULL
23792 };
23793
23794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23797 {
23798 PyThreadState* __tstate = wxPyBeginAllowThreads();
23799 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23800
23801 wxPyEndAllowThreads(__tstate);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 }
23804 resultobj = SWIG_FromInt((int)result);
23805 return resultobj;
23806 fail:
23807 return NULL;
23808 }
23809
23810
23811 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23812 PyObject *resultobj;
23813 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23814 wxKeyEvent *arg2 = 0 ;
23815 PyObject * obj0 = 0 ;
23816 PyObject * obj1 = 0 ;
23817 char *kwnames[] = {
23818 (char *) "self",(char *) "evt", NULL
23819 };
23820
23821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23825 SWIG_POINTER_EXCEPTION | 0)) == -1)
23826 SWIG_fail;
23827 if (arg2 == NULL) {
23828 PyErr_SetString(PyExc_TypeError,"null reference");
23829 SWIG_fail;
23830 }
23831 {
23832 PyThreadState* __tstate = wxPyBeginAllowThreads();
23833 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23834
23835 wxPyEndAllowThreads(__tstate);
23836 if (PyErr_Occurred()) SWIG_fail;
23837 }
23838 Py_INCREF(Py_None); resultobj = Py_None;
23839 return resultobj;
23840 fail:
23841 return NULL;
23842 }
23843
23844
23845 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23846 PyObject *resultobj;
23847 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23848 wxString *result;
23849 PyObject * obj0 = 0 ;
23850 char *kwnames[] = {
23851 (char *) "self", NULL
23852 };
23853
23854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23857 {
23858 PyThreadState* __tstate = wxPyBeginAllowThreads();
23859 {
23860 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23861 result = (wxString *) &_result_ref;
23862 }
23863
23864 wxPyEndAllowThreads(__tstate);
23865 if (PyErr_Occurred()) SWIG_fail;
23866 }
23867 {
23868 #if wxUSE_UNICODE
23869 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23870 #else
23871 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23872 #endif
23873 }
23874 return resultobj;
23875 fail:
23876 return NULL;
23877 }
23878
23879
23880 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23881 PyObject *resultobj;
23882 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23883 wxString *arg2 = 0 ;
23884 bool temp2 = False ;
23885 PyObject * obj0 = 0 ;
23886 PyObject * obj1 = 0 ;
23887 char *kwnames[] = {
23888 (char *) "self",(char *) "label", NULL
23889 };
23890
23891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23894 {
23895 arg2 = wxString_in_helper(obj1);
23896 if (arg2 == NULL) SWIG_fail;
23897 temp2 = True;
23898 }
23899 {
23900 PyThreadState* __tstate = wxPyBeginAllowThreads();
23901 (arg1)->SetLabel((wxString const &)*arg2);
23902
23903 wxPyEndAllowThreads(__tstate);
23904 if (PyErr_Occurred()) SWIG_fail;
23905 }
23906 Py_INCREF(Py_None); resultobj = Py_None;
23907 {
23908 if (temp2)
23909 delete arg2;
23910 }
23911 return resultobj;
23912 fail:
23913 {
23914 if (temp2)
23915 delete arg2;
23916 }
23917 return NULL;
23918 }
23919
23920
23921 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23922 PyObject *resultobj;
23923 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23924 bool result;
23925 PyObject * obj0 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23933 {
23934 PyThreadState* __tstate = wxPyBeginAllowThreads();
23935 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23936
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 {
23941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23942 }
23943 return resultobj;
23944 fail:
23945 return NULL;
23946 }
23947
23948
23949 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23950 PyObject *resultobj;
23951 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23952 bool arg2 ;
23953 PyObject * obj0 = 0 ;
23954 PyObject * obj1 = 0 ;
23955 char *kwnames[] = {
23956 (char *) "self",(char *) "editCancelled", NULL
23957 };
23958
23959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23962 arg2 = (bool) SWIG_AsBool(obj1);
23963 if (PyErr_Occurred()) SWIG_fail;
23964 {
23965 PyThreadState* __tstate = wxPyBeginAllowThreads();
23966 (arg1)->SetEditCanceled(arg2);
23967
23968 wxPyEndAllowThreads(__tstate);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 }
23971 Py_INCREF(Py_None); resultobj = Py_None;
23972 return resultobj;
23973 fail:
23974 return NULL;
23975 }
23976
23977
23978 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23979 PyObject *resultobj;
23980 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23981 wxString *arg2 = 0 ;
23982 bool temp2 = False ;
23983 PyObject * obj0 = 0 ;
23984 PyObject * obj1 = 0 ;
23985 char *kwnames[] = {
23986 (char *) "self",(char *) "toolTip", NULL
23987 };
23988
23989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23992 {
23993 arg2 = wxString_in_helper(obj1);
23994 if (arg2 == NULL) SWIG_fail;
23995 temp2 = True;
23996 }
23997 {
23998 PyThreadState* __tstate = wxPyBeginAllowThreads();
23999 (arg1)->SetToolTip((wxString const &)*arg2);
24000
24001 wxPyEndAllowThreads(__tstate);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 }
24004 Py_INCREF(Py_None); resultobj = Py_None;
24005 {
24006 if (temp2)
24007 delete arg2;
24008 }
24009 return resultobj;
24010 fail:
24011 {
24012 if (temp2)
24013 delete arg2;
24014 }
24015 return NULL;
24016 }
24017
24018
24019 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24020 PyObject *obj;
24021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24022 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24023 Py_INCREF(obj);
24024 return Py_BuildValue((char *)"");
24025 }
24026 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24027 PyObject *resultobj;
24028 wxWindow *arg1 = (wxWindow *) 0 ;
24029 int arg2 = (int) -1 ;
24030 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24031 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24032 wxSize const &arg4_defvalue = wxDefaultSize ;
24033 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24034 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24035 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24036 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24037 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
24038 wxString *arg7 = (wxString *) &arg7_defvalue ;
24039 wxPyTreeCtrl *result;
24040 wxPoint temp3 ;
24041 wxSize temp4 ;
24042 bool temp7 = False ;
24043 PyObject * obj0 = 0 ;
24044 PyObject * obj1 = 0 ;
24045 PyObject * obj2 = 0 ;
24046 PyObject * obj3 = 0 ;
24047 PyObject * obj4 = 0 ;
24048 PyObject * obj5 = 0 ;
24049 PyObject * obj6 = 0 ;
24050 char *kwnames[] = {
24051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24052 };
24053
24054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24057 if (obj1) {
24058 arg2 = (int) SWIG_AsInt(obj1);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
24061 if (obj2) {
24062 {
24063 arg3 = &temp3;
24064 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24065 }
24066 }
24067 if (obj3) {
24068 {
24069 arg4 = &temp4;
24070 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24071 }
24072 }
24073 if (obj4) {
24074 arg5 = (long) SWIG_AsLong(obj4);
24075 if (PyErr_Occurred()) SWIG_fail;
24076 }
24077 if (obj5) {
24078 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24079 SWIG_POINTER_EXCEPTION | 0)) == -1)
24080 SWIG_fail;
24081 if (arg6 == NULL) {
24082 PyErr_SetString(PyExc_TypeError,"null reference");
24083 SWIG_fail;
24084 }
24085 }
24086 if (obj6) {
24087 {
24088 arg7 = wxString_in_helper(obj6);
24089 if (arg7 == NULL) SWIG_fail;
24090 temp7 = True;
24091 }
24092 }
24093 {
24094 PyThreadState* __tstate = wxPyBeginAllowThreads();
24095 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24096
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 {
24101 resultobj = wxPyMake_wxObject(result);
24102 }
24103 {
24104 if (temp7)
24105 delete arg7;
24106 }
24107 return resultobj;
24108 fail:
24109 {
24110 if (temp7)
24111 delete arg7;
24112 }
24113 return NULL;
24114 }
24115
24116
24117 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24118 PyObject *resultobj;
24119 wxPyTreeCtrl *result;
24120 char *kwnames[] = {
24121 NULL
24122 };
24123
24124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24125 {
24126 PyThreadState* __tstate = wxPyBeginAllowThreads();
24127 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24128
24129 wxPyEndAllowThreads(__tstate);
24130 if (PyErr_Occurred()) SWIG_fail;
24131 }
24132 {
24133 resultobj = wxPyMake_wxObject(result);
24134 }
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24144 wxWindow *arg2 = (wxWindow *) 0 ;
24145 int arg3 = (int) -1 ;
24146 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24147 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24148 wxSize const &arg5_defvalue = wxDefaultSize ;
24149 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24150 long arg6 = (long) wxTR_DEFAULT_STYLE ;
24151 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24152 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24153 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
24154 wxString *arg8 = (wxString *) &arg8_defvalue ;
24155 bool result;
24156 wxPoint temp4 ;
24157 wxSize temp5 ;
24158 bool temp8 = False ;
24159 PyObject * obj0 = 0 ;
24160 PyObject * obj1 = 0 ;
24161 PyObject * obj2 = 0 ;
24162 PyObject * obj3 = 0 ;
24163 PyObject * obj4 = 0 ;
24164 PyObject * obj5 = 0 ;
24165 PyObject * obj6 = 0 ;
24166 PyObject * obj7 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24176 if (obj2) {
24177 arg3 = (int) SWIG_AsInt(obj2);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 if (obj3) {
24181 {
24182 arg4 = &temp4;
24183 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24184 }
24185 }
24186 if (obj4) {
24187 {
24188 arg5 = &temp5;
24189 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24190 }
24191 }
24192 if (obj5) {
24193 arg6 = (long) SWIG_AsLong(obj5);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 if (obj6) {
24197 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24198 SWIG_POINTER_EXCEPTION | 0)) == -1)
24199 SWIG_fail;
24200 if (arg7 == NULL) {
24201 PyErr_SetString(PyExc_TypeError,"null reference");
24202 SWIG_fail;
24203 }
24204 }
24205 if (obj7) {
24206 {
24207 arg8 = wxString_in_helper(obj7);
24208 if (arg8 == NULL) SWIG_fail;
24209 temp8 = True;
24210 }
24211 }
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24215
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
24219 {
24220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24221 }
24222 {
24223 if (temp8)
24224 delete arg8;
24225 }
24226 return resultobj;
24227 fail:
24228 {
24229 if (temp8)
24230 delete arg8;
24231 }
24232 return NULL;
24233 }
24234
24235
24236 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj;
24238 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24239 PyObject *arg2 = (PyObject *) 0 ;
24240 PyObject *arg3 = (PyObject *) 0 ;
24241 PyObject * obj0 = 0 ;
24242 PyObject * obj1 = 0 ;
24243 PyObject * obj2 = 0 ;
24244 char *kwnames[] = {
24245 (char *) "self",(char *) "self",(char *) "_class", NULL
24246 };
24247
24248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24251 arg2 = obj1;
24252 arg3 = obj2;
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 (arg1)->_setCallbackInfo(arg2,arg3);
24256
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 Py_INCREF(Py_None); resultobj = Py_None;
24261 return resultobj;
24262 fail:
24263 return NULL;
24264 }
24265
24266
24267 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24268 PyObject *resultobj;
24269 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24270 size_t result;
24271 PyObject * obj0 = 0 ;
24272 char *kwnames[] = {
24273 (char *) "self", NULL
24274 };
24275
24276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
24277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24279 {
24280 PyThreadState* __tstate = wxPyBeginAllowThreads();
24281 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
24282
24283 wxPyEndAllowThreads(__tstate);
24284 if (PyErr_Occurred()) SWIG_fail;
24285 }
24286 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24287 return resultobj;
24288 fail:
24289 return NULL;
24290 }
24291
24292
24293 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24294 PyObject *resultobj;
24295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24296 unsigned int result;
24297 PyObject * obj0 = 0 ;
24298 char *kwnames[] = {
24299 (char *) "self", NULL
24300 };
24301
24302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
24303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24305 {
24306 PyThreadState* __tstate = wxPyBeginAllowThreads();
24307 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
24308
24309 wxPyEndAllowThreads(__tstate);
24310 if (PyErr_Occurred()) SWIG_fail;
24311 }
24312 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24313 return resultobj;
24314 fail:
24315 return NULL;
24316 }
24317
24318
24319 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24320 PyObject *resultobj;
24321 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24322 unsigned int arg2 ;
24323 PyObject * obj0 = 0 ;
24324 PyObject * obj1 = 0 ;
24325 char *kwnames[] = {
24326 (char *) "self",(char *) "indent", NULL
24327 };
24328
24329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
24330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24332 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 {
24335 PyThreadState* __tstate = wxPyBeginAllowThreads();
24336 (arg1)->SetIndent(arg2);
24337
24338 wxPyEndAllowThreads(__tstate);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 Py_INCREF(Py_None); resultobj = Py_None;
24342 return resultobj;
24343 fail:
24344 return NULL;
24345 }
24346
24347
24348 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24349 PyObject *resultobj;
24350 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24351 unsigned int result;
24352 PyObject * obj0 = 0 ;
24353 char *kwnames[] = {
24354 (char *) "self", NULL
24355 };
24356
24357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
24358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24363
24364 wxPyEndAllowThreads(__tstate);
24365 if (PyErr_Occurred()) SWIG_fail;
24366 }
24367 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24368 return resultobj;
24369 fail:
24370 return NULL;
24371 }
24372
24373
24374 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24375 PyObject *resultobj;
24376 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24377 unsigned int arg2 ;
24378 PyObject * obj0 = 0 ;
24379 PyObject * obj1 = 0 ;
24380 char *kwnames[] = {
24381 (char *) "self",(char *) "spacing", NULL
24382 };
24383
24384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24387 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24388 if (PyErr_Occurred()) SWIG_fail;
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 (arg1)->SetSpacing(arg2);
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 Py_INCREF(Py_None); resultobj = Py_None;
24397 return resultobj;
24398 fail:
24399 return NULL;
24400 }
24401
24402
24403 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24406 wxImageList *result;
24407 PyObject * obj0 = 0 ;
24408 char *kwnames[] = {
24409 (char *) "self", NULL
24410 };
24411
24412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24415 {
24416 PyThreadState* __tstate = wxPyBeginAllowThreads();
24417 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
24422 {
24423 resultobj = wxPyMake_wxObject(result);
24424 }
24425 return resultobj;
24426 fail:
24427 return NULL;
24428 }
24429
24430
24431 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24432 PyObject *resultobj;
24433 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24434 wxImageList *result;
24435 PyObject * obj0 = 0 ;
24436 char *kwnames[] = {
24437 (char *) "self", NULL
24438 };
24439
24440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 {
24451 resultobj = wxPyMake_wxObject(result);
24452 }
24453 return resultobj;
24454 fail:
24455 return NULL;
24456 }
24457
24458
24459 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24460 PyObject *resultobj;
24461 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24462 wxImageList *arg2 = (wxImageList *) 0 ;
24463 PyObject * obj0 = 0 ;
24464 PyObject * obj1 = 0 ;
24465 char *kwnames[] = {
24466 (char *) "self",(char *) "imageList", NULL
24467 };
24468
24469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 (arg1)->SetImageList(arg2);
24477
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
24481 Py_INCREF(Py_None); resultobj = Py_None;
24482 return resultobj;
24483 fail:
24484 return NULL;
24485 }
24486
24487
24488 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24489 PyObject *resultobj;
24490 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24491 wxImageList *arg2 = (wxImageList *) 0 ;
24492 PyObject * obj0 = 0 ;
24493 PyObject * obj1 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "self",(char *) "imageList", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24503 {
24504 PyThreadState* __tstate = wxPyBeginAllowThreads();
24505 (arg1)->SetStateImageList(arg2);
24506
24507 wxPyEndAllowThreads(__tstate);
24508 if (PyErr_Occurred()) SWIG_fail;
24509 }
24510 Py_INCREF(Py_None); resultobj = Py_None;
24511 return resultobj;
24512 fail:
24513 return NULL;
24514 }
24515
24516
24517 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24518 PyObject *resultobj;
24519 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24520 wxImageList *arg2 = (wxImageList *) 0 ;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "self",(char *) "imageList", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24531 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24532 {
24533 PyThreadState* __tstate = wxPyBeginAllowThreads();
24534 (arg1)->AssignImageList(arg2);
24535
24536 wxPyEndAllowThreads(__tstate);
24537 if (PyErr_Occurred()) SWIG_fail;
24538 }
24539 Py_INCREF(Py_None); resultobj = Py_None;
24540 return resultobj;
24541 fail:
24542 return NULL;
24543 }
24544
24545
24546 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24547 PyObject *resultobj;
24548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24549 wxImageList *arg2 = (wxImageList *) 0 ;
24550 PyObject * obj0 = 0 ;
24551 PyObject * obj1 = 0 ;
24552 char *kwnames[] = {
24553 (char *) "self",(char *) "imageList", NULL
24554 };
24555
24556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24559 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24560 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24561 {
24562 PyThreadState* __tstate = wxPyBeginAllowThreads();
24563 (arg1)->AssignStateImageList(arg2);
24564
24565 wxPyEndAllowThreads(__tstate);
24566 if (PyErr_Occurred()) SWIG_fail;
24567 }
24568 Py_INCREF(Py_None); resultobj = Py_None;
24569 return resultobj;
24570 fail:
24571 return NULL;
24572 }
24573
24574
24575 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24576 PyObject *resultobj;
24577 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24578 wxTreeItemId *arg2 = 0 ;
24579 wxString result;
24580 PyObject * obj0 = 0 ;
24581 PyObject * obj1 = 0 ;
24582 char *kwnames[] = {
24583 (char *) "self",(char *) "item", NULL
24584 };
24585
24586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24590 SWIG_POINTER_EXCEPTION | 0)) == -1)
24591 SWIG_fail;
24592 if (arg2 == NULL) {
24593 PyErr_SetString(PyExc_TypeError,"null reference");
24594 SWIG_fail;
24595 }
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24599
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 {
24604 #if wxUSE_UNICODE
24605 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24606 #else
24607 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24608 #endif
24609 }
24610 return resultobj;
24611 fail:
24612 return NULL;
24613 }
24614
24615
24616 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24617 PyObject *resultobj;
24618 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24619 wxTreeItemId *arg2 = 0 ;
24620 int arg3 = (int) wxTreeItemIcon_Normal ;
24621 int result;
24622 PyObject * obj0 = 0 ;
24623 PyObject * obj1 = 0 ;
24624 PyObject * obj2 = 0 ;
24625 char *kwnames[] = {
24626 (char *) "self",(char *) "item",(char *) "which", NULL
24627 };
24628
24629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24633 SWIG_POINTER_EXCEPTION | 0)) == -1)
24634 SWIG_fail;
24635 if (arg2 == NULL) {
24636 PyErr_SetString(PyExc_TypeError,"null reference");
24637 SWIG_fail;
24638 }
24639 if (obj2) {
24640 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24641 if (PyErr_Occurred()) SWIG_fail;
24642 }
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 resultobj = SWIG_FromInt((int)result);
24651 return resultobj;
24652 fail:
24653 return NULL;
24654 }
24655
24656
24657 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24658 PyObject *resultobj;
24659 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24660 wxTreeItemId *arg2 = 0 ;
24661 wxPyTreeItemData *result;
24662 PyObject * obj0 = 0 ;
24663 PyObject * obj1 = 0 ;
24664 char *kwnames[] = {
24665 (char *) "self",(char *) "item", NULL
24666 };
24667
24668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24672 SWIG_POINTER_EXCEPTION | 0)) == -1)
24673 SWIG_fail;
24674 if (arg2 == NULL) {
24675 PyErr_SetString(PyExc_TypeError,"null reference");
24676 SWIG_fail;
24677 }
24678 {
24679 PyThreadState* __tstate = wxPyBeginAllowThreads();
24680 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24681
24682 wxPyEndAllowThreads(__tstate);
24683 if (PyErr_Occurred()) SWIG_fail;
24684 }
24685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24686 return resultobj;
24687 fail:
24688 return NULL;
24689 }
24690
24691
24692 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24693 PyObject *resultobj;
24694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24695 wxTreeItemId *arg2 = 0 ;
24696 PyObject *result;
24697 PyObject * obj0 = 0 ;
24698 PyObject * obj1 = 0 ;
24699 char *kwnames[] = {
24700 (char *) "self",(char *) "item", NULL
24701 };
24702
24703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24707 SWIG_POINTER_EXCEPTION | 0)) == -1)
24708 SWIG_fail;
24709 if (arg2 == NULL) {
24710 PyErr_SetString(PyExc_TypeError,"null reference");
24711 SWIG_fail;
24712 }
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24716
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 resultobj = result;
24721 return resultobj;
24722 fail:
24723 return NULL;
24724 }
24725
24726
24727 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24728 PyObject *resultobj;
24729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24730 wxTreeItemId *arg2 = 0 ;
24731 wxColour result;
24732 PyObject * obj0 = 0 ;
24733 PyObject * obj1 = 0 ;
24734 char *kwnames[] = {
24735 (char *) "self",(char *) "item", NULL
24736 };
24737
24738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24742 SWIG_POINTER_EXCEPTION | 0)) == -1)
24743 SWIG_fail;
24744 if (arg2 == NULL) {
24745 PyErr_SetString(PyExc_TypeError,"null reference");
24746 SWIG_fail;
24747 }
24748 {
24749 PyThreadState* __tstate = wxPyBeginAllowThreads();
24750 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24751
24752 wxPyEndAllowThreads(__tstate);
24753 if (PyErr_Occurred()) SWIG_fail;
24754 }
24755 {
24756 wxColour * resultptr;
24757 resultptr = new wxColour((wxColour &) result);
24758 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24759 }
24760 return resultobj;
24761 fail:
24762 return NULL;
24763 }
24764
24765
24766 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24767 PyObject *resultobj;
24768 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24769 wxTreeItemId *arg2 = 0 ;
24770 wxColour result;
24771 PyObject * obj0 = 0 ;
24772 PyObject * obj1 = 0 ;
24773 char *kwnames[] = {
24774 (char *) "self",(char *) "item", NULL
24775 };
24776
24777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24781 SWIG_POINTER_EXCEPTION | 0)) == -1)
24782 SWIG_fail;
24783 if (arg2 == NULL) {
24784 PyErr_SetString(PyExc_TypeError,"null reference");
24785 SWIG_fail;
24786 }
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 {
24795 wxColour * resultptr;
24796 resultptr = new wxColour((wxColour &) result);
24797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24798 }
24799 return resultobj;
24800 fail:
24801 return NULL;
24802 }
24803
24804
24805 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24806 PyObject *resultobj;
24807 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24808 wxTreeItemId *arg2 = 0 ;
24809 wxFont result;
24810 PyObject * obj0 = 0 ;
24811 PyObject * obj1 = 0 ;
24812 char *kwnames[] = {
24813 (char *) "self",(char *) "item", NULL
24814 };
24815
24816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
24828 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24829
24830 wxPyEndAllowThreads(__tstate);
24831 if (PyErr_Occurred()) SWIG_fail;
24832 }
24833 {
24834 wxFont * resultptr;
24835 resultptr = new wxFont((wxFont &) result);
24836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24837 }
24838 return resultobj;
24839 fail:
24840 return NULL;
24841 }
24842
24843
24844 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24845 PyObject *resultobj;
24846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24847 wxTreeItemId *arg2 = 0 ;
24848 wxString *arg3 = 0 ;
24849 bool temp3 = False ;
24850 PyObject * obj0 = 0 ;
24851 PyObject * obj1 = 0 ;
24852 PyObject * obj2 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self",(char *) "item",(char *) "text", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24860 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24861 SWIG_POINTER_EXCEPTION | 0)) == -1)
24862 SWIG_fail;
24863 if (arg2 == NULL) {
24864 PyErr_SetString(PyExc_TypeError,"null reference");
24865 SWIG_fail;
24866 }
24867 {
24868 arg3 = wxString_in_helper(obj2);
24869 if (arg3 == NULL) SWIG_fail;
24870 temp3 = True;
24871 }
24872 {
24873 PyThreadState* __tstate = wxPyBeginAllowThreads();
24874 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24875
24876 wxPyEndAllowThreads(__tstate);
24877 if (PyErr_Occurred()) SWIG_fail;
24878 }
24879 Py_INCREF(Py_None); resultobj = Py_None;
24880 {
24881 if (temp3)
24882 delete arg3;
24883 }
24884 return resultobj;
24885 fail:
24886 {
24887 if (temp3)
24888 delete arg3;
24889 }
24890 return NULL;
24891 }
24892
24893
24894 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24895 PyObject *resultobj;
24896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24897 wxTreeItemId *arg2 = 0 ;
24898 int arg3 ;
24899 int arg4 = (int) wxTreeItemIcon_Normal ;
24900 PyObject * obj0 = 0 ;
24901 PyObject * obj1 = 0 ;
24902 PyObject * obj2 = 0 ;
24903 PyObject * obj3 = 0 ;
24904 char *kwnames[] = {
24905 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24906 };
24907
24908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24912 SWIG_POINTER_EXCEPTION | 0)) == -1)
24913 SWIG_fail;
24914 if (arg2 == NULL) {
24915 PyErr_SetString(PyExc_TypeError,"null reference");
24916 SWIG_fail;
24917 }
24918 arg3 = (int) SWIG_AsInt(obj2);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 if (obj3) {
24921 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24922 if (PyErr_Occurred()) SWIG_fail;
24923 }
24924 {
24925 PyThreadState* __tstate = wxPyBeginAllowThreads();
24926 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24927
24928 wxPyEndAllowThreads(__tstate);
24929 if (PyErr_Occurred()) SWIG_fail;
24930 }
24931 Py_INCREF(Py_None); resultobj = Py_None;
24932 return resultobj;
24933 fail:
24934 return NULL;
24935 }
24936
24937
24938 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24939 PyObject *resultobj;
24940 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24941 wxTreeItemId *arg2 = 0 ;
24942 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24943 PyObject * obj0 = 0 ;
24944 PyObject * obj1 = 0 ;
24945 PyObject * obj2 = 0 ;
24946 char *kwnames[] = {
24947 (char *) "self",(char *) "item",(char *) "data", NULL
24948 };
24949
24950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24954 SWIG_POINTER_EXCEPTION | 0)) == -1)
24955 SWIG_fail;
24956 if (arg2 == NULL) {
24957 PyErr_SetString(PyExc_TypeError,"null reference");
24958 SWIG_fail;
24959 }
24960 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 Py_INCREF(Py_None); resultobj = Py_None;
24970 return resultobj;
24971 fail:
24972 return NULL;
24973 }
24974
24975
24976 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24977 PyObject *resultobj;
24978 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24979 wxTreeItemId *arg2 = 0 ;
24980 PyObject *arg3 = (PyObject *) 0 ;
24981 PyObject * obj0 = 0 ;
24982 PyObject * obj1 = 0 ;
24983 PyObject * obj2 = 0 ;
24984 char *kwnames[] = {
24985 (char *) "self",(char *) "item",(char *) "obj", NULL
24986 };
24987
24988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24992 SWIG_POINTER_EXCEPTION | 0)) == -1)
24993 SWIG_fail;
24994 if (arg2 == NULL) {
24995 PyErr_SetString(PyExc_TypeError,"null reference");
24996 SWIG_fail;
24997 }
24998 arg3 = obj2;
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25002
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 Py_INCREF(Py_None); resultobj = Py_None;
25007 return resultobj;
25008 fail:
25009 return NULL;
25010 }
25011
25012
25013 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25014 PyObject *resultobj;
25015 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25016 wxTreeItemId *arg2 = 0 ;
25017 bool arg3 = (bool) True ;
25018 PyObject * obj0 = 0 ;
25019 PyObject * obj1 = 0 ;
25020 PyObject * obj2 = 0 ;
25021 char *kwnames[] = {
25022 (char *) "self",(char *) "item",(char *) "has", NULL
25023 };
25024
25025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
25026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25029 SWIG_POINTER_EXCEPTION | 0)) == -1)
25030 SWIG_fail;
25031 if (arg2 == NULL) {
25032 PyErr_SetString(PyExc_TypeError,"null reference");
25033 SWIG_fail;
25034 }
25035 if (obj2) {
25036 arg3 = (bool) SWIG_AsBool(obj2);
25037 if (PyErr_Occurred()) SWIG_fail;
25038 }
25039 {
25040 PyThreadState* __tstate = wxPyBeginAllowThreads();
25041 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25042
25043 wxPyEndAllowThreads(__tstate);
25044 if (PyErr_Occurred()) SWIG_fail;
25045 }
25046 Py_INCREF(Py_None); resultobj = Py_None;
25047 return resultobj;
25048 fail:
25049 return NULL;
25050 }
25051
25052
25053 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25054 PyObject *resultobj;
25055 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25056 wxTreeItemId *arg2 = 0 ;
25057 bool arg3 = (bool) True ;
25058 PyObject * obj0 = 0 ;
25059 PyObject * obj1 = 0 ;
25060 PyObject * obj2 = 0 ;
25061 char *kwnames[] = {
25062 (char *) "self",(char *) "item",(char *) "bold", NULL
25063 };
25064
25065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
25066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25069 SWIG_POINTER_EXCEPTION | 0)) == -1)
25070 SWIG_fail;
25071 if (arg2 == NULL) {
25072 PyErr_SetString(PyExc_TypeError,"null reference");
25073 SWIG_fail;
25074 }
25075 if (obj2) {
25076 arg3 = (bool) SWIG_AsBool(obj2);
25077 if (PyErr_Occurred()) SWIG_fail;
25078 }
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
25082
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 Py_INCREF(Py_None); resultobj = Py_None;
25087 return resultobj;
25088 fail:
25089 return NULL;
25090 }
25091
25092
25093 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj;
25095 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25096 wxTreeItemId *arg2 = 0 ;
25097 wxColour *arg3 = 0 ;
25098 wxColour temp3 ;
25099 PyObject * obj0 = 0 ;
25100 PyObject * obj1 = 0 ;
25101 PyObject * obj2 = 0 ;
25102 char *kwnames[] = {
25103 (char *) "self",(char *) "item",(char *) "col", NULL
25104 };
25105
25106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25109 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25110 SWIG_POINTER_EXCEPTION | 0)) == -1)
25111 SWIG_fail;
25112 if (arg2 == NULL) {
25113 PyErr_SetString(PyExc_TypeError,"null reference");
25114 SWIG_fail;
25115 }
25116 {
25117 arg3 = &temp3;
25118 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25119 }
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25123
25124 wxPyEndAllowThreads(__tstate);
25125 if (PyErr_Occurred()) SWIG_fail;
25126 }
25127 Py_INCREF(Py_None); resultobj = Py_None;
25128 return resultobj;
25129 fail:
25130 return NULL;
25131 }
25132
25133
25134 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25135 PyObject *resultobj;
25136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25137 wxTreeItemId *arg2 = 0 ;
25138 wxColour *arg3 = 0 ;
25139 wxColour temp3 ;
25140 PyObject * obj0 = 0 ;
25141 PyObject * obj1 = 0 ;
25142 PyObject * obj2 = 0 ;
25143 char *kwnames[] = {
25144 (char *) "self",(char *) "item",(char *) "col", NULL
25145 };
25146
25147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25151 SWIG_POINTER_EXCEPTION | 0)) == -1)
25152 SWIG_fail;
25153 if (arg2 == NULL) {
25154 PyErr_SetString(PyExc_TypeError,"null reference");
25155 SWIG_fail;
25156 }
25157 {
25158 arg3 = &temp3;
25159 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25160 }
25161 {
25162 PyThreadState* __tstate = wxPyBeginAllowThreads();
25163 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25164
25165 wxPyEndAllowThreads(__tstate);
25166 if (PyErr_Occurred()) SWIG_fail;
25167 }
25168 Py_INCREF(Py_None); resultobj = Py_None;
25169 return resultobj;
25170 fail:
25171 return NULL;
25172 }
25173
25174
25175 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25176 PyObject *resultobj;
25177 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25178 wxTreeItemId *arg2 = 0 ;
25179 wxFont *arg3 = 0 ;
25180 PyObject * obj0 = 0 ;
25181 PyObject * obj1 = 0 ;
25182 PyObject * obj2 = 0 ;
25183 char *kwnames[] = {
25184 (char *) "self",(char *) "item",(char *) "font", NULL
25185 };
25186
25187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
25188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25191 SWIG_POINTER_EXCEPTION | 0)) == -1)
25192 SWIG_fail;
25193 if (arg2 == NULL) {
25194 PyErr_SetString(PyExc_TypeError,"null reference");
25195 SWIG_fail;
25196 }
25197 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
25198 SWIG_POINTER_EXCEPTION | 0)) == -1)
25199 SWIG_fail;
25200 if (arg3 == NULL) {
25201 PyErr_SetString(PyExc_TypeError,"null reference");
25202 SWIG_fail;
25203 }
25204 {
25205 PyThreadState* __tstate = wxPyBeginAllowThreads();
25206 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
25207
25208 wxPyEndAllowThreads(__tstate);
25209 if (PyErr_Occurred()) SWIG_fail;
25210 }
25211 Py_INCREF(Py_None); resultobj = Py_None;
25212 return resultobj;
25213 fail:
25214 return NULL;
25215 }
25216
25217
25218 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25219 PyObject *resultobj;
25220 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25221 wxTreeItemId *arg2 = 0 ;
25222 bool result;
25223 PyObject * obj0 = 0 ;
25224 PyObject * obj1 = 0 ;
25225 char *kwnames[] = {
25226 (char *) "self",(char *) "item", NULL
25227 };
25228
25229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
25230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25233 SWIG_POINTER_EXCEPTION | 0)) == -1)
25234 SWIG_fail;
25235 if (arg2 == NULL) {
25236 PyErr_SetString(PyExc_TypeError,"null reference");
25237 SWIG_fail;
25238 }
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
25242
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 {
25247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25248 }
25249 return resultobj;
25250 fail:
25251 return NULL;
25252 }
25253
25254
25255 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25256 PyObject *resultobj;
25257 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25258 wxTreeItemId *arg2 = 0 ;
25259 bool result;
25260 PyObject * obj0 = 0 ;
25261 PyObject * obj1 = 0 ;
25262 char *kwnames[] = {
25263 (char *) "self",(char *) "item", NULL
25264 };
25265
25266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
25267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25270 SWIG_POINTER_EXCEPTION | 0)) == -1)
25271 SWIG_fail;
25272 if (arg2 == NULL) {
25273 PyErr_SetString(PyExc_TypeError,"null reference");
25274 SWIG_fail;
25275 }
25276 {
25277 PyThreadState* __tstate = wxPyBeginAllowThreads();
25278 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
25279
25280 wxPyEndAllowThreads(__tstate);
25281 if (PyErr_Occurred()) SWIG_fail;
25282 }
25283 {
25284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25285 }
25286 return resultobj;
25287 fail:
25288 return NULL;
25289 }
25290
25291
25292 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
25293 PyObject *resultobj;
25294 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25295 wxTreeItemId *arg2 = 0 ;
25296 bool result;
25297 PyObject * obj0 = 0 ;
25298 PyObject * obj1 = 0 ;
25299 char *kwnames[] = {
25300 (char *) "self",(char *) "item", NULL
25301 };
25302
25303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
25304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25307 SWIG_POINTER_EXCEPTION | 0)) == -1)
25308 SWIG_fail;
25309 if (arg2 == NULL) {
25310 PyErr_SetString(PyExc_TypeError,"null reference");
25311 SWIG_fail;
25312 }
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
25316
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 {
25321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25322 }
25323 return resultobj;
25324 fail:
25325 return NULL;
25326 }
25327
25328
25329 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
25330 PyObject *resultobj;
25331 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25332 wxTreeItemId *arg2 = 0 ;
25333 bool result;
25334 PyObject * obj0 = 0 ;
25335 PyObject * obj1 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self",(char *) "item", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
25341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25344 SWIG_POINTER_EXCEPTION | 0)) == -1)
25345 SWIG_fail;
25346 if (arg2 == NULL) {
25347 PyErr_SetString(PyExc_TypeError,"null reference");
25348 SWIG_fail;
25349 }
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25353
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 {
25358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25359 }
25360 return resultobj;
25361 fail:
25362 return NULL;
25363 }
25364
25365
25366 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25367 PyObject *resultobj;
25368 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25369 wxTreeItemId *arg2 = 0 ;
25370 bool result;
25371 PyObject * obj0 = 0 ;
25372 PyObject * obj1 = 0 ;
25373 char *kwnames[] = {
25374 (char *) "self",(char *) "item", NULL
25375 };
25376
25377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
25378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25380 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25381 SWIG_POINTER_EXCEPTION | 0)) == -1)
25382 SWIG_fail;
25383 if (arg2 == NULL) {
25384 PyErr_SetString(PyExc_TypeError,"null reference");
25385 SWIG_fail;
25386 }
25387 {
25388 PyThreadState* __tstate = wxPyBeginAllowThreads();
25389 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25390
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 {
25395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25396 }
25397 return resultobj;
25398 fail:
25399 return NULL;
25400 }
25401
25402
25403 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25404 PyObject *resultobj;
25405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25406 wxTreeItemId *arg2 = 0 ;
25407 bool arg3 = (bool) True ;
25408 size_t result;
25409 PyObject * obj0 = 0 ;
25410 PyObject * obj1 = 0 ;
25411 PyObject * obj2 = 0 ;
25412 char *kwnames[] = {
25413 (char *) "self",(char *) "item",(char *) "recursively", NULL
25414 };
25415
25416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
25417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25420 SWIG_POINTER_EXCEPTION | 0)) == -1)
25421 SWIG_fail;
25422 if (arg2 == NULL) {
25423 PyErr_SetString(PyExc_TypeError,"null reference");
25424 SWIG_fail;
25425 }
25426 if (obj2) {
25427 arg3 = (bool) SWIG_AsBool(obj2);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 {
25431 PyThreadState* __tstate = wxPyBeginAllowThreads();
25432 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25433
25434 wxPyEndAllowThreads(__tstate);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 }
25437 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25438 return resultobj;
25439 fail:
25440 return NULL;
25441 }
25442
25443
25444 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25445 PyObject *resultobj;
25446 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25447 wxTreeItemId result;
25448 PyObject * obj0 = 0 ;
25449 char *kwnames[] = {
25450 (char *) "self", NULL
25451 };
25452
25453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25456 {
25457 PyThreadState* __tstate = wxPyBeginAllowThreads();
25458 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25459
25460 wxPyEndAllowThreads(__tstate);
25461 if (PyErr_Occurred()) SWIG_fail;
25462 }
25463 {
25464 wxTreeItemId * resultptr;
25465 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25467 }
25468 return resultobj;
25469 fail:
25470 return NULL;
25471 }
25472
25473
25474 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25475 PyObject *resultobj;
25476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25477 wxTreeItemId result;
25478 PyObject * obj0 = 0 ;
25479 char *kwnames[] = {
25480 (char *) "self", NULL
25481 };
25482
25483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25486 {
25487 PyThreadState* __tstate = wxPyBeginAllowThreads();
25488 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25489
25490 wxPyEndAllowThreads(__tstate);
25491 if (PyErr_Occurred()) SWIG_fail;
25492 }
25493 {
25494 wxTreeItemId * resultptr;
25495 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25497 }
25498 return resultobj;
25499 fail:
25500 return NULL;
25501 }
25502
25503
25504 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25505 PyObject *resultobj;
25506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25507 PyObject *result;
25508 PyObject * obj0 = 0 ;
25509 char *kwnames[] = {
25510 (char *) "self", NULL
25511 };
25512
25513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25516 {
25517 PyThreadState* __tstate = wxPyBeginAllowThreads();
25518 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25519
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 resultobj = result;
25524 return resultobj;
25525 fail:
25526 return NULL;
25527 }
25528
25529
25530 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25531 PyObject *resultobj;
25532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25533 wxTreeItemId *arg2 = 0 ;
25534 wxTreeItemId result;
25535 PyObject * obj0 = 0 ;
25536 PyObject * obj1 = 0 ;
25537 char *kwnames[] = {
25538 (char *) "self",(char *) "item", NULL
25539 };
25540
25541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25545 SWIG_POINTER_EXCEPTION | 0)) == -1)
25546 SWIG_fail;
25547 if (arg2 == NULL) {
25548 PyErr_SetString(PyExc_TypeError,"null reference");
25549 SWIG_fail;
25550 }
25551 {
25552 PyThreadState* __tstate = wxPyBeginAllowThreads();
25553 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25554
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 {
25559 wxTreeItemId * resultptr;
25560 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25561 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25562 }
25563 return resultobj;
25564 fail:
25565 return NULL;
25566 }
25567
25568
25569 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25570 PyObject *resultobj;
25571 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25572 wxTreeItemId *arg2 = 0 ;
25573 PyObject *result;
25574 PyObject * obj0 = 0 ;
25575 PyObject * obj1 = 0 ;
25576 char *kwnames[] = {
25577 (char *) "self",(char *) "item", NULL
25578 };
25579
25580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25583 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25584 SWIG_POINTER_EXCEPTION | 0)) == -1)
25585 SWIG_fail;
25586 if (arg2 == NULL) {
25587 PyErr_SetString(PyExc_TypeError,"null reference");
25588 SWIG_fail;
25589 }
25590 {
25591 PyThreadState* __tstate = wxPyBeginAllowThreads();
25592 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25593
25594 wxPyEndAllowThreads(__tstate);
25595 if (PyErr_Occurred()) SWIG_fail;
25596 }
25597 resultobj = result;
25598 return resultobj;
25599 fail:
25600 return NULL;
25601 }
25602
25603
25604 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25605 PyObject *resultobj;
25606 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25607 wxTreeItemId *arg2 = 0 ;
25608 void *arg3 = (void *) 0 ;
25609 PyObject *result;
25610 PyObject * obj0 = 0 ;
25611 PyObject * obj1 = 0 ;
25612 PyObject * obj2 = 0 ;
25613 char *kwnames[] = {
25614 (char *) "self",(char *) "item",(char *) "cookie", NULL
25615 };
25616
25617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25621 SWIG_POINTER_EXCEPTION | 0)) == -1)
25622 SWIG_fail;
25623 if (arg2 == NULL) {
25624 PyErr_SetString(PyExc_TypeError,"null reference");
25625 SWIG_fail;
25626 }
25627 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25628 {
25629 PyThreadState* __tstate = wxPyBeginAllowThreads();
25630 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25631
25632 wxPyEndAllowThreads(__tstate);
25633 if (PyErr_Occurred()) SWIG_fail;
25634 }
25635 resultobj = result;
25636 return resultobj;
25637 fail:
25638 return NULL;
25639 }
25640
25641
25642 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25643 PyObject *resultobj;
25644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25645 wxTreeItemId *arg2 = 0 ;
25646 wxTreeItemId result;
25647 PyObject * obj0 = 0 ;
25648 PyObject * obj1 = 0 ;
25649 char *kwnames[] = {
25650 (char *) "self",(char *) "item", NULL
25651 };
25652
25653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25657 SWIG_POINTER_EXCEPTION | 0)) == -1)
25658 SWIG_fail;
25659 if (arg2 == NULL) {
25660 PyErr_SetString(PyExc_TypeError,"null reference");
25661 SWIG_fail;
25662 }
25663 {
25664 PyThreadState* __tstate = wxPyBeginAllowThreads();
25665 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25666
25667 wxPyEndAllowThreads(__tstate);
25668 if (PyErr_Occurred()) SWIG_fail;
25669 }
25670 {
25671 wxTreeItemId * resultptr;
25672 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25673 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25674 }
25675 return resultobj;
25676 fail:
25677 return NULL;
25678 }
25679
25680
25681 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25682 PyObject *resultobj;
25683 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25684 wxTreeItemId *arg2 = 0 ;
25685 wxTreeItemId result;
25686 PyObject * obj0 = 0 ;
25687 PyObject * obj1 = 0 ;
25688 char *kwnames[] = {
25689 (char *) "self",(char *) "item", NULL
25690 };
25691
25692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25696 SWIG_POINTER_EXCEPTION | 0)) == -1)
25697 SWIG_fail;
25698 if (arg2 == NULL) {
25699 PyErr_SetString(PyExc_TypeError,"null reference");
25700 SWIG_fail;
25701 }
25702 {
25703 PyThreadState* __tstate = wxPyBeginAllowThreads();
25704 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25705
25706 wxPyEndAllowThreads(__tstate);
25707 if (PyErr_Occurred()) SWIG_fail;
25708 }
25709 {
25710 wxTreeItemId * resultptr;
25711 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25713 }
25714 return resultobj;
25715 fail:
25716 return NULL;
25717 }
25718
25719
25720 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25721 PyObject *resultobj;
25722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25723 wxTreeItemId *arg2 = 0 ;
25724 wxTreeItemId result;
25725 PyObject * obj0 = 0 ;
25726 PyObject * obj1 = 0 ;
25727 char *kwnames[] = {
25728 (char *) "self",(char *) "item", NULL
25729 };
25730
25731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25735 SWIG_POINTER_EXCEPTION | 0)) == -1)
25736 SWIG_fail;
25737 if (arg2 == NULL) {
25738 PyErr_SetString(PyExc_TypeError,"null reference");
25739 SWIG_fail;
25740 }
25741 {
25742 PyThreadState* __tstate = wxPyBeginAllowThreads();
25743 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25744
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 {
25749 wxTreeItemId * resultptr;
25750 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25752 }
25753 return resultobj;
25754 fail:
25755 return NULL;
25756 }
25757
25758
25759 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25760 PyObject *resultobj;
25761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25762 wxTreeItemId result;
25763 PyObject * obj0 = 0 ;
25764 char *kwnames[] = {
25765 (char *) "self", NULL
25766 };
25767
25768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25771 {
25772 PyThreadState* __tstate = wxPyBeginAllowThreads();
25773 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25774
25775 wxPyEndAllowThreads(__tstate);
25776 if (PyErr_Occurred()) SWIG_fail;
25777 }
25778 {
25779 wxTreeItemId * resultptr;
25780 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25782 }
25783 return resultobj;
25784 fail:
25785 return NULL;
25786 }
25787
25788
25789 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25790 PyObject *resultobj;
25791 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25792 wxTreeItemId *arg2 = 0 ;
25793 wxTreeItemId result;
25794 PyObject * obj0 = 0 ;
25795 PyObject * obj1 = 0 ;
25796 char *kwnames[] = {
25797 (char *) "self",(char *) "item", NULL
25798 };
25799
25800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25804 SWIG_POINTER_EXCEPTION | 0)) == -1)
25805 SWIG_fail;
25806 if (arg2 == NULL) {
25807 PyErr_SetString(PyExc_TypeError,"null reference");
25808 SWIG_fail;
25809 }
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25813
25814 wxPyEndAllowThreads(__tstate);
25815 if (PyErr_Occurred()) SWIG_fail;
25816 }
25817 {
25818 wxTreeItemId * resultptr;
25819 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25821 }
25822 return resultobj;
25823 fail:
25824 return NULL;
25825 }
25826
25827
25828 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25829 PyObject *resultobj;
25830 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25831 wxTreeItemId *arg2 = 0 ;
25832 wxTreeItemId result;
25833 PyObject * obj0 = 0 ;
25834 PyObject * obj1 = 0 ;
25835 char *kwnames[] = {
25836 (char *) "self",(char *) "item", NULL
25837 };
25838
25839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25843 SWIG_POINTER_EXCEPTION | 0)) == -1)
25844 SWIG_fail;
25845 if (arg2 == NULL) {
25846 PyErr_SetString(PyExc_TypeError,"null reference");
25847 SWIG_fail;
25848 }
25849 {
25850 PyThreadState* __tstate = wxPyBeginAllowThreads();
25851 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25852
25853 wxPyEndAllowThreads(__tstate);
25854 if (PyErr_Occurred()) SWIG_fail;
25855 }
25856 {
25857 wxTreeItemId * resultptr;
25858 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25859 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25860 }
25861 return resultobj;
25862 fail:
25863 return NULL;
25864 }
25865
25866
25867 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25868 PyObject *resultobj;
25869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25870 wxString *arg2 = 0 ;
25871 int arg3 = (int) -1 ;
25872 int arg4 = (int) -1 ;
25873 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25874 wxTreeItemId result;
25875 bool temp2 = False ;
25876 PyObject * obj0 = 0 ;
25877 PyObject * obj1 = 0 ;
25878 PyObject * obj2 = 0 ;
25879 PyObject * obj3 = 0 ;
25880 PyObject * obj4 = 0 ;
25881 char *kwnames[] = {
25882 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25883 };
25884
25885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25888 {
25889 arg2 = wxString_in_helper(obj1);
25890 if (arg2 == NULL) SWIG_fail;
25891 temp2 = True;
25892 }
25893 if (obj2) {
25894 arg3 = (int) SWIG_AsInt(obj2);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 if (obj3) {
25898 arg4 = (int) SWIG_AsInt(obj3);
25899 if (PyErr_Occurred()) SWIG_fail;
25900 }
25901 if (obj4) {
25902 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25904 }
25905 {
25906 PyThreadState* __tstate = wxPyBeginAllowThreads();
25907 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25908
25909 wxPyEndAllowThreads(__tstate);
25910 if (PyErr_Occurred()) SWIG_fail;
25911 }
25912 {
25913 wxTreeItemId * resultptr;
25914 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25916 }
25917 {
25918 if (temp2)
25919 delete arg2;
25920 }
25921 return resultobj;
25922 fail:
25923 {
25924 if (temp2)
25925 delete arg2;
25926 }
25927 return NULL;
25928 }
25929
25930
25931 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25932 PyObject *resultobj;
25933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25934 wxTreeItemId *arg2 = 0 ;
25935 wxString *arg3 = 0 ;
25936 int arg4 = (int) -1 ;
25937 int arg5 = (int) -1 ;
25938 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25939 wxTreeItemId result;
25940 bool temp3 = False ;
25941 PyObject * obj0 = 0 ;
25942 PyObject * obj1 = 0 ;
25943 PyObject * obj2 = 0 ;
25944 PyObject * obj3 = 0 ;
25945 PyObject * obj4 = 0 ;
25946 PyObject * obj5 = 0 ;
25947 char *kwnames[] = {
25948 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25949 };
25950
25951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25954 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25955 SWIG_POINTER_EXCEPTION | 0)) == -1)
25956 SWIG_fail;
25957 if (arg2 == NULL) {
25958 PyErr_SetString(PyExc_TypeError,"null reference");
25959 SWIG_fail;
25960 }
25961 {
25962 arg3 = wxString_in_helper(obj2);
25963 if (arg3 == NULL) SWIG_fail;
25964 temp3 = True;
25965 }
25966 if (obj3) {
25967 arg4 = (int) SWIG_AsInt(obj3);
25968 if (PyErr_Occurred()) SWIG_fail;
25969 }
25970 if (obj4) {
25971 arg5 = (int) SWIG_AsInt(obj4);
25972 if (PyErr_Occurred()) SWIG_fail;
25973 }
25974 if (obj5) {
25975 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25977 }
25978 {
25979 PyThreadState* __tstate = wxPyBeginAllowThreads();
25980 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25981
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 {
25986 wxTreeItemId * resultptr;
25987 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25988 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25989 }
25990 {
25991 if (temp3)
25992 delete arg3;
25993 }
25994 return resultobj;
25995 fail:
25996 {
25997 if (temp3)
25998 delete arg3;
25999 }
26000 return NULL;
26001 }
26002
26003
26004 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26005 PyObject *resultobj;
26006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26007 wxTreeItemId *arg2 = 0 ;
26008 wxTreeItemId *arg3 = 0 ;
26009 wxString *arg4 = 0 ;
26010 int arg5 = (int) -1 ;
26011 int arg6 = (int) -1 ;
26012 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26013 wxTreeItemId result;
26014 bool temp4 = False ;
26015 PyObject * obj0 = 0 ;
26016 PyObject * obj1 = 0 ;
26017 PyObject * obj2 = 0 ;
26018 PyObject * obj3 = 0 ;
26019 PyObject * obj4 = 0 ;
26020 PyObject * obj5 = 0 ;
26021 PyObject * obj6 = 0 ;
26022 char *kwnames[] = {
26023 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26024 };
26025
26026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26029 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26030 SWIG_POINTER_EXCEPTION | 0)) == -1)
26031 SWIG_fail;
26032 if (arg2 == NULL) {
26033 PyErr_SetString(PyExc_TypeError,"null reference");
26034 SWIG_fail;
26035 }
26036 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26037 SWIG_POINTER_EXCEPTION | 0)) == -1)
26038 SWIG_fail;
26039 if (arg3 == NULL) {
26040 PyErr_SetString(PyExc_TypeError,"null reference");
26041 SWIG_fail;
26042 }
26043 {
26044 arg4 = wxString_in_helper(obj3);
26045 if (arg4 == NULL) SWIG_fail;
26046 temp4 = True;
26047 }
26048 if (obj4) {
26049 arg5 = (int) SWIG_AsInt(obj4);
26050 if (PyErr_Occurred()) SWIG_fail;
26051 }
26052 if (obj5) {
26053 arg6 = (int) SWIG_AsInt(obj5);
26054 if (PyErr_Occurred()) SWIG_fail;
26055 }
26056 if (obj6) {
26057 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26059 }
26060 {
26061 PyThreadState* __tstate = wxPyBeginAllowThreads();
26062 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26063
26064 wxPyEndAllowThreads(__tstate);
26065 if (PyErr_Occurred()) SWIG_fail;
26066 }
26067 {
26068 wxTreeItemId * resultptr;
26069 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26070 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26071 }
26072 {
26073 if (temp4)
26074 delete arg4;
26075 }
26076 return resultobj;
26077 fail:
26078 {
26079 if (temp4)
26080 delete arg4;
26081 }
26082 return NULL;
26083 }
26084
26085
26086 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
26087 PyObject *resultobj;
26088 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26089 wxTreeItemId *arg2 = 0 ;
26090 size_t arg3 ;
26091 wxString *arg4 = 0 ;
26092 int arg5 = (int) -1 ;
26093 int arg6 = (int) -1 ;
26094 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26095 wxTreeItemId result;
26096 bool temp4 = False ;
26097 PyObject * obj0 = 0 ;
26098 PyObject * obj1 = 0 ;
26099 PyObject * obj2 = 0 ;
26100 PyObject * obj3 = 0 ;
26101 PyObject * obj4 = 0 ;
26102 PyObject * obj5 = 0 ;
26103 PyObject * obj6 = 0 ;
26104 char *kwnames[] = {
26105 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26106 };
26107
26108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26112 SWIG_POINTER_EXCEPTION | 0)) == -1)
26113 SWIG_fail;
26114 if (arg2 == NULL) {
26115 PyErr_SetString(PyExc_TypeError,"null reference");
26116 SWIG_fail;
26117 }
26118 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
26119 if (PyErr_Occurred()) SWIG_fail;
26120 {
26121 arg4 = wxString_in_helper(obj3);
26122 if (arg4 == NULL) SWIG_fail;
26123 temp4 = True;
26124 }
26125 if (obj4) {
26126 arg5 = (int) SWIG_AsInt(obj4);
26127 if (PyErr_Occurred()) SWIG_fail;
26128 }
26129 if (obj5) {
26130 arg6 = (int) SWIG_AsInt(obj5);
26131 if (PyErr_Occurred()) SWIG_fail;
26132 }
26133 if (obj6) {
26134 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26136 }
26137 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26140
26141 wxPyEndAllowThreads(__tstate);
26142 if (PyErr_Occurred()) SWIG_fail;
26143 }
26144 {
26145 wxTreeItemId * resultptr;
26146 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26148 }
26149 {
26150 if (temp4)
26151 delete arg4;
26152 }
26153 return resultobj;
26154 fail:
26155 {
26156 if (temp4)
26157 delete arg4;
26158 }
26159 return NULL;
26160 }
26161
26162
26163 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26164 PyObject *resultobj;
26165 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26166 wxTreeItemId *arg2 = 0 ;
26167 wxString *arg3 = 0 ;
26168 int arg4 = (int) -1 ;
26169 int arg5 = (int) -1 ;
26170 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26171 wxTreeItemId result;
26172 bool temp3 = False ;
26173 PyObject * obj0 = 0 ;
26174 PyObject * obj1 = 0 ;
26175 PyObject * obj2 = 0 ;
26176 PyObject * obj3 = 0 ;
26177 PyObject * obj4 = 0 ;
26178 PyObject * obj5 = 0 ;
26179 char *kwnames[] = {
26180 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26181 };
26182
26183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26187 SWIG_POINTER_EXCEPTION | 0)) == -1)
26188 SWIG_fail;
26189 if (arg2 == NULL) {
26190 PyErr_SetString(PyExc_TypeError,"null reference");
26191 SWIG_fail;
26192 }
26193 {
26194 arg3 = wxString_in_helper(obj2);
26195 if (arg3 == NULL) SWIG_fail;
26196 temp3 = True;
26197 }
26198 if (obj3) {
26199 arg4 = (int) SWIG_AsInt(obj3);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 }
26202 if (obj4) {
26203 arg5 = (int) SWIG_AsInt(obj4);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 }
26206 if (obj5) {
26207 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26209 }
26210 {
26211 PyThreadState* __tstate = wxPyBeginAllowThreads();
26212 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26213
26214 wxPyEndAllowThreads(__tstate);
26215 if (PyErr_Occurred()) SWIG_fail;
26216 }
26217 {
26218 wxTreeItemId * resultptr;
26219 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26220 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26221 }
26222 {
26223 if (temp3)
26224 delete arg3;
26225 }
26226 return resultobj;
26227 fail:
26228 {
26229 if (temp3)
26230 delete arg3;
26231 }
26232 return NULL;
26233 }
26234
26235
26236 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
26237 PyObject *resultobj;
26238 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26239 wxTreeItemId *arg2 = 0 ;
26240 PyObject * obj0 = 0 ;
26241 PyObject * obj1 = 0 ;
26242 char *kwnames[] = {
26243 (char *) "self",(char *) "item", NULL
26244 };
26245
26246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
26247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26250 SWIG_POINTER_EXCEPTION | 0)) == -1)
26251 SWIG_fail;
26252 if (arg2 == NULL) {
26253 PyErr_SetString(PyExc_TypeError,"null reference");
26254 SWIG_fail;
26255 }
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 (arg1)->Delete((wxTreeItemId const &)*arg2);
26259
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 Py_INCREF(Py_None); resultobj = Py_None;
26264 return resultobj;
26265 fail:
26266 return NULL;
26267 }
26268
26269
26270 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26271 PyObject *resultobj;
26272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26273 wxTreeItemId *arg2 = 0 ;
26274 PyObject * obj0 = 0 ;
26275 PyObject * obj1 = 0 ;
26276 char *kwnames[] = {
26277 (char *) "self",(char *) "item", NULL
26278 };
26279
26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
26281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26284 SWIG_POINTER_EXCEPTION | 0)) == -1)
26285 SWIG_fail;
26286 if (arg2 == NULL) {
26287 PyErr_SetString(PyExc_TypeError,"null reference");
26288 SWIG_fail;
26289 }
26290 {
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
26293
26294 wxPyEndAllowThreads(__tstate);
26295 if (PyErr_Occurred()) SWIG_fail;
26296 }
26297 Py_INCREF(Py_None); resultobj = Py_None;
26298 return resultobj;
26299 fail:
26300 return NULL;
26301 }
26302
26303
26304 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26305 PyObject *resultobj;
26306 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26307 PyObject * obj0 = 0 ;
26308 char *kwnames[] = {
26309 (char *) "self", NULL
26310 };
26311
26312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
26313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26315 {
26316 PyThreadState* __tstate = wxPyBeginAllowThreads();
26317 (arg1)->DeleteAllItems();
26318
26319 wxPyEndAllowThreads(__tstate);
26320 if (PyErr_Occurred()) SWIG_fail;
26321 }
26322 Py_INCREF(Py_None); resultobj = Py_None;
26323 return resultobj;
26324 fail:
26325 return NULL;
26326 }
26327
26328
26329 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
26330 PyObject *resultobj;
26331 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26332 wxTreeItemId *arg2 = 0 ;
26333 PyObject * obj0 = 0 ;
26334 PyObject * obj1 = 0 ;
26335 char *kwnames[] = {
26336 (char *) "self",(char *) "item", NULL
26337 };
26338
26339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
26340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26343 SWIG_POINTER_EXCEPTION | 0)) == -1)
26344 SWIG_fail;
26345 if (arg2 == NULL) {
26346 PyErr_SetString(PyExc_TypeError,"null reference");
26347 SWIG_fail;
26348 }
26349 {
26350 PyThreadState* __tstate = wxPyBeginAllowThreads();
26351 (arg1)->Expand((wxTreeItemId const &)*arg2);
26352
26353 wxPyEndAllowThreads(__tstate);
26354 if (PyErr_Occurred()) SWIG_fail;
26355 }
26356 Py_INCREF(Py_None); resultobj = Py_None;
26357 return resultobj;
26358 fail:
26359 return NULL;
26360 }
26361
26362
26363 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
26364 PyObject *resultobj;
26365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26366 wxTreeItemId *arg2 = 0 ;
26367 PyObject * obj0 = 0 ;
26368 PyObject * obj1 = 0 ;
26369 char *kwnames[] = {
26370 (char *) "self",(char *) "item", NULL
26371 };
26372
26373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
26374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26377 SWIG_POINTER_EXCEPTION | 0)) == -1)
26378 SWIG_fail;
26379 if (arg2 == NULL) {
26380 PyErr_SetString(PyExc_TypeError,"null reference");
26381 SWIG_fail;
26382 }
26383 {
26384 PyThreadState* __tstate = wxPyBeginAllowThreads();
26385 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26386
26387 wxPyEndAllowThreads(__tstate);
26388 if (PyErr_Occurred()) SWIG_fail;
26389 }
26390 Py_INCREF(Py_None); resultobj = Py_None;
26391 return resultobj;
26392 fail:
26393 return NULL;
26394 }
26395
26396
26397 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
26398 PyObject *resultobj;
26399 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26400 wxTreeItemId *arg2 = 0 ;
26401 PyObject * obj0 = 0 ;
26402 PyObject * obj1 = 0 ;
26403 char *kwnames[] = {
26404 (char *) "self",(char *) "item", NULL
26405 };
26406
26407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
26408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26411 SWIG_POINTER_EXCEPTION | 0)) == -1)
26412 SWIG_fail;
26413 if (arg2 == NULL) {
26414 PyErr_SetString(PyExc_TypeError,"null reference");
26415 SWIG_fail;
26416 }
26417 {
26418 PyThreadState* __tstate = wxPyBeginAllowThreads();
26419 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26420
26421 wxPyEndAllowThreads(__tstate);
26422 if (PyErr_Occurred()) SWIG_fail;
26423 }
26424 Py_INCREF(Py_None); resultobj = Py_None;
26425 return resultobj;
26426 fail:
26427 return NULL;
26428 }
26429
26430
26431 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
26432 PyObject *resultobj;
26433 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26434 wxTreeItemId *arg2 = 0 ;
26435 PyObject * obj0 = 0 ;
26436 PyObject * obj1 = 0 ;
26437 char *kwnames[] = {
26438 (char *) "self",(char *) "item", NULL
26439 };
26440
26441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
26442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26445 SWIG_POINTER_EXCEPTION | 0)) == -1)
26446 SWIG_fail;
26447 if (arg2 == NULL) {
26448 PyErr_SetString(PyExc_TypeError,"null reference");
26449 SWIG_fail;
26450 }
26451 {
26452 PyThreadState* __tstate = wxPyBeginAllowThreads();
26453 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26454
26455 wxPyEndAllowThreads(__tstate);
26456 if (PyErr_Occurred()) SWIG_fail;
26457 }
26458 Py_INCREF(Py_None); resultobj = Py_None;
26459 return resultobj;
26460 fail:
26461 return NULL;
26462 }
26463
26464
26465 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
26466 PyObject *resultobj;
26467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26468 PyObject * obj0 = 0 ;
26469 char *kwnames[] = {
26470 (char *) "self", NULL
26471 };
26472
26473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
26474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26476 {
26477 PyThreadState* __tstate = wxPyBeginAllowThreads();
26478 (arg1)->Unselect();
26479
26480 wxPyEndAllowThreads(__tstate);
26481 if (PyErr_Occurred()) SWIG_fail;
26482 }
26483 Py_INCREF(Py_None); resultobj = Py_None;
26484 return resultobj;
26485 fail:
26486 return NULL;
26487 }
26488
26489
26490 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26491 PyObject *resultobj;
26492 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26493 wxTreeItemId *arg2 = 0 ;
26494 PyObject * obj0 = 0 ;
26495 PyObject * obj1 = 0 ;
26496 char *kwnames[] = {
26497 (char *) "self",(char *) "item", NULL
26498 };
26499
26500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26504 SWIG_POINTER_EXCEPTION | 0)) == -1)
26505 SWIG_fail;
26506 if (arg2 == NULL) {
26507 PyErr_SetString(PyExc_TypeError,"null reference");
26508 SWIG_fail;
26509 }
26510 {
26511 PyThreadState* __tstate = wxPyBeginAllowThreads();
26512 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26513
26514 wxPyEndAllowThreads(__tstate);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 }
26517 Py_INCREF(Py_None); resultobj = Py_None;
26518 return resultobj;
26519 fail:
26520 return NULL;
26521 }
26522
26523
26524 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26525 PyObject *resultobj;
26526 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26527 PyObject * obj0 = 0 ;
26528 char *kwnames[] = {
26529 (char *) "self", NULL
26530 };
26531
26532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26535 {
26536 PyThreadState* __tstate = wxPyBeginAllowThreads();
26537 (arg1)->UnselectAll();
26538
26539 wxPyEndAllowThreads(__tstate);
26540 if (PyErr_Occurred()) SWIG_fail;
26541 }
26542 Py_INCREF(Py_None); resultobj = Py_None;
26543 return resultobj;
26544 fail:
26545 return NULL;
26546 }
26547
26548
26549 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26550 PyObject *resultobj;
26551 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26552 wxTreeItemId *arg2 = 0 ;
26553 bool arg3 = (bool) True ;
26554 PyObject * obj0 = 0 ;
26555 PyObject * obj1 = 0 ;
26556 PyObject * obj2 = 0 ;
26557 char *kwnames[] = {
26558 (char *) "self",(char *) "item",(char *) "select", NULL
26559 };
26560
26561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26565 SWIG_POINTER_EXCEPTION | 0)) == -1)
26566 SWIG_fail;
26567 if (arg2 == NULL) {
26568 PyErr_SetString(PyExc_TypeError,"null reference");
26569 SWIG_fail;
26570 }
26571 if (obj2) {
26572 arg3 = (bool) SWIG_AsBool(obj2);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 }
26575 {
26576 PyThreadState* __tstate = wxPyBeginAllowThreads();
26577 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26578
26579 wxPyEndAllowThreads(__tstate);
26580 if (PyErr_Occurred()) SWIG_fail;
26581 }
26582 Py_INCREF(Py_None); resultobj = Py_None;
26583 return resultobj;
26584 fail:
26585 return NULL;
26586 }
26587
26588
26589 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26590 PyObject *resultobj;
26591 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26592 wxTreeItemId *arg2 = 0 ;
26593 PyObject * obj0 = 0 ;
26594 PyObject * obj1 = 0 ;
26595 char *kwnames[] = {
26596 (char *) "self",(char *) "item", NULL
26597 };
26598
26599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26603 SWIG_POINTER_EXCEPTION | 0)) == -1)
26604 SWIG_fail;
26605 if (arg2 == NULL) {
26606 PyErr_SetString(PyExc_TypeError,"null reference");
26607 SWIG_fail;
26608 }
26609 {
26610 PyThreadState* __tstate = wxPyBeginAllowThreads();
26611 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26612
26613 wxPyEndAllowThreads(__tstate);
26614 if (PyErr_Occurred()) SWIG_fail;
26615 }
26616 Py_INCREF(Py_None); resultobj = Py_None;
26617 return resultobj;
26618 fail:
26619 return NULL;
26620 }
26621
26622
26623 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26624 PyObject *resultobj;
26625 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26626 wxTreeItemId *arg2 = 0 ;
26627 PyObject * obj0 = 0 ;
26628 PyObject * obj1 = 0 ;
26629 char *kwnames[] = {
26630 (char *) "self",(char *) "item", NULL
26631 };
26632
26633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26637 SWIG_POINTER_EXCEPTION | 0)) == -1)
26638 SWIG_fail;
26639 if (arg2 == NULL) {
26640 PyErr_SetString(PyExc_TypeError,"null reference");
26641 SWIG_fail;
26642 }
26643 {
26644 PyThreadState* __tstate = wxPyBeginAllowThreads();
26645 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26646
26647 wxPyEndAllowThreads(__tstate);
26648 if (PyErr_Occurred()) SWIG_fail;
26649 }
26650 Py_INCREF(Py_None); resultobj = Py_None;
26651 return resultobj;
26652 fail:
26653 return NULL;
26654 }
26655
26656
26657 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26658 PyObject *resultobj;
26659 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26660 wxTreeItemId *arg2 = 0 ;
26661 PyObject * obj0 = 0 ;
26662 PyObject * obj1 = 0 ;
26663 char *kwnames[] = {
26664 (char *) "self",(char *) "item", NULL
26665 };
26666
26667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26671 SWIG_POINTER_EXCEPTION | 0)) == -1)
26672 SWIG_fail;
26673 if (arg2 == NULL) {
26674 PyErr_SetString(PyExc_TypeError,"null reference");
26675 SWIG_fail;
26676 }
26677 {
26678 PyThreadState* __tstate = wxPyBeginAllowThreads();
26679 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26680
26681 wxPyEndAllowThreads(__tstate);
26682 if (PyErr_Occurred()) SWIG_fail;
26683 }
26684 Py_INCREF(Py_None); resultobj = Py_None;
26685 return resultobj;
26686 fail:
26687 return NULL;
26688 }
26689
26690
26691 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26692 PyObject *resultobj;
26693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26694 wxTreeItemId *arg2 = 0 ;
26695 PyObject * obj0 = 0 ;
26696 PyObject * obj1 = 0 ;
26697 char *kwnames[] = {
26698 (char *) "self",(char *) "item", NULL
26699 };
26700
26701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26705 SWIG_POINTER_EXCEPTION | 0)) == -1)
26706 SWIG_fail;
26707 if (arg2 == NULL) {
26708 PyErr_SetString(PyExc_TypeError,"null reference");
26709 SWIG_fail;
26710 }
26711 {
26712 PyThreadState* __tstate = wxPyBeginAllowThreads();
26713 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26714
26715 wxPyEndAllowThreads(__tstate);
26716 if (PyErr_Occurred()) SWIG_fail;
26717 }
26718 Py_INCREF(Py_None); resultobj = Py_None;
26719 return resultobj;
26720 fail:
26721 return NULL;
26722 }
26723
26724
26725 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26726 PyObject *resultobj;
26727 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26728 wxTextCtrl *result;
26729 PyObject * obj0 = 0 ;
26730 char *kwnames[] = {
26731 (char *) "self", NULL
26732 };
26733
26734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26737 {
26738 PyThreadState* __tstate = wxPyBeginAllowThreads();
26739 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26740
26741 wxPyEndAllowThreads(__tstate);
26742 if (PyErr_Occurred()) SWIG_fail;
26743 }
26744 {
26745 resultobj = wxPyMake_wxObject(result);
26746 }
26747 return resultobj;
26748 fail:
26749 return NULL;
26750 }
26751
26752
26753 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26754 PyObject *resultobj;
26755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26756 wxTreeItemId *arg2 = 0 ;
26757 PyObject * obj0 = 0 ;
26758 PyObject * obj1 = 0 ;
26759 char *kwnames[] = {
26760 (char *) "self",(char *) "item", NULL
26761 };
26762
26763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26767 SWIG_POINTER_EXCEPTION | 0)) == -1)
26768 SWIG_fail;
26769 if (arg2 == NULL) {
26770 PyErr_SetString(PyExc_TypeError,"null reference");
26771 SWIG_fail;
26772 }
26773 {
26774 PyThreadState* __tstate = wxPyBeginAllowThreads();
26775 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26776
26777 wxPyEndAllowThreads(__tstate);
26778 if (PyErr_Occurred()) SWIG_fail;
26779 }
26780 Py_INCREF(Py_None); resultobj = Py_None;
26781 return resultobj;
26782 fail:
26783 return NULL;
26784 }
26785
26786
26787 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26788 PyObject *resultobj;
26789 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26790 wxPoint *arg2 = 0 ;
26791 int *arg3 = 0 ;
26792 wxTreeItemId result;
26793 wxPoint temp2 ;
26794 int temp3 ;
26795 PyObject * obj0 = 0 ;
26796 PyObject * obj1 = 0 ;
26797 char *kwnames[] = {
26798 (char *) "self",(char *) "point", NULL
26799 };
26800
26801 arg3 = &temp3;
26802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26805 {
26806 arg2 = &temp2;
26807 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26808 }
26809 {
26810 PyThreadState* __tstate = wxPyBeginAllowThreads();
26811 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26812
26813 wxPyEndAllowThreads(__tstate);
26814 if (PyErr_Occurred()) SWIG_fail;
26815 }
26816 {
26817 wxTreeItemId * resultptr;
26818 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26820 }
26821 {
26822 PyObject *o = PyInt_FromLong((long) (*arg3));
26823 resultobj = t_output_helper(resultobj,o);
26824 }
26825 return resultobj;
26826 fail:
26827 return NULL;
26828 }
26829
26830
26831 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26832 PyObject *resultobj;
26833 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26834 wxTreeItemId *arg2 = 0 ;
26835 bool arg3 = (bool) False ;
26836 PyObject *result;
26837 PyObject * obj0 = 0 ;
26838 PyObject * obj1 = 0 ;
26839 PyObject * obj2 = 0 ;
26840 char *kwnames[] = {
26841 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26842 };
26843
26844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26848 SWIG_POINTER_EXCEPTION | 0)) == -1)
26849 SWIG_fail;
26850 if (arg2 == NULL) {
26851 PyErr_SetString(PyExc_TypeError,"null reference");
26852 SWIG_fail;
26853 }
26854 if (obj2) {
26855 arg3 = (bool) SWIG_AsBool(obj2);
26856 if (PyErr_Occurred()) SWIG_fail;
26857 }
26858 {
26859 PyThreadState* __tstate = wxPyBeginAllowThreads();
26860 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26861
26862 wxPyEndAllowThreads(__tstate);
26863 if (PyErr_Occurred()) SWIG_fail;
26864 }
26865 resultobj = result;
26866 return resultobj;
26867 fail:
26868 return NULL;
26869 }
26870
26871
26872 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26873 PyObject *resultobj;
26874 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26875 wxVisualAttributes result;
26876 PyObject * obj0 = 0 ;
26877 char *kwnames[] = {
26878 (char *) "variant", NULL
26879 };
26880
26881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26882 if (obj0) {
26883 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
26884 if (PyErr_Occurred()) SWIG_fail;
26885 }
26886 {
26887 PyThreadState* __tstate = wxPyBeginAllowThreads();
26888 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26889
26890 wxPyEndAllowThreads(__tstate);
26891 if (PyErr_Occurred()) SWIG_fail;
26892 }
26893 {
26894 wxVisualAttributes * resultptr;
26895 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26897 }
26898 return resultobj;
26899 fail:
26900 return NULL;
26901 }
26902
26903
26904 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26905 PyObject *obj;
26906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26907 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26908 Py_INCREF(obj);
26909 return Py_BuildValue((char *)"");
26910 }
26911 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
26912 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26913 return 1;
26914 }
26915
26916
26917 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26918 PyObject *pyobj;
26919
26920 {
26921 #if wxUSE_UNICODE
26922 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26923 #else
26924 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26925 #endif
26926 }
26927 return pyobj;
26928 }
26929
26930
26931 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26932 PyObject *resultobj;
26933 wxWindow *arg1 = (wxWindow *) 0 ;
26934 int arg2 = (int) (int)-1 ;
26935 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26936 wxString *arg3 = (wxString *) &arg3_defvalue ;
26937 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26938 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26939 wxSize const &arg5_defvalue = wxDefaultSize ;
26940 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26941 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26942 wxString const &arg7_defvalue = wxPyEmptyString ;
26943 wxString *arg7 = (wxString *) &arg7_defvalue ;
26944 int arg8 = (int) 0 ;
26945 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26946 wxString *arg9 = (wxString *) &arg9_defvalue ;
26947 wxGenericDirCtrl *result;
26948 bool temp3 = False ;
26949 wxPoint temp4 ;
26950 wxSize temp5 ;
26951 bool temp7 = False ;
26952 bool temp9 = False ;
26953 PyObject * obj0 = 0 ;
26954 PyObject * obj1 = 0 ;
26955 PyObject * obj2 = 0 ;
26956 PyObject * obj3 = 0 ;
26957 PyObject * obj4 = 0 ;
26958 PyObject * obj5 = 0 ;
26959 PyObject * obj6 = 0 ;
26960 PyObject * obj7 = 0 ;
26961 PyObject * obj8 = 0 ;
26962 char *kwnames[] = {
26963 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26964 };
26965
26966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26969 if (obj1) {
26970 arg2 = (int const) SWIG_AsInt(obj1);
26971 if (PyErr_Occurred()) SWIG_fail;
26972 }
26973 if (obj2) {
26974 {
26975 arg3 = wxString_in_helper(obj2);
26976 if (arg3 == NULL) SWIG_fail;
26977 temp3 = True;
26978 }
26979 }
26980 if (obj3) {
26981 {
26982 arg4 = &temp4;
26983 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26984 }
26985 }
26986 if (obj4) {
26987 {
26988 arg5 = &temp5;
26989 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26990 }
26991 }
26992 if (obj5) {
26993 arg6 = (long) SWIG_AsLong(obj5);
26994 if (PyErr_Occurred()) SWIG_fail;
26995 }
26996 if (obj6) {
26997 {
26998 arg7 = wxString_in_helper(obj6);
26999 if (arg7 == NULL) SWIG_fail;
27000 temp7 = True;
27001 }
27002 }
27003 if (obj7) {
27004 arg8 = (int) SWIG_AsInt(obj7);
27005 if (PyErr_Occurred()) SWIG_fail;
27006 }
27007 if (obj8) {
27008 {
27009 arg9 = wxString_in_helper(obj8);
27010 if (arg9 == NULL) SWIG_fail;
27011 temp9 = True;
27012 }
27013 }
27014 {
27015 PyThreadState* __tstate = wxPyBeginAllowThreads();
27016 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27017
27018 wxPyEndAllowThreads(__tstate);
27019 if (PyErr_Occurred()) SWIG_fail;
27020 }
27021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27022 {
27023 if (temp3)
27024 delete arg3;
27025 }
27026 {
27027 if (temp7)
27028 delete arg7;
27029 }
27030 {
27031 if (temp9)
27032 delete arg9;
27033 }
27034 return resultobj;
27035 fail:
27036 {
27037 if (temp3)
27038 delete arg3;
27039 }
27040 {
27041 if (temp7)
27042 delete arg7;
27043 }
27044 {
27045 if (temp9)
27046 delete arg9;
27047 }
27048 return NULL;
27049 }
27050
27051
27052 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27053 PyObject *resultobj;
27054 wxGenericDirCtrl *result;
27055 char *kwnames[] = {
27056 NULL
27057 };
27058
27059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
27060 {
27061 PyThreadState* __tstate = wxPyBeginAllowThreads();
27062 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
27063
27064 wxPyEndAllowThreads(__tstate);
27065 if (PyErr_Occurred()) SWIG_fail;
27066 }
27067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27068 return resultobj;
27069 fail:
27070 return NULL;
27071 }
27072
27073
27074 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27075 PyObject *resultobj;
27076 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27077 wxWindow *arg2 = (wxWindow *) 0 ;
27078 int arg3 = (int) (int)-1 ;
27079 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
27080 wxString *arg4 = (wxString *) &arg4_defvalue ;
27081 wxPoint const &arg5_defvalue = wxDefaultPosition ;
27082 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
27083 wxSize const &arg6_defvalue = wxDefaultSize ;
27084 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
27085 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27086 wxString const &arg8_defvalue = wxPyEmptyString ;
27087 wxString *arg8 = (wxString *) &arg8_defvalue ;
27088 int arg9 = (int) 0 ;
27089 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
27090 wxString *arg10 = (wxString *) &arg10_defvalue ;
27091 bool result;
27092 bool temp4 = False ;
27093 wxPoint temp5 ;
27094 wxSize temp6 ;
27095 bool temp8 = False ;
27096 bool temp10 = False ;
27097 PyObject * obj0 = 0 ;
27098 PyObject * obj1 = 0 ;
27099 PyObject * obj2 = 0 ;
27100 PyObject * obj3 = 0 ;
27101 PyObject * obj4 = 0 ;
27102 PyObject * obj5 = 0 ;
27103 PyObject * obj6 = 0 ;
27104 PyObject * obj7 = 0 ;
27105 PyObject * obj8 = 0 ;
27106 PyObject * obj9 = 0 ;
27107 char *kwnames[] = {
27108 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27109 };
27110
27111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
27112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27116 if (obj2) {
27117 arg3 = (int const) SWIG_AsInt(obj2);
27118 if (PyErr_Occurred()) SWIG_fail;
27119 }
27120 if (obj3) {
27121 {
27122 arg4 = wxString_in_helper(obj3);
27123 if (arg4 == NULL) SWIG_fail;
27124 temp4 = True;
27125 }
27126 }
27127 if (obj4) {
27128 {
27129 arg5 = &temp5;
27130 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
27131 }
27132 }
27133 if (obj5) {
27134 {
27135 arg6 = &temp6;
27136 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
27137 }
27138 }
27139 if (obj6) {
27140 arg7 = (long) SWIG_AsLong(obj6);
27141 if (PyErr_Occurred()) SWIG_fail;
27142 }
27143 if (obj7) {
27144 {
27145 arg8 = wxString_in_helper(obj7);
27146 if (arg8 == NULL) SWIG_fail;
27147 temp8 = True;
27148 }
27149 }
27150 if (obj8) {
27151 arg9 = (int) SWIG_AsInt(obj8);
27152 if (PyErr_Occurred()) SWIG_fail;
27153 }
27154 if (obj9) {
27155 {
27156 arg10 = wxString_in_helper(obj9);
27157 if (arg10 == NULL) SWIG_fail;
27158 temp10 = True;
27159 }
27160 }
27161 {
27162 PyThreadState* __tstate = wxPyBeginAllowThreads();
27163 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
27164
27165 wxPyEndAllowThreads(__tstate);
27166 if (PyErr_Occurred()) SWIG_fail;
27167 }
27168 {
27169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27170 }
27171 {
27172 if (temp4)
27173 delete arg4;
27174 }
27175 {
27176 if (temp8)
27177 delete arg8;
27178 }
27179 {
27180 if (temp10)
27181 delete arg10;
27182 }
27183 return resultobj;
27184 fail:
27185 {
27186 if (temp4)
27187 delete arg4;
27188 }
27189 {
27190 if (temp8)
27191 delete arg8;
27192 }
27193 {
27194 if (temp10)
27195 delete arg10;
27196 }
27197 return NULL;
27198 }
27199
27200
27201 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27202 PyObject *resultobj;
27203 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27204 wxString *arg2 = 0 ;
27205 bool result;
27206 bool temp2 = False ;
27207 PyObject * obj0 = 0 ;
27208 PyObject * obj1 = 0 ;
27209 char *kwnames[] = {
27210 (char *) "self",(char *) "path", NULL
27211 };
27212
27213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
27214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27216 {
27217 arg2 = wxString_in_helper(obj1);
27218 if (arg2 == NULL) SWIG_fail;
27219 temp2 = True;
27220 }
27221 {
27222 PyThreadState* __tstate = wxPyBeginAllowThreads();
27223 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
27224
27225 wxPyEndAllowThreads(__tstate);
27226 if (PyErr_Occurred()) SWIG_fail;
27227 }
27228 {
27229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27230 }
27231 {
27232 if (temp2)
27233 delete arg2;
27234 }
27235 return resultobj;
27236 fail:
27237 {
27238 if (temp2)
27239 delete arg2;
27240 }
27241 return NULL;
27242 }
27243
27244
27245 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27246 PyObject *resultobj;
27247 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27248 wxString result;
27249 PyObject * obj0 = 0 ;
27250 char *kwnames[] = {
27251 (char *) "self", NULL
27252 };
27253
27254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",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 = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
27260
27261 wxPyEndAllowThreads(__tstate);
27262 if (PyErr_Occurred()) SWIG_fail;
27263 }
27264 {
27265 #if wxUSE_UNICODE
27266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27267 #else
27268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27269 #endif
27270 }
27271 return resultobj;
27272 fail:
27273 return NULL;
27274 }
27275
27276
27277 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27278 PyObject *resultobj;
27279 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27280 wxString *arg2 = 0 ;
27281 bool temp2 = False ;
27282 PyObject * obj0 = 0 ;
27283 PyObject * obj1 = 0 ;
27284 char *kwnames[] = {
27285 (char *) "self",(char *) "path", NULL
27286 };
27287
27288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
27289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27291 {
27292 arg2 = wxString_in_helper(obj1);
27293 if (arg2 == NULL) SWIG_fail;
27294 temp2 = True;
27295 }
27296 {
27297 PyThreadState* __tstate = wxPyBeginAllowThreads();
27298 (arg1)->SetDefaultPath((wxString const &)*arg2);
27299
27300 wxPyEndAllowThreads(__tstate);
27301 if (PyErr_Occurred()) SWIG_fail;
27302 }
27303 Py_INCREF(Py_None); resultobj = Py_None;
27304 {
27305 if (temp2)
27306 delete arg2;
27307 }
27308 return resultobj;
27309 fail:
27310 {
27311 if (temp2)
27312 delete arg2;
27313 }
27314 return NULL;
27315 }
27316
27317
27318 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27319 PyObject *resultobj;
27320 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27321 wxString result;
27322 PyObject * obj0 = 0 ;
27323 char *kwnames[] = {
27324 (char *) "self", NULL
27325 };
27326
27327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
27328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27330 {
27331 PyThreadState* __tstate = wxPyBeginAllowThreads();
27332 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
27333
27334 wxPyEndAllowThreads(__tstate);
27335 if (PyErr_Occurred()) SWIG_fail;
27336 }
27337 {
27338 #if wxUSE_UNICODE
27339 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27340 #else
27341 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27342 #endif
27343 }
27344 return resultobj;
27345 fail:
27346 return NULL;
27347 }
27348
27349
27350 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
27351 PyObject *resultobj;
27352 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27353 wxString result;
27354 PyObject * obj0 = 0 ;
27355 char *kwnames[] = {
27356 (char *) "self", NULL
27357 };
27358
27359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
27360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27365
27366 wxPyEndAllowThreads(__tstate);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 {
27370 #if wxUSE_UNICODE
27371 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27372 #else
27373 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27374 #endif
27375 }
27376 return resultobj;
27377 fail:
27378 return NULL;
27379 }
27380
27381
27382 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27383 PyObject *resultobj;
27384 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27385 wxString *arg2 = 0 ;
27386 bool temp2 = False ;
27387 PyObject * obj0 = 0 ;
27388 PyObject * obj1 = 0 ;
27389 char *kwnames[] = {
27390 (char *) "self",(char *) "path", NULL
27391 };
27392
27393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
27394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27396 {
27397 arg2 = wxString_in_helper(obj1);
27398 if (arg2 == NULL) SWIG_fail;
27399 temp2 = True;
27400 }
27401 {
27402 PyThreadState* __tstate = wxPyBeginAllowThreads();
27403 (arg1)->SetPath((wxString const &)*arg2);
27404
27405 wxPyEndAllowThreads(__tstate);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 Py_INCREF(Py_None); resultobj = Py_None;
27409 {
27410 if (temp2)
27411 delete arg2;
27412 }
27413 return resultobj;
27414 fail:
27415 {
27416 if (temp2)
27417 delete arg2;
27418 }
27419 return NULL;
27420 }
27421
27422
27423 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27424 PyObject *resultobj;
27425 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27426 bool arg2 ;
27427 PyObject * obj0 = 0 ;
27428 PyObject * obj1 = 0 ;
27429 char *kwnames[] = {
27430 (char *) "self",(char *) "show", NULL
27431 };
27432
27433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
27434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27436 arg2 = (bool) SWIG_AsBool(obj1);
27437 if (PyErr_Occurred()) SWIG_fail;
27438 {
27439 PyThreadState* __tstate = wxPyBeginAllowThreads();
27440 (arg1)->ShowHidden(arg2);
27441
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 Py_INCREF(Py_None); resultobj = Py_None;
27446 return resultobj;
27447 fail:
27448 return NULL;
27449 }
27450
27451
27452 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27453 PyObject *resultobj;
27454 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27455 bool result;
27456 PyObject * obj0 = 0 ;
27457 char *kwnames[] = {
27458 (char *) "self", NULL
27459 };
27460
27461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
27462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27464 {
27465 PyThreadState* __tstate = wxPyBeginAllowThreads();
27466 result = (bool)(arg1)->GetShowHidden();
27467
27468 wxPyEndAllowThreads(__tstate);
27469 if (PyErr_Occurred()) SWIG_fail;
27470 }
27471 {
27472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27473 }
27474 return resultobj;
27475 fail:
27476 return NULL;
27477 }
27478
27479
27480 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27481 PyObject *resultobj;
27482 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27483 wxString result;
27484 PyObject * obj0 = 0 ;
27485 char *kwnames[] = {
27486 (char *) "self", NULL
27487 };
27488
27489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
27490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27492 {
27493 PyThreadState* __tstate = wxPyBeginAllowThreads();
27494 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27495
27496 wxPyEndAllowThreads(__tstate);
27497 if (PyErr_Occurred()) SWIG_fail;
27498 }
27499 {
27500 #if wxUSE_UNICODE
27501 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27502 #else
27503 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27504 #endif
27505 }
27506 return resultobj;
27507 fail:
27508 return NULL;
27509 }
27510
27511
27512 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27513 PyObject *resultobj;
27514 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27515 wxString *arg2 = 0 ;
27516 bool temp2 = False ;
27517 PyObject * obj0 = 0 ;
27518 PyObject * obj1 = 0 ;
27519 char *kwnames[] = {
27520 (char *) "self",(char *) "filter", NULL
27521 };
27522
27523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27526 {
27527 arg2 = wxString_in_helper(obj1);
27528 if (arg2 == NULL) SWIG_fail;
27529 temp2 = True;
27530 }
27531 {
27532 PyThreadState* __tstate = wxPyBeginAllowThreads();
27533 (arg1)->SetFilter((wxString const &)*arg2);
27534
27535 wxPyEndAllowThreads(__tstate);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 Py_INCREF(Py_None); resultobj = Py_None;
27539 {
27540 if (temp2)
27541 delete arg2;
27542 }
27543 return resultobj;
27544 fail:
27545 {
27546 if (temp2)
27547 delete arg2;
27548 }
27549 return NULL;
27550 }
27551
27552
27553 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27554 PyObject *resultobj;
27555 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27556 int result;
27557 PyObject * obj0 = 0 ;
27558 char *kwnames[] = {
27559 (char *) "self", NULL
27560 };
27561
27562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27568
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 resultobj = SWIG_FromInt((int)result);
27573 return resultobj;
27574 fail:
27575 return NULL;
27576 }
27577
27578
27579 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27580 PyObject *resultobj;
27581 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27582 int arg2 ;
27583 PyObject * obj0 = 0 ;
27584 PyObject * obj1 = 0 ;
27585 char *kwnames[] = {
27586 (char *) "self",(char *) "n", NULL
27587 };
27588
27589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27592 arg2 = (int) SWIG_AsInt(obj1);
27593 if (PyErr_Occurred()) SWIG_fail;
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 (arg1)->SetFilterIndex(arg2);
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 Py_INCREF(Py_None); resultobj = Py_None;
27602 return resultobj;
27603 fail:
27604 return NULL;
27605 }
27606
27607
27608 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27609 PyObject *resultobj;
27610 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27611 wxTreeItemId result;
27612 PyObject * obj0 = 0 ;
27613 char *kwnames[] = {
27614 (char *) "self", NULL
27615 };
27616
27617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27620 {
27621 PyThreadState* __tstate = wxPyBeginAllowThreads();
27622 result = (arg1)->GetRootId();
27623
27624 wxPyEndAllowThreads(__tstate);
27625 if (PyErr_Occurred()) SWIG_fail;
27626 }
27627 {
27628 wxTreeItemId * resultptr;
27629 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27631 }
27632 return resultobj;
27633 fail:
27634 return NULL;
27635 }
27636
27637
27638 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27639 PyObject *resultobj;
27640 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27641 wxPyTreeCtrl *result;
27642 PyObject * obj0 = 0 ;
27643 char *kwnames[] = {
27644 (char *) "self", NULL
27645 };
27646
27647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27650 {
27651 PyThreadState* __tstate = wxPyBeginAllowThreads();
27652 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27653
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 {
27658 resultobj = wxPyMake_wxObject(result);
27659 }
27660 return resultobj;
27661 fail:
27662 return NULL;
27663 }
27664
27665
27666 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27667 PyObject *resultobj;
27668 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27669 wxDirFilterListCtrl *result;
27670 PyObject * obj0 = 0 ;
27671 char *kwnames[] = {
27672 (char *) "self", NULL
27673 };
27674
27675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27678 {
27679 PyThreadState* __tstate = wxPyBeginAllowThreads();
27680 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27681
27682 wxPyEndAllowThreads(__tstate);
27683 if (PyErr_Occurred()) SWIG_fail;
27684 }
27685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27686 return resultobj;
27687 fail:
27688 return NULL;
27689 }
27690
27691
27692 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27693 PyObject *resultobj;
27694 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27695 wxTreeItemId arg2 ;
27696 wxString *arg3 = 0 ;
27697 bool *arg4 = 0 ;
27698 wxTreeItemId result;
27699 wxTreeItemId *argp2 ;
27700 bool temp3 = False ;
27701 bool temp4 ;
27702 PyObject * obj0 = 0 ;
27703 PyObject * obj1 = 0 ;
27704 PyObject * obj2 = 0 ;
27705 char *kwnames[] = {
27706 (char *) "self",(char *) "parentId",(char *) "path", NULL
27707 };
27708
27709 arg4 = &temp4;
27710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27713 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27714 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27715 arg2 = *argp2;
27716 {
27717 arg3 = wxString_in_helper(obj2);
27718 if (arg3 == NULL) SWIG_fail;
27719 temp3 = True;
27720 }
27721 {
27722 PyThreadState* __tstate = wxPyBeginAllowThreads();
27723 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27724
27725 wxPyEndAllowThreads(__tstate);
27726 if (PyErr_Occurred()) SWIG_fail;
27727 }
27728 {
27729 wxTreeItemId * resultptr;
27730 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27732 }
27733 {
27734 PyObject *o = PyInt_FromLong((long) (*arg4));
27735 resultobj = t_output_helper(resultobj,o);
27736 }
27737 {
27738 if (temp3)
27739 delete arg3;
27740 }
27741 return resultobj;
27742 fail:
27743 {
27744 if (temp3)
27745 delete arg3;
27746 }
27747 return NULL;
27748 }
27749
27750
27751 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27752 PyObject *resultobj;
27753 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27754 PyObject * obj0 = 0 ;
27755 char *kwnames[] = {
27756 (char *) "self", NULL
27757 };
27758
27759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27762 {
27763 PyThreadState* __tstate = wxPyBeginAllowThreads();
27764 (arg1)->DoResize();
27765
27766 wxPyEndAllowThreads(__tstate);
27767 if (PyErr_Occurred()) SWIG_fail;
27768 }
27769 Py_INCREF(Py_None); resultobj = Py_None;
27770 return resultobj;
27771 fail:
27772 return NULL;
27773 }
27774
27775
27776 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27777 PyObject *resultobj;
27778 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27779 PyObject * obj0 = 0 ;
27780 char *kwnames[] = {
27781 (char *) "self", NULL
27782 };
27783
27784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27787 {
27788 PyThreadState* __tstate = wxPyBeginAllowThreads();
27789 (arg1)->ReCreateTree();
27790
27791 wxPyEndAllowThreads(__tstate);
27792 if (PyErr_Occurred()) SWIG_fail;
27793 }
27794 Py_INCREF(Py_None); resultobj = Py_None;
27795 return resultobj;
27796 fail:
27797 return NULL;
27798 }
27799
27800
27801 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27802 PyObject *obj;
27803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27804 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27805 Py_INCREF(obj);
27806 return Py_BuildValue((char *)"");
27807 }
27808 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27809 PyObject *resultobj;
27810 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27811 int arg2 = (int) (int)-1 ;
27812 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27813 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27814 wxSize const &arg4_defvalue = wxDefaultSize ;
27815 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27816 long arg5 = (long) 0 ;
27817 wxDirFilterListCtrl *result;
27818 wxPoint temp3 ;
27819 wxSize temp4 ;
27820 PyObject * obj0 = 0 ;
27821 PyObject * obj1 = 0 ;
27822 PyObject * obj2 = 0 ;
27823 PyObject * obj3 = 0 ;
27824 PyObject * obj4 = 0 ;
27825 char *kwnames[] = {
27826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27827 };
27828
27829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27832 if (obj1) {
27833 arg2 = (int const) SWIG_AsInt(obj1);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
27836 if (obj2) {
27837 {
27838 arg3 = &temp3;
27839 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27840 }
27841 }
27842 if (obj3) {
27843 {
27844 arg4 = &temp4;
27845 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27846 }
27847 }
27848 if (obj4) {
27849 arg5 = (long) SWIG_AsLong(obj4);
27850 if (PyErr_Occurred()) SWIG_fail;
27851 }
27852 {
27853 PyThreadState* __tstate = wxPyBeginAllowThreads();
27854 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27855
27856 wxPyEndAllowThreads(__tstate);
27857 if (PyErr_Occurred()) SWIG_fail;
27858 }
27859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27860 return resultobj;
27861 fail:
27862 return NULL;
27863 }
27864
27865
27866 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27867 PyObject *resultobj;
27868 wxDirFilterListCtrl *result;
27869 char *kwnames[] = {
27870 NULL
27871 };
27872
27873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27874 {
27875 PyThreadState* __tstate = wxPyBeginAllowThreads();
27876 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27877
27878 wxPyEndAllowThreads(__tstate);
27879 if (PyErr_Occurred()) SWIG_fail;
27880 }
27881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27882 return resultobj;
27883 fail:
27884 return NULL;
27885 }
27886
27887
27888 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27889 PyObject *resultobj;
27890 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27891 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27892 int arg3 = (int) (int)-1 ;
27893 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27894 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27895 wxSize const &arg5_defvalue = wxDefaultSize ;
27896 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27897 long arg6 = (long) 0 ;
27898 bool result;
27899 wxPoint temp4 ;
27900 wxSize temp5 ;
27901 PyObject * obj0 = 0 ;
27902 PyObject * obj1 = 0 ;
27903 PyObject * obj2 = 0 ;
27904 PyObject * obj3 = 0 ;
27905 PyObject * obj4 = 0 ;
27906 PyObject * obj5 = 0 ;
27907 char *kwnames[] = {
27908 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27909 };
27910
27911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27916 if (obj2) {
27917 arg3 = (int const) SWIG_AsInt(obj2);
27918 if (PyErr_Occurred()) SWIG_fail;
27919 }
27920 if (obj3) {
27921 {
27922 arg4 = &temp4;
27923 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27924 }
27925 }
27926 if (obj4) {
27927 {
27928 arg5 = &temp5;
27929 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27930 }
27931 }
27932 if (obj5) {
27933 arg6 = (long) SWIG_AsLong(obj5);
27934 if (PyErr_Occurred()) SWIG_fail;
27935 }
27936 {
27937 PyThreadState* __tstate = wxPyBeginAllowThreads();
27938 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27939
27940 wxPyEndAllowThreads(__tstate);
27941 if (PyErr_Occurred()) SWIG_fail;
27942 }
27943 {
27944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27945 }
27946 return resultobj;
27947 fail:
27948 return NULL;
27949 }
27950
27951
27952 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27953 PyObject *resultobj;
27954 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27955 wxString *arg2 = 0 ;
27956 int arg3 ;
27957 bool temp2 = False ;
27958 PyObject * obj0 = 0 ;
27959 PyObject * obj1 = 0 ;
27960 PyObject * obj2 = 0 ;
27961 char *kwnames[] = {
27962 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27963 };
27964
27965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27968 {
27969 arg2 = wxString_in_helper(obj1);
27970 if (arg2 == NULL) SWIG_fail;
27971 temp2 = True;
27972 }
27973 arg3 = (int) SWIG_AsInt(obj2);
27974 if (PyErr_Occurred()) SWIG_fail;
27975 {
27976 PyThreadState* __tstate = wxPyBeginAllowThreads();
27977 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27978
27979 wxPyEndAllowThreads(__tstate);
27980 if (PyErr_Occurred()) SWIG_fail;
27981 }
27982 Py_INCREF(Py_None); resultobj = Py_None;
27983 {
27984 if (temp2)
27985 delete arg2;
27986 }
27987 return resultobj;
27988 fail:
27989 {
27990 if (temp2)
27991 delete arg2;
27992 }
27993 return NULL;
27994 }
27995
27996
27997 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27998 PyObject *obj;
27999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28000 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28001 Py_INCREF(obj);
28002 return Py_BuildValue((char *)"");
28003 }
28004 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28005 PyObject *resultobj;
28006 wxWindow *arg1 = (wxWindow *) 0 ;
28007 int arg2 ;
28008 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28009 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28010 wxSize const &arg4_defvalue = wxDefaultSize ;
28011 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28012 long arg5 = (long) 0 ;
28013 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28014 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28015 wxString const &arg7_defvalue = wxPyControlNameStr ;
28016 wxString *arg7 = (wxString *) &arg7_defvalue ;
28017 wxPyControl *result;
28018 wxPoint temp3 ;
28019 wxSize temp4 ;
28020 bool temp7 = False ;
28021 PyObject * obj0 = 0 ;
28022 PyObject * obj1 = 0 ;
28023 PyObject * obj2 = 0 ;
28024 PyObject * obj3 = 0 ;
28025 PyObject * obj4 = 0 ;
28026 PyObject * obj5 = 0 ;
28027 PyObject * obj6 = 0 ;
28028 char *kwnames[] = {
28029 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28030 };
28031
28032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28035 arg2 = (int const) SWIG_AsInt(obj1);
28036 if (PyErr_Occurred()) SWIG_fail;
28037 if (obj2) {
28038 {
28039 arg3 = &temp3;
28040 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28041 }
28042 }
28043 if (obj3) {
28044 {
28045 arg4 = &temp4;
28046 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28047 }
28048 }
28049 if (obj4) {
28050 arg5 = (long) SWIG_AsLong(obj4);
28051 if (PyErr_Occurred()) SWIG_fail;
28052 }
28053 if (obj5) {
28054 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
28055 SWIG_POINTER_EXCEPTION | 0)) == -1)
28056 SWIG_fail;
28057 if (arg6 == NULL) {
28058 PyErr_SetString(PyExc_TypeError,"null reference");
28059 SWIG_fail;
28060 }
28061 }
28062 if (obj6) {
28063 {
28064 arg7 = wxString_in_helper(obj6);
28065 if (arg7 == NULL) SWIG_fail;
28066 temp7 = True;
28067 }
28068 }
28069 {
28070 PyThreadState* __tstate = wxPyBeginAllowThreads();
28071 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28072
28073 wxPyEndAllowThreads(__tstate);
28074 if (PyErr_Occurred()) SWIG_fail;
28075 }
28076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28077 {
28078 if (temp7)
28079 delete arg7;
28080 }
28081 return resultobj;
28082 fail:
28083 {
28084 if (temp7)
28085 delete arg7;
28086 }
28087 return NULL;
28088 }
28089
28090
28091 static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28092 PyObject *resultobj;
28093 wxPyControl *result;
28094 char *kwnames[] = {
28095 NULL
28096 };
28097
28098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
28099 {
28100 PyThreadState* __tstate = wxPyBeginAllowThreads();
28101 result = (wxPyControl *)new wxPyControl();
28102
28103 wxPyEndAllowThreads(__tstate);
28104 if (PyErr_Occurred()) SWIG_fail;
28105 }
28106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28107 return resultobj;
28108 fail:
28109 return NULL;
28110 }
28111
28112
28113 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28114 PyObject *resultobj;
28115 wxPyControl *arg1 = (wxPyControl *) 0 ;
28116 PyObject *arg2 = (PyObject *) 0 ;
28117 PyObject *arg3 = (PyObject *) 0 ;
28118 PyObject * obj0 = 0 ;
28119 PyObject * obj1 = 0 ;
28120 PyObject * obj2 = 0 ;
28121 char *kwnames[] = {
28122 (char *) "self",(char *) "self",(char *) "_class", NULL
28123 };
28124
28125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28128 arg2 = obj1;
28129 arg3 = obj2;
28130 {
28131 PyThreadState* __tstate = wxPyBeginAllowThreads();
28132 (arg1)->_setCallbackInfo(arg2,arg3);
28133
28134 wxPyEndAllowThreads(__tstate);
28135 if (PyErr_Occurred()) SWIG_fail;
28136 }
28137 Py_INCREF(Py_None); resultobj = Py_None;
28138 return resultobj;
28139 fail:
28140 return NULL;
28141 }
28142
28143
28144 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28145 PyObject *resultobj;
28146 wxPyControl *arg1 = (wxPyControl *) 0 ;
28147 int arg2 ;
28148 int arg3 ;
28149 int arg4 ;
28150 int arg5 ;
28151 PyObject * obj0 = 0 ;
28152 PyObject * obj1 = 0 ;
28153 PyObject * obj2 = 0 ;
28154 PyObject * obj3 = 0 ;
28155 PyObject * obj4 = 0 ;
28156 char *kwnames[] = {
28157 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28158 };
28159
28160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28163 arg2 = (int) SWIG_AsInt(obj1);
28164 if (PyErr_Occurred()) SWIG_fail;
28165 arg3 = (int) SWIG_AsInt(obj2);
28166 if (PyErr_Occurred()) SWIG_fail;
28167 arg4 = (int) SWIG_AsInt(obj3);
28168 if (PyErr_Occurred()) SWIG_fail;
28169 arg5 = (int) SWIG_AsInt(obj4);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 {
28172 PyThreadState* __tstate = wxPyBeginAllowThreads();
28173 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
28174
28175 wxPyEndAllowThreads(__tstate);
28176 if (PyErr_Occurred()) SWIG_fail;
28177 }
28178 Py_INCREF(Py_None); resultobj = Py_None;
28179 return resultobj;
28180 fail:
28181 return NULL;
28182 }
28183
28184
28185 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28186 PyObject *resultobj;
28187 wxPyControl *arg1 = (wxPyControl *) 0 ;
28188 int arg2 ;
28189 int arg3 ;
28190 int arg4 ;
28191 int arg5 ;
28192 int arg6 = (int) wxSIZE_AUTO ;
28193 PyObject * obj0 = 0 ;
28194 PyObject * obj1 = 0 ;
28195 PyObject * obj2 = 0 ;
28196 PyObject * obj3 = 0 ;
28197 PyObject * obj4 = 0 ;
28198 PyObject * obj5 = 0 ;
28199 char *kwnames[] = {
28200 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28201 };
28202
28203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28206 arg2 = (int) SWIG_AsInt(obj1);
28207 if (PyErr_Occurred()) SWIG_fail;
28208 arg3 = (int) SWIG_AsInt(obj2);
28209 if (PyErr_Occurred()) SWIG_fail;
28210 arg4 = (int) SWIG_AsInt(obj3);
28211 if (PyErr_Occurred()) SWIG_fail;
28212 arg5 = (int) SWIG_AsInt(obj4);
28213 if (PyErr_Occurred()) SWIG_fail;
28214 if (obj5) {
28215 arg6 = (int) SWIG_AsInt(obj5);
28216 if (PyErr_Occurred()) SWIG_fail;
28217 }
28218 {
28219 PyThreadState* __tstate = wxPyBeginAllowThreads();
28220 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
28221
28222 wxPyEndAllowThreads(__tstate);
28223 if (PyErr_Occurred()) SWIG_fail;
28224 }
28225 Py_INCREF(Py_None); resultobj = Py_None;
28226 return resultobj;
28227 fail:
28228 return NULL;
28229 }
28230
28231
28232 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28233 PyObject *resultobj;
28234 wxPyControl *arg1 = (wxPyControl *) 0 ;
28235 int arg2 ;
28236 int arg3 ;
28237 PyObject * obj0 = 0 ;
28238 PyObject * obj1 = 0 ;
28239 PyObject * obj2 = 0 ;
28240 char *kwnames[] = {
28241 (char *) "self",(char *) "width",(char *) "height", NULL
28242 };
28243
28244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28247 arg2 = (int) SWIG_AsInt(obj1);
28248 if (PyErr_Occurred()) SWIG_fail;
28249 arg3 = (int) SWIG_AsInt(obj2);
28250 if (PyErr_Occurred()) SWIG_fail;
28251 {
28252 PyThreadState* __tstate = wxPyBeginAllowThreads();
28253 (arg1)->base_DoSetClientSize(arg2,arg3);
28254
28255 wxPyEndAllowThreads(__tstate);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 Py_INCREF(Py_None); resultobj = Py_None;
28259 return resultobj;
28260 fail:
28261 return NULL;
28262 }
28263
28264
28265 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28266 PyObject *resultobj;
28267 wxPyControl *arg1 = (wxPyControl *) 0 ;
28268 int arg2 ;
28269 int arg3 ;
28270 PyObject * obj0 = 0 ;
28271 PyObject * obj1 = 0 ;
28272 PyObject * obj2 = 0 ;
28273 char *kwnames[] = {
28274 (char *) "self",(char *) "x",(char *) "y", NULL
28275 };
28276
28277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28280 arg2 = (int) SWIG_AsInt(obj1);
28281 if (PyErr_Occurred()) SWIG_fail;
28282 arg3 = (int) SWIG_AsInt(obj2);
28283 if (PyErr_Occurred()) SWIG_fail;
28284 {
28285 PyThreadState* __tstate = wxPyBeginAllowThreads();
28286 (arg1)->base_DoSetVirtualSize(arg2,arg3);
28287
28288 wxPyEndAllowThreads(__tstate);
28289 if (PyErr_Occurred()) SWIG_fail;
28290 }
28291 Py_INCREF(Py_None); resultobj = Py_None;
28292 return resultobj;
28293 fail:
28294 return NULL;
28295 }
28296
28297
28298 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28299 PyObject *resultobj;
28300 wxPyControl *arg1 = (wxPyControl *) 0 ;
28301 int *arg2 = (int *) 0 ;
28302 int *arg3 = (int *) 0 ;
28303 int temp2 ;
28304 int temp3 ;
28305 PyObject * obj0 = 0 ;
28306 char *kwnames[] = {
28307 (char *) "self", NULL
28308 };
28309
28310 arg2 = &temp2;
28311 arg3 = &temp3;
28312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
28313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28315 {
28316 PyThreadState* __tstate = wxPyBeginAllowThreads();
28317 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
28318
28319 wxPyEndAllowThreads(__tstate);
28320 if (PyErr_Occurred()) SWIG_fail;
28321 }
28322 Py_INCREF(Py_None); resultobj = Py_None;
28323 {
28324 PyObject *o = PyInt_FromLong((long) (*arg2));
28325 resultobj = t_output_helper(resultobj,o);
28326 }
28327 {
28328 PyObject *o = PyInt_FromLong((long) (*arg3));
28329 resultobj = t_output_helper(resultobj,o);
28330 }
28331 return resultobj;
28332 fail:
28333 return NULL;
28334 }
28335
28336
28337 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28338 PyObject *resultobj;
28339 wxPyControl *arg1 = (wxPyControl *) 0 ;
28340 int *arg2 = (int *) 0 ;
28341 int *arg3 = (int *) 0 ;
28342 int temp2 ;
28343 int temp3 ;
28344 PyObject * obj0 = 0 ;
28345 char *kwnames[] = {
28346 (char *) "self", NULL
28347 };
28348
28349 arg2 = &temp2;
28350 arg3 = &temp3;
28351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
28352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28354 {
28355 PyThreadState* __tstate = wxPyBeginAllowThreads();
28356 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
28357
28358 wxPyEndAllowThreads(__tstate);
28359 if (PyErr_Occurred()) SWIG_fail;
28360 }
28361 Py_INCREF(Py_None); resultobj = Py_None;
28362 {
28363 PyObject *o = PyInt_FromLong((long) (*arg2));
28364 resultobj = t_output_helper(resultobj,o);
28365 }
28366 {
28367 PyObject *o = PyInt_FromLong((long) (*arg3));
28368 resultobj = t_output_helper(resultobj,o);
28369 }
28370 return resultobj;
28371 fail:
28372 return NULL;
28373 }
28374
28375
28376 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28377 PyObject *resultobj;
28378 wxPyControl *arg1 = (wxPyControl *) 0 ;
28379 int *arg2 = (int *) 0 ;
28380 int *arg3 = (int *) 0 ;
28381 int temp2 ;
28382 int temp3 ;
28383 PyObject * obj0 = 0 ;
28384 char *kwnames[] = {
28385 (char *) "self", NULL
28386 };
28387
28388 arg2 = &temp2;
28389 arg3 = &temp3;
28390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
28391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28393 {
28394 PyThreadState* __tstate = wxPyBeginAllowThreads();
28395 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28396
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
28400 Py_INCREF(Py_None); resultobj = Py_None;
28401 {
28402 PyObject *o = PyInt_FromLong((long) (*arg2));
28403 resultobj = t_output_helper(resultobj,o);
28404 }
28405 {
28406 PyObject *o = PyInt_FromLong((long) (*arg3));
28407 resultobj = t_output_helper(resultobj,o);
28408 }
28409 return resultobj;
28410 fail:
28411 return NULL;
28412 }
28413
28414
28415 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28416 PyObject *resultobj;
28417 wxPyControl *arg1 = (wxPyControl *) 0 ;
28418 wxSize result;
28419 PyObject * obj0 = 0 ;
28420 char *kwnames[] = {
28421 (char *) "self", NULL
28422 };
28423
28424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
28425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28427 {
28428 PyThreadState* __tstate = wxPyBeginAllowThreads();
28429 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28430
28431 wxPyEndAllowThreads(__tstate);
28432 if (PyErr_Occurred()) SWIG_fail;
28433 }
28434 {
28435 wxSize * resultptr;
28436 resultptr = new wxSize((wxSize &) result);
28437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28438 }
28439 return resultobj;
28440 fail:
28441 return NULL;
28442 }
28443
28444
28445 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28446 PyObject *resultobj;
28447 wxPyControl *arg1 = (wxPyControl *) 0 ;
28448 wxSize result;
28449 PyObject * obj0 = 0 ;
28450 char *kwnames[] = {
28451 (char *) "self", NULL
28452 };
28453
28454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
28455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28457 {
28458 PyThreadState* __tstate = wxPyBeginAllowThreads();
28459 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28460
28461 wxPyEndAllowThreads(__tstate);
28462 if (PyErr_Occurred()) SWIG_fail;
28463 }
28464 {
28465 wxSize * resultptr;
28466 resultptr = new wxSize((wxSize &) result);
28467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28468 }
28469 return resultobj;
28470 fail:
28471 return NULL;
28472 }
28473
28474
28475 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
28476 PyObject *resultobj;
28477 wxPyControl *arg1 = (wxPyControl *) 0 ;
28478 PyObject * obj0 = 0 ;
28479 char *kwnames[] = {
28480 (char *) "self", NULL
28481 };
28482
28483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
28484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28486 {
28487 PyThreadState* __tstate = wxPyBeginAllowThreads();
28488 (arg1)->base_InitDialog();
28489
28490 wxPyEndAllowThreads(__tstate);
28491 if (PyErr_Occurred()) SWIG_fail;
28492 }
28493 Py_INCREF(Py_None); resultobj = Py_None;
28494 return resultobj;
28495 fail:
28496 return NULL;
28497 }
28498
28499
28500 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28501 PyObject *resultobj;
28502 wxPyControl *arg1 = (wxPyControl *) 0 ;
28503 bool result;
28504 PyObject * obj0 = 0 ;
28505 char *kwnames[] = {
28506 (char *) "self", NULL
28507 };
28508
28509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
28510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28512 {
28513 PyThreadState* __tstate = wxPyBeginAllowThreads();
28514 result = (bool)(arg1)->base_TransferDataToWindow();
28515
28516 wxPyEndAllowThreads(__tstate);
28517 if (PyErr_Occurred()) SWIG_fail;
28518 }
28519 {
28520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28521 }
28522 return resultobj;
28523 fail:
28524 return NULL;
28525 }
28526
28527
28528 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28529 PyObject *resultobj;
28530 wxPyControl *arg1 = (wxPyControl *) 0 ;
28531 bool result;
28532 PyObject * obj0 = 0 ;
28533 char *kwnames[] = {
28534 (char *) "self", NULL
28535 };
28536
28537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28540 {
28541 PyThreadState* __tstate = wxPyBeginAllowThreads();
28542 result = (bool)(arg1)->base_TransferDataFromWindow();
28543
28544 wxPyEndAllowThreads(__tstate);
28545 if (PyErr_Occurred()) SWIG_fail;
28546 }
28547 {
28548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28549 }
28550 return resultobj;
28551 fail:
28552 return NULL;
28553 }
28554
28555
28556 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28557 PyObject *resultobj;
28558 wxPyControl *arg1 = (wxPyControl *) 0 ;
28559 bool result;
28560 PyObject * obj0 = 0 ;
28561 char *kwnames[] = {
28562 (char *) "self", NULL
28563 };
28564
28565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28568 {
28569 PyThreadState* __tstate = wxPyBeginAllowThreads();
28570 result = (bool)(arg1)->base_Validate();
28571
28572 wxPyEndAllowThreads(__tstate);
28573 if (PyErr_Occurred()) SWIG_fail;
28574 }
28575 {
28576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28577 }
28578 return resultobj;
28579 fail:
28580 return NULL;
28581 }
28582
28583
28584 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28585 PyObject *resultobj;
28586 wxPyControl *arg1 = (wxPyControl *) 0 ;
28587 bool result;
28588 PyObject * obj0 = 0 ;
28589 char *kwnames[] = {
28590 (char *) "self", NULL
28591 };
28592
28593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28596 {
28597 PyThreadState* __tstate = wxPyBeginAllowThreads();
28598 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28599
28600 wxPyEndAllowThreads(__tstate);
28601 if (PyErr_Occurred()) SWIG_fail;
28602 }
28603 {
28604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28605 }
28606 return resultobj;
28607 fail:
28608 return NULL;
28609 }
28610
28611
28612 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28613 PyObject *resultobj;
28614 wxPyControl *arg1 = (wxPyControl *) 0 ;
28615 bool result;
28616 PyObject * obj0 = 0 ;
28617 char *kwnames[] = {
28618 (char *) "self", NULL
28619 };
28620
28621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28627
28628 wxPyEndAllowThreads(__tstate);
28629 if (PyErr_Occurred()) SWIG_fail;
28630 }
28631 {
28632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28633 }
28634 return resultobj;
28635 fail:
28636 return NULL;
28637 }
28638
28639
28640 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28641 PyObject *resultobj;
28642 wxPyControl *arg1 = (wxPyControl *) 0 ;
28643 wxSize result;
28644 PyObject * obj0 = 0 ;
28645 char *kwnames[] = {
28646 (char *) "self", NULL
28647 };
28648
28649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28652 {
28653 PyThreadState* __tstate = wxPyBeginAllowThreads();
28654 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28655
28656 wxPyEndAllowThreads(__tstate);
28657 if (PyErr_Occurred()) SWIG_fail;
28658 }
28659 {
28660 wxSize * resultptr;
28661 resultptr = new wxSize((wxSize &) result);
28662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28663 }
28664 return resultobj;
28665 fail:
28666 return NULL;
28667 }
28668
28669
28670 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28671 PyObject *resultobj;
28672 wxPyControl *arg1 = (wxPyControl *) 0 ;
28673 wxWindow *arg2 = (wxWindow *) 0 ;
28674 PyObject * obj0 = 0 ;
28675 PyObject * obj1 = 0 ;
28676 char *kwnames[] = {
28677 (char *) "self",(char *) "child", NULL
28678 };
28679
28680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28685 {
28686 PyThreadState* __tstate = wxPyBeginAllowThreads();
28687 (arg1)->base_AddChild(arg2);
28688
28689 wxPyEndAllowThreads(__tstate);
28690 if (PyErr_Occurred()) SWIG_fail;
28691 }
28692 Py_INCREF(Py_None); resultobj = Py_None;
28693 return resultobj;
28694 fail:
28695 return NULL;
28696 }
28697
28698
28699 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28700 PyObject *resultobj;
28701 wxPyControl *arg1 = (wxPyControl *) 0 ;
28702 wxWindow *arg2 = (wxWindow *) 0 ;
28703 PyObject * obj0 = 0 ;
28704 PyObject * obj1 = 0 ;
28705 char *kwnames[] = {
28706 (char *) "self",(char *) "child", NULL
28707 };
28708
28709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28714 {
28715 PyThreadState* __tstate = wxPyBeginAllowThreads();
28716 (arg1)->base_RemoveChild(arg2);
28717
28718 wxPyEndAllowThreads(__tstate);
28719 if (PyErr_Occurred()) SWIG_fail;
28720 }
28721 Py_INCREF(Py_None); resultobj = Py_None;
28722 return resultobj;
28723 fail:
28724 return NULL;
28725 }
28726
28727
28728 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28729 PyObject *resultobj;
28730 wxPyControl *arg1 = (wxPyControl *) 0 ;
28731 bool result;
28732 PyObject * obj0 = 0 ;
28733 char *kwnames[] = {
28734 (char *) "self", NULL
28735 };
28736
28737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
28738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28740 {
28741 PyThreadState* __tstate = wxPyBeginAllowThreads();
28742 result = (bool)(arg1)->base_ShouldInheritColours();
28743
28744 wxPyEndAllowThreads(__tstate);
28745 if (PyErr_Occurred()) SWIG_fail;
28746 }
28747 {
28748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28749 }
28750 return resultobj;
28751 fail:
28752 return NULL;
28753 }
28754
28755
28756 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
28757 PyObject *resultobj;
28758 wxPyControl *arg1 = (wxPyControl *) 0 ;
28759 wxColour *arg2 = 0 ;
28760 wxColour temp2 ;
28761 PyObject * obj0 = 0 ;
28762 PyObject * obj1 = 0 ;
28763 char *kwnames[] = {
28764 (char *) "self",(char *) "c", NULL
28765 };
28766
28767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
28768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28770 {
28771 arg2 = &temp2;
28772 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28773 }
28774 {
28775 PyThreadState* __tstate = wxPyBeginAllowThreads();
28776 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
28777
28778 wxPyEndAllowThreads(__tstate);
28779 if (PyErr_Occurred()) SWIG_fail;
28780 }
28781 Py_INCREF(Py_None); resultobj = Py_None;
28782 return resultobj;
28783 fail:
28784 return NULL;
28785 }
28786
28787
28788 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28789 PyObject *obj;
28790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28791 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28792 Py_INCREF(obj);
28793 return Py_BuildValue((char *)"");
28794 }
28795 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28796 PyObject *resultobj;
28797 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28798 int arg2 = (int) 0 ;
28799 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28800 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28801 wxHelpEvent *result;
28802 wxPoint temp3 ;
28803 PyObject * obj0 = 0 ;
28804 PyObject * obj1 = 0 ;
28805 PyObject * obj2 = 0 ;
28806 char *kwnames[] = {
28807 (char *) "type",(char *) "winid",(char *) "pt", NULL
28808 };
28809
28810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28811 if (obj0) {
28812 arg1 = (wxEventType) SWIG_AsInt(obj0);
28813 if (PyErr_Occurred()) SWIG_fail;
28814 }
28815 if (obj1) {
28816 arg2 = (int) SWIG_AsInt(obj1);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 if (obj2) {
28820 {
28821 arg3 = &temp3;
28822 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28823 }
28824 }
28825 {
28826 PyThreadState* __tstate = wxPyBeginAllowThreads();
28827 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28828
28829 wxPyEndAllowThreads(__tstate);
28830 if (PyErr_Occurred()) SWIG_fail;
28831 }
28832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28833 return resultobj;
28834 fail:
28835 return NULL;
28836 }
28837
28838
28839 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28840 PyObject *resultobj;
28841 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28842 wxPoint result;
28843 PyObject * obj0 = 0 ;
28844 char *kwnames[] = {
28845 (char *) "self", NULL
28846 };
28847
28848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28851 {
28852 PyThreadState* __tstate = wxPyBeginAllowThreads();
28853 result = ((wxHelpEvent const *)arg1)->GetPosition();
28854
28855 wxPyEndAllowThreads(__tstate);
28856 if (PyErr_Occurred()) SWIG_fail;
28857 }
28858 {
28859 wxPoint * resultptr;
28860 resultptr = new wxPoint((wxPoint &) result);
28861 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28862 }
28863 return resultobj;
28864 fail:
28865 return NULL;
28866 }
28867
28868
28869 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28870 PyObject *resultobj;
28871 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28872 wxPoint *arg2 = 0 ;
28873 wxPoint temp2 ;
28874 PyObject * obj0 = 0 ;
28875 PyObject * obj1 = 0 ;
28876 char *kwnames[] = {
28877 (char *) "self",(char *) "pos", NULL
28878 };
28879
28880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28883 {
28884 arg2 = &temp2;
28885 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28886 }
28887 {
28888 PyThreadState* __tstate = wxPyBeginAllowThreads();
28889 (arg1)->SetPosition((wxPoint const &)*arg2);
28890
28891 wxPyEndAllowThreads(__tstate);
28892 if (PyErr_Occurred()) SWIG_fail;
28893 }
28894 Py_INCREF(Py_None); resultobj = Py_None;
28895 return resultobj;
28896 fail:
28897 return NULL;
28898 }
28899
28900
28901 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28902 PyObject *resultobj;
28903 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28904 wxString *result;
28905 PyObject * obj0 = 0 ;
28906 char *kwnames[] = {
28907 (char *) "self", NULL
28908 };
28909
28910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28913 {
28914 PyThreadState* __tstate = wxPyBeginAllowThreads();
28915 {
28916 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28917 result = (wxString *) &_result_ref;
28918 }
28919
28920 wxPyEndAllowThreads(__tstate);
28921 if (PyErr_Occurred()) SWIG_fail;
28922 }
28923 {
28924 #if wxUSE_UNICODE
28925 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28926 #else
28927 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28928 #endif
28929 }
28930 return resultobj;
28931 fail:
28932 return NULL;
28933 }
28934
28935
28936 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28937 PyObject *resultobj;
28938 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28939 wxString *arg2 = 0 ;
28940 bool temp2 = False ;
28941 PyObject * obj0 = 0 ;
28942 PyObject * obj1 = 0 ;
28943 char *kwnames[] = {
28944 (char *) "self",(char *) "link", NULL
28945 };
28946
28947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28950 {
28951 arg2 = wxString_in_helper(obj1);
28952 if (arg2 == NULL) SWIG_fail;
28953 temp2 = True;
28954 }
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
28957 (arg1)->SetLink((wxString const &)*arg2);
28958
28959 wxPyEndAllowThreads(__tstate);
28960 if (PyErr_Occurred()) SWIG_fail;
28961 }
28962 Py_INCREF(Py_None); resultobj = Py_None;
28963 {
28964 if (temp2)
28965 delete arg2;
28966 }
28967 return resultobj;
28968 fail:
28969 {
28970 if (temp2)
28971 delete arg2;
28972 }
28973 return NULL;
28974 }
28975
28976
28977 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28978 PyObject *resultobj;
28979 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28980 wxString *result;
28981 PyObject * obj0 = 0 ;
28982 char *kwnames[] = {
28983 (char *) "self", NULL
28984 };
28985
28986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28989 {
28990 PyThreadState* __tstate = wxPyBeginAllowThreads();
28991 {
28992 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28993 result = (wxString *) &_result_ref;
28994 }
28995
28996 wxPyEndAllowThreads(__tstate);
28997 if (PyErr_Occurred()) SWIG_fail;
28998 }
28999 {
29000 #if wxUSE_UNICODE
29001 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29002 #else
29003 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29004 #endif
29005 }
29006 return resultobj;
29007 fail:
29008 return NULL;
29009 }
29010
29011
29012 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29013 PyObject *resultobj;
29014 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29015 wxString *arg2 = 0 ;
29016 bool temp2 = False ;
29017 PyObject * obj0 = 0 ;
29018 PyObject * obj1 = 0 ;
29019 char *kwnames[] = {
29020 (char *) "self",(char *) "target", NULL
29021 };
29022
29023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
29024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29026 {
29027 arg2 = wxString_in_helper(obj1);
29028 if (arg2 == NULL) SWIG_fail;
29029 temp2 = True;
29030 }
29031 {
29032 PyThreadState* __tstate = wxPyBeginAllowThreads();
29033 (arg1)->SetTarget((wxString const &)*arg2);
29034
29035 wxPyEndAllowThreads(__tstate);
29036 if (PyErr_Occurred()) SWIG_fail;
29037 }
29038 Py_INCREF(Py_None); resultobj = Py_None;
29039 {
29040 if (temp2)
29041 delete arg2;
29042 }
29043 return resultobj;
29044 fail:
29045 {
29046 if (temp2)
29047 delete arg2;
29048 }
29049 return NULL;
29050 }
29051
29052
29053 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
29054 PyObject *obj;
29055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29056 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
29057 Py_INCREF(obj);
29058 return Py_BuildValue((char *)"");
29059 }
29060 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29061 PyObject *resultobj;
29062 wxWindow *arg1 = (wxWindow *) NULL ;
29063 bool arg2 = (bool) True ;
29064 wxContextHelp *result;
29065 PyObject * obj0 = 0 ;
29066 PyObject * obj1 = 0 ;
29067 char *kwnames[] = {
29068 (char *) "window",(char *) "doNow", NULL
29069 };
29070
29071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
29072 if (obj0) {
29073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29075 }
29076 if (obj1) {
29077 arg2 = (bool) SWIG_AsBool(obj1);
29078 if (PyErr_Occurred()) SWIG_fail;
29079 }
29080 {
29081 PyThreadState* __tstate = wxPyBeginAllowThreads();
29082 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
29083
29084 wxPyEndAllowThreads(__tstate);
29085 if (PyErr_Occurred()) SWIG_fail;
29086 }
29087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
29088 return resultobj;
29089 fail:
29090 return NULL;
29091 }
29092
29093
29094 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29095 PyObject *resultobj;
29096 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29097 PyObject * obj0 = 0 ;
29098 char *kwnames[] = {
29099 (char *) "self", NULL
29100 };
29101
29102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
29103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29105 {
29106 PyThreadState* __tstate = wxPyBeginAllowThreads();
29107 delete arg1;
29108
29109 wxPyEndAllowThreads(__tstate);
29110 if (PyErr_Occurred()) SWIG_fail;
29111 }
29112 Py_INCREF(Py_None); resultobj = Py_None;
29113 return resultobj;
29114 fail:
29115 return NULL;
29116 }
29117
29118
29119 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29120 PyObject *resultobj;
29121 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29122 wxWindow *arg2 = (wxWindow *) NULL ;
29123 bool result;
29124 PyObject * obj0 = 0 ;
29125 PyObject * obj1 = 0 ;
29126 char *kwnames[] = {
29127 (char *) "self",(char *) "window", NULL
29128 };
29129
29130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
29131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29133 if (obj1) {
29134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29136 }
29137 {
29138 PyThreadState* __tstate = wxPyBeginAllowThreads();
29139 result = (bool)(arg1)->BeginContextHelp(arg2);
29140
29141 wxPyEndAllowThreads(__tstate);
29142 if (PyErr_Occurred()) SWIG_fail;
29143 }
29144 {
29145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29146 }
29147 return resultobj;
29148 fail:
29149 return NULL;
29150 }
29151
29152
29153 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29154 PyObject *resultobj;
29155 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29156 bool result;
29157 PyObject * obj0 = 0 ;
29158 char *kwnames[] = {
29159 (char *) "self", NULL
29160 };
29161
29162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
29163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29165 {
29166 PyThreadState* __tstate = wxPyBeginAllowThreads();
29167 result = (bool)(arg1)->EndContextHelp();
29168
29169 wxPyEndAllowThreads(__tstate);
29170 if (PyErr_Occurred()) SWIG_fail;
29171 }
29172 {
29173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29174 }
29175 return resultobj;
29176 fail:
29177 return NULL;
29178 }
29179
29180
29181 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
29182 PyObject *obj;
29183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29184 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
29185 Py_INCREF(obj);
29186 return Py_BuildValue((char *)"");
29187 }
29188 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
29189 PyObject *resultobj;
29190 wxWindow *arg1 = (wxWindow *) 0 ;
29191 int arg2 = (int) wxID_CONTEXT_HELP ;
29192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29194 wxSize const &arg4_defvalue = wxDefaultSize ;
29195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29196 long arg5 = (long) wxBU_AUTODRAW ;
29197 wxContextHelpButton *result;
29198 wxPoint temp3 ;
29199 wxSize temp4 ;
29200 PyObject * obj0 = 0 ;
29201 PyObject * obj1 = 0 ;
29202 PyObject * obj2 = 0 ;
29203 PyObject * obj3 = 0 ;
29204 PyObject * obj4 = 0 ;
29205 char *kwnames[] = {
29206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29207 };
29208
29209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29212 if (obj1) {
29213 arg2 = (int) SWIG_AsInt(obj1);
29214 if (PyErr_Occurred()) SWIG_fail;
29215 }
29216 if (obj2) {
29217 {
29218 arg3 = &temp3;
29219 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29220 }
29221 }
29222 if (obj3) {
29223 {
29224 arg4 = &temp4;
29225 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29226 }
29227 }
29228 if (obj4) {
29229 arg5 = (long) SWIG_AsLong(obj4);
29230 if (PyErr_Occurred()) SWIG_fail;
29231 }
29232 {
29233 PyThreadState* __tstate = wxPyBeginAllowThreads();
29234 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29235
29236 wxPyEndAllowThreads(__tstate);
29237 if (PyErr_Occurred()) SWIG_fail;
29238 }
29239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
29240 return resultobj;
29241 fail:
29242 return NULL;
29243 }
29244
29245
29246 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
29247 PyObject *obj;
29248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29249 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
29250 Py_INCREF(obj);
29251 return Py_BuildValue((char *)"");
29252 }
29253 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
29254 PyObject *resultobj;
29255 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29256 wxHelpProvider *result;
29257 PyObject * obj0 = 0 ;
29258 char *kwnames[] = {
29259 (char *) "helpProvider", NULL
29260 };
29261
29262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
29263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29265 {
29266 PyThreadState* __tstate = wxPyBeginAllowThreads();
29267 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
29268
29269 wxPyEndAllowThreads(__tstate);
29270 if (PyErr_Occurred()) SWIG_fail;
29271 }
29272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29273 return resultobj;
29274 fail:
29275 return NULL;
29276 }
29277
29278
29279 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
29280 PyObject *resultobj;
29281 wxHelpProvider *result;
29282 char *kwnames[] = {
29283 NULL
29284 };
29285
29286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
29287 {
29288 PyThreadState* __tstate = wxPyBeginAllowThreads();
29289 result = (wxHelpProvider *)wxHelpProvider::Get();
29290
29291 wxPyEndAllowThreads(__tstate);
29292 if (PyErr_Occurred()) SWIG_fail;
29293 }
29294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29295 return resultobj;
29296 fail:
29297 return NULL;
29298 }
29299
29300
29301 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29302 PyObject *resultobj;
29303 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29304 wxWindow *arg2 = (wxWindow *) 0 ;
29305 wxString result;
29306 PyObject * obj0 = 0 ;
29307 PyObject * obj1 = 0 ;
29308 char *kwnames[] = {
29309 (char *) "self",(char *) "window", NULL
29310 };
29311
29312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
29313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29317 {
29318 PyThreadState* __tstate = wxPyBeginAllowThreads();
29319 result = (arg1)->GetHelp((wxWindow const *)arg2);
29320
29321 wxPyEndAllowThreads(__tstate);
29322 if (PyErr_Occurred()) SWIG_fail;
29323 }
29324 {
29325 #if wxUSE_UNICODE
29326 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29327 #else
29328 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29329 #endif
29330 }
29331 return resultobj;
29332 fail:
29333 return NULL;
29334 }
29335
29336
29337 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29338 PyObject *resultobj;
29339 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29340 wxWindow *arg2 = (wxWindow *) 0 ;
29341 bool result;
29342 PyObject * obj0 = 0 ;
29343 PyObject * obj1 = 0 ;
29344 char *kwnames[] = {
29345 (char *) "self",(char *) "window", NULL
29346 };
29347
29348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
29349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29353 {
29354 PyThreadState* __tstate = wxPyBeginAllowThreads();
29355 result = (bool)(arg1)->ShowHelp(arg2);
29356
29357 wxPyEndAllowThreads(__tstate);
29358 if (PyErr_Occurred()) SWIG_fail;
29359 }
29360 {
29361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29362 }
29363 return resultobj;
29364 fail:
29365 return NULL;
29366 }
29367
29368
29369 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29370 PyObject *resultobj;
29371 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29372 wxWindow *arg2 = (wxWindow *) 0 ;
29373 wxString *arg3 = 0 ;
29374 bool temp3 = False ;
29375 PyObject * obj0 = 0 ;
29376 PyObject * obj1 = 0 ;
29377 PyObject * obj2 = 0 ;
29378 char *kwnames[] = {
29379 (char *) "self",(char *) "window",(char *) "text", NULL
29380 };
29381
29382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
29383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29387 {
29388 arg3 = wxString_in_helper(obj2);
29389 if (arg3 == NULL) SWIG_fail;
29390 temp3 = True;
29391 }
29392 {
29393 PyThreadState* __tstate = wxPyBeginAllowThreads();
29394 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29395
29396 wxPyEndAllowThreads(__tstate);
29397 if (PyErr_Occurred()) SWIG_fail;
29398 }
29399 Py_INCREF(Py_None); resultobj = Py_None;
29400 {
29401 if (temp3)
29402 delete arg3;
29403 }
29404 return resultobj;
29405 fail:
29406 {
29407 if (temp3)
29408 delete arg3;
29409 }
29410 return NULL;
29411 }
29412
29413
29414 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
29415 PyObject *resultobj;
29416 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29417 int arg2 ;
29418 wxString *arg3 = 0 ;
29419 bool temp3 = False ;
29420 PyObject * obj0 = 0 ;
29421 PyObject * obj1 = 0 ;
29422 PyObject * obj2 = 0 ;
29423 char *kwnames[] = {
29424 (char *) "self",(char *) "id",(char *) "text", NULL
29425 };
29426
29427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
29428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29430 arg2 = (int) SWIG_AsInt(obj1);
29431 if (PyErr_Occurred()) SWIG_fail;
29432 {
29433 arg3 = wxString_in_helper(obj2);
29434 if (arg3 == NULL) SWIG_fail;
29435 temp3 = True;
29436 }
29437 {
29438 PyThreadState* __tstate = wxPyBeginAllowThreads();
29439 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29440
29441 wxPyEndAllowThreads(__tstate);
29442 if (PyErr_Occurred()) SWIG_fail;
29443 }
29444 Py_INCREF(Py_None); resultobj = Py_None;
29445 {
29446 if (temp3)
29447 delete arg3;
29448 }
29449 return resultobj;
29450 fail:
29451 {
29452 if (temp3)
29453 delete arg3;
29454 }
29455 return NULL;
29456 }
29457
29458
29459 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29460 PyObject *resultobj;
29461 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29462 wxWindow *arg2 = (wxWindow *) 0 ;
29463 PyObject * obj0 = 0 ;
29464 PyObject * obj1 = 0 ;
29465 char *kwnames[] = {
29466 (char *) "self",(char *) "window", NULL
29467 };
29468
29469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29474 {
29475 PyThreadState* __tstate = wxPyBeginAllowThreads();
29476 (arg1)->RemoveHelp(arg2);
29477
29478 wxPyEndAllowThreads(__tstate);
29479 if (PyErr_Occurred()) SWIG_fail;
29480 }
29481 Py_INCREF(Py_None); resultobj = Py_None;
29482 return resultobj;
29483 fail:
29484 return NULL;
29485 }
29486
29487
29488 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29489 PyObject *resultobj;
29490 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29491 PyObject * obj0 = 0 ;
29492 char *kwnames[] = {
29493 (char *) "self", NULL
29494 };
29495
29496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
29497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29499 {
29500 PyThreadState* __tstate = wxPyBeginAllowThreads();
29501 wxHelpProvider_Destroy(arg1);
29502
29503 wxPyEndAllowThreads(__tstate);
29504 if (PyErr_Occurred()) SWIG_fail;
29505 }
29506 Py_INCREF(Py_None); resultobj = Py_None;
29507 return resultobj;
29508 fail:
29509 return NULL;
29510 }
29511
29512
29513 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
29514 PyObject *obj;
29515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29516 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29517 Py_INCREF(obj);
29518 return Py_BuildValue((char *)"");
29519 }
29520 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
29521 PyObject *resultobj;
29522 wxSimpleHelpProvider *result;
29523 char *kwnames[] = {
29524 NULL
29525 };
29526
29527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29528 {
29529 PyThreadState* __tstate = wxPyBeginAllowThreads();
29530 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29531
29532 wxPyEndAllowThreads(__tstate);
29533 if (PyErr_Occurred()) SWIG_fail;
29534 }
29535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
29536 return resultobj;
29537 fail:
29538 return NULL;
29539 }
29540
29541
29542 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
29543 PyObject *obj;
29544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29545 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29546 Py_INCREF(obj);
29547 return Py_BuildValue((char *)"");
29548 }
29549 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29550 PyObject *resultobj;
29551 wxBitmap *arg1 = 0 ;
29552 wxCursor const &arg2_defvalue = wxNullCursor ;
29553 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29554 wxGenericDragImage *result;
29555 PyObject * obj0 = 0 ;
29556 PyObject * obj1 = 0 ;
29557 char *kwnames[] = {
29558 (char *) "image",(char *) "cursor", NULL
29559 };
29560
29561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
29562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29563 SWIG_POINTER_EXCEPTION | 0)) == -1)
29564 SWIG_fail;
29565 if (arg1 == NULL) {
29566 PyErr_SetString(PyExc_TypeError,"null reference");
29567 SWIG_fail;
29568 }
29569 if (obj1) {
29570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29571 SWIG_POINTER_EXCEPTION | 0)) == -1)
29572 SWIG_fail;
29573 if (arg2 == NULL) {
29574 PyErr_SetString(PyExc_TypeError,"null reference");
29575 SWIG_fail;
29576 }
29577 }
29578 {
29579 PyThreadState* __tstate = wxPyBeginAllowThreads();
29580 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29581
29582 wxPyEndAllowThreads(__tstate);
29583 if (PyErr_Occurred()) SWIG_fail;
29584 }
29585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29586 return resultobj;
29587 fail:
29588 return NULL;
29589 }
29590
29591
29592 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
29593 PyObject *resultobj;
29594 wxIcon *arg1 = 0 ;
29595 wxCursor const &arg2_defvalue = wxNullCursor ;
29596 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29597 wxGenericDragImage *result;
29598 PyObject * obj0 = 0 ;
29599 PyObject * obj1 = 0 ;
29600 char *kwnames[] = {
29601 (char *) "image",(char *) "cursor", NULL
29602 };
29603
29604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
29605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29606 SWIG_POINTER_EXCEPTION | 0)) == -1)
29607 SWIG_fail;
29608 if (arg1 == NULL) {
29609 PyErr_SetString(PyExc_TypeError,"null reference");
29610 SWIG_fail;
29611 }
29612 if (obj1) {
29613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29614 SWIG_POINTER_EXCEPTION | 0)) == -1)
29615 SWIG_fail;
29616 if (arg2 == NULL) {
29617 PyErr_SetString(PyExc_TypeError,"null reference");
29618 SWIG_fail;
29619 }
29620 }
29621 {
29622 PyThreadState* __tstate = wxPyBeginAllowThreads();
29623 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29624
29625 wxPyEndAllowThreads(__tstate);
29626 if (PyErr_Occurred()) SWIG_fail;
29627 }
29628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29629 return resultobj;
29630 fail:
29631 return NULL;
29632 }
29633
29634
29635 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
29636 PyObject *resultobj;
29637 wxString *arg1 = 0 ;
29638 wxCursor const &arg2_defvalue = wxNullCursor ;
29639 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29640 wxGenericDragImage *result;
29641 bool temp1 = False ;
29642 PyObject * obj0 = 0 ;
29643 PyObject * obj1 = 0 ;
29644 char *kwnames[] = {
29645 (char *) "str",(char *) "cursor", NULL
29646 };
29647
29648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29649 {
29650 arg1 = wxString_in_helper(obj0);
29651 if (arg1 == NULL) SWIG_fail;
29652 temp1 = True;
29653 }
29654 if (obj1) {
29655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29656 SWIG_POINTER_EXCEPTION | 0)) == -1)
29657 SWIG_fail;
29658 if (arg2 == NULL) {
29659 PyErr_SetString(PyExc_TypeError,"null reference");
29660 SWIG_fail;
29661 }
29662 }
29663 {
29664 PyThreadState* __tstate = wxPyBeginAllowThreads();
29665 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29666
29667 wxPyEndAllowThreads(__tstate);
29668 if (PyErr_Occurred()) SWIG_fail;
29669 }
29670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29671 {
29672 if (temp1)
29673 delete arg1;
29674 }
29675 return resultobj;
29676 fail:
29677 {
29678 if (temp1)
29679 delete arg1;
29680 }
29681 return NULL;
29682 }
29683
29684
29685 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29686 PyObject *resultobj;
29687 wxPyTreeCtrl *arg1 = 0 ;
29688 wxTreeItemId *arg2 = 0 ;
29689 wxGenericDragImage *result;
29690 PyObject * obj0 = 0 ;
29691 PyObject * obj1 = 0 ;
29692 char *kwnames[] = {
29693 (char *) "treeCtrl",(char *) "id", NULL
29694 };
29695
29696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29698 SWIG_POINTER_EXCEPTION | 0)) == -1)
29699 SWIG_fail;
29700 if (arg1 == NULL) {
29701 PyErr_SetString(PyExc_TypeError,"null reference");
29702 SWIG_fail;
29703 }
29704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29705 SWIG_POINTER_EXCEPTION | 0)) == -1)
29706 SWIG_fail;
29707 if (arg2 == NULL) {
29708 PyErr_SetString(PyExc_TypeError,"null reference");
29709 SWIG_fail;
29710 }
29711 {
29712 PyThreadState* __tstate = wxPyBeginAllowThreads();
29713 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29714
29715 wxPyEndAllowThreads(__tstate);
29716 if (PyErr_Occurred()) SWIG_fail;
29717 }
29718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29719 return resultobj;
29720 fail:
29721 return NULL;
29722 }
29723
29724
29725 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29726 PyObject *resultobj;
29727 wxPyListCtrl *arg1 = 0 ;
29728 long arg2 ;
29729 wxGenericDragImage *result;
29730 PyObject * obj0 = 0 ;
29731 PyObject * obj1 = 0 ;
29732 char *kwnames[] = {
29733 (char *) "listCtrl",(char *) "id", NULL
29734 };
29735
29736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29738 SWIG_POINTER_EXCEPTION | 0)) == -1)
29739 SWIG_fail;
29740 if (arg1 == NULL) {
29741 PyErr_SetString(PyExc_TypeError,"null reference");
29742 SWIG_fail;
29743 }
29744 arg2 = (long) SWIG_AsLong(obj1);
29745 if (PyErr_Occurred()) SWIG_fail;
29746 {
29747 PyThreadState* __tstate = wxPyBeginAllowThreads();
29748 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29749
29750 wxPyEndAllowThreads(__tstate);
29751 if (PyErr_Occurred()) SWIG_fail;
29752 }
29753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29754 return resultobj;
29755 fail:
29756 return NULL;
29757 }
29758
29759
29760 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29761 PyObject *resultobj;
29762 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29763 PyObject * obj0 = 0 ;
29764 char *kwnames[] = {
29765 (char *) "self", NULL
29766 };
29767
29768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29771 {
29772 PyThreadState* __tstate = wxPyBeginAllowThreads();
29773 delete arg1;
29774
29775 wxPyEndAllowThreads(__tstate);
29776 if (PyErr_Occurred()) SWIG_fail;
29777 }
29778 Py_INCREF(Py_None); resultobj = Py_None;
29779 return resultobj;
29780 fail:
29781 return NULL;
29782 }
29783
29784
29785 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29786 PyObject *resultobj;
29787 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29788 wxBitmap *arg2 = (wxBitmap *) 0 ;
29789 PyObject * obj0 = 0 ;
29790 PyObject * obj1 = 0 ;
29791 char *kwnames[] = {
29792 (char *) "self",(char *) "bitmap", NULL
29793 };
29794
29795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29800 {
29801 PyThreadState* __tstate = wxPyBeginAllowThreads();
29802 (arg1)->SetBackingBitmap(arg2);
29803
29804 wxPyEndAllowThreads(__tstate);
29805 if (PyErr_Occurred()) SWIG_fail;
29806 }
29807 Py_INCREF(Py_None); resultobj = Py_None;
29808 return resultobj;
29809 fail:
29810 return NULL;
29811 }
29812
29813
29814 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29815 PyObject *resultobj;
29816 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29817 wxPoint *arg2 = 0 ;
29818 wxWindow *arg3 = (wxWindow *) 0 ;
29819 bool arg4 = (bool) False ;
29820 wxRect *arg5 = (wxRect *) NULL ;
29821 bool result;
29822 wxPoint temp2 ;
29823 PyObject * obj0 = 0 ;
29824 PyObject * obj1 = 0 ;
29825 PyObject * obj2 = 0 ;
29826 PyObject * obj3 = 0 ;
29827 PyObject * obj4 = 0 ;
29828 char *kwnames[] = {
29829 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29830 };
29831
29832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29835 {
29836 arg2 = &temp2;
29837 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29838 }
29839 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29841 if (obj3) {
29842 arg4 = (bool) SWIG_AsBool(obj3);
29843 if (PyErr_Occurred()) SWIG_fail;
29844 }
29845 if (obj4) {
29846 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29848 }
29849 {
29850 PyThreadState* __tstate = wxPyBeginAllowThreads();
29851 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29852
29853 wxPyEndAllowThreads(__tstate);
29854 if (PyErr_Occurred()) SWIG_fail;
29855 }
29856 {
29857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29858 }
29859 return resultobj;
29860 fail:
29861 return NULL;
29862 }
29863
29864
29865 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29866 PyObject *resultobj;
29867 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29868 wxPoint *arg2 = 0 ;
29869 wxWindow *arg3 = (wxWindow *) 0 ;
29870 wxWindow *arg4 = (wxWindow *) 0 ;
29871 bool result;
29872 wxPoint temp2 ;
29873 PyObject * obj0 = 0 ;
29874 PyObject * obj1 = 0 ;
29875 PyObject * obj2 = 0 ;
29876 PyObject * obj3 = 0 ;
29877 char *kwnames[] = {
29878 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29879 };
29880
29881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29884 {
29885 arg2 = &temp2;
29886 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29887 }
29888 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29890 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29892 {
29893 PyThreadState* __tstate = wxPyBeginAllowThreads();
29894 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29895
29896 wxPyEndAllowThreads(__tstate);
29897 if (PyErr_Occurred()) SWIG_fail;
29898 }
29899 {
29900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29901 }
29902 return resultobj;
29903 fail:
29904 return NULL;
29905 }
29906
29907
29908 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29909 PyObject *resultobj;
29910 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29911 bool result;
29912 PyObject * obj0 = 0 ;
29913 char *kwnames[] = {
29914 (char *) "self", NULL
29915 };
29916
29917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29920 {
29921 PyThreadState* __tstate = wxPyBeginAllowThreads();
29922 result = (bool)(arg1)->EndDrag();
29923
29924 wxPyEndAllowThreads(__tstate);
29925 if (PyErr_Occurred()) SWIG_fail;
29926 }
29927 {
29928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29929 }
29930 return resultobj;
29931 fail:
29932 return NULL;
29933 }
29934
29935
29936 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
29937 PyObject *resultobj;
29938 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29939 wxPoint *arg2 = 0 ;
29940 bool result;
29941 wxPoint temp2 ;
29942 PyObject * obj0 = 0 ;
29943 PyObject * obj1 = 0 ;
29944 char *kwnames[] = {
29945 (char *) "self",(char *) "pt", NULL
29946 };
29947
29948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29951 {
29952 arg2 = &temp2;
29953 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29954 }
29955 {
29956 PyThreadState* __tstate = wxPyBeginAllowThreads();
29957 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29958
29959 wxPyEndAllowThreads(__tstate);
29960 if (PyErr_Occurred()) SWIG_fail;
29961 }
29962 {
29963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29964 }
29965 return resultobj;
29966 fail:
29967 return NULL;
29968 }
29969
29970
29971 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29972 PyObject *resultobj;
29973 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29974 bool result;
29975 PyObject * obj0 = 0 ;
29976 char *kwnames[] = {
29977 (char *) "self", NULL
29978 };
29979
29980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29983 {
29984 PyThreadState* __tstate = wxPyBeginAllowThreads();
29985 result = (bool)(arg1)->Show();
29986
29987 wxPyEndAllowThreads(__tstate);
29988 if (PyErr_Occurred()) SWIG_fail;
29989 }
29990 {
29991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29992 }
29993 return resultobj;
29994 fail:
29995 return NULL;
29996 }
29997
29998
29999 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30000 PyObject *resultobj;
30001 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30002 bool result;
30003 PyObject * obj0 = 0 ;
30004 char *kwnames[] = {
30005 (char *) "self", NULL
30006 };
30007
30008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
30009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30011 {
30012 PyThreadState* __tstate = wxPyBeginAllowThreads();
30013 result = (bool)(arg1)->Hide();
30014
30015 wxPyEndAllowThreads(__tstate);
30016 if (PyErr_Occurred()) SWIG_fail;
30017 }
30018 {
30019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30020 }
30021 return resultobj;
30022 fail:
30023 return NULL;
30024 }
30025
30026
30027 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
30028 PyObject *resultobj;
30029 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30030 wxPoint *arg2 = 0 ;
30031 wxRect result;
30032 wxPoint temp2 ;
30033 PyObject * obj0 = 0 ;
30034 PyObject * obj1 = 0 ;
30035 char *kwnames[] = {
30036 (char *) "self",(char *) "pos", NULL
30037 };
30038
30039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
30040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30042 {
30043 arg2 = &temp2;
30044 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30045 }
30046 {
30047 PyThreadState* __tstate = wxPyBeginAllowThreads();
30048 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
30049
30050 wxPyEndAllowThreads(__tstate);
30051 if (PyErr_Occurred()) SWIG_fail;
30052 }
30053 {
30054 wxRect * resultptr;
30055 resultptr = new wxRect((wxRect &) result);
30056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
30057 }
30058 return resultobj;
30059 fail:
30060 return NULL;
30061 }
30062
30063
30064 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30065 PyObject *resultobj;
30066 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30067 wxDC *arg2 = 0 ;
30068 wxPoint *arg3 = 0 ;
30069 bool result;
30070 wxPoint temp3 ;
30071 PyObject * obj0 = 0 ;
30072 PyObject * obj1 = 0 ;
30073 PyObject * obj2 = 0 ;
30074 char *kwnames[] = {
30075 (char *) "self",(char *) "dc",(char *) "pos", NULL
30076 };
30077
30078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
30079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30082 SWIG_POINTER_EXCEPTION | 0)) == -1)
30083 SWIG_fail;
30084 if (arg2 == NULL) {
30085 PyErr_SetString(PyExc_TypeError,"null reference");
30086 SWIG_fail;
30087 }
30088 {
30089 arg3 = &temp3;
30090 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30091 }
30092 {
30093 PyThreadState* __tstate = wxPyBeginAllowThreads();
30094 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
30095
30096 wxPyEndAllowThreads(__tstate);
30097 if (PyErr_Occurred()) SWIG_fail;
30098 }
30099 {
30100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30101 }
30102 return resultobj;
30103 fail:
30104 return NULL;
30105 }
30106
30107
30108 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30109 PyObject *resultobj;
30110 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30111 wxDC *arg2 = 0 ;
30112 wxMemoryDC *arg3 = 0 ;
30113 wxRect *arg4 = 0 ;
30114 wxRect *arg5 = 0 ;
30115 bool result;
30116 wxRect temp4 ;
30117 wxRect temp5 ;
30118 PyObject * obj0 = 0 ;
30119 PyObject * obj1 = 0 ;
30120 PyObject * obj2 = 0 ;
30121 PyObject * obj3 = 0 ;
30122 PyObject * obj4 = 0 ;
30123 char *kwnames[] = {
30124 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30125 };
30126
30127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30131 SWIG_POINTER_EXCEPTION | 0)) == -1)
30132 SWIG_fail;
30133 if (arg2 == NULL) {
30134 PyErr_SetString(PyExc_TypeError,"null reference");
30135 SWIG_fail;
30136 }
30137 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
30138 SWIG_POINTER_EXCEPTION | 0)) == -1)
30139 SWIG_fail;
30140 if (arg3 == NULL) {
30141 PyErr_SetString(PyExc_TypeError,"null reference");
30142 SWIG_fail;
30143 }
30144 {
30145 arg4 = &temp4;
30146 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
30147 }
30148 {
30149 arg5 = &temp5;
30150 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
30151 }
30152 {
30153 PyThreadState* __tstate = wxPyBeginAllowThreads();
30154 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
30155
30156 wxPyEndAllowThreads(__tstate);
30157 if (PyErr_Occurred()) SWIG_fail;
30158 }
30159 {
30160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30161 }
30162 return resultobj;
30163 fail:
30164 return NULL;
30165 }
30166
30167
30168 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30169 PyObject *resultobj;
30170 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30171 wxPoint *arg2 = 0 ;
30172 wxPoint *arg3 = 0 ;
30173 bool arg4 ;
30174 bool arg5 ;
30175 bool result;
30176 wxPoint temp2 ;
30177 wxPoint temp3 ;
30178 PyObject * obj0 = 0 ;
30179 PyObject * obj1 = 0 ;
30180 PyObject * obj2 = 0 ;
30181 PyObject * obj3 = 0 ;
30182 PyObject * obj4 = 0 ;
30183 char *kwnames[] = {
30184 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30185 };
30186
30187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30190 {
30191 arg2 = &temp2;
30192 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30193 }
30194 {
30195 arg3 = &temp3;
30196 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30197 }
30198 arg4 = (bool) SWIG_AsBool(obj3);
30199 if (PyErr_Occurred()) SWIG_fail;
30200 arg5 = (bool) SWIG_AsBool(obj4);
30201 if (PyErr_Occurred()) SWIG_fail;
30202 {
30203 PyThreadState* __tstate = wxPyBeginAllowThreads();
30204 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
30205
30206 wxPyEndAllowThreads(__tstate);
30207 if (PyErr_Occurred()) SWIG_fail;
30208 }
30209 {
30210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30211 }
30212 return resultobj;
30213 fail:
30214 return NULL;
30215 }
30216
30217
30218 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
30219 PyObject *obj;
30220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30221 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
30222 Py_INCREF(obj);
30223 return Py_BuildValue((char *)"");
30224 }
30225 static PyMethodDef SwigMethods[] = {
30226 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
30227 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
30228 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
30229 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
30230 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30231 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
30232 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
30233 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
30234 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
30235 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30236 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30237 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30238 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30239 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30240 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30241 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30242 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30243 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
30244 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
30245 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
30246 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
30247 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
30248 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
30249 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
30250 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30251 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30252 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30253 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
30254 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
30255 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
30256 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
30257 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
30258 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
30259 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
30260 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
30261 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
30262 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30263 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
30264 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
30265 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
30266 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
30267 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
30268 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30269 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30270 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
30271 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
30272 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
30273 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30274 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30275 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30276 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
30277 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30278 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
30279 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
30280 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30281 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
30282 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
30283 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
30284 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
30285 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
30286 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
30287 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
30288 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
30289 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
30290 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
30291 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30292 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30293 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
30294 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
30295 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
30296 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
30297 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
30298 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
30299 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
30300 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
30301 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
30302 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
30303 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
30304 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30305 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
30306 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
30307 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
30308 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
30309 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
30310 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
30311 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
30312 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
30313 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30314 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
30315 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
30316 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
30317 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
30318 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
30321 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
30323 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
30324 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30325 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
30326 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
30327 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
30328 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30329 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
30330 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
30331 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
30332 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30333 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
30334 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
30335 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
30336 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30337 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30338 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
30339 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
30340 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
30341 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
30342 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
30343 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30344 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
30345 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
30346 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
30347 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
30348 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
30349 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
30350 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
30351 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
30352 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30353 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30354 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30355 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
30356 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
30357 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30358 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
30359 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
30360 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30361 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30362 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30363 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
30364 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
30365 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
30366 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
30367 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
30368 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30369 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30370 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30371 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
30372 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
30373 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30374 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
30375 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
30376 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
30377 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
30378 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
30379 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
30380 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
30381 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30382 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30383 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30384 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
30385 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
30386 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
30387 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
30388 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
30389 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
30390 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
30391 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
30392 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30393 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30394 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
30395 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
30396 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
30397 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
30398 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
30399 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
30400 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
30401 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
30402 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
30403 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
30404 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
30405 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
30406 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
30407 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30408 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30409 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
30410 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
30411 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
30412 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30413 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
30414 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
30415 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
30416 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
30417 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
30418 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
30419 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
30420 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
30421 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
30422 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
30423 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30424 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30425 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30426 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30427 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30428 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
30429 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
30430 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
30431 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
30432 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
30433 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
30434 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
30435 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
30436 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
30437 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
30438 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
30439 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
30440 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
30441 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30442 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
30443 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30444 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
30445 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
30446 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30447 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
30448 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
30449 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
30450 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
30451 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
30452 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30453 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
30454 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
30455 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30456 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
30457 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
30458 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
30459 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
30460 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
30461 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
30462 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
30463 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30464 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30465 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30466 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
30467 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
30468 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
30469 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
30470 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30471 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
30472 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
30473 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30474 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30475 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
30476 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
30477 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
30478 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
30479 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30480 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
30481 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30482 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30483 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
30484 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
30485 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
30486 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
30487 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
30488 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
30489 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30490 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30491 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30492 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
30493 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
30494 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
30495 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
30496 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30497 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30498 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
30499 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
30500 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
30501 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
30502 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
30503 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
30504 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
30505 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
30506 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
30507 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
30508 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
30509 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
30510 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30511 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
30512 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30513 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
30514 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
30515 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
30516 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
30517 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
30518 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
30519 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
30520 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
30521 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
30522 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
30523 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
30524 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
30525 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
30526 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
30527 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30528 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30529 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
30530 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
30531 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
30532 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
30533 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30534 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
30535 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
30536 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30537 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30538 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30539 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
30540 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
30541 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30542 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30543 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
30544 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
30545 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
30546 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
30547 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
30548 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30549 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
30550 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
30551 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
30552 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
30553 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
30554 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
30555 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
30556 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
30557 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
30558 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
30559 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
30560 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30561 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
30562 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
30563 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
30564 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30565 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
30566 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
30567 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
30568 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
30569 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
30570 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
30571 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
30572 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
30573 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
30574 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
30575 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
30576 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30577 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30578 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
30579 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
30580 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
30581 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30582 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30583 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
30584 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
30585 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
30586 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
30587 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
30588 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
30589 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
30590 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
30591 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
30592 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
30593 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
30594 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
30595 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
30596 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30597 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30598 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30599 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
30600 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
30601 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
30602 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
30603 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
30604 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30605 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
30606 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
30607 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30608 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30609 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
30610 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
30611 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
30612 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
30613 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
30614 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
30615 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
30616 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
30617 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
30618 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
30619 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
30620 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
30621 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
30622 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
30623 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
30624 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
30625 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
30626 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
30627 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
30628 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
30629 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
30630 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
30631 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30632 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
30633 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
30634 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
30635 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
30636 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
30637 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30638 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30639 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30640 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30641 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
30642 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
30643 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
30644 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30645 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
30646 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
30647 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
30648 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30649 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
30650 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
30651 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
30652 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
30653 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30654 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30655 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
30656 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30657 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
30658 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
30659 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
30660 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
30661 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
30662 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
30663 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30664 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
30665 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
30666 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30667 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30668 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30669 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30670 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30671 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30672 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30673 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30674 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30675 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
30676 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
30677 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
30678 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
30679 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
30680 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
30681 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
30682 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
30683 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
30684 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
30685 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
30686 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
30687 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
30688 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
30689 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
30690 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
30691 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30692 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30693 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
30694 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
30695 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
30696 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
30697 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
30698 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
30699 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
30700 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
30701 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
30702 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
30703 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
30704 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
30705 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30706 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30707 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
30708 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
30709 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
30710 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
30711 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30712 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30713 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30714 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30715 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30716 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30717 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30718 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30719 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30720 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30721 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30722 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30723 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30724 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30725 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30726 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30727 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30728 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30729 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30730 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30731 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30732 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30733 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30734 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30735 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30736 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30737 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30738 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30739 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30740 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30741 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30742 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30743 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30744 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30745 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30746 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30747 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30748 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30749 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30750 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30751 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30752 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30753 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30754 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30755 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30756 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30757 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30758 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30759 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30760 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30761 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30762 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30763 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30764 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30765 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30766 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30767 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30768 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30769 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30770 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30771 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30772 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30773 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30774 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30775 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30776 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30777 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30778 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30779 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30780 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30781 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30782 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30783 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30784 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30785 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30786 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30787 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30788 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30789 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30790 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30791 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30792 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30793 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30794 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30795 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
30796 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30797 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30798 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30799 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30800 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30801 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30802 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30803 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30804 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30805 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30806 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30807 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30808 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30809 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30810 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30811 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30812 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30813 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30814 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30815 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30816 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30817 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30818 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30819 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30820 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30821 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30822 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30823 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30824 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30825 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
30826 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30827 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30828 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30829 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30830 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30831 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30832 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30833 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30834 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30835 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30836 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30837 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30838 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30839 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30840 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30841 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30842 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30843 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30844 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30845 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30846 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30847 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30848 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30849 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30850 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30851 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30852 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30853 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30854 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30855 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30856 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30857 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30858 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30859 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30860 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30861 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30862 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30863 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30864 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30865 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30866 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30867 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30868 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
30869 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30870 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30871 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30872 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30873 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30874 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30875 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30876 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30877 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30878 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30879 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30880 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30881 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30882 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30883 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30884 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30885 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30886 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30887 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30888 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30889 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30890 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30891 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30892 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30893 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30894 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30895 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30896 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30897 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30898 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30899 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30900 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30901 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30902 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30903 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30904 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30905 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30906 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30907 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30908 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30909 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30910 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30911 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30912 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30913 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30914 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30915 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30916 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30917 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30918 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30919 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30920 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30921 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30922 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30923 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30924 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30925 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30926 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30927 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30928 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30929 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30930 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30931 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
30932 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
30933 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30934 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
30935 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
30936 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30937 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
30938 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30939 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30940 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
30941 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30942 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
30943 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
30944 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
30945 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30946 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30947 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30948 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
30949 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30950 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30951 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
30952 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
30953 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
30954 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
30955 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
30956 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
30957 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
30958 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30959 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30960 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
30961 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30962 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30963 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
30964 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
30965 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
30966 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
30967 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30968 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30969 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30970 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
30971 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
30972 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
30973 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
30974 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30975 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
30976 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
30977 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
30978 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30979 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30980 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30981 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30982 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30983 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30984 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30985 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30986 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30987 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30988 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30989 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30990 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30991 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30992 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
30993 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
30994 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
30995 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30996 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30997 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30998 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30999 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
31000 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
31001 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
31002 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
31003 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
31004 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31005 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31006 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
31007 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
31008 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
31009 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
31010 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
31011 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
31012 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
31013 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
31014 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
31015 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
31016 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
31017 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
31018 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
31019 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
31020 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
31021 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
31022 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
31023 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
31024 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
31025 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
31026 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
31027 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
31028 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
31029 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
31030 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
31031 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
31032 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
31033 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
31034 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
31035 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
31036 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
31037 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
31038 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
31039 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
31040 { NULL, NULL }
31041 };
31042
31043
31044 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31045
31046 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
31047 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31048 }
31049 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
31050 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
31051 }
31052 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
31053 return (void *)((wxSizer *) ((wxBoxSizer *) x));
31054 }
31055 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
31056 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
31057 }
31058 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
31059 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31060 }
31061 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
31062 return (void *)((wxSizer *) ((wxGridSizer *) x));
31063 }
31064 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
31065 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
31066 }
31067 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
31068 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
31069 }
31070 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
31071 return (void *)((wxSizer *) ((wxPySizer *) x));
31072 }
31073 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
31074 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
31075 }
31076 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31077 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31078 }
31079 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31080 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31081 }
31082 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31083 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31084 }
31085 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31086 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31087 }
31088 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31089 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31090 }
31091 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
31092 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31093 }
31094 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31095 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31096 }
31097 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31098 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31099 }
31100 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31101 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31102 }
31103 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
31104 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
31105 }
31106 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
31107 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31108 }
31109 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31110 return (void *)((wxEvent *) ((wxPyEvent *) x));
31111 }
31112 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31113 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31114 }
31115 static void *_p_wxListEventTo_p_wxEvent(void *x) {
31116 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31117 }
31118 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
31119 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31120 }
31121 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
31122 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31123 }
31124 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
31125 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
31126 }
31127 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31128 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31129 }
31130 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31131 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31132 }
31133 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31134 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31135 }
31136 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31137 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31138 }
31139 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31140 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31141 }
31142 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31143 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31144 }
31145 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31146 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31147 }
31148 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31149 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31150 }
31151 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31152 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31153 }
31154 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31155 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31156 }
31157 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31158 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31159 }
31160 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31161 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31162 }
31163 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31164 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31165 }
31166 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31167 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31168 }
31169 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31170 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31171 }
31172 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31173 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31174 }
31175 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31176 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31177 }
31178 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31179 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31180 }
31181 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31182 return (void *)((wxEvent *) ((wxShowEvent *) x));
31183 }
31184 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31185 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31186 }
31187 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31189 }
31190 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31191 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31192 }
31193 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31194 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31195 }
31196 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31197 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31198 }
31199 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31200 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31201 }
31202 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
31203 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31204 }
31205 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
31206 return (void *)((wxItemContainer *) ((wxComboBox *) x));
31207 }
31208 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
31209 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31210 }
31211 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
31212 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
31213 }
31214 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
31215 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
31216 }
31217 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
31218 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
31219 }
31220 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
31221 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31222 }
31223 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
31224 return (void *)((wxPyListCtrl *) ((wxListView *) x));
31225 }
31226 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
31227 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31228 }
31229 static void *_p_wxListBoxTo_p_wxControl(void *x) {
31230 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
31231 }
31232 static void *_p_wxChoiceTo_p_wxControl(void *x) {
31233 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
31234 }
31235 static void *_p_wxToolBarTo_p_wxControl(void *x) {
31236 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
31237 }
31238 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
31239 return (void *)((wxControl *) ((wxStaticBitmap *) x));
31240 }
31241 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
31242 return (void *)((wxControl *) ((wxComboBox *) x));
31243 }
31244 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
31245 return (void *)((wxControl *) ((wxSpinCtrl *) x));
31246 }
31247 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
31248 return (void *)((wxControl *) ((wxStaticBox *) x));
31249 }
31250 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
31251 return (void *)((wxControl *) ((wxPyListCtrl *) x));
31252 }
31253 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
31254 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
31255 }
31256 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
31257 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31258 }
31259 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
31260 return (void *)((wxControl *) ((wxScrollBar *) x));
31261 }
31262 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
31263 return (void *)((wxControl *) ((wxBookCtrl *) x));
31264 }
31265 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
31266 return (void *)((wxControl *) ((wxRadioButton *) x));
31267 }
31268 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
31269 return (void *)((wxControl *) ((wxToggleButton *) x));
31270 }
31271 static void *_p_wxGaugeTo_p_wxControl(void *x) {
31272 return (void *)((wxControl *) ((wxGauge *) x));
31273 }
31274 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
31275 return (void *)((wxControl *) ((wxToolBarBase *) x));
31276 }
31277 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
31278 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
31279 }
31280 static void *_p_wxButtonTo_p_wxControl(void *x) {
31281 return (void *)((wxControl *) ((wxButton *) x));
31282 }
31283 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
31284 return (void *)((wxControl *) ((wxSpinButton *) x));
31285 }
31286 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
31287 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31288 }
31289 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
31290 return (void *)((wxControl *) ((wxControlWithItems *) x));
31291 }
31292 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
31293 return (void *)((wxControl *) ((wxRadioBox *) x));
31294 }
31295 static void *_p_wxNotebookTo_p_wxControl(void *x) {
31296 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
31297 }
31298 static void *_p_wxListbookTo_p_wxControl(void *x) {
31299 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
31300 }
31301 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
31302 return (void *)((wxControl *) ((wxCheckBox *) x));
31303 }
31304 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
31305 return (void *)((wxControl *) ((wxTextCtrl *) x));
31306 }
31307 static void *_p_wxListViewTo_p_wxControl(void *x) {
31308 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
31309 }
31310 static void *_p_wxSliderTo_p_wxControl(void *x) {
31311 return (void *)((wxControl *) ((wxSlider *) x));
31312 }
31313 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
31314 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
31315 }
31316 static void *_p_wxPyControlTo_p_wxControl(void *x) {
31317 return (void *)((wxControl *) ((wxPyControl *) x));
31318 }
31319 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
31320 return (void *)((wxControl *) ((wxStaticLine *) x));
31321 }
31322 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
31323 return (void *)((wxControl *) ((wxStaticText *) x));
31324 }
31325 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
31326 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
31327 }
31328 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
31329 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
31330 }
31331 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
31332 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
31333 }
31334 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
31335 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31336 }
31337 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
31338 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
31339 }
31340 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
31341 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
31342 }
31343 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
31344 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31345 }
31346 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
31347 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
31348 }
31349 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
31350 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31351 }
31352 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31353 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31354 }
31355 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31356 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31357 }
31358 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31359 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31360 }
31361 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
31362 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31363 }
31364 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31365 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31366 }
31367 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
31368 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31369 }
31370 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31371 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31372 }
31373 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31374 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31375 }
31376 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31377 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31378 }
31379 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31380 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31381 }
31382 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31383 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31384 }
31385 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31386 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
31387 }
31388 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31389 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31390 }
31391 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31392 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31393 }
31394 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31395 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31396 }
31397 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31399 }
31400 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31402 }
31403 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31405 }
31406 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31407 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31408 }
31409 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31410 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31411 }
31412 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31413 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31414 }
31415 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31416 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31417 }
31418 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31419 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31420 }
31421 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31422 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31423 }
31424 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31425 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31426 }
31427 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31428 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31429 }
31430 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31431 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31432 }
31433 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31434 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31435 }
31436 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31437 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31438 }
31439 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31440 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31441 }
31442 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31443 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31444 }
31445 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31447 }
31448 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31449 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31450 }
31451 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31453 }
31454 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31456 }
31457 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31459 }
31460 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31462 }
31463 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31464 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31465 }
31466 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31468 }
31469 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31470 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31471 }
31472 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31473 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31474 }
31475 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31476 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31477 }
31478 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31479 return (void *)((wxButton *) ((wxBitmapButton *) x));
31480 }
31481 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31482 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31483 }
31484 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31485 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31486 }
31487 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31488 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31489 }
31490 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31491 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31492 }
31493 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31494 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31495 }
31496 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31497 return (void *)((wxObject *) ((wxSizerItem *) x));
31498 }
31499 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31500 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31501 }
31502 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31503 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31504 }
31505 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31507 }
31508 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31509 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31510 }
31511 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31512 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31513 }
31514 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31515 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31516 }
31517 static void *_p_wxSizerTo_p_wxObject(void *x) {
31518 return (void *)((wxObject *) ((wxSizer *) x));
31519 }
31520 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31521 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31522 }
31523 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31525 }
31526 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31528 }
31529 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31530 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31531 }
31532 static void *_p_wxEventTo_p_wxObject(void *x) {
31533 return (void *)((wxObject *) ((wxEvent *) x));
31534 }
31535 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31536 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31537 }
31538 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31539 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31540 }
31541 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31542 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31543 }
31544 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31546 }
31547 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31548 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31549 }
31550 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31552 }
31553 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31554 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31555 }
31556 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31557 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31558 }
31559 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31560 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31561 }
31562 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31563 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31564 }
31565 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31566 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31567 }
31568 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31569 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31570 }
31571 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31573 }
31574 static void *_p_wxControlTo_p_wxObject(void *x) {
31575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31576 }
31577 static void *_p_wxPyControlTo_p_wxObject(void *x) {
31578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31579 }
31580 static void *_p_wxGaugeTo_p_wxObject(void *x) {
31581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31582 }
31583 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31585 }
31586 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31588 }
31589 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31591 }
31592 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31593 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31594 }
31595 static void *_p_wxChoiceTo_p_wxObject(void *x) {
31596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31597 }
31598 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31599 return (void *)((wxObject *) ((wxFSFile *) x));
31600 }
31601 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31602 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31603 }
31604 static void *_p_wxListViewTo_p_wxObject(void *x) {
31605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31606 }
31607 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31609 }
31610 static void *_p_wxNotebookTo_p_wxObject(void *x) {
31611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31612 }
31613 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31614 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31615 }
31616 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31617 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31618 }
31619 static void *_p_wxListbookTo_p_wxObject(void *x) {
31620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31621 }
31622 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31623 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31624 }
31625 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31627 }
31628 static void *_p_wxSliderTo_p_wxObject(void *x) {
31629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31630 }
31631 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31632 return (void *)((wxObject *) ((wxMenuItem *) x));
31633 }
31634 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31635 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31636 }
31637 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31638 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31639 }
31640 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31641 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31642 }
31643 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31644 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31645 }
31646 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31647 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31648 }
31649 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31650 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31651 }
31652 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31653 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31654 }
31655 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31656 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31657 }
31658 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31660 }
31661 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31662 return (void *)((wxObject *) ((wxContextHelp *) x));
31663 }
31664 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31665 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31666 }
31667 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31668 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31669 }
31670 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31671 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31672 }
31673 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31674 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31675 }
31676 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31677 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31678 }
31679 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31680 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31681 }
31682 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31683 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31684 }
31685 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31686 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31687 }
31688 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31689 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31690 }
31691 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31692 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31693 }
31694 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31695 return (void *)((wxObject *) ((wxImageHandler *) x));
31696 }
31697 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31698 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31699 }
31700 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31701 return (void *)((wxObject *) ((wxEvtHandler *) x));
31702 }
31703 static void *_p_wxListEventTo_p_wxObject(void *x) {
31704 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31705 }
31706 static void *_p_wxListBoxTo_p_wxObject(void *x) {
31707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31708 }
31709 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31711 }
31712 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31714 }
31715 static void *_p_wxButtonTo_p_wxObject(void *x) {
31716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31717 }
31718 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31720 }
31721 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31723 }
31724 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31726 }
31727 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31728 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31729 }
31730 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31732 }
31733 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31735 }
31736 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31738 }
31739 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31740 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31741 }
31742 static void *_p_wxListItemTo_p_wxObject(void *x) {
31743 return (void *)((wxObject *) ((wxListItem *) x));
31744 }
31745 static void *_p_wxImageTo_p_wxObject(void *x) {
31746 return (void *)((wxObject *) ((wxImage *) x));
31747 }
31748 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31749 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31750 }
31751 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31752 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31753 }
31754 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31755 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31756 }
31757 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31758 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31759 }
31760 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31762 }
31763 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31764 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31765 }
31766 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31767 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31768 }
31769 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31771 }
31772 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31773 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31774 }
31775 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31776 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31777 }
31778 static void *_p_wxWindowTo_p_wxObject(void *x) {
31779 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31780 }
31781 static void *_p_wxMenuTo_p_wxObject(void *x) {
31782 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31783 }
31784 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31786 }
31787 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31788 return (void *)((wxObject *) ((wxFileSystem *) x));
31789 }
31790 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31791 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31792 }
31793 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31794 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31795 }
31796 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31797 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31798 }
31799 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31800 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31801 }
31802 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31803 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31804 }
31805 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31806 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31807 }
31808 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31809 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31810 }
31811 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31812 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31813 }
31814 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31815 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31816 }
31817 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31819 }
31820 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31821 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31822 }
31823 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31824 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31825 }
31826 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31828 }
31829 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31831 }
31832 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31833 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31834 }
31835 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31837 }
31838 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31839 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31840 }
31841 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31842 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31843 }
31844 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31845 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31846 }
31847 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31848 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31849 }
31850 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31851 return (void *)((wxWindow *) ((wxMenuBar *) x));
31852 }
31853 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31854 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31855 }
31856 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31857 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31858 }
31859 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31860 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31861 }
31862 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31863 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31864 }
31865 static void *_p_wxControlTo_p_wxWindow(void *x) {
31866 return (void *)((wxWindow *) ((wxControl *) x));
31867 }
31868 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31869 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31870 }
31871 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31872 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31873 }
31874 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31875 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31876 }
31877 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31878 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31879 }
31880 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31881 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31882 }
31883 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31884 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31885 }
31886 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31887 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31888 }
31889 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31890 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31891 }
31892 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31893 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31894 }
31895 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31896 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31897 }
31898 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31899 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31900 }
31901 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31902 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31903 }
31904 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31905 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31906 }
31907 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31908 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31909 }
31910 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31911 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31912 }
31913 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31914 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31915 }
31916 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31917 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31918 }
31919 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31920 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31921 }
31922 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31923 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31924 }
31925 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31926 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31927 }
31928 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31929 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31930 }
31931 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31932 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31933 }
31934 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31935 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31936 }
31937 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31938 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31939 }
31940 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31941 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31942 }
31943 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31944 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31945 }
31946 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31947 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31948 }
31949 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31950 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31951 }
31952 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31953 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31954 }
31955 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31956 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31957 }
31958 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31959 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31960 }
31961 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31962 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31963 }
31964 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31965 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31966 }
31967 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31968 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31969 }
31970 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31971 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31972 }
31973 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31974 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31975 }
31976 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31977 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31978 }
31979 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31980 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31981 }
31982 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31983 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31984 }
31985 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31986 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31987 }
31988 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31989 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31990 }
31991 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31992 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31993 }
31994 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31995 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31996 }
31997 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31998 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31999 }
32000 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
32001 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
32002 }
32003 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
32004 return (void *)((wxControlWithItems *) ((wxChoice *) x));
32005 }
32006 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
32007 return (void *)((wxControlWithItems *) ((wxListBox *) x));
32008 }
32009 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
32010 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
32011 }
32012 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
32013 return (void *)((wxValidator *) ((wxPyValidator *) x));
32014 }
32015 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}};
32016 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}};
32017 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}};
32018 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}};
32019 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}};
32020 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}};
32021 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}};
32022 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}};
32023 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}};
32024 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}};
32025 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}};
32026 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}};
32027 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}};
32028 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}};
32029 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}};
32030 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}};
32031 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}};
32032 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}};
32033 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}};
32034 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}};
32035 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}};
32036 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}};
32037 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}};
32038 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}};
32039 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}};
32040 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}};
32041 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}};
32042 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}};
32043 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}};
32044 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32045 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}};
32046 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}};
32047 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}};
32048 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}};
32049 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}};
32050 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}};
32051 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}};
32052 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}};
32053 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}};
32054 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}};
32055 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}};
32056 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}};
32057 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}};
32058 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}};
32059 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}};
32060 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}};
32061 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}};
32062 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}};
32063 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}};
32064 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}};
32065 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}};
32066 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}};
32067 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}};
32068 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}};
32069 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}};
32070 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}};
32071 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}};
32072 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}};
32073 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}};
32074 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}};
32075 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}};
32076 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}};
32077 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}};
32078 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}};
32079 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}};
32080 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}};
32081 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}};
32082 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}};
32083 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}};
32084 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}};
32085 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}};
32086 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}};
32087 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}};
32088 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}};
32089 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}};
32090 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}};
32091 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}};
32092 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}};
32093 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}};
32094 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}};
32095 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}};
32096 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}};
32097 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}};
32098 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}};
32099 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}};
32100
32101 static swig_type_info *swig_types_initial[] = {
32102 _swigt__p_wxTextUrlEvent,
32103 _swigt__p_wxBookCtrlEvent,
32104 _swigt__p_wxSizer,
32105 _swigt__p_wxCheckBox,
32106 _swigt__p_wxPyTreeCtrl,
32107 _swigt__p_wxEvent,
32108 _swigt__p_wxGenericDirCtrl,
32109 _swigt__p_bool,
32110 _swigt__p_wxPyTreeItemData,
32111 _swigt__p_wxItemContainer,
32112 _swigt__p_wxPyListCtrl,
32113 _swigt__p_wxDirFilterListCtrl,
32114 _swigt__p_wxStaticLine,
32115 _swigt__p_wxControl,
32116 _swigt__p_wxPyControl,
32117 _swigt__p_wxGauge,
32118 _swigt__p_wxToolBarBase,
32119 _swigt__p_wxFont,
32120 _swigt__p_wxToggleButton,
32121 _swigt__p_wxRadioButton,
32122 _swigt__p_wxChoice,
32123 _swigt__p_wxMemoryDC,
32124 _swigt__p_wxListItemAttr,
32125 _swigt__p_void,
32126 _swigt__p_int,
32127 _swigt__p_wxSize,
32128 _swigt__p_wxDC,
32129 _swigt__p_wxListView,
32130 _swigt__p_wxIcon,
32131 _swigt__p_wxVisualAttributes,
32132 _swigt__p_wxTextCtrl,
32133 _swigt__p_wxNotebook,
32134 _swigt__p_wxNotifyEvent,
32135 _swigt__p_wxArrayString,
32136 _swigt__p_wxListbook,
32137 _swigt__p_wxStaticBitmap,
32138 _swigt__p_wxSlider,
32139 _swigt__p_wxStaticBox,
32140 _swigt__p_wxArrayInt,
32141 _swigt__p_wxContextHelp,
32142 _swigt__p_long,
32143 _swigt__p_wxEvtHandler,
32144 _swigt__p_wxListEvent,
32145 _swigt__p_wxCheckListBox,
32146 _swigt__p_wxListBox,
32147 _swigt__p_wxBookCtrl,
32148 _swigt__p_wxSpinButton,
32149 _swigt__p_wxButton,
32150 _swigt__p_wxBitmapButton,
32151 _swigt__p_wxRect,
32152 _swigt__p_wxContextHelpButton,
32153 _swigt__p_wxRadioBox,
32154 _swigt__p_wxScrollBar,
32155 _swigt__p_char,
32156 _swigt__p_wxTreeItemId,
32157 _swigt__p_wxComboBox,
32158 _swigt__p_wxHelpEvent,
32159 _swigt__p_wxListItem,
32160 _swigt__p_wxNotebookSizer,
32161 _swigt__p_wxSpinEvent,
32162 _swigt__p_wxGenericDragImage,
32163 _swigt__p_wxSpinCtrl,
32164 _swigt__p_wxImageList,
32165 _swigt__p_wxHelpProvider,
32166 _swigt__p_wxTextAttr,
32167 _swigt__p_wxSimpleHelpProvider,
32168 _swigt__p_wxPoint,
32169 _swigt__p_wxListbookEvent,
32170 _swigt__p_wxNotebookEvent,
32171 _swigt__p_wxObject,
32172 _swigt__p_wxCursor,
32173 _swigt__p_wxKeyEvent,
32174 _swigt__p_wxWindow,
32175 _swigt__p_wxString,
32176 _swigt__p_wxBitmap,
32177 _swigt__p_wxTreeEvent,
32178 _swigt__p_wxMouseEvent,
32179 _swigt__p_wxCommandEvent,
32180 _swigt__p_wxStaticText,
32181 _swigt__p_wxControlWithItems,
32182 _swigt__p_wxToolBarToolBase,
32183 _swigt__p_wxColour,
32184 _swigt__p_wxToolBar,
32185 _swigt__p_wxBookCtrlSizer,
32186 _swigt__p_wxValidator,
32187 0
32188 };
32189
32190
32191 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32192
32193 static swig_const_info swig_const_table[] = {
32194 {0}};
32195
32196 #ifdef __cplusplus
32197 }
32198 #endif
32199
32200 #ifdef __cplusplus
32201 extern "C"
32202 #endif
32203 SWIGEXPORT(void) SWIG_init(void) {
32204 static PyObject *SWIG_globals = 0;
32205 static int typeinit = 0;
32206 PyObject *m, *d;
32207 int i;
32208 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
32209 m = Py_InitModule((char *) SWIG_name, SwigMethods);
32210 d = PyModule_GetDict(m);
32211
32212 if (!typeinit) {
32213 for (i = 0; swig_types_initial[i]; i++) {
32214 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
32215 }
32216 typeinit = 1;
32217 }
32218 SWIG_InstallConstants(d,swig_const_table);
32219
32220 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
32221 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
32222 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
32223 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
32224 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
32225 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
32226 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
32227 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
32228 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
32229 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
32230 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
32231 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
32232 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
32233 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
32234 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
32235 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
32236 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
32237 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
32238 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
32239 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
32240 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
32241 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
32242 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
32243 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
32244 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
32245 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
32246 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
32247 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
32248 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
32249 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
32250 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
32251 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
32252 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
32253 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
32254 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
32255 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
32256 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
32257 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
32258 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
32259 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
32260 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
32261 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
32262 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
32263 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
32264 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
32265 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
32266 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
32267 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
32268 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
32269 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
32270 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
32271 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
32272 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
32273 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
32274 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
32275 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
32276 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
32277 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
32278 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
32279 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
32280 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
32281 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
32282 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
32283 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
32284 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
32285 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
32286 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
32287 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
32288 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
32289 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
32290 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
32291 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
32292 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
32293 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
32294 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
32295 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
32296 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
32297 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
32298 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
32299 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
32300 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
32301 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
32302 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
32303 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
32304 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
32305 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
32306 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
32307 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
32308 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
32309 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
32310 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
32311 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
32312 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
32313 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
32314 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
32315 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
32316 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
32317 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
32318 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
32319 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
32320 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
32321 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
32322 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
32323 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
32324 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
32325 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
32326 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
32327 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
32328 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
32329 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
32330 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
32331 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
32332 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
32333 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
32334 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
32335 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
32336 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
32337 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
32338 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
32339 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
32340 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
32341 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
32342 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
32343 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
32344 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
32345 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
32346 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
32347 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
32348 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
32349 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
32350 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
32351 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
32352 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
32353 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
32354 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
32355 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
32356 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
32357 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
32358 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
32359 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
32360 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
32361 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
32362 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
32363 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
32364 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
32365 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
32366 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
32367 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
32368 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
32369 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
32370 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32371 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32372 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32373 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32374 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32375 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32376 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32377 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32378 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32379 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32380 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32381 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32382 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32383 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32384 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32385 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32386 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32387 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32388 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32389 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32390 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32391 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32392 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32393 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32394 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32395 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32396 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32397 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32398 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32399 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32400 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32401 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32402 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32403 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32404 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32405 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32406 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32407 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32408 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
32409 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32410 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32411 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32412 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32413 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32414 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32415 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32416 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32417 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32418 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32419 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32420 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32421 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32422 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32423 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32424 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32425 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32426 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32427 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32428 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32429 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32430 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32431
32432 // Map renamed classes back to their common name for OOR
32433 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32434
32435 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
32436 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32437 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32438 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32439 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32440 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32441 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32442 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32443 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32444 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32445 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32446 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32447 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32448 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32449 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32450 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32451 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32452 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32453 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32454 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32455 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32456 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32457 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32458 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32459 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32460 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32461 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32462 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32463 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32464 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32465 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32466 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32467 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32468 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32469 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32470 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
32471 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32472 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32473 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32474 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32475 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32476 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32477 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32478 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32479 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32480 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32481 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32482 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32483 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32484 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32485 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32486 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32487 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32488 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32489 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
32490 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
32491
32492 // Map renamed classes back to their common name for OOR
32493 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32494 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32495
32496 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
32497 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32498 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32499 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32500 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32501 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32502 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32503 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
32504 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32505 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
32506
32507 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32508
32509 }
32510